]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
RISC-V: Fix `test' operand error with soft-float ABI being configured
[thirdparty/glibc.git] / ChangeLog
CommitLineData
656dd306
MR
12019-03-30 Maciej W. Rozycki <macro@wdc.com>
2
3 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4 $libc_cv_riscv_float_abi in `test' invocation.
5 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
6
10cce669
PC
72019-03-29 Paul A. Clarke <pc@us.ibm.com>
8
9 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
10 asm with builtin.
11 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
12 Likewise.
13 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14 (_GET_SI_FPSCR): Likewise.
15 (_SET_SI_FPSCR): Likewise.
16
5e67e4bf 172019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
18
19 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
20 clang 2.8.
21 (signbit): Use builtin for clang 3.3.
22 (isinf): Use builtin for clang 3.7.
23
01963891
AZ
242019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25
26 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
27
67112f7a
AH
282019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
29
30 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
31 quote in printf.
32
7a773abf
MC
332019-03-25 Mike Crowe <mac@mcrowe.com>
34
82849fde
MC
35 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
36 pthread_rwlock_timedrdlock with calls to
37 pthread_rwlock_timedwrlock to ensure that the latter is tested
38 too. Use new function name in diagnostic messages too.
39
7a773abf
MC
40 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
41 (do_test) Use libsupport test macros rather than hand-coded
42 conditionals and error messages. Ensure that sem_init returns zero
43 rather than not -1. Use <support/test-driver.c> rather than
44 test-skeleton.c.
45
46 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
47 test macros rather than hand-coded conditionals and error messages.
48 Use <support/test-driver.c> rather than test-skeleton.c.
49
9ac2de69
JM
502019-03-25 Joseph Myers <joseph@codesourcery.com>
51
d7563e62
JM
52 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
53
9ac2de69
JM
54 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
55 (NT_MIPS_MSA): Likewise.
56
38cc11da
AZ
572019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
58
7621e38b
WD
59 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
60 * benchtests/README: Update description.
61 * benchtests/bench-timing.h: Default to hp-timing.
62 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
63 HP_TIMING_PRINT): Remove.
64 (HP_TIMING_NOW): Add generic implementation.
65 (hp_timing_t): Change to uint64_t.
66
1e372ded
AZ
67 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
68 HP_TIMING_INLINE.
69 * nptl/descr.h: Likewise.
70 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
71 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
72 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
73 Abstract hp-timing usage with RTLD_* macros.
74 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
75 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
76 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
77 HP_TIMING_NONAVAIL): Likewise.
78 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
79 Likewise.
80 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
81 HP_SMALL_TIMING_AVAIL): Likewise.
82 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
83 HP_SMALL_TIMING_AVAIL): Likewise.
84 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
85 HP_SMALL_TIMING_AVAIL): Likewise.
86 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
87 HP_SMALL_TIMING_AVAIL): Likewise.
88 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
89 Likewise.
90 * sysdeps/generic/hp-timing-common.h: Update comment with
91 HP_TIMING_AVAIL removal.
92
359653aa
AZ
93 * include/random-bits.h: New file.
94 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
95 (__res_context_mkquery): Remove usage hp-timing usage and replace with
96 random_bits.
97 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
98 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
99 Likewise.
100
6e8ba7fd
AZ
101 * include/libc-internal.h (__get_clockfreq): Remove prototype.
102 * rt/Makefile (clock-routines): Remove get_clockfreq.
103 * rt/get_clockfreq.c: Remove file.
104 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
105 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
107 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
108 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
109
77b6f553
AZ
110 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
111 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
112 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
113 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
114 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
115
38cc11da
AZ
116 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
117 pthread_clock_settime.
118 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
119 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
120 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
121 * elf/rtld.c (_dl_start_final): Likewise.
122 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
123 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
124 Remove.
125 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
126 (_dl_cpuclock_offset): Remove.
127 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
128 cpuclock_offset_ununsed.
129 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
130 cpuclock_offset set.
131 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
132 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
133 * nptl/pthread_clock_gettime.c: Remove file.
134 * nptl/pthread_clock_settime.c: Likewise.
135 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
136 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
137 and CLOCK_PROCESS_CPUTIME_ID support.
138 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
139 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
140 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
141 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
142 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
143 Likewise.
144 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
145
421749d6
SL
1462019-03-22 Stefan Liebler <stli@linux.ibm.com>
147
148 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
149 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
150 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
151 New defines.
152 * sysdeps/s390/memmem-arch13.S: New file.
153 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
154 if it is only used as fallback.
155 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
156 * sysdeps/s390/multiarch/ifunc-impl-list.c
157 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
158
6f47401b
SL
1592019-03-22 Stefan Liebler <stli@linux.ibm.com>
160
161 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
162 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
163 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
164 New defines.
165 * sysdeps/s390/multiarch/ifunc-impl-list.c
166 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
167 * sysdeps/s390/strstr-arch13.S: New file.
168 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
169 if it is only used as fallback.
170 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
171
96fbb9a3
SL
1722019-03-22 Stefan Liebler <stli@linux.ibm.com>
173
174 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
175 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
176 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
177 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
178 ifunc selector.
179 * sysdeps/s390/multiarch/ifunc-impl-list.c
180 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
181 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
182 S390_IS_ARCH13_MIE3): New defines.
183
a899a551
SL
1842019-03-22 Stefan Liebler <stli@linux.ibm.com>
185
186 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
187 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
188 * sysdeps/s390/configure.ac: Add checks for arch13 support.
189 * sysdeps/s390/configure: Regenerated.
190
1a7df49c
SL
1912019-03-22 Stefan Liebler <stli@linux.ibm.com>
192
193 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
194 Add vxe2, vxp, dflt, sort flags.
195 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
196 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
197 capabilities.
198 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
199 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
200 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
201 HWCAP_S390_DFLT): Define.
202
5e67e4bf 2032019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
204
205 [BZ #24372]
206 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
207 of compiler warning.
208 * locale/programs/ld-collate.c (collate_output): Likewise.
209
ac64195c
DD
2102019-03-21 DJ Delorie <dj@redhat.com>
211
212 [BZ #24372]
213 * iconv/iconvconfig.c (write_output): Replace floating point math
214 with integer math to avoid imprecise results.
215 * locale/programs/ld-collate.c (collate_output): Likewise.
216
61f5e947
SL
2172019-03-21 Stefan Liebler <stli@linux.ibm.com>
218
219 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
220 Add HWCAP_S390_VX and HWCAP_S390_VXE.
221
57ada43c 2222019-03-20 mansayk <6688000@gmail.com>
223
224 [BZ #24296]
225 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
226 (abday): Likewise, but remove the trailing dots.
227
a2e57f89
JM
2282019-03-19 Joseph Myers <joseph@codesourcery.com>
229
230 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
231 macro.
232 (HWCAP_PACA): Likewise.
233 (HWCAP_PACG): Likewise.
234 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
235 Increase to 32.
236 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
237
e87d8ada
ST
2382019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
239
240 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
241 should be handled.
242
477e739b
JM
2432019-03-15 Joseph Myers <joseph@codesourcery.com>
244
245 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
246 version to 5.0.
247 (old_getpagesize): New syscall.
248
238d60a1
FY
2492019-03-15 Felix Yan <felixonmars@archlinux.org>
250
251 [BZ #24293]
252 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
253 * localedata/locales/cmn_TW (era): Likewise.
254 * localedata/locales/hak_TW (era): Likewise.
255 * localedata/locales/lzh_TW (era): Likewise.
256 * localedata/locales/nan_TW (era): Likewise.
257
a0a0dc83
FW
2582019-03-14 Florian Weimer <fweimer@redhat.com>
259
260 Remove obsolete, never-implemented XSI STREAMS declarations.
261 * manual/terminal.texi (Allocation): Remove portability note and
262 adjust example.
263 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
264 _SC_STREAMS.
265 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
266 * sysdeps/unix/inet/Subdirs (streams): Remove.
267 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
268 (conformtest-headers-UNIX98): Likewise.
269 (conformtest-headers-XOPEN2K): Likewise.
270 (conformtest-headers-POSIX2008): Likewise.
271 * posix/compat-streams.c: New file.
272 * posix/Makefile (routines): Add it.
273 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
274 getpmsg, isastream, putmsg, putpmsg.
275 (GLIBC_2.30): New section.
276 * bits/stropts.h: Remove file.
277 * bits/xtitypes.h: Likewise.
278 * conform/data/stropts.h-data: Likewise.
279 * include/stropts.h: Likewise.
280 * include/sys/stropts.h: Likewise.
281 * include/xtitypes.h: Likewise.
282 * streams/Makefile: Likewise.
283 * streams/fattach.c: Likewise.
284 * streams/fdetach.c: Likewise.
285 * streams/getmsg.c: Likewise.
286 * streams/getpmsg.c: Likewise.
287 * streams/isastream.c: Likewise.
288 * streams/putmsg.c: Likewise.
289 * streams/putpmsg.c: Likewise.
290 * streams/stropts.h: Likewise.
291 * streams/sys/stropts.h: Likewise.
292 * sysdeps/ia64/bits/xtitypes.h: Likewise.
293 * sysdeps/s390/bits/xtitypes.h: Likewise.
294 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
295 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
296 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
297 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
298 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
299 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
302 * sysdeps/x86/bits/xtitypes.h: Likewise.
303
081bdf94
FW
3042019-03-14 Florian Weimer <fweimer@redhat.com>
305
306 * nss/tst-nss-files-alias-truncated.c (do_test): Load
307 libnss_files.
308 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
309 but not with libnss_files.
310 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
311
97f8225d
ZW
3122019-03-14 Zack Weinberg <zackw@panix.com>
313
314 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
315 Specify encoding="utf-8" when opening headers to check.
316
0c1041ee
JM
3172019-03-13 Joseph Myers <joseph@codesourcery.com>
318
319 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
320 version to 5.0.
321 (Context.checkout_tar): Handle variable major version for Linux
322 kernel.
323
043440e7
FW
3242019-03-13 Florian Weimer <fweimer@redhat.com>
325
326 [BZ #24047]
327 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
328
29218b26
ZW
3292019-03-13 Zack Weinberg <zackw@panix.com>
330
331 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
332 Move to stdlib.
333 * include/inttypes.h: Adjust to match.
334 * include/stdint.h: New wrapper.
335
711a322a
ZW
3362019-03-13 Zack Weinberg <zackw@panix.com>
337
338 * scripts/check-obsolete-constructs.py: New test script.
339 * scripts/check-installed-headers.sh: Remove tests for
340 obsolete typedefs, superseded by check-obsolete-constructs.py.
341 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
342 as a special test. Update commentary.
343 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
344 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
345 Update commentary.
346 * posix/sys/types.h (__u_intN_t): Remove.
347 (u_int8_t): Typedef using __uint8_t.
348 (u_int16_t): Typedef using __uint16_t.
349 (u_int32_t): Typedef using __uint32_t.
350 (u_int64_t): Typedef using __uint64_t.
351
7c651308
SL
3522019-03-13 Stefan Liebler <stli@linux.ibm.com>
353
354 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
355 call _dl_procinfo.
356 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
357 Ignore types other than AT_HWCAP.
358 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
359 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
360 Likewise.
361 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
362 in the case of falling back to generic output mechanism.
363 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
364 Likewise.
365
38b52865
FW
3662019-03-12 Florian Weimer <fweimer@redhat.com>
367
368 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
369
08504de7
FW
3702019-03-12 Florian Weimer <fweimer@redhat.com>
371
372 [BZ #24047]
373 resolv: Enable full ICMP errors for UDP DNS sockets
374 * resolv/res_enable_icmp.c: New file.
375 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
376 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
377 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
378 socket.
379
5fbcd763
MH
3802019-03-11 Mao Han <han_mao@c-sky.com>
381
382 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
383 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
384
c4e5f34b
MH
3852019-03-11 Mao Han <han_mao@c-sky.com>
386
387 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
388 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
389 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
390
827e30f3
MH
3912019-03-11 Mao Han <han_mao@c-sky.com>
392
393 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
394 directly.
395 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
396 definition.
397
6229c9bf
MH
3982019-03-11 Mao Han <han_mao@c-sky.com>
399
400 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
401 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
402 in mcontext_t
403
86bdd49d
MF
4042019-03-08 Mike FABIAN <mfabian@redhat.com>
405
406 [BZ #24307]
407 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
408 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
409 Unicode 12.0.0.
410 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
411 * localedata/unicode-gen/PropList.txt: Likewise.
412 * localedata/unicode-gen/UnicodeData.txt: Likewise.
413 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
414 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
415 * localedata/charmaps/UTF-8: Regenerate.
416 * localedata/locales/i18n_ctype: Likewise.
417 * localedata/locales/tr_TR: Likewise.
418 * localedata/locales/translit_circle: Likewise.
419 * localedata/locales/translit_cjk_compat: Likewise.
420 * localedata/locales/translit_combining: Likewise.
421 * localedata/locales/translit_compat: Likewise.
422 * localedata/locales/translit_font: Likewise.
423 * localedata/locales/translit_fraction: Likewise.
424
c5f65462
JM
4252019-03-07 Joseph Myers <joseph@codesourcery.com>
426
427 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
428 than after operators.
429 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
430 (setitimer_locked): Likewise.
431 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
432 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
433 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
434 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
435 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
436 (PPC_CPU_SUPPORTED): Likewise.
437 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
438 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
439 (stat_overflow): Likewise.
440 (statfs_overflow): Likewise.
441 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
442 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
443 (eq_ttyname_r): Likewise.
444 (run_chroot_tests): Likewise.
445
27a2f2f3
FW
4462019-03-07 Florian Weimer <fweimer@redhat.com>
447
448 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
449 header check.
450
ae514971 4512019-03-07 Martin Liska <mliska@suse.cz>
452
453 * math/Makefile: Change location where math-vector-fortran.h is
454 installed.
455 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
456 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
457 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
458 * scripts/check-installed-headers.sh: Skip Fortran header files.
459 * scripts/check-wrapper-headers.py: Likewise.
460
0ddb7ea8
AZ
4612019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
462
463 * nptl/nptl-init.c (__have_futex_clock_realtime,
464 __have_futex_clock_realtime): Remove definition.
465 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
466 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
467 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
468 __ASSUME_FUTEX_CLOCK_REALTIME support.
469 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
471 * sysdeps/unix/sysv/linux/kernel-features.h
472 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
473 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
474 Adjust comment.
475
590675c0
GG
4762019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
477
478 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
479 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
480 __GI___wcscpy and wcscpy.
481
de71ee7b
FW
4822019-03-04 Florian Weimer <fweimer@redhat.com>
483
484 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
485 declaration.
486 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
487 defined.
488
ce6ddae0
SL
4892019-03-04 Stefan Liebler <stli@linux.ibm.com>
490
491 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
492 * sysdeps/s390/s390-32/sysdep.h: Likewise.
493
31efface
TS
4942019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
495
496 [BZ #24162]
497 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
498 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
499
f0eaf862
GG
5002019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
501
502 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
503 tests.
504 (do_test): Likewise.
505 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
506 (do_test_call_varg): Likewise.
507 (do_test_call_rarg): Likewise.
508 * sysdeps/ieee754/ldbl-opt/Makefile
509 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
510 tst-nldbl-error.
511 ($(objpfx)tst-nldbl-warn.c): New rule.
512 ($(objpfx)tst-nldbl-error.c): Likewise.
513 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
514 New variables.
515
d11086a9
GG
5162019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
517
518 [BZ #23984]
519 * include/bits/error-ldbl.h: New file.
520 * include/error.h: Include stdarg.h. Declare internal functions
521 __error_internal and __error_at_line_internal.
522 * misc/Makefile (headers): Add bits/error-ldbl.h.
523 * misc/bits/error-ldbl.h: New file.
524 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
525 avoid the inclusion of bits/error.h.
526 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
527 and __nldbl_error_at_line.
528 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
529 (__nldbl_error, __ndlbl_error_at_line): New functions.
530 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
531 Redirect error and error_at_line.
532 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
534 Likewise.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
536 Likewise.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
538 Likewise.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
540 Likewise.
541 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
542 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
544
90188e7d
GG
5452019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
546
547 [BZ #23984]
548 * include/bits/err-ldbl.h: New file.
549 * include/err.h: Add prototypes for the internal functions:
550 __vwarnx_internal and __vwarn_internal.
551 * misc/Makefile (headers): Add bits/err-ldbl.h.
552 * misc/bits/err-ldbl.h: New file.
553 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
554 defined, i.e.: when -mlong-double-64 is in use.
555 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
556 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
557 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
558 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
559 (VA_CALL): New macro.
560 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
561 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
562 functions.
563 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
564 declare prototypes for the new functions.
565 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
567 Likewise.
568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
569 Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
571 Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
573 Likewise.
574 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
575 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
576 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
577
ea2d89d0
GG
5782019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
579
580 * sysdeps/ieee754/ldbl-opt/Makefile
581 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
582 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
583 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
584
6e1f6440
GG
5852019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
586
587 [BZ #23983]
588 * argp/Makefile (headers): Add bits/argp-ldbl.h.
589 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
590 * argp/bits/argp-ldbl.h: New file.
591 * include/argp.h: Include stdarg.h. Add prototypes for internal
592 functions: __argp_error_internal and __argp_failure_internal.
593 * include/bits/argp-ldbl.h: New file.
594 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
595 __nldbl_argp_error and __nldbl_argp_failure.
596 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
597 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
599 Redirect argp_error and argp_failure calls.
600 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
602 Likewise.
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
604 Likewise.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
606 Likewise.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
608 Likewise.
609 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
611 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
612
c259196b
FW
6132019-03-01 Florian Weimer <fweimer@redhat.com>
614
615 [BZ #20419]
616 * elf/tst-big-note-lib.S: Create a syntactically valid note.
617 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
618 code, to avoid creating an ABI tag note.
619 (modules-names-nobuild): Add tst-big-note-lib.
620
928b305d
SL
6212019-03-01 Stefan Liebler <stli@linux.ibm.com>
622
623 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
624 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
625
36f30c10
FW
6262019-03-01 Florian Weimer <fweimer@redhat.com>
627
628 [BZ #20271]
629 * sysdeps/unix/sysv/linux/netlink_assert_response.c
630 (__netlink_assert_response): Add additional missing newlines.
631
462e83a4
JM
6322019-02-28 Joseph Myers <joseph@codesourcery.com>
633
634 * sysdeps/powerpc/powerpc32/dl-machine.c
635 (__elf_machine_fixup_plt): Use space before '('.
636 (__process_machine_rela): Likewise.
637 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
638 Likewise.
639 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
640 Likewise.
641 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
642 Likewise.
643 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
644 (pattern): Likewise.
645 (delta): Likewise.
646 (check_result): Likewise.
647 (check_excepts): Likewise.
648 (check_op): Likewise.
649 (fail_xr): Likewise.
650 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
651 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
652 (SCNHSZ): Likewise.
653 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
654 Likewise.
655 (ARGS): Likewise.
656 (__makecontext): Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
658 Likewise.
659
cc3e573c
FW
6602019-02-28 Florian Weimer <fweimer@redhat.com>
661
662 [BZ #23937]
663 elf: Add test with a local IFUNC resolver.
664 * elf/ifuncmain9.c: New file.
665 * elf/ifuncmain9pic.c: Likewise.
666 * elf/ifuncmain9picstatic.c: Likewise.
667 * elf/ifuncmain9pie.c: Likewise.
668 * elf/ifuncmain9static.c: Likewise.
669 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
670 ifuncmain9static, ifuncmain9picstatic.
671 * elf/Makefile [multi-arch && build-shared] (tests-internal):
672 Add ifuncmain9, ifuncmain9pic.
673 * elf/Makefile [multi-arch && build-shared && have-fpie]
674 (ifunc-pie-tests): Add ifuncmain9pie.
675 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
676 (CFLAGS-ifuncmain9picstatic.c): Likewise.
677 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
678
92ad88fe
L
6792019-02-27 H.J. Lu <hongjiu.lu@intel.com>
680
681 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
682 * configure: Regenerated.
683 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
684
6bd4d02e
AZ
6852019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
686
687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
688 symbol as __wcspcy instead of wcscpy.
689
1b218417
ST
6902019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
691
692 * include/stdio.h (__renameat2): New hidden prototype.
693 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
694 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
695 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
696 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
697
c4f50205
JM
6982019-02-27 Joseph Myers <joseph@codesourcery.com>
699
f627dd4d
JM
700 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
701 if statement.
702
c4f50205
JM
703 * benchtests/bench-strcpy.c (do_test): Use space before '('.
704 * benchtests/bench-string.h (cmdline_process_function): Likewise.
705 * benchtests/bench-strlen.c (do_test): Likewise.
706 (test_main): Likewise.
707 * catgets/gencat.c (read_old): Likewise.
708 * elf/cache.c (load_aux_cache): Likewise.
709 * iconvdata/bug-iconv8.c (do_test): Likewise.
710 * math/test-tgmath-ret.c (do_test): Likewise.
711 * nis/nis_call.c (rec_dirsearch): Likewise.
712 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
713 * nptl/tst-audit-threads.c (do_test): Likewise.
714 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
715 * nss/nss_test1.c (init): Likewise.
716 * nss/test-netdb.c (test_hosts): Likewise.
717 * posix/execvpe.c (maybe_script_execute): Likewise.
718 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
719 * stdio-common/tst-printf.c (do_test): Likewise.
720 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
721 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
722 * stdlib/qsort.c (STACK_SIZE): Likewise.
723 * stdlib/test-canon.c (do_test): Likewise.
724 * stdlib/tst-swapcontext1.c (do_test): Likewise.
725 * string/memcmp.c (OPSIZ): Likewise.
726 * string/test-strcpy.c (do_test): Likewise.
727 (do_random_tests): Likewise.
728 * string/test-strlen.c (do_test): Likewise.
729 (test_main): Likewise.
730 * string/test-strrchr.c (do_test): Likewise.
731 (do_random_tests): Likewise.
732 * string/tester.c (test_memrchr): Likewise.
733 (test_memchr): Likewise.
734 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
735 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
736 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
737 (read_encoded_value_with_base): Likewise.
738 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
739 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
740 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
741 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
742 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
743 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
744 Likewise.
745 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
746 Likewise.
747 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
748 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
749 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
750 Likewise.
751 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
752 Likewise.
753 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
754 Likewise.
755 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
756 Likewise.
757 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
758 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
759 (FP_XSTATE_MAGIC2_SIZE): Likewise.
760 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
761 * time/test_time.c (main): Likewise.
762
7b3fb620
AZ
7632019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
764
457208b1
AZ
765 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
766
30a7e208
AZ
767 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
768 wmemcpy.
769
ddf21ec7
AZ
770 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
771 wmemcpy.
772
4d801563
AZ
773 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
774
81a14439
AZ
775 * include/wchar.h (__wcscpy): New prototype.
776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
777 (__wcscpy): Route internal symbol to generic implementation.
778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
779 Add internal __wcscpy alias.
780 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
781 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
782 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
783 * wcsmbs/wcscpy.c (wcscpy): Add
784 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
785 use generic implementation.
786 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
787
39ef0744
AZ
788 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
789 wmemset.
790
7b3fb620
AZ
791 * sysdeps/m68k/wcpcpy.c: Remove file.
792 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
793
e0cb7b61
JM
7942019-02-26 Joseph Myers <joseph@codesourcery.com>
795
aa0e4663
JM
796 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
797 than after operators.
798 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
799 * sysdeps/mach/hurd/getcwd.c
800 (__hurd_canonicalize_directory_name_internal): Likewise.
801 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
802 (pthread_mutex_consistent): Likewise.
803 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
804 Likewise.
805 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
806 (__pthread_mutex_transfer_np): Likewise.
807 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
808 (__pthread_mutex_unlock): Likewise.
809 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
810 (mtx_owned_p): Likewise.
811 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
812 (pthread_mutexattr_getrobust): Likewise.
813 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
814 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
815 Likewise.
816 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
817 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
818 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
819 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
820 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
822 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
823 Likewise.
824 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
825 Likewise.
826 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
827 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
828 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
829 (____longjmp_chk): Likewise.
830 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
831 Likewise.
832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
833 (INTERNAL_SYSCALL): Likewise.
834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
835 (INTERNAL_SYSCALL): Likewise.
836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
837 (__get_clockfreq_via_cpuinfo): Likewise.
838
e0cb7b61
JM
839 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
840 comments.
841 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
842 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
843 (WORD_COPY_BWD): Likewise.
844 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
846 Likewise.
847 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
848 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
849 comment.
850 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
851
a04549c1
JM
8522019-02-25 Joseph Myers <joseph@codesourcery.com>
853
854 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
855 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
856 rather than after operators.
857 * elf/cache.c (print_cache): Likewise.
858 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
859 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
860 * hurd/hurdinit.c (_hurd_setproc): Likewise.
861 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
862 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
863 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
864 (reauth_proc): Likewise.
865 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
866 (__file_name_split_at): Likewise.
867 (__directory_name_split_at): Likewise.
868 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
869 * hurd/port2fd.c (_hurd_port2fd): Likewise.
870 * iconv/gconv_dl.c (do_print): Likewise.
871 * inet/netinet/in.h (struct sockaddr_in): Likewise.
872 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
873 * locale/setlocale.c (new_composite_name): Likewise.
874 * malloc/memusagestat.c (main): Likewise.
875 * misc/fstab.c (fstab_convert): Likewise.
876 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
877 Likewise.
878 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
879 (getgrent_next_file): Likewise.
880 (internal_getgrnam_r): Likewise.
881 (internal_getgrgid_r): Likewise.
882 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
883 Likewise.
884 (internal_getgrent_r): Likewise.
885 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
886 (getpwent_next_nss): Likewise.
887 (getpwent_next_file): Likewise.
888 (internal_getpwnam_r): Likewise.
889 (internal_getpwuid_r): Likewise.
890 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
891 Likewise.
892 (getspent_next_nss): Likewise.
893 (internal_getspnam_r): Likewise.
894 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
895 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
896 * string/strchr.c (STRCHR): Likewise.
897 * string/strchrnul.c (STRCHRNUL): Likewise.
898 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
899 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
900 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
901 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
902 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
903 Likewise.
904 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
905 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
906 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
907 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
908 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
909 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
910 (open_file): Likewise.
911 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
912 (pthread_mutexattr_setprotocol): Likewise.
913 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
914 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
915 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
916 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
917 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
918 Likewise.
919 (elf_machine_rela): Likewise.
920 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
921 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
922 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
923 * sysdeps/posix/rename.c (rename): Likewise.
924 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
925 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
926 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
927 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
928 * sysdeps/unix/grantpt.c (grantpt): Likewise.
929 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
930 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
931 Likewise.
932 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
933 Likewise.
934 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
935 * time/tzfile.c (__tzfile_compute): Likewise.
936
34a5a146
JM
9372019-02-22 Joseph Myers <joseph@codesourcery.com>
938
939 * benchtests/bench-memmem.c (simple_memmem): Break lines before
940 rather than after operators.
941 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
942 * crypt/md5.c (md5_finish_ctx): Likewise.
943 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
944 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
945 * elf/cache.c (load_aux_cache): Likewise.
946 * elf/dl-load.c (open_verify): Likewise.
947 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
948 * elf/readelflib.c (process_elf_file): Likewise.
949 * elf/rtld.c (dl_main): Likewise.
950 * elf/sprof.c (generate_call_graph): Likewise.
951 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
952 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
953 * hurd/dtable.c (reauth_dtable): Likewise.
954 * hurd/getdport.c (__getdport): Likewise.
955 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
956 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
957 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
958 Likewise.
959 * hurd/hurdioctl.c (fioctl): Likewise.
960 * hurd/hurdselect.c (_hurd_select): Likewise.
961 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
962 (STOPSIGS): Likewise.
963 * hurd/hurdstartup.c (_hurd_startup): Likewise.
964 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
965 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
966 * hurd/msgportdemux.c (msgport_server): Likewise.
967 * hurd/setauth.c (_hurd_setauth): Likewise.
968 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
969 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
970 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
971 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
972 * login/tst-utmp.c (do_check): Likewise.
973 (simulate_login): Likewise.
974 * mach/lowlevellock.h (lll_lock): Likewise.
975 (lll_trylock): Likewise.
976 * math/test-fenv.c (ALL_EXC): Likewise.
977 * math/test-fenvinline.c (ALL_EXC): Likewise.
978 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
979 * nis/nis_call.c (__do_niscall3): Likewise.
980 * nis/nis_callback.c (cb_prog_1): Likewise.
981 * nis/nis_defaults.c (searchaccess): Likewise.
982 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
983 * nis/nis_ismember.c (internal_ismember): Likewise.
984 * nis/nis_local_names.c (nis_local_principal): Likewise.
985 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
986 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
987 Likewise.
988 * nis/ypclnt.c (yp_match): Likewise.
989 (yp_first): Likewise.
990 (yp_next): Likewise.
991 (yp_master): Likewise.
992 (yp_order): Likewise.
993 * nscd/hstcache.c (cache_addhst): Likewise.
994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
995 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
996 (internal_getpwuid_r): Likewise.
997 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
998 * posix/glob.h (__GLOB_FLAGS): Likewise.
999 * posix/regcomp.c (peek_token): Likewise.
1000 (peek_token_bracket): Likewise.
1001 (parse_expression): Likewise.
1002 * posix/regexec.c (sift_states_iter_mb): Likewise.
1003 (check_node_accept_bytes): Likewise.
1004 * posix/tst-spawn3.c (do_test): Likewise.
1005 * posix/wordexp-test.c (testit): Likewise.
1006 * posix/wordexp.c (parse_tilde): Likewise.
1007 (exec_comm): Likewise.
1008 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1009 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1010 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1011 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1012 * stdio-common/tst-fileno.c (do_test): Likewise.
1013 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1014 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1015 * stdlib/strtod_l.c (round_and_return): Likewise.
1016 (____STRTOF_INTERNAL): Likewise.
1017 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1018 * string/strcspn.c (STRCSPN): Likewise.
1019 * string/test-memmem.c (simple_memmem): Likewise.
1020 * termios/tcsetattr.c (tcsetattr): Likewise.
1021 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1022 * time/asctime.c (asctime_internal): Likewise.
1023 * time/strptime_l.c (__strptime_internal): Likewise.
1024 * time/sys/time.h (timercmp): Likewise.
1025 * time/tzfile.c (__tzfile_compute): Likewise.
1026
b0b50fe0
PF
10272019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1028
1029 [BZ #21915]
1030 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1031
f43b8dd5
GG
10322019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1033
1034 * argp/argp-help.c (__argp_error_internal): New function,
1035 renamed from __argp_error, but that takes a 'mode_flags'
1036 parameter to control the format of long double parameters.
1037 (__argp_error): Converted into a call __argp_error_internal.
1038 (__argp_failure_internal): New function, renamed from
1039 __argp_failure, but that takes a 'mode_flags' parameter.
1040 (__argp_failure): Converted into a call __argp_failure_internal.
1041 * misc/err.c (__vwarnx_internal): New function, renamed from
1042 vwarnx, but that takes a 'mode_flags' parameter.
1043 (vwarnx): Converted into a call to __vwarnx_internal.
1044 (__vwarn_internal): New function, renamed from vwarn, but that
1045 takes a 'mode_flags' parameter.
1046 (vwarn): Converted into a call to __vwarn_internal.
1047 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1048 call to __vfxprintf with 'mode_flags'.
1049 (__error_internal): New function, renamed from error, but that
1050 takes a 'mode_flags' parameter.
1051 (error): Converted into a call to __error_internal.
1052 (__error_at_line_internal): New function, renamed from
1053 error_at_line, but that takes a 'mode_flags' parameter.
1054 (error_at_line): Converted into a call to
1055 __error_at_line_internal.
1056 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1057 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1058 Likewise.
1059
dc0afac3 10602019-02-20 Martin Liska <mliska@suse.cz>
1061
1062 * math/Makefile: Install math-vector-fortran.h.
1063 * bits/math-vector-fortran.h: New file.
1064 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1065
4a2dd41c
GG
10662019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1067
1068 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1069 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1070
04de9302
WS
10712019-02-19 Wolfram Sang <wsa@the-dreams.de>
1072
1073 * nptl/pthread_mutex_trylock.c: Fix comment.
1074
b026ce1e
CD
10752019-02-19 Carlos O'Donell <carlos@redhat.com>
1076
1077 * nptl/pthread_tryjoin.c: Fix comment.
1078
8c9289b6
JM
10792019-02-18 Joseph Myers <joseph@codesourcery.com>
1080
1081 [BZ #24231]
1082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1083 after R_SPARC_H34 case.
1084
308e022f
FW
10852019-02-18 Florian Weimer <fweimer@redhat.com>
1086
1087 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1088 (getanswer): Do not call Dprintf.
1089 (res_gethostbyname2_context): Likewise.
1090 (res_gethostbyaddr_context): Likewise.
1091
a5406364
FW
10922019-02-18 Florian Weimer <fweimer@redhat.com>
1093
1094 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1095 declaration.
1096 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1097 Remove definitions.
1098 * libio/stdfiles.c: Update comment.
1099 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1100 set _IO_stdin, _IO_stdout, _IO_stderr.
1101 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1102 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1103 inline function.
1104 (_IO_deallocate_file): New inline function.
1105 * libio/iolibio.h (_IO_vprintf): Remove definition.
1106 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1107 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1108 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1109 _IO_legacy_file.
1110 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1111 __builtin_expect. Use _IO_legacy_file.
1112
6c29942c
SL
11132019-02-18 Stefan Liebler <stli@linux.ibm.com>
1114
1115 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1116 Initialize ctid with a known value and remove update of ctid
1117 after clone.
1118 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1119 as assumed current value of ctid_ptr.
1120
225d9445 11212019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
1122
1123 Check that non-sysdeps headers have wrapper headers.
1124 * scripts/check-wrapper-headers.py: New file.
1125 * Makefile (tests-special): Add check-wrapper-headers.out.
1126 (check-wrapper-headers.out): New target.
1127 * Rules (tests-special): Add check-wrapper-headers.out.
1128 (check-wrapper-headers.out): New target.
1129
225d9445 11302019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
1131
1132 Add missing header wrappers under include/.
1133 * include/ar.h: New file.
1134 * include/bits/mqueue2.h: Likewise.
1135 * include/bits/stdio.h: Likewise.
1136 * include/bits/stdio2.h: Likewise.
1137 * include/fstab.h: Likewise.
1138 * include/fts.h: Likewise.
1139 * include/lastlog.h: Likewise.
1140 * include/netinet/icmp6.h: Likewise.
1141 * include/netinet/igmp.h: Likewise.
1142 * include/netinet/ip6.h: Likewise.
1143 * include/re_comp.h: Likewise.
1144 * include/regexp.h: Likewise.
1145 * include/rpcsvc/bootparam.h: Likewise.
1146 * include/rpcsvc/yp_prot.h: Likewise.
1147 * include/sys/random.h: Likewise.
1148 * include/sys/stropts.h: Likewise.
1149 * include/sys/ttychars.h: Likewise.
1150 * include/sys/vfs.h: Likewise.
1151 * include/wait.h: Likewise.
1152
225d9445 11532019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
1154
1155 * nptl_db/proc_service.h: Move to ...
1156 * sysdeps/nptl/proc_service.h: ... here.
1157 * nptl_db/thread_db.h: Move to ...
1158 * sysdeps/nptl/thread_db.h: ... here.
1159 * nptl/descr.h: Include <thread_db.h>.
1160
e442e40d
AZ
11612019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1162
1163 * io/Makefile (tests): Add tst-lockf.
1164 * io/lockf.c (lockf): Use __fcntl and only define for
1165 !__OFF_T_MATCHES_OFF64_T.
1166 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1167 __OFF_T_MATCHES_OFF64_T case.
1168 * io/tst-lockf.c: New file.
1169 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1170 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1171 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1172 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1173 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1175 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1176 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1178
bc10e22c
FW
11792019-02-15 Florian Weimer <fweimer@redhat.com>
1180
1181 [BZ #24211]
1182 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1183 pd->result after the thread descriptor has been freed.
1184
365f05c7
JM
11852019-02-15 Joseph Myers <joseph@codesourcery.com>
1186
8a11f970
JM
1187 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1188 from function return type.
1189
365f05c7
JM
1190 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1191
56a731d4
JK
11922019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1193
1194 * scripts/test_printers_common.py: Set TERM to a known harmless
1195 value.
1196
712182c8
JM
11972019-02-14 Joseph Myers <joseph@codesourcery.com>
1198
1199 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1200 (xdr_u_int): Likewise.
1201 (xdr_enum): Likewise.
1202 (xdr_bytes): Reword fall-through comment.
1203 (xdr_string): Likewise.
1204
eb76e5b4
AZ
12052019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1206
1207 [BZ #2421]
1208 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1209 (tests): Add tst-join8 tst-join9.
1210 * nptl/lll_timedwait_tid.c: Remove file.
1211 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1212 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1213 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1214 * nptl/pthread_join_common.c (timedwait_tid): New function.
1215 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1216 is set.
1217 * nptl/tst-join5.c (thread_join): New function.
1218 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1219 check.
1220 * nptl/tst-join8.c: New file.
1221 * nptl/tst-join9.c: Likewise.
1222 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1223 lll_futex_timed_wait_cancel): Add generic macros.
1224 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1225 Remove definitions.
1226 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1227 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1229 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1230 Remove function.
1231 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1234 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1235 (lll_futex_timed_wait_cancel): New macro.
1236
3904fd85
WD
12372019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1238
1239 * benchtests/Makefile: Add malloc-simple benchmark.
1240 * benchtests/bench-malloc-simple.c: New benchmark.
1241
24ca04fe
SP
12422019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1243
1244 * benchtests/bench-memmove.c (do_one_test): Remove unused
1245 ORIG_SRC.
1246 (do_test): Adjust.
1247 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1248 ORIG_SRC.
1249 (do_test): Adjust.
1250
85bd1ddb
JW
12512019-01-13 Jim Wilson <jimw@sifive.com>
1252
1253 [BZ #24040]
1254 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1255 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1256 (func): New.
1257 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1258 call func directly.
1259 * nptl/Makefile (tests): Add tst-unwind-thread.
1260 (CFLAGS-tst-unwind-thread.c): Define.
1261 * nptl/tst-unwind-thread.c: New file.
1262 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1263 as undefined.
1264
86140c62
JM
12652019-02-13 Joseph Myers <joseph@codesourcery.com>
1266
10756268
JM
1267 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1268 comment wording.
1269 * nis/nis_call.c (__do_niscall3): Likewise.
1270
05383720
JM
1271 * catgets/gencat.c (normalize_line): Use braces around empty
1272 'else' body.
1273 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1274 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1275 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1276 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1277 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1278 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1279 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1280 definition.
1281
86140c62
JM
1282 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1283 execlp returns.
1284
16f87cfd
WD
12852019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1286
1287 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1288 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1289 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1290 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1291 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1292 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1293 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1294 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1295 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1296 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1297 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1298 * benchtests/bench-bcopy.c: Delete file.
1299 * benchtests/bench-bzero.c: Likewise.
1300 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1301 (simple_memccpy): Remove.
1302 (generic_memccpy): Add function.
1303 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1304 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1305 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1306 (generic_mempcpy): Add new function.
1307 * benchtests/bench-memset.c (simple_bzero): Remove.
1308 (builtin_bzero): Remove.
1309 (builtin_memset): Remove.
1310 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1311 (generic_rawmemchr): Add new function.
1312
0c6d82e9
FW
13132019-02-12 Florian Weimer <fweimer@redhat.com>
1314
1315 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1316
b3fbfe81
AZ
13172019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1318
1319 [BZ #24122]
1320 * elf/Makefile (tests): Add tst-audit13.
1321 (modules-names): Add tst-audit13mod1.
1322 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1323 rule.
1324 * elf/tst-audit13.c: New file.
1325 * elf/tst-audit13mod1.c: Likewise.
1326
3b856d09
FW
13272019-02-12 Florian Weimer <fweimer@redhat.com>
1328
1329 [BZ #24122]
1330 * elf/rtld.c (unload_audit_module): New function.
1331 (report_audit_module_load_error): Likewise.
1332 (load_audit_module): Likewise. Extracted from dl_main. Call
1333 _dl_close if the laversion symbol cannot be found. Use early
1334 returns for error handling. Add malloc error check. Check for a
1335 zero return value from la_version. Remove spurious comment about
1336 static TLS initialization. Remove useless casts.
1337 (notify_audit_modules_of_loaded_object): New function. Extracted
1338 from dl_main.
1339 (load_audit_module): Likewise.
1340 (dl_main): Call load_audit_modules.
1341
32db86d5
JM
13422019-02-12 Joseph Myers <joseph@codesourcery.com>
1343
1344 * elf/dl-exception.c (_dl_exception_create_format): Add
1345 fall-through comments.
1346 * elf/ldconfig.c (parse_conf_include): Likewise.
1347 * elf/rtld.c (print_statistics): Likewise.
1348 * locale/programs/charmap.c (parse_charmap): Likewise.
1349 * misc/mntent_r.c (__getmntent_r): Likewise.
1350 * posix/wordexp.c (parse_arith): Likewise.
1351 (parse_backtick): Likewise.
1352 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1353 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1355
a51bc4fe
PC
13562019-02-11 Paul A. Clarke <pc@us.ibm.com>
1357
1358 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1359 Use float instead of double.
1360
fb25b135
TS
13612019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1362
1363 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1364
32ea7299
JM
13652019-02-08 Joseph Myers <joseph@codesourcery.com>
1366
1367 * sysdeps/powerpc/bits/mathinline.h: Remove.
1368
eef4d4f8
FW
13692019-02-08 Florian Weimer <fweimer@redhat.com>
1370
1371 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1372 * math/bits/math-finite.h: Move to ...
1373 * bits/math-finite.h: ... here.
1374
fdfbd47d
FW
13752019-02-08 Florian Weimer <fweimer@redhat.com>
1376
1377 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1378 * bits/unistd_ext.h: here.
1379
11eb21c4
PF
13802019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1381
1382 [BZ #21915]
1383 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1384 * nss/tst-nss-files-hosts-long.c: New file.
1385 * nss/tst-nss-files-hosts-long.root: New directory.
1386 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1387 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1388
e47d82c9
FW
13892019-02-08 Florian Weimer <fweimer@redhat.com>
1390
1391 * include/bits/unistd_ext.h: Remove file.
1392 * posix/bits/unistd_ext.h: Move to ...
1393 * sysdeps/generic/bits/unistd_ext.h: ... here.
1394
8f89ab21
FW
13952019-02-08 Florian Weimer <fweimer@redhat.com>
1396
1397 * include/bits/unistd_ext.h: New file.
1398
144a794e
TS
13992019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1400
1401 * time/tst-strftime2.c: Use array_length macros instead of magic
1402 numbers.
1403
669ff911
FW
14042019-02-08 Florian Weimer <fweimer@redhat.com>
1405
1406 [BZ #24161]
1407 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1408 argument.
1409 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1410 locking if the new do_locking argument is true.
1411 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1412 __run_fork_handlers.
1413
d0bd87d4 14142019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
1415
1416 [BZ #6399]
1417 Linux: Add gettid system call wrapper.
1418 * posix/Makefile (headers): Add bits/unistd_ext.h.
1419 * posix/bits/unistd_ext.h: New file.
1420 * posix/unistd.h: Include it.
1421 * manual/process.texi (Process Identification): Document gettid.
1422 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1423 tst-gettid, tst-gettid-kill.
1424 (tst-gettid): Link with $(shared-thread-library).
1425 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1426 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1427 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1428 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1429 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1430 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1431 Add gettid.
1432 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1435 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1436 Likewise.
1437 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1438 Likewise.
1439 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1440 Likewise.
1441 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1442 Likewise.
1443 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1444 Likewise.
1445 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1446 Likewise.
1447 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1448 Likewise.
1449 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1450 (GLIBC_2.30): Likewise.
1451 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1452 (GLIBC_2.30): Likewise.
1453 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1454 (GLIBC_2.30): Likewise.
1455 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1456 (GLIBC_2.30): Likewise.
1457 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1458 Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1460 (GLIBC_2.30): Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1462 (GLIBC_2.30): Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1464 (GLIBC_2.30): Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1466 (GLIBC_2.30): Likewise.
1467 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1468 Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1470 Likewise.
1471 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1472 Likewise.
1473 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1474 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1475 Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1477 Likewise.
1478 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1479 Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1481 Likewise.
1482 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1483
225d9445 14842019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
1485
1486 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1487 compatibility symbols.
1488
823624bd
SL
14892019-02-07 Stefan Liebler <stli@linux.ibm.com>
1490
1491 [BZ #24180]
1492 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1493 Add compiler barriers and comments.
1494
8311c83f
FW
14952019-02-07 Florian Weimer <fweimer@redhat.com>
1496
1497 * include/array_length.h (array_length): Do not use a statement
1498 expression and _Static_assert, so that array_length can be used at
1499 file scope and as a constant expression.
1500
94b63e66
FW
15012019-02-07 Florian Weimer <fweimer@redhat.com>
1502
1503 * support/xdlfcn.h (xdlmopen): Declare.
1504 * support/xdlmopen.c: New file.
1505 * support/Makefile (libsupport-routines): Add xdlmopen.
1506
c2d8f0b7
JM
15072019-02-06 Joseph Myers <joseph@codesourcery.com>
1508
1509 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1510 before return type, without separate inline.
1511 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1512 * elf/dl-tunables.h (tunable_is_name): Likewise.
1513 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1514 (do_set_top_pad): Likewise.
1515 (do_set_mmap_threshold): Likewise.
1516 (do_set_mmaps_max): Likewise.
1517 (do_set_mallopt_check): Likewise.
1518 (do_set_perturb_byte): Likewise.
1519 (do_set_arena_test): Likewise.
1520 (do_set_arena_max): Likewise.
1521 (do_set_tcache_max): Likewise.
1522 (do_set_tcache_count): Likewise.
1523 (do_set_tcache_unsorted_limit): Likewise.
1524 * nis/nis_subr.c (count_dots): Likewise.
1525 * nptl/allocatestack.c (advise_stack_range): Likewise.
1526 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1527 (do_sin): Likewise.
1528 (reduce_sincos): Likewise.
1529 (do_sincos): Likewise.
1530 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1531 (do_set_elision_enable): Likewise.
1532 (TUNABLE_CALLBACK_FNDECL): Likewise.
1533
3b935595
FW
15342019-02-06 Florian Weimer <fweimer@redhat.com>
1535
1536 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1537 (xdlsym): Use dlerror to detect a NULL symbol.
1538
b4333340
FW
15392019-02-06 Florian Weimer <fweimer@redhat.com>
1540
1541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1542 <stap-probe.h>.
1543 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1544
b6d8a999
SL
15452019-02-06 Stefan Liebler <stli@linux.ibm.com>
1546
1547 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1548
94eeeec0
SL
15492019-02-06 Stefan Liebler <stli@linux.ibm.com>
1550
1551 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1552 __wmemcmp and weak alias to wmemcmp.
1553
bc79db3f
SL
15542019-02-06 Stefan Liebler <stli@linux.ibm.com>
1555
1556 [BZ #23403]
1557 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1558 TLS_TCB_AT_TP tls variant.
1559 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1560 Add alignment checks.
1561 * support/Makefile (libsupport-routines): Add xposix_memalign and
1562 xpthread_setstack.
1563 * support/support.h: Add xposix_memalign.
1564 * support/xthread.h: Add xpthread_attr_setstack.
1565 * support/xposix_memalign.c: New File.
1566 * support/xpthread_attr_setstack.c: Likewise.
1567
f1ac7455
FW
15682019-02-05 Florian Weimer <fweimer@redhat.com>
1569
1570 [BZ #24164]
1571 arm: Use "nr" constraint for Systemtap probes, to avoid the
1572 compiler using memory operands for constants, due to the "o"
1573 alternative in the default "nor" constraint.
1574 * include/stap-probe.h [USE_STAP_PROBE]: Include
1575 <stap-probe-machine.h>
1576 * sysdeps/generic/stap-probe-machine.h: New file.
1577 * sysdeps/arm/stap-probe-machine.h: Likewise.
1578
7a0dcfc6
JM
15792019-02-04 Joseph Myers <joseph@codesourcery.com>
1580
77dc0d86
JM
1581 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1582 with 0, not tcache->entries[tc_idx].
1583
7a0dcfc6
JM
1584 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1585 once.
1586
65f7767a
AS
15872019-02-04 Andreas Schwab <schwab@suse.de>
1588
1589 [BZ #16976]
1590 [BZ #17396]
1591 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1592 looking up collating elements match against (wide) character
1593 sequence instead of name. Correct alignment adjustment.
1594 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1595 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1596 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1597 (LOCALES): Add cs_CZ.ISO-8859-2.
1598 * posix/tst-fnmatch4.c: New file.
1599 * posix/tst-fnmatch5.c: New file.
1600 * include/wchar.h (__wmemcmp): Declare.
1601 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1602 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1603 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1604 * sysdeps/s390/wmemcmp.c: Likewise.
1605
3f635fb4
L
16062019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 [BZ #24155]
1609 CVE-2019-7309
1610 * NEWS: Updated for CVE-2019-7309.
1611 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1612 upper 32 bits of RDX register for x32. Use unsigned Jcc
1613 instructions, instead of signed.
1614 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1615 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1616
2ab5741b
FW
16172019-02-04 Florian Weimer <fweimer@redhat.com>
1618
1619 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1620 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1621 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1622 Likewise.
1623 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1624 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1625 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1626 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1627 Likewise.
1628 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1629 Likewise.
1630 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1631 Likewise.
1632 (posix_spawn_file_actions_addopen): Likewise.
1633 (posix_spawn_file_actions_addclose): Likewise.
1634 (posix_spawn_file_actions_adddup2): Likewise.
1635 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1636 qualifiers.
1637 (posix_spawn_file_actions_addfchdir_np): Likewise.
1638
8692ebdb
DN
16392019-02-04 David Newall <glibc@davidnewall.com>
1640
1641 elf: Implement --preload option for the dynamic linker.
1642 * elf/rtld.c (preloadarg): New variable.
1643 (handle_preload_list): Pass through “where” argument to
1644 do_preload.
1645 (dl_main): Handle "--preload" and add second call to
1646 handle_preload_list.
1647 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1648 (tst-rtld-preload-OBJS): Set variable.
1649 (tst-rtld-preload.out): New target.
1650 * elf/tst-rtld-preload.sh: New file.
1651
5e10136b
MM
16522019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1653
1654 * Makefile (testrun.sh): Exit in case of incorrect argument.
1655
221baae0
FW
16562019-02-04 Florian Weimer <fweimer@redhat.com>
1657
1658 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1659 alignment gaps.
1660
b8c72381
FW
16612019-02-03 Florian Weimer <fweimer@redhat.com>
1662
1663 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1664 implicit overflow checks.
1665
11f382ee
AJ
16662019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1667
1668 * stdlib/isomac.c: Include <unistd.h>.
1669
77c7d55e
FW
16702019-02-03 Florian Weimer <fweimer@redhat.com>
1671
1672 * include/time.h (__tzfile_default): Use int, not long int, for
1673 the GMT offsets.
1674 * time/tzfile.c (struct ttinfo): Change type of the offset member
1675 to int.
1676 (__tzfile_read): Remove useless cast.
1677 (__tzfile_default): Adjust prototype.
1678 * time/tzset.c (tz_rule): Change type of the offset member to int.
1679 (parse_offset): Change the type of the sign variable to int.
1680
ee9941f9
FW
16812019-02-03 Florian Weimer <fweimer@redhat.com>
1682
1683 [BZ #24153]
1684 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1685 * libio/getchar.c (getchar): Likewise.
1686 * libio/getchar_u.c (getchar_unlocked): Likewise.
1687 * libio/getwchar.c (getwchar): Likewise.
1688 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1689 * libio/iogets.c (_IO_gets): Likewise.
1690 * libio/vscanf.c (_IO_vscanf): Likewise.
1691 * libio/vwscanf.c (__vwscanf): Likewise.
1692 * libio/tst-bz24153.c: New file.
1693 * libio/Makefile (tests): Add it.
1694
c70824b9
FW
16952019-02-02 Florian Weimer <fweimer@redhat.com>
1696
1697 [BZ #14829]
1698 * manual/resource.texi (Basic Scheduling Functions): Add
1699 portability note. Change process to task throughout the section.
1700 Remove incorrect comment about sched_yield as it affects
1701 tasks/threads, not entire processes.
1702 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1703 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1704
4dcbbc3b
JM
17052019-02-01 Joseph Myers <joseph@codesourcery.com>
1706
1707 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1708 * configure: Regenerated.
1709 * manual/install.texi (Tools for Compilation): Update minimum GCC
1710 version.
1711 * INSTALL: Regenerated.
1712
6175507c
FW
17132019-02-01 Florian Weimer <fweimer@redhat.com>
1714
1715 * support/support_test_compare_string.c
1716 (support_test_compare_string): Use "string" in error message.
1717 * support/tst-test_compare_string.c (do_test): Adjust.
1718
baef1943
FW
17192019-02-01 Florian Weimer <fweimer@redhat.com>
1720
1721 * support/support_format_address_family.c
1722 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1723
395599f0
FW
17242019-02-01 Florian Weimer <fweimer@redhat.com>
1725
1726 * manual/socket.texi (Internet Address Formats): Clarify the byte
1727 order of struct sockaddr_in, struct sockaddr_in6. Document
1728 sin6_flowinfo and sin6_scope_id.
1729
b06f4c00
WD
17302019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1731
1732 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1733 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1734 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1735 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1736 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1737 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1738
83d1cc42
FX
17392019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1740
1741 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1742 [!MEMCHR](MEMCHR): Set to __memchr.
1743 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1744 Add memchr_generic and memchr_nosimd.
1745 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1746 (__libc_ifunc_impl_list): Add memchr ifuncs.
1747 * sysdeps/aarch64/multiarch/memchr.c: New file.
1748 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1749 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1750
c7d3890f
FX
17512019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1752
1753 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1754 Add memset_emag.
1755 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1756 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1757 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1758 Add IS_EMAG check for ifunc dispatch.
1759 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1760 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1761
07c3d1ec
FX
17622019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1763
1764 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1765 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1766 Add emag.
1767 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1768 New macro.
1769
114f792e
SL
17702019-02-01 Stefan Liebler <stli@linux.ibm.com>
1771
1772 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1773
d5627550
VG
17742019-01-31 Vineet Gupta <vgupta@synopsys.com>
1775
1776 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1777 syscall-template file.
1778
5fc9ed4c
CD
17792019-01-31 Carlos O'Donell <carlos@redhat.com>
1780 Torvald Riegel <triegel@redhat.com>
1781 Rik Prohaska <prohaska7@gmail.com>
1782
1783 [BZ# 23844]
1784 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1785 tst-rwlock-trywrlock-stall.
1786 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1787 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1788 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1789 Set __wrphase_fute to 1 only if we started the write phase.
1790 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1791 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1792 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1793 * support/xpthread_rwlock_destroy.c: New file.
1794 * support/xthread.h: Declare xpthread_rwlock_destroy.
1795
932329a5
JM
17962019-02-01 Joseph Myers <joseph@codesourcery.com>
1797
1798 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1799 version to 4.0.2.
1800
5f10701f
PP
18012019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1802
1803 [BZ #24051]
1804 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1805 * libio/fileops.c (_IO_new_file_underflow): Likewise
1806 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1807 * libio/putchar.c (putchar): Likewise.
1808 * libio/putchar_u.c (putchar_unlocked): Likewise.
1809 * libio/putwchar.c (putchar): Likewise.
1810 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1811 * libio/tst-bz24051.c: New test.
1812 * libio/Makefile (tests): Add tst-bz24051
1813
583dd860
PE
18142019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1815
b626c5aa 1816 CVE-2019-9169
583dd860
PE
1817 regex: fix read overrun [BZ #24114]
1818 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1819 https://debbugs.gnu.org/34140
1820 * posix/regexec.c (proceed_next_node):
1821 Do not read past end of input buffer.
1822
2bac7daa
FW
18232019-01-31 Florian Weimer <fweimer@redhat.com>
1824
1825 [BZ #24059]
1826 * nss/nss_files/files-alias.c (get_next_alias): Handle
1827 continuation line without newline at the end.
1828 * nss/tst-nss-files-alias-truncated.c: New file.
1829 * nss/Makefile [$(build-shared)] (tests): Add
1830 tst-nss-files-alias-truncated.
1831 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1832 * support/namespace.h (struct support_chroot_configuration): Add
1833 aliases member.
1834 (struct support_chroot): Add path_aliases member.
1835 * support/support_chroot.c (support_chroot_create): Handle
1836 aliases.
1837 (support_chroot_free): Free path_aliases.
1838
330c9d0d
SP
18392019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1840
de44ab67
SP
1841 * version.h (RELEASE): Set to "development".
1842 (VERSION): Set to "2.29.9000".
1843 * NEWS: Add section for 2.30.
1844
56c86f5d
SP
1845 * version.h (RELEASE): Set to "stable".
1846 (VERSION): Set to "2.29".
1847 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1848
330c9d0d
SP
1849 * NEWS: Add the list of bugs fixed in 2.29.
1850 * manual/contrib.texi: Update contributors list with some more
1851 names.
1852 * manual/install.texi: Update latest versions of packages
1853 tested.
1854 * INSTALL: Regenerated.
1855
e1e47c91
SP
18562019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1857
1858 * po/be.po: Update translations.
1859 * po/bg.po: Likewise.
1860 * po/ca.po: Likewise.
1861 * po/cs.po: Likewise.
1862 * po/da.po: Likewise.
1863 * po/de.po: Likewise.
1864 * po/el.po: Likewise.
1865 * po/eo.po: Likewise.
1866 * po/es.po: Likewise.
1867 * po/fi.po: Likewise.
1868 * po/fr.po: Likewise.
1869 * po/gl.po: Likewise.
1870 * po/hr.po: Likewise.
1871 * po/hu.po: Likewise.
1872 * po/ia.po: Likewise.
1873 * po/id.po: Likewise.
1874 * po/it.po: Likewise.
1875 * po/ja.po: Likewise.
1876 * po/ko.po: Likewise.
1877 * po/lt.po: Likewise.
1878 * po/nb.po: Likewise.
1879 * po/nl.po: Likewise.
1880 * po/pl.po: Likewise.
1881 * po/pt_BR.po: Likewise.
1882 * po/ru.po: Likewise.
1883 * po/rw.po: Likewise.
1884 * po/sk.po: Likewise.
1885 * po/sl.po: Likewise.
1886 * po/sv.po: Likewise.
1887 * po/tr.po: Likewise.
1888 * po/uk.po: Likewise.
1889 * po/vi.po: Likewise.
1890 * po/zh_CN.po: Likewise.
1891 * po/zh_TW.po: Likewise.
1892
8d016826
UB
18932019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1894
1895 [BZ #24130]
1896 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1897 of $f3 register on $y_is_neg path.
1898
a0bb5abd
ST
18992019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1900
b96e22d0 1901 [BZ #24110]
a0bb5abd
ST
1902 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1903 sigaltstack.ss_flags.
1904
b22eed37
TS
19052019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1906
1907 [BZ #23758]
1908 * manual/time.texi (strftime): Document "%Ey".
1909 * time/strftime_l.c (__strftime_internal): Set the default width
1910 padding with zero of "%Ey" to 2.
1911
32f600a2
TS
1912 [BZ #24096]
1913 * manual/time.texi (strftime): Document "%EC" and "%EY".
1914 * time/Makefile (tests): Add tst-strftime2.
1915 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1916 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1917 override padding for "%Ey".
1918 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1919 "%Ey" in the subformat as if decorated with that flag.
1920 * time/tst-strftime2.c: New file.
1921
8e889c5d
AZ
19222019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1923
3367acdb
AZ
1924 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1925 are not defined.
1926
8e889c5d
AZ
1927 [BZ #24122]
1928 * elf/Makefile (tests): Add tst-audit13.
1929 (modules-names): Add tst-audit13mod1.
1930 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1931 rule.
1932 * elf/rtld.c (dl_main): Handle invalid audit module version.
1933 * elf/tst-audit13.c: New file.
1934 * elf/tst-audit13mod1.c: Likewise.
1935
a95dc01c
ST
19362019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1937
1938 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1939 returned by __hurd_at_flags.
ee4d7902
ST
1940 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1941 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1942 directly instead of __hurd_file_name_lookup.
a95dc01c 1943
712f1167
JM
19442019-01-21 Joseph Myers <joseph@codesourcery.com>
1945
1946 * scripts/build-many-glibcs.py (Context.checkout): Default
1947 binutils version to 2.32 branch.
1948
108bc404
FW
19492019-01-21 Florian Weimer <fweimer@redhat.com>
1950
1951 [BZ #20018]
1952 CVE-2016-10739
1953 resolv: Reject trailing characters in host names
1954 * include/arpa/inet.h (__inet_aton_exact): Declare.
1955 (inet_aton): Remove hidden prototype. No longer used internally.
1956 * nscd/gai.c (__inet_aton): Do not define.
1957 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1958 * nss/digits_dots.c (__inet_aton): Likewise.
1959 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1960 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1961 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1962 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1963 (tst-resolv-trailing): Likewise.
1964 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1965 libc.
1966 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1967 Make static. Add endp parameter.
1968 (__inet_aton_exact): New function.
1969 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1970 (__inet_addr): Call inet_aton_end.
1971 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1972 not just IPv6. Call __inet_aton_exact.
1973 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1974 (tests): Make const. Add additional test cases with trailing
1975 characters.
1976 (do_test): Use array_length.
1977 * resolv/tst-inet_aton_exact.c: New file.
1978 * resolv/tst-resolv-trailing.c: Likewise.
1979 * resolv/tst-resolv-nondecimal.c: Likewise.
1980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1981
5165de69
L
19822019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1983
1984 [BZ# 24097]
1985 CVE-2019-6488
1986 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1987 Clear the upper 32 bits of RSI register.
1988 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1989 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1990 and tst-size_t-wcsnlen.
1991 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1992 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1993
c7c54f65
L
19942019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1995
1996 [BZ# 24097]
1997 CVE-2019-6488
1998 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1999 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2001 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2002 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2003
ee915088
L
20042019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2005
2006 [BZ# 24097]
2007 CVE-2019-6488
2008 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2010 * sysdeps/x86_64/strcmp.S: Likewise.
2011 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2012 tst-size_t-strncmp and tst-size_t-wcsncmp.
2013 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2014 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2015 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2016
82d0b4a4
L
20172019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 [BZ# 24097]
2020 CVE-2019-6488
2021 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2022 RDX_LP for length. Clear the upper 32 bits of RDX register.
2023 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2024 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2025 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2026 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2027
ecd8b842
L
20282019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 [BZ# 24097]
2031 CVE-2019-6488
2032 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2033 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2034 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2035 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2036
231c5676
L
20372019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 [BZ# 24097]
2040 CVE-2019-6488
2041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2042 length. Clear the upper 32 bits of RDX register.
2043 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2044 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2045 Likewise.
2046 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2047 Likewise.
2048 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2049 tst-size_t-wmemchr.
2050 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2051
b304fc20
L
20522019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 [BZ# 24097]
2055 CVE-2019-6488
2056 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2057 length. Clear the upper 32 bits of RDX register.
2058 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2059 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2060 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2061 tst-size_t-wmemcmp.
2062 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2063 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2064
97700a34
L
20652019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 [BZ# 24097]
2068 CVE-2019-6488
2069 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2070 upper 32 bits of RDX register.
2071 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2072 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2073 tst-size_t-wmemchr.
2074 * sysdeps/x86_64/x32/test-size_t.h: New file.
2075 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2076 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2077
6ca53a24
FW
20782019-01-18 Florian Weimer <fweimer@redhat.com>
2079
2080 [BZ #24112]
2081 resolv: Do not send queries for non-host-names in nss_dns.
2082 * resolv/nss_dns/dns-host.c (check_name): New function.
2083 (_nss_dns_gethostbyname2_r): Use it.
2084 (_nss_dns_gethostbyname_r): Likewise.
2085 (_nss_dns_gethostbyname4_r): Likewise.
2086
5e30b8ef
FW
20872019-01-21 Florian Weimer <fweimer@redhat.com>
2088
2089 * resolv/inet_addr.c: Reformat to GNU style.
2090 (__inet_addr, __inet_aton): Update comment.
2091
71effcea
FW
20922019-01-18 Florian Weimer <fweimer@redhat.com>
2093
2094 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2095 ("malloc: Use current (C11-style) atomics for fastbin access").
2096 This commit introduces a substantial performance regression on
2097 POWER and Aarch64.
2098 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2099 (REMOVE_FB): Define.
2100 (_int_malloc): Use it and reindent.
2101 (_int_free): Use CAS loop with
2102 catomic_compare_and_exchange_val_rel.
2103 (malloc_consolidate): Use atomic_exchange_acq.
2104
2105
562f4362
L
21062019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2109 -Wl,-z,now.
2110 (LDFLAGS-tst-minsigstksz-2): Likewise.
2111 (LDFLAGS-tst-minsigstksz-3): Likewise.
2112 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2113 (LDFLAGS-tst-minsigstksz-4): Likewise.
2114
80dfa298
TS
21152019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2116
2117 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2118 than "alternate".
2119
008b598e
PC
21202019-01-16 Paul A. Clarke <pc@us.ibm.com>
2121
2122 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2123
fbbc9a4e
ZW
21242019-01-16 Zack Weinberg <zackw@panix.com>
2125
2126 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2127 (xget_sigstack_location): New test support functions.
2128 * support/xsigstack.c: New file, implementing them.
2129 * support/tst-xsigstack.c: New test for them.
2130 * support/Makefile: Update.
2131
2132 * signal/tst-minsigstksz-1.c
2133 * signal/tst-minsigstksz-2.c
2134 * signal/tst-minsigstksz-3.c
2135 * signal/tst-minsigstksz-3a.c
2136 * signal/tst-minsigstksz-4.c: New tests.
2137 * signal/Makefile: Run them.
2138
5f1135e4
SP
21392019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2140
2141 * po/libc.pot: Regenerate.
2142
ecdacd34
TMQMF
21432019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2144
2145 * math/libm-test-fma.inc (fma_test_data): Set
2146 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2147
56054664
RA
21482019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2149
2150 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2151 (do_test): Changed __vector __int128_t to __vector unsigned int.
2152
1a153e47
LS
21532019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2154
2155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2156 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2157 stpcpy-avx2 and stpncpy-avx2.
2158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2159 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2160 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2161 and __stpncpy_avx2.
2162 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2163 ifunc-strcpy.h}: rename header for a more generic name.
2164 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2165 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2166 AVX unaligned load is fast and vzeroupper is preferred.
2167 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2168 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2169 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2170 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2171 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2172 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2173
a1b02ae7
DL
21742019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2175
2176 * argp/argp-help.c: Fix typo in comment.
2177 * misc/sys/cdefs.h: Likewise.
2178 * posix/regexec.c (sift_states_iter_mb): Likewise.
2179 * socket/sockatmark.c: Likewise.
2180 * socket/sys/socket.h: Likewise.
2181 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2182 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2183 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2184 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2185 * sysdeps/unix/sockatmark.c: Likewise.
2186 * time/strptime_l.c: Likewise.
2187
5cbbf01e
TS
21882019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2189
2190 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2191 missing space after the cast of "_NL_CURRENT".
2192
0bc9bdf1
RA
21932019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2194
2195 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2196 ifdef to fix read of VSCR.
2197 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2198 tst-ucontext-ppc64-vscr.c to test list.
2199 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2200
5494af04
AH
22012019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2202
2203 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2204 fall-through.
2205
e17f63ff
JW
22062019-01-09 Jim Wilson <jimw@sifive.com>
2207
2208 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2209
02f440c1
WD
22102019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2211
2212 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2213 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2214 __memcpy_falkor for ares.
2215 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2216 Add new define.
2217 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2218 Add ares cpu.
2219
69da3c9e
L
22202019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 [BZ #24066]
2223 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2224 4_FP_W_TYPEs are used for IEEE quad precision.
2225 * soft-fp/extendhftf2.c: Likewise.
2226 * soft-fp/extendsftf2.c: Likewise.
2227 * soft-fp/extendxftf2.c: Likewise.
2228 * soft-fp/trunctfdf2.c: Likewise.
2229 * soft-fp/trunctfhf2.c: Likewise.
2230 * soft-fp/trunctfsf2.c: Likewise.
2231 * soft-fp/trunctfxf2.c: Likewise.
2232 * sysdeps/alpha/ots_cvttx.c: Likewise.
2233 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2234 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2235 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2236 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2237 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2238 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2239 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2240 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2241 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2242 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2243 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2244 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2245 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2246 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2247 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2248 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2249 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2250
2ef42716
AJ
22512019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2252
2253 [BZ #24024]
2254 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2255 code with -fmath-errno.
2256 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2257 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2258 * string/test-strerror-errno.c: New file.
2259
7395f3a0
AJ
22602019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2261
2262 [BZ #24046]
2263 * localedata/locales/en_US (date_fmt): Add, set to
2264 "%a %d %b %Y %r %Z".
2265
010fe231
FW
22662019-01-07 Florian Weimer <fweimer@redhat.com>
2267
2268 [BZ #24063]
2269 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2270 instead of @var{errno}.
2271 (Parsing of Integers): Likewise.
2272 (Parsing of Floats): Likewise.
2273 * manual/filesys.texi (Working with Directory Trees): Likewise.
2274 (Temporary Files): Likewise.
2275 * manual/job.texi (Terminal Access Functions): Likewise.
2276 * manual/llio.texi (Synchronizing I/O): Likewise.
2277 * manual/math.texi (SVID Random): Likewise.
2278 * manual/message.texi (The catgets Functions): Likewise.
2279 (Translation with gettext): Likewise.
2280 (Locating gettext catalog): Likewise.
2281 (Charset conversion in gettext): Likewise.
2282 * manual/nss.texi (NSS Module Function Internals): Likewise.
2283 * manual/search.texi (Hash Search Function): Likewise.
2284 * manual/setjmp.texi (System V contexts): Likewise.
2285 * manual/time.texi (Sleeping): Likewise.
2286 * manual/users.texi (Lookup User): Likewise.
2287 (Lookup Group): Likewise.
2288
b79dc8d0
AZ
22892019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2290
2291 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2292 fix typo.
2293
890461fe 22942019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
2295
2296 [BZ #19444]
2297 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2298 __builtin_unreachable for default case in switch.
2299 (__ieee754_yn): Likewise.
2300 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2301 (__ieee754_ynl): Likewise.
2302 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2303 (__ieee754_ynl): Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2305 (__ieee754_ynl): Likewise.
2306
8b18d418
SN
23072019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2308
2309 * manual/maint.texi: Use @{ and @}.
2310
4392898d
FW
23112019-01-04 Florian Weimer <fweimer@redhat.com>
2312
2313 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2314 function.
2315 (do_in_chroot_1): Call it.
2316 (run_chroot_tests):
2317 Improve error reporting in case it is not possible to create a
2318 collision for the PTY name required by the test.
2319
17cc27d5
AZ
23202019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2321
ce7eb0e9
AZ
2322 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2323 lll_wait_tid with timeout.
2324 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2325 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2326 futex_reltimed_wait_cancelable for cancelabla mode.
2327 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2328 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2329 macros.
2330 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2331 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2332 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2333 SYSCALL_CANCEL_NCS): New macro.
2334 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2335 (lll_timedwait_tid): Remove macro.
2336 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2337 Likewise.
2338 (lll_timedwait_tid): Likewise.
2339 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2340 Likewise.
2341 (lll_timedwait_tid): Likewise.
2342 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2343 Likewise.
2344 (lll_timedwait_tid): Likewise.
2345 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2346 Use INTERNAL_SYSCALL_CANCEL.
2347 * sysdeps/unix/sysv/linux/futex-internal.h
2348 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2349 instead of __pthread_{enable,disable}_asynccancel.
2350 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2351 (lll_futex_wait_cancel): New macro.
2352
0b13e255
AZ
2353 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2354 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2355
85c828a4
AZ
2356 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2357 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2358
d0d7f85f
AZ
2359 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2360 in backtrace analysis.
2361 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2362 side-effects.
2363 (tf_send): Likewise.
2364
17cc27d5
AZ
2365 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2366 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2367 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2368 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2369 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2370 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2371 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2372 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2373 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2374 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2375 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2376 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2377 Likewise.
2378 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2379 tst-cancel-wrappers.sh.
2380 (generated): Remove tst-cancel-wrappers.out.
2381 (tst-cancel-wrappers.out): Remove rule.
2382 * nptl/tst-cancel-wrappers.sh: Remove file.
2383
7d7af8f1
SN
23842019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2385
2386 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2387 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2388 Update.
2389
805334b2
AZ
23902019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2391
2392 [BZ #23640]
2393 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2394 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2395 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2396 close-on-exec reset for adddup2 file action.
2397 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2398
03992356
ZW
23992019-01-03 Zack Weinberg <zackw@panix.com>
2400
2401 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2402 parameter. Only use deprecated scanf when __USE_GNU is defined
2403 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2404 than 201103L, whichever is relevant for the language being compiled.
2405
2406 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2407 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2408 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2409 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2410 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2411
2412 * libio/iovsscanf.c
2413 * libio/fwscanf.c
2414 * libio/iovswscanf.c
2415 * libio/swscanf.c
2416 * libio/vscanf.c
2417 * libio/vwscanf.c
2418 * libio/wscanf.c
2419 * stdio-common/fscanf.c
2420 * stdio-common/scanf.c
2421 * stdio-common/vfscanf.c
2422 * stdio-common/vfwscanf.c
2423 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2424 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2425 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2426 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2427 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2428 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2429 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2430 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2431 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2432 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2433 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2434 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2435 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2436 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2437 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2438
2439 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2440 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2441 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2442 not sscanf.
2443 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2444 with a preprocessor macro.
2445
2446 * stdio-common/bug21.c, stdio-common/scanf14.c:
2447 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2448 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2449 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2450 to xscanf, xfscanf, xsscanf.
2451
2452 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2453 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2454 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2455 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2456 xfscanf, xsscanf.
2457 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2458 override feature selection macros or provide definitions of u_char etc.
2459 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2460 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2461 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2462 with -std=gnu89.
2463
8083afa5
AZ
24642019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2465
6f343c1f
AZ
2466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2467 bits/termios-misc.h.
2468 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2469 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2470 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2471 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2472 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2473 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2474
51f4beb0
AZ
2475 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2476 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2477 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2478 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2479 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2480 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2481 termios-misc.h.
2482 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2483 (sysdep_headers): Add termios-misc.h.
2484
f69c5cb2
AZ
2485 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2486 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2487 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2488
3aa4a07e
AZ
2489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2490 termios-tcflow.h.
2491 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2492 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2493 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2494 TCSAFLUSH): Move to termios-tcflow.h.
2495 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2496 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2498 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2499
22679ddf
AZ
2500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2501 termios-c_lflag.h.
2502 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2503 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2504 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2506 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2507 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2508 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2509 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2510 Likewise.
2511 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2512 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2515
72eb6ecc
AZ
2516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2517 termios-c_cflag.h.
2518 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2519 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2521 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2522 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2523 termios-c_cflag.h.
2524 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2525 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2528
9c5d0d02
AZ
2529 [BZ #23783]
2530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2531 termios-baud.h.
2532 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2533 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2534 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2536 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2537 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2538 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2539 __MAX_BAUD): Move to termios-baud.h.
2540 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2541 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2542 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2544 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2545
7b832018
AZ
2546 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2547 termios-c_oflag.h.
2548 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2549 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2552 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2553 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2554 termios-c_oflag.h.
2555 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2556 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2557 FFR1): Likewise.
2558 [USE_MISC] (XTABS): Likewise.
2559 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2560 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2561 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2563
3127003e
AZ
2564 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2565 termios-c_iflag.h.
2566 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2567 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2569 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2570 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2571 IUTF8): Move to termios-c_iflag.h.
2572 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2573 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2574 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2576
48c1dd96
AZ
2577 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2578 termios-cc.h.
2579 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2580 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2581 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2583 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2584 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2585 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2586 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2587 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2588 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2589 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2591
e5a50db3
AZ
2592 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2593 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2594 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2595 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2597 termios-struct.h.
2598 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2599 termios-struct.h.
2600 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2603 Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2607 Likewise.
2608 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2609 _HAVE_C_OSPEED): Define.
2610 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2611 _HAVE_C_OSPEED): Likewise.
2612 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2613 _HAVE_C_OSPEED): Likewise.
2614 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2615 (cfsetospeed): Check for define value instead of existence.
2616 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2617 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2618 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2619 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2620 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2621
8083afa5
AZ
2622 [BZ #17783]
2623 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2624 Define.
2625 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2626 (TIOCSER_TEMT): Likewise.
2627 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2628 (TEOCSER_TEMT): Likewise.
2629
4d7d7dc6
P
26302019-01-02 PanderMusubi <pander@users.sourceforge.net>
2631
2632 [BZ #24011]
2633 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2634
8e291a29
JM
26352019-01-02 Joseph Myers <joseph@codesourcery.com>
2636
2637 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2638
55137f7d
ST
26392019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2640
2641 * sysdeps/htl/pt-barrierattr-setpshared.c
2642 (pthread_barrierattr_setpshared): Add stub warning.
2643 * sysdeps/htl/pt-condattr-setpshared.c
2644 (pthread_condattr_setpshared): Likewise.
2645 * sysdeps/htl/pt-mutexattr-setpshared.c
2646 (pthread_mutexattr_setpshared): Likewise.
2647 * sysdeps/htl/pt-rwlockattr-setpshared.c
2648 (pthread_rwlockattr_setpshared): Likewise.
2649 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2650 (pthread_mutexattr_setpshared): Likewise.
2651
2ce09e01
JM
26522019-01-02 Joseph Myers <joseph@codesourcery.com>
2653
acb55dcb
JM
2654 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2655 constants to match with Linux 4.20.
2656
2ce09e01
JM
2657 * sysdeps/mips/mips32/libm-test-ulps: Update.
2658 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2659
fe20bb1d
AJ
26602019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2661
2662 [BZ #24034]
2663 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2664 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2665 than __typeof (...) for the a_ptr variable.
2666
2d9837c1
GG
26672019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2668
2669 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2670 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2671 * libio/Makefile (tests): Add tst-sprintf-ub and
2672 tst-sprintf-chk-ub.
2673 (CFLAGS-tst-sprintf-ub.c): New variable.
2674 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2675 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2676 destination buffer and check for overflows in fortified mode.
2677 * libio/libioP.h (PRINTF_CHK): New macro.
2678 * libio/tst-sprintf-chk-ub.c: New file.
2679 * libio/tst-sprintf-ub.c: Likewise.
2680
d5c6df0b 26812019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2682
2683 [BZ #24018]
2684 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2685 failure.
2686
66081e38
FW
26872019-01-02 Florian Weimer <fweimer@redhat.com>
2688
2689 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2690
04277e02
JM
26912019-01-01 Joseph Myers <joseph@codesourcery.com>
2692
6ef3d225
JM
2693 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2694 macro.
2695
e3d4e292
JM
2696 * sysdeps/unix/sysv/linux/netpacket/packet.h
2697 (PACKET_IGNORE_OUTGOING): New macro.
2698
f4507797
JM
2699 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2700 macro.
2701
47ad5e1a
JM
2702 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2703 version to 4.20.
2704 (riscv_flush_icache): New syscall.
2705
7628a1b0
JM
2706 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2707 trailing whitespace removed.
2708 * scripts/config.guess: Update to version 2019-01-01.
2709 * scripts/config.sub: Update to version 2019-01-01.
2710 * scripts/move-if-change: Update from gnulib.
2711
c9123888
JM
2712 * NEWS: Update copyright dates.
2713 * catgets/gencat.c (print_version): Likewise.
2714 * csu/version.c (banner): Likewise.
2715 * debug/catchsegv.sh: Likewise.
2716 * debug/pcprofiledump.c (print_version): Likewise.
2717 * debug/xtrace.sh (do_version): Likewise.
2718 * elf/ldconfig.c (print_version): Likewise.
2719 * elf/ldd.bash.in: Likewise.
2720 * elf/pldd.c (print_version): Likewise.
2721 * elf/sotruss.sh: Likewise.
2722 * elf/sprof.c (print_version): Likewise.
2723 * iconv/iconv_prog.c (print_version): Likewise.
2724 * iconv/iconvconfig.c (print_version): Likewise.
2725 * locale/programs/locale.c (print_version): Likewise.
2726 * locale/programs/localedef.c (print_version): Likewise.
2727 * login/programs/pt_chown.c (print_version): Likewise.
2728 * malloc/memusage.sh (do_version): Likewise.
2729 * malloc/memusagestat.c (print_version): Likewise.
2730 * malloc/mtrace.pl: Likewise.
2731 * manual/libc.texinfo: Likewise.
2732 * nptl/version.c (banner): Likewise.
2733 * nscd/nscd.c (print_version): Likewise.
2734 * nss/getent.c (print_version): Likewise.
2735 * nss/makedb.c (print_version): Likewise.
2736 * posix/getconf.c (main): Likewise.
2737 * scripts/test-installation.pl: Likewise.
2738 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2739
04277e02
JM
2740 * All files with FSF copyright notices: Update copyright dates
2741 using scripts/update-copyrights.
2742 * locale/programs/charmap-kw.h: Regenerated.
2743 * locale/programs/locfile-kw.h: Likewise.
2744
e740e5b1
JM
27452018-12-31 Joseph Myers <joseph@codesourcery.com>
2746
2747 * timezone/zdump.c: Update from tzcode 2018i.
2748 * timezone/zic.c: Likewise.
2749
9b7f98b3
PE
27502018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2751
2752 regex: improve Gnulib port to AIX
2753 From the glibc point of view, this removes duplicate macro
2754 definitions and is obviously safe.
2755 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2756 * posix/regex_internal.h:
2757 (__attribute__, __attribute_warn_unused_result__):
2758 Remove; already defined elsewhere.
2759
b50dd3bc
FW
27602018-12-31 Florian Weimer <fw@deneb.enyo.de>
2761
2762 [BZ #24027]
2763 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2764 copying operation. (ncopies had the wrong type, resulting in an
2765 integer wraparound and too few elements being copied.)
2766
0b9c8490
L
27672018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2768
2769 [BZ #24022]
2770 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2771 <asm/syscalls.h> exists with __has_include__ before including it.
2772
01047fa6
JM
27732018-12-31 Joseph Myers <joseph@codesourcery.com>
2774
2775 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2776 version to 4.20.
2777
065957a3
JW
27782018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2779
2780 * hurd/lookup-retry: Include <unistd.h>.
2781 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2782 Release it on return. Handle "pid" magical lookup retry.
2783
989182c4
RL
27842018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2785
2786 [BZ #10496]
2787 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2788 (t_fmt_ampm): Likewise.
2789 * localedata/locales/aa_ER (t_fmt): Likewise.
2790 (t_fmt_ampm): Likewise.
2791 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2792 (t_fmt_ampm): Likewise.
2793 * localedata/locales/aa_ET (t_fmt): Likewise.
2794 (t_fmt_ampm): Likewise.
2795 * localedata/locales/am_ET (t_fmt): Likewise.
2796 (t_fmt_ampm): Likewise.
2797 * localedata/locales/byn_ER (t_fmt): Likewise.
2798 (t_fmt_ampm): Likewise.
2799 * localedata/locales/om_ET (t_fmt): Likewise.
2800 (t_fmt_ampm): Likewise.
2801 * localedata/locales/sid_ET (t_fmt): Likewise.
2802 (t_fmt_ampm): Likewise.
2803 * localedata/locales/so_DJ (t_fmt): Likewise.
2804 (t_fmt_ampm): Likewise.
2805 * localedata/locales/so_ET (t_fmt): Likewise.
2806 (t_fmt_ampm): Likewise.
2807 * localedata/locales/so_SO (t_fmt): Likewise.
2808 (t_fmt_ampm): Likewise.
2809 * localedata/locales/ti_ER (t_fmt): Likewise.
2810 (t_fmt_ampm): Likewise.
2811 * localedata/locales/ti_ET (t_fmt): Likewise.
2812 (t_fmt_ampm): Likewise.
2813 * localedata/locales/tig_ER (t_fmt): Likewise.
2814 (t_fmt_ampm): Likewise.
2815 * localedata/locales/wal_ET (t_fmt): Likewise.
2816 (t_fmt_ampm): Likewise.
2817
2818 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2819 * localedata/locales/ar_IN (t_fmt): Likewise.
2820 * localedata/locales/bhb_IN (t_fmt): Likewise.
2821 * localedata/locales/bho_IN (t_fmt): Likewise.
2822 * localedata/locales/bi_VU (t_fmt): Likewise.
2823 * localedata/locales/bn_BD (t_fmt): Likewise.
2824 * localedata/locales/bn_IN (t_fmt): Likewise.
2825 * localedata/locales/brx_IN (t_fmt): Likewise.
2826 * localedata/locales/doi_IN (t_fmt): Likewise.
2827 * localedata/locales/en_HK (t_fmt): Likewise.
2828 (t_fmt_ampm): Likewise.
2829 * localedata/locales/en_IN (t_fmt): Likewise.
2830 * localedata/locales/en_PH (t_fmt): Likewise.
2831 * localedata/locales/gu_IN (t_fmt): Likewise.
2832 * localedata/locales/hi_IN (t_fmt): Likewise.
2833 * localedata/locales/hif_FJ (t_fmt): Likewise.
2834 * localedata/locales/hne_IN (t_fmt): Likewise.
2835 * localedata/locales/kn_IN (t_fmt): Likewise.
2836 * localedata/locales/kok_IN (t_fmt): Likewise.
2837 * localedata/locales/ks_IN (t_fmt): Likewise.
2838 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2839 * localedata/locales/mag_IN (t_fmt): Likewise.
2840 * localedata/locales/mai_IN (t_fmt): Likewise.
2841 * localedata/locales/mjw_IN (t_fmt): Likewise.
2842 * localedata/locales/ml_IN (t_fmt): Likewise.
2843 * localedata/locales/mni_IN (t_fmt): Likewise.
2844 * localedata/locales/mr_IN (t_fmt): Likewise.
2845 * localedata/locales/ms_MY (t_fmt): Likewise.
2846 * localedata/locales/pa_IN (t_fmt): Likewise.
2847 * localedata/locales/raj_IN (t_fmt): Likewise.
2848 * localedata/locales/sa_IN (t_fmt): Likewise.
2849 * localedata/locales/sat_IN (t_fmt): Likewise.
2850 * localedata/locales/sd_IN (t_fmt): Likewise.
2851 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2852 * localedata/locales/tcy_IN (t_fmt): Likewise.
2853 * localedata/locales/the_NP (t_fmt): Likewise.
2854 * localedata/locales/to_TO (t_fmt): Likewise.
2855 * localedata/locales/ur_IN (t_fmt): Likewise.
2856
2857 * localedata/locales/hif_FJ (d_t_fmt): Set to
2858 "%A %d %b %Y %I:%M:%S %p".
2859 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2860
2861 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2862 * localedata/locales/ar_BH (t_fmt): Likewise.
2863 * localedata/locales/ar_DZ (t_fmt): Likewise.
2864 * localedata/locales/ar_EG (t_fmt): Likewise.
2865 * localedata/locales/ar_IQ (t_fmt): Likewise.
2866 * localedata/locales/ar_JO (t_fmt): Likewise.
2867 * localedata/locales/ar_KW (t_fmt): Likewise.
2868 * localedata/locales/ar_LB (t_fmt): Likewise.
2869 * localedata/locales/ar_LY (t_fmt): Likewise.
2870 * localedata/locales/ar_OM (t_fmt): Likewise.
2871 * localedata/locales/ar_QA (t_fmt): Likewise.
2872 * localedata/locales/ar_SD (t_fmt): Likewise.
2873 * localedata/locales/ar_SS (t_fmt): Likewise.
2874 * localedata/locales/ar_SY (t_fmt): Likewise.
2875 * localedata/locales/ar_TN (t_fmt): Likewise.
2876 * localedata/locales/ar_YE (t_fmt): Likewise.
2877
2878 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2879 (t_fmt_ampm): Likewise.
2880 * localedata/locales/gez_ET (t_fmt): Likewise.
2881 (t_fmt_ampm): Likewise.
2882
2883 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2884 (t_fmt_ampm): Likewise.
2885 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2886
2887 * localedata/locales/zh_HK (t_fmt):
2888 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2889
2890 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2891 because this locale does not use the 12-hour clock.
2892 (t_fmt): Set to "%Z %H:%M:%S".
2893 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2894
2895 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2896 because this locale does not use the 12-hour clock.
2897 (t_fmt): Set to "%H:%M:%S %Z".
2898 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2899
2900 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2901 because this locale does not use the 12-hour clock.
2902 (t_fmt): Set to "%T".
2903 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2904 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2905
2906 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2907 because this locale does not use the 12-hour clock.
2908 (t_fmt): Set to "%H:%M:%S %Z".
2909 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2910
2911 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2912 because this locale does not use the 12-hour clock.
2913 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2914 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2915
27841a7d
RL
29162018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2917
2918 [BZ #10496]
2919 [BZ #23724]
2920 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2921 (t_fmt_ampm): Likewise.
2922 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2923 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2924 (d_fmt): Set to "%-d.%-m.%y".
2925
0253580a
AZ
29262018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2927
2928 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2929 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2930 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2931 Likewise.
2932 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2933 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2934 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2935 function.
2936 * support/blob_repeat.c (check_mul_overflow_size_t,
2937 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2938
09104e5b
AJ
29392018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2940
2941 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2942
c0feb731
PE
29432018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2944
2945 regex: simplify Gnulib port
2946 This simplifies the code, by removing stuff intended for porting
2947 to Gnulib but no longer needed there.
2948 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2949 uses of libc_hidden_def, weak_alias.
2950 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2951 _Restrict_ except for public-facing headers.
2952 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2953 Remove; already defined elsewhere.
2954 * posix/regex.c, posix/regex_internal.h:
2955 Use __GNUC_PREREQ instead of rolling our own.
2956 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2957
5289f1f5
WD
29582018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2959
2960 * benchtests/bench-strlen.c (generic_strlen): New function.
2961 (memchr_strlen): New function.
2962
ba4b8fab
L
29632018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2964
2965 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2966 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2967 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2968
9412979a
L
29692018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2972
8700a785
L
29732018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2974
2975 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2976 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2977 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2978 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2979 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2980 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2981 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2982
57b3ff8e
JM
29832018-12-21 Joseph Myers <joseph@codesourcery.com>
2984
2985 [BZ #24023]
2986 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2987 PLT reference in libc.so.
2988 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2989 _Q_lltoq and _Q_qtod PLT references in libc.so.
2990
90d3320d
WD
29912018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2992
2993 * benchtests/bench-memchr.c: Cleanup defines.
2994 * benchtests/bench-memcmp.c: Likewise.
2995 * benchtests/bench-memset.c: Likewise.
2996 * benchtests/bench-memset-large.c: Likewise.
2997 * benchtests/bench-memset-walk.c: Likewise.
2998 * benchtests/bench-stpcpy.c: Likewise.
2999 * benchtests/bench-stpncpy.c: Likewise.
3000 * benchtests/bench-strcat.c: Likewise.
3001 * benchtests/bench-strchr.c: Likewise.
3002 * benchtests/bench-strcmp.c: Likewise.
3003 * benchtests/bench-strcpy.c: Likewise.
3004 * benchtests/bench-strcspn.c: Likewise.
3005 * benchtests/bench-string.h: Likewise.
3006 * benchtests/bench-strlen.c: Likewise.
3007 * benchtests/bench-strncat.c: Likewise.
3008 * benchtests/bench-strncmp.c: Likewise.
3009 * benchtests/bench-strncpy.c: Likewise.
3010 * benchtests/bench-strnlen.c: Likewise.
3011 * benchtests/bench-strpbrk.c: Likewise.
3012 * benchtests/bench-strrchr.c: Likewise.
3013 * benchtests/bench-strspn.c: Likewise.
3014
192963be
JM
30152018-12-21 Joseph Myers <joseph@codesourcery.com>
3016
5d025ea6
JM
3017 * stdlib/longlong.h: Update from GCC.
3018
192963be
JM
3019 [BZ #23993]
3020 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3021 * configure: Regenerated.
3022 * manual/install.texi (Tools for Compilation): Update minimum GCC
3023 version.
3024 * INSTALL: Regenerated.
3025
c0e82f11
IK
30262018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3027
3028 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3029
ebe544bf
IK
30302018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3031
3032 * malloc/malloc.c (mremap_chunk): Additional checks.
3033
5f72b005
MH
30342018-12-21 Mao Han <han_mao@c-sky.com>
3035
3036 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3037 * scripts/build-many-glibcs.py: Add C-SKY targets.
3038 * sysdeps/csky/Implies: New file.
3039 * sysdeps/csky/Makefile: Likewise.
3040 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3041 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3042 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3043 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3044 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3045 * sysdeps/csky/abiv2/memmove.S: Likewise.
3046 * sysdeps/csky/abiv2/memset.S: Likewise.
3047 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3048 * sysdeps/csky/abiv2/start.S: Likewise.
3049 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3050 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3051 * sysdeps/csky/abiv2/strlen.S: Likewise.
3052 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3053 * sysdeps/csky/abort-instr.h: Likewise.
3054 * sysdeps/csky/atomic-machine.h: Likewise.
3055 * sysdeps/csky/bits/endian.h: Likewise.
3056 * sysdeps/csky/bits/fenv.h: Likewise.
3057 * sysdeps/csky/bits/link.h: Likewise.
3058 * sysdeps/csky/bits/setjmp.h: Likewise.
3059 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3060 * sysdeps/csky/bsd-setjmp.S: Likewise.
3061 * sysdeps/csky/configure: Likewise.
3062 * sysdeps/csky/configure.ac: Likewise.
3063 * sysdeps/csky/dl-machine.h: Likewise.
3064 * sysdeps/csky/dl-procinfo.c: Likewise.
3065 * sysdeps/csky/dl-procinfo.h: Likewise.
3066 * sysdeps/csky/dl-sysdep.h: Likewise.
3067 * sysdeps/csky/dl-tls.h: Likewise.
3068 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3069 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3070 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3071 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3072 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3073 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3074 * sysdeps/csky/fpu/fegetround.c: Likewise.
3075 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3076 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3077 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3078 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3079 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3080 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3081 * sysdeps/csky/fpu/fesetround.c: Likewise.
3082 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3083 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3084 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3085 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3086 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3087 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3088 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3089 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3090 * sysdeps/csky/fpu_control.h: Likewise.
3091 * sysdeps/csky/gccframe.h: Likewise.
3092 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3093 * sysdeps/csky/ldsodefs.h: Likewise.
3094 * sysdeps/csky/libc-tls.c: Likewise.
3095 * sysdeps/csky/linkmap.h: Likewise.
3096 * sysdeps/csky/machine-gmon.h: Likewise.
3097 * sysdeps/csky/memusage.h: Likewise.
3098 * sysdeps/csky/nofpu/Implies: Likewise.
3099 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3100 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3101 * sysdeps/csky/nptl/Makefile: Likewise.
3102 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3103 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3104 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3105 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3106 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3107 * sysdeps/csky/nptl/tls.h: Likewise.
3108 * sysdeps/csky/preconfigure: Likewise.
3109 * sysdeps/csky/sfp-machine.h: Likewise.
3110 * sysdeps/csky/sotruss-lib.c: Likewise.
3111 * sysdeps/csky/stackinfo.h: Likewise.
3112 * sysdeps/csky/sysdep.h: Likewise.
3113 * sysdeps/csky/tininess.h: Likewise.
3114 * sysdeps/csky/tst-audit.h: Likewise.
3115 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3116 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3117 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3118 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3119 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3120 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3121 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3122 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3123 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3124 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3125 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3126 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3127 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3128 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3129 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3130 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3131 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3132 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3133 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3134 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3135 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3136 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3137 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3138 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3139 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3140 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3141 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3142 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3143 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3144 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3145 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3146 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3147 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3148 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3149 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3150 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3151 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3152 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3153 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3154 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3155 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3156 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3157 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3158 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3159
ac253355
AA
31602018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3161
3162 * include/time.h (__difftime64): Add.
3163 * time/difftime.c (subtract): convert to 64-bit time.
3164 * time/difftime.c (__difftime64): Add.
3165 * time/difftime.c (__difftime): Wrap around __difftime64.
3166
ab416931
L
31672018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * manual/examples/add.c: Remove redundant "if not".
3170 * manual/examples/argp-ex1.c: Likewise.
3171 * manual/examples/argp-ex2.c: Likewise.
3172 * manual/examples/argp-ex3.c: Likewise.
3173 * manual/examples/argp-ex4.c: Likewise.
3174 * manual/examples/atexit.c: Likewise.
3175 * manual/examples/db.c: Likewise.
3176 * manual/examples/dir.c: Likewise.
3177 * manual/examples/dir2.c: Likewise.
3178 * manual/examples/execinfo.c: Likewise.
3179 * manual/examples/filecli.c: Likewise.
3180 * manual/examples/filesrv.c: Likewise.
3181 * manual/examples/fmtmsgexpl.c: Likewise.
3182 * manual/examples/genpass.c: Likewise.
3183 * manual/examples/inetcli.c: Likewise.
3184 * manual/examples/inetsrv.c: Likewise.
3185 * manual/examples/isockad.c: Likewise.
3186 * manual/examples/longopt.c: Likewise.
3187 * manual/examples/memopen.c: Likewise.
3188 * manual/examples/memstrm.c: Likewise.
3189 * manual/examples/mkdirent.c: Likewise.
3190 * manual/examples/mkfsock.c: Likewise.
3191 * manual/examples/mkisock.c: Likewise.
3192 * manual/examples/mygetpass.c: Likewise.
3193 * manual/examples/pipe.c: Likewise.
3194 * manual/examples/popen.c: Likewise.
3195 * manual/examples/rprintf.c: Likewise.
3196 * manual/examples/search.c: Likewise.
3197 * manual/examples/select.c: Likewise.
3198 * manual/examples/setjmp.c: Likewise.
3199 * manual/examples/sigh1.c: Likewise.
3200 * manual/examples/sigusr.c: Likewise.
3201 * manual/examples/stpcpy.c: Likewise.
3202 * manual/examples/strdupa.c: Likewise.
3203 * manual/examples/strftim.c: Likewise.
3204 * manual/examples/subopt.c: Likewise.
3205 * manual/examples/swapcontext.c: Likewise.
3206 * manual/examples/termios.c: Likewise.
3207 * manual/examples/testopt.c: Likewise.
3208 * manual/examples/testpass.c: Likewise.
3209 * manual/examples/timeval_subtract.c: Likewise.
3210
515f463f
JM
32112018-12-19 Joseph Myers <joseph@codesourcery.com>
3212
da75c1b1
JM
3213 * sysdeps/x86/fpu/math_private.h: New file.
3214 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3215
515f463f
JM
3216 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3217 definition.
3218 (cosh): Likewise.
3219 (tanh): Likewise.
3220
1616d034
TMQMF
32212018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3222
3223 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3224 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3225 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3226 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3227 fields.
3228 (_dl_show_auxv): Give a special treatment to
3229 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3230 and AT_L3_CACHEGEOMETRY.
3231 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3232 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3233 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3234 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3235
61595e3d
AS
32362018-12-19 Andreas Schwab <schwab@suse.de>
3237
3238 * nscd/connections.c (check_use): Don't abort on invalid len.
3239
bbb7dc84
ST
32402018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3241
3242 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3243 values in the 64bit value cases.
3244
64c2277d
AA
32452018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3246
c4c2836a
AA
3247 * include/time.h
3248 (__ctime64_r): Add.
3249 * time/ctime_r.c
3250 (__ctime64_r): Add.
3251 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3252
7755e504
AA
3253 * include/time.h
3254 (__ctime64): Add.
3255 * time/gmtime.c
3256 (__ctime64): Add.
3257 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3258
a1d346ce
AA
3259 * include/time.h
3260 (__gmtime64_r): Add.
3261 * time/gmtime.c
3262 (__gmtime64_r): Add.
3263 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3264
131db8b0
AA
3265 * include/time.h
3266 (__gmtime64): Add.
3267 * time/gmtime.c
3268 (__gmtime64): Add.
3269 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3270
64c2277d
AA
3271 * include/time.h
3272 (__localtime64_r): Add.
3273 * time/localtime.c
3274 (__localtime64_r): Add.
3275 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3276
56b98bf1
AZ
32772018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3278
64dd7a16
AZ
3279 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3280 kernel_sigction definition.
3281
8b1d5da5
AZ
3282 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3283
f9eabb19
AZ
3284 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3285
56b98bf1
AZ
3286 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3287 __syscall_rt_sigaction.
3288 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3289 (kernel_sigaction): Use Linux generic defintion.
3290 (STUB): Define.
3291 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3292 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3293 (__syscall_rt_sigaction): Remove implementation.
3294 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3295 hidden.
3296 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3297 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3298 INTERNAL_SYSCALL): Remove definitions.
3299 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3300 action and signal set size.
3301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3303
43a45c2d
AZ
33042018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3305 James Clarke <jrtc27@jrtc27.com>
3306
dfa6216f 3307 [BZ #23967]
43a45c2d
AZ
3308 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3309 Define if SA_RESTORER is defined.
3310 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3311 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3312 already defined.
3313 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3314 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3315 definitions.
3316 (HAS_SA_RESTORER): Define.
3317 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3318 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3319 (HAS_SA_RESTORER): Define.
3320 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3321 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3322 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3323 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3325
646ce7e0
JM
33262018-12-18 Joseph Myers <joseph@codesourcery.com>
3327
3328 * sysdeps/unix/sysv/linux/kernel-features.h
3329 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3330 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3331 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3332 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3333 (__ASSUME_ST_INO_64_BIT): Likewise.
3334 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3335 <kernel-features.h>.
3336 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3337 Remove conditional code.
3338 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3339 <kernel-features.h>.
3340 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3341 Remove conditional code.
3342 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3343 <kernel-features.h>.
3344 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3345 Remove conditional code.
3346 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3347 <kernel-features.h>.
3348 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3349 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3350
80190d2b
SL
33512018-12-18 Stefan Liebler <stli@linux.ibm.com>
3352
3353 * sysdeps/s390/multiarch/ifunc-resolve.h
3354 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3355 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3356 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3357 Delete macro definition.
3358 (s390_libc_ifunc_init): Rename to
3359 s390_libc_ifunc_expr_stfle_init.
3360 * sysdeps/s390/bzero: Use
3361 s390_libc_ifunc_expr_stfle_init instead of
3362 s390_libc_ifunc_init.
3363 * sysdeps/s390/memcmp.c: Likewise.
3364 * sysdeps/s390/memcpy.c: Likewise.
3365 * sysdeps/s390/mempcpy.c: Likewise.
3366 * sysdeps/s390/memset.c: Likewise.
3367
12f0dcb8
SL
33682018-12-18 Stefan Liebler <stli@linux.ibm.com>
3369
3370 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3371 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3372
25654a8c
SL
33732018-12-18 Stefan Liebler <stli@linux.ibm.com>
3374
3375 * sysdeps/s390/multiarch/Makefile
3376 (sysdep_routines): Remove wmemcmp variants.
3377 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3378 * sysdeps/s390/multiarch/ifunc-impl-list.c
3379 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3380 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3381 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3382 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3383 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3384 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3385 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3386 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3387
d2a7436c
SL
33882018-12-18 Stefan Liebler <stli@linux.ibm.com>
3389
3390 * sysdeps/s390/multiarch/Makefile
3391 (sysdep_routines): Remove wmemset variants.
3392 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3393 * sysdeps/s390/multiarch/ifunc-impl-list.c
3394 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3395 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3396 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3397 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3398 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3399 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3400 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3401 * sysdeps/s390/ifunc-wmemset.h: New file.
3402
c62534ae
SL
34032018-12-18 Stefan Liebler <stli@linux.ibm.com>
3404
3405 * sysdeps/s390/multiarch/Makefile
3406 (sysdep_routines): Remove wmemchr variants.
3407 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3408 * sysdeps/s390/multiarch/ifunc-impl-list.c
3409 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3410 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3411 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3412 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3413 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3414 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3415 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3416 * sysdeps/s390/ifunc-wmemchr.h: New file.
3417
79b44cf6
SL
34182018-12-18 Stefan Liebler <stli@linux.ibm.com>
3419
3420 * sysdeps/s390/multiarch/Makefile
3421 (sysdep_routines): Remove wcscspn variants.
3422 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3423 * sysdeps/s390/multiarch/ifunc-impl-list.c
3424 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3425 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3426 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3427 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3428 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3429 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3430 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3431 * sysdeps/s390/ifunc-wcscspn.h: New file.
3432
8e87c1f6
SL
34332018-12-18 Stefan Liebler <stli@linux.ibm.com>
3434
3435 * sysdeps/s390/multiarch/Makefile
3436 (sysdep_routines): Remove wcspbrk variants.
3437 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3438 * sysdeps/s390/multiarch/ifunc-impl-list.c
3439 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3440 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3441 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3442 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3443 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3444 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3445 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3446 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3447
8507e831
SL
34482018-12-18 Stefan Liebler <stli@linux.ibm.com>
3449
3450 * sysdeps/s390/multiarch/Makefile
3451 (sysdep_routines): Remove wcsspn variants.
3452 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3453 * sysdeps/s390/multiarch/ifunc-impl-list.c
3454 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3455 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3456 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3457 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3458 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3459 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3460 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3461 * sysdeps/s390/ifunc-wcsspn.h: New file.
3462
4753713a
SL
34632018-12-18 Stefan Liebler <stli@linux.ibm.com>
3464
3465 * sysdeps/s390/multiarch/Makefile
3466 (sysdep_routines): Remove wcsrchr variants.
3467 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3468 * sysdeps/s390/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3470 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3471 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3472 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3473 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3474 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3475 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3476 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3477
c09c1b6f
SL
34782018-12-18 Stefan Liebler <stli@linux.ibm.com>
3479
3480 * sysdeps/s390/multiarch/Makefile
3481 (sysdep_routines): Remove wcschrnul variants.
3482 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3483 * sysdeps/s390/multiarch/ifunc-impl-list.c
3484 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3485 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3486 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3487 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3488 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3489 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3490 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3491 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3492
cf3ccc31
SL
34932018-12-18 Stefan Liebler <stli@linux.ibm.com>
3494
3495 * sysdeps/s390/multiarch/Makefile
3496 (sysdep_routines): Remove wcschr variants.
3497 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3498 * sysdeps/s390/multiarch/ifunc-impl-list.c
3499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3500 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3501 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3502 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3503 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3504 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3505 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3506 * sysdeps/s390/ifunc-wcschr.h: New file.
3507
e9873e1d
SL
35082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3509
3510 * sysdeps/s390/multiarch/Makefile
3511 (sysdep_routines): Remove wcsncmp variants.
3512 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3513 * sysdeps/s390/multiarch/ifunc-impl-list.c
3514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3515 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3516 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3517 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3518 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3519 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3520 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3521 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3522
3459e23d
SL
35232018-12-18 Stefan Liebler <stli@linux.ibm.com>
3524
3525 * sysdeps/s390/multiarch/Makefile
3526 (sysdep_routines): Remove wcscmp variants.
3527 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3528 * sysdeps/s390/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3530 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3531 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3532 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3533 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3534 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3535 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3536 * sysdeps/s390/ifunc-wcscmp.h: New file.
3537
814a76e1
SL
35382018-12-18 Stefan Liebler <stli@linux.ibm.com>
3539
3540 * sysdeps/s390/multiarch/Makefile
3541 (sysdep_routines): Remove wcsncat variants.
3542 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3543 * sysdeps/s390/multiarch/ifunc-impl-list.c
3544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3545 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3546 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3547 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3548 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3549 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3550 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3551 * sysdeps/s390/ifunc-wcsncat.h: New file.
3552
3389cae4
SL
35532018-12-18 Stefan Liebler <stli@linux.ibm.com>
3554
3555 * sysdeps/s390/multiarch/Makefile
3556 (sysdep_routines): Remove wcscat variants.
3557 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3558 * sysdeps/s390/multiarch/ifunc-impl-list.c
3559 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3560 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3561 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3562 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3563 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3564 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3565 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3566 * sysdeps/s390/ifunc-wcscat.h: New file.
3567
c3081bcb
SL
35682018-12-18 Stefan Liebler <stli@linux.ibm.com>
3569
3570 * sysdeps/s390/multiarch/Makefile
3571 (sysdep_routines): Remove wcpncpy variants.
3572 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3573 * sysdeps/s390/multiarch/ifunc-impl-list.c
3574 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3575 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3576 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3577 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3578 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3579 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3580 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3581 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3582
0966dd86
SL
35832018-12-18 Stefan Liebler <stli@linux.ibm.com>
3584
3585 * sysdeps/s390/multiarch/Makefile
3586 (sysdep_routines): Remove wcsncpy variants.
3587 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3588 * sysdeps/s390/multiarch/ifunc-impl-list.c
3589 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3590 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3591 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3592 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3593 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3594 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3595 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3596 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3597
0582e428
SL
35982018-12-18 Stefan Liebler <stli@linux.ibm.com>
3599
3600 * sysdeps/s390/multiarch/Makefile
3601 (sysdep_routines): Remove wcpcpy variants.
3602 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3603 * sysdeps/s390/multiarch/ifunc-impl-list.c
3604 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3605 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3606 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3607 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3608 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3609 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3610 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3611 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3612
804f2e5c
SL
36132018-12-18 Stefan Liebler <stli@linux.ibm.com>
3614
3615 * sysdeps/s390/multiarch/Makefile
3616 (sysdep_routines): Remove wcscpy variants.
3617 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3618 * sysdeps/s390/multiarch/ifunc-impl-list.c
3619 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3620 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3621 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3622 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3623 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3624 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3625 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3626 * sysdeps/s390/ifunc-wcscpy.h: New file.
3627
c7e7cd26
SL
36282018-12-18 Stefan Liebler <stli@linux.ibm.com>
3629
3630 * sysdeps/s390/multiarch/Makefile
3631 (sysdep_routines): Remove wcsnlen variants.
3632 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3633 * sysdeps/s390/multiarch/ifunc-impl-list.c
3634 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3635 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3636 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3637 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3638 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3639 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3640 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3641 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3642
2e02d0b7
SL
36432018-12-18 Stefan Liebler <stli@linux.ibm.com>
3644
3645 * sysdeps/s390/multiarch/Makefile
3646 (sysdep_routines): Remove wcslen variants.
3647 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3648 * sysdeps/s390/multiarch/ifunc-impl-list.c
3649 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3650 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3651 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3652 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3653 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3654 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3655 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3656 * sysdeps/s390/ifunc-wcslen.h: New file.
3657
89bfcbdf
SL
36582018-12-18 Stefan Liebler <stli@linux.ibm.com>
3659
3660 * sysdeps/s390/multiarch/Makefile
3661 (sysdep_routines): Remove memrchr variants.
3662 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3663 * sysdeps/s390/multiarch/ifunc-impl-list.c
3664 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3665 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3666 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3668 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3669 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3670 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3671 * sysdeps/s390/ifunc-memrchr.h: New file.
3672
196655ba
SL
36732018-12-18 Stefan Liebler <stli@linux.ibm.com>
3674
3675 * sysdeps/s390/multiarch/Makefile
3676 (sysdep_routines): Remove memccpy variants.
3677 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3678 * sysdeps/s390/multiarch/ifunc-impl-list.c
3679 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3680 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3681 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3682 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3683 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3684 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3685 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3686 * sysdeps/s390/ifunc-memccpy.h: New file.
3687
4c7b3cec
SL
36882018-12-18 Stefan Liebler <stli@linux.ibm.com>
3689
3690 * sysdeps/s390/multiarch/Makefile
3691 (sysdep_routines): Remove rawmemchr variants.
3692 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3693 * sysdeps/s390/multiarch/ifunc-impl-list.c
3694 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3695 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3696 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3698 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3699 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3700 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3701 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3702
581a051c
SL
37032018-12-18 Stefan Liebler <stli@linux.ibm.com>
3704
3705 * sysdeps/s390/multiarch/Makefile
3706 (sysdep_routines): Remove memchr variants.
3707 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3708 * sysdeps/s390/multiarch/ifunc-impl-list.c
3709 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3710 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3711 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3712 * sysdeps/s390/multiarch/memchr.c: Move to ...
3713 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3714 * sysdeps/s390/ifunc-memchr.h: New file.
3715 * sysdeps/s390/s390-64/memchr.S: Move to ...
3716 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3717 for 31/64bit and ifunc handling.
3718 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3719 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3720 * sysdeps/s390/s390-32/memchr.S: Likewise.
3721
5d2ec20a
SL
37222018-12-18 Stefan Liebler <stli@linux.ibm.com>
3723
3724 * sysdeps/s390/multiarch/Makefile
3725 (sysdep_routines): Remove strcspn variants.
3726 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3727 * sysdeps/s390/multiarch/ifunc-impl-list.c
3728 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3729 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3730 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3731 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3732 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3733 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3734 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3735 * sysdeps/s390/ifunc-strcspn.h: New file.
3736
572cca93
SL
37372018-12-18 Stefan Liebler <stli@linux.ibm.com>
3738
3739 * sysdeps/s390/multiarch/Makefile
3740 (sysdep_routines): Remove strpbrk variants.
3741 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3742 * sysdeps/s390/multiarch/ifunc-impl-list.c
3743 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3744 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3745 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3746 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3747 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3748 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3749 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3750 * sysdeps/s390/ifunc-strpbrk.h: New file.
3751
483fc569
SL
37522018-12-18 Stefan Liebler <stli@linux.ibm.com>
3753
3754 * sysdeps/s390/multiarch/Makefile
3755 (sysdep_routines): Remove strspn variants.
3756 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3757 * sysdeps/s390/multiarch/ifunc-impl-list.c
3758 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3759 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3760 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3761 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3762 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3763 * sysdeps/s390/multiarch/strspn.c: Move to ...
3764 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3765 * sysdeps/s390/ifunc-strspn.h: New file.
3766
26ea8760
SL
37672018-12-18 Stefan Liebler <stli@linux.ibm.com>
3768
3769 * sysdeps/s390/multiarch/Makefile
3770 (sysdep_routines): Remove strrchr variants.
3771 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3772 * sysdeps/s390/multiarch/ifunc-impl-list.c
3773 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3774 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3775 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3776 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3777 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3778 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3779 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3780 * sysdeps/s390/ifunc-strrchr.h: New file.
3781
a1361e65
SL
37822018-12-18 Stefan Liebler <stli@linux.ibm.com>
3783
3784 * sysdeps/s390/multiarch/Makefile
3785 (sysdep_routines): Remove strchrnul variants.
3786 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3787 * sysdeps/s390/multiarch/ifunc-impl-list.c
3788 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3789 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3790 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3791 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3792 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3793 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3794 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3795 * sysdeps/s390/ifunc-strchrnul.h: New file.
3796
32f12653
SL
37972018-12-18 Stefan Liebler <stli@linux.ibm.com>
3798
3799 * sysdeps/s390/multiarch/Makefile
3800 (sysdep_routines): Remove strchr variants.
3801 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3802 * sysdeps/s390/multiarch/ifunc-impl-list.c
3803 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3804 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3805 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3806 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3807 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3808 * sysdeps/s390/multiarch/strchr.c: Move to ...
3809 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3810 * sysdeps/s390/ifunc-strchr.h: New file.
3811
316b8842
SL
38122018-12-18 Stefan Liebler <stli@linux.ibm.com>
3813
3814 * sysdeps/s390/multiarch/Makefile
3815 (sysdep_routines): Remove strncmp variants.
3816 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3817 * sysdeps/s390/multiarch/ifunc-impl-list.c
3818 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3819 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3820 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3821 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3822 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3823 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3824 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3825 * sysdeps/s390/ifunc-strncmp.h: New file.
3826
cdab85fe
SL
38272018-12-18 Stefan Liebler <stli@linux.ibm.com>
3828
3829 * sysdeps/s390/multiarch/Makefile
3830 (sysdep_routines): Remove strcmp variants.
3831 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3832 * sysdeps/s390/multiarch/ifunc-impl-list.c
3833 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3834 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3835 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3836 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3837 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3838 * sysdeps/s390/ifunc-strcmp.h: New file.
3839 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3840 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3841 for 31/64bit and ifunc handling.
3842 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3843 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3844 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3845
b9353351
SL
38462018-12-18 Stefan Liebler <stli@linux.ibm.com>
3847
3848 * sysdeps/s390/multiarch/Makefile
3849 (sysdep_routines): Remove strncat variants.
3850 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3851 * sysdeps/s390/multiarch/ifunc-impl-list.c
3852 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3853 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3854 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3855 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3856 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3857 * sysdeps/s390/multiarch/strncat.c: Move to ...
3858 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3859 * sysdeps/s390/ifunc-strncat.h: New file.
3860
8e5a0afb
SL
38612018-12-18 Stefan Liebler <stli@linux.ibm.com>
3862
3863 * sysdeps/s390/multiarch/Makefile
3864 (sysdep_routines): Remove strcat variants.
3865 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3866 * sysdeps/s390/multiarch/ifunc-impl-list.c
3867 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3868 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3869 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3870 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3871 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3872 * sysdeps/s390/multiarch/strcat.c: Move to ...
3873 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3874 * sysdeps/s390/ifunc-strcat.h: New file.
3875
25218822
SL
38762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3877
3878 * sysdeps/s390/multiarch/Makefile
3879 (sysdep_routines): Remove stpncpy variants.
3880 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3881 * sysdeps/s390/multiarch/ifunc-impl-list.c
3882 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3883 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3884 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3885 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3886 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3887 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3888 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3889 * sysdeps/s390/ifunc-stpncpy.h: New file.
3890
d1bdbf38
SL
38912018-12-18 Stefan Liebler <stli@linux.ibm.com>
3892
3893 * sysdeps/s390/multiarch/Makefile
3894 (sysdep_routines): Remove strncpy variants.
3895 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3896 * sysdeps/s390/multiarch/ifunc-impl-list.c
3897 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3898 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3899 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3900 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3901 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3902 * sysdeps/s390/ifunc-strncpy.h: New file.
3903 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3904 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3905 and adjust ifunc handling.
3906 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3907 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3908 and adjust ifunc handling.
3909 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3910 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3911
97044931
SL
39122018-12-18 Stefan Liebler <stli@linux.ibm.com>
3913
3914 * sysdeps/s390/multiarch/Makefile
3915 (sysdep_routines): Remove stpcpy variants.
3916 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3917 * sysdeps/s390/multiarch/ifunc-impl-list.c
3918 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3919 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3920 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3921 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3922 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3923 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3924 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3925 * sysdeps/s390/ifunc-stpcpy.h: New file.
3926
914a4e05
SL
39272018-12-18 Stefan Liebler <stli@linux.ibm.com>
3928
3929 * sysdeps/s390/multiarch/Makefile
3930 (sysdep_routines): Remove strcpy variants.
3931 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3932 * sysdeps/s390/multiarch/ifunc-impl-list.c
3933 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3934 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3935 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3936 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3937 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3938 * sysdeps/s390/ifunc-strcpy.h: New file.
3939 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3940 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3941 for 31/64bit and ifunc handling.
3942 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3943 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3944 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3945
de10e44d
SL
39462018-12-18 Stefan Liebler <stli@linux.ibm.com>
3947
3948 * sysdeps/s390/multiarch/Makefile
3949 (sysdep_routines): Remove strnlen variants.
3950 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3951 * sysdeps/s390/multiarch/ifunc-impl-list.c
3952 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3953 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3954 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3955 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3956 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3957 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3958 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3959 * sysdeps/s390/ifunc-strnlen.h: New file.
3960
ff3ca374
SL
39612018-12-18 Stefan Liebler <stli@linux.ibm.com>
3962
3963 * sysdeps/s390/multiarch/Makefile
3964 (sysdep_routines): Remove strlen variants.
3965 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3966 * sysdeps/s390/multiarch/ifunc-impl-list.c
3967 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3968 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3969 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3970 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3971 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3972 * sysdeps/s390/multiarch/strlen.c: Move to ...
3973 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3974 * sysdeps/s390/ifunc-strlen.h: New file.
3975
d2c4c403
SL
39762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3977
3978 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3979 * sysdeps/s390/multiarch/ifunc-impl-list.c
3980 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3981 * sysdeps/s390/ifunc-memmem.h: New file.
3982 * sysdeps/s390/memmem.c: Likewise.
3983 * sysdeps/s390/memmem-c.c: Likewise.
3984 * sysdeps/s390/memmem-vx.c: Likewise.
3985
8c25dddd
SL
39862018-12-18 Stefan Liebler <stli@linux.ibm.com>
3987
3988 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3989 * sysdeps/s390/multiarch/ifunc-impl-list.c
3990 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3991 * sysdeps/s390/ifunc-strstr.h: New file.
3992 * sysdeps/s390/strstr.c: Likewise.
3993 * sysdeps/s390/strstr-c.c: Likewise.
3994 * sysdeps/s390/strstr-vx.c: Likewise.
3995
cdd927d9
SL
39962018-12-18 Stefan Liebler <stli@linux.ibm.com>
3997
3998 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3999 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4000 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4001 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4002 New defines.
4003 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4004 * sysdeps/s390/memmove-c.c: New file.
4005 * sysdeps/s390/memmove.c: Likewise.
4006 * sysdeps/s390/multiarch/ifunc-impl-list.c
4007 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4008
2ee1bc57
SL
40092018-12-18 Stefan Liebler <stli@linux.ibm.com>
4010
4011 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4012 * sysdeps/s390/configure.ac: Add check for z13 support.
4013 * sysdeps/s390/configure: Regenerated.
4014
d097d976
SL
40152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4016
4017 * sysdeps/s390/memcopy.h: New file.
4018
e099aab0
SL
40192018-12-18 Stefan Liebler <stli@linux.ibm.com>
4020
4021 * sysdeps/s390/s390-32/bcopy.S: Remove.
4022 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4023
18eb862d
SL
40242018-12-18 Stefan Liebler <stli@linux.ibm.com>
4025
4026 * sysdeps/s390/ifunc-memcpy.h: New File.
4027 * sysdeps/s390/memcpy.S: Move to ...
4028 * sysdeps/s390/memcpy-z900.S ... here.
4029 Move implementations from memcpy-s390x.s to here.
4030 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4031 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4032 Remove memcpy/mempcpy variants.
4033 * sysdeps/s390/Makefile (sysdep_routines):
4034 Add memcpy/mempcpy variants.
4035 * sysdeps/s390/multiarch/ifunc-impl-list.c
4036 (__libc_ifunc_impl_list): Adjust ifunc variants for
4037 memcpy and mempcpy.
4038 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4039 to ...
4040 * sysdeps/s390/memcpy.c: ... here.
4041 Adjust ifunc variants for memcpy.
4042 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4043 * sysdeps/s390/mempcpy.c: ... here.
4044 Adjust ifunc variants for mempcpy.
4045 * sysdeps/s390/mempcpy.S: Delete file.
4046
df3eb8de
SL
40472018-12-18 Stefan Liebler <stli@linux.ibm.com>
4048
4049 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4050 * sysdeps/s390/memcpy.S: ... here.
4051 Adjust to be usable for 31/64bit.
4052 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4053 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4054 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4055 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4056 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4057 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4058 Adjust to be usable for 31/64bit.
4059 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4060 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4061 * sysdeps/s390/multiarch/memcpy.c: ... here.
4062 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4063
b7e024a8
SL
40642018-12-18 Stefan Liebler <stli@linux.ibm.com>
4065
4066 * sysdeps/s390/ifunc-memcmp.h: New File.
4067 * sysdeps/s390/memcmp.S: Move to ...
4068 * sysdeps/s390/memcmp-z900.S ... here.
4069 Move implementations from memcmp-s390x.s to here.
4070 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4071 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4072 Remove memcmp variants.
4073 * sysdeps/s390/Makefile (sysdep_routines):
4074 Add memcmp variants.
4075 * sysdeps/s390/multiarch/ifunc-impl-list.c
4076 (__libc_ifunc_impl_list): Adjust ifunc variants for
4077 memcmp.
4078 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4079 to ...
4080 * sysdeps/s390/memcmp.c: ... here.
4081 Adjust ifunc variants for memcmp.
4082
6c6b8c74
SL
40832018-12-18 Stefan Liebler <stli@linux.ibm.com>
4084
4085 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4086 * sysdeps/s390/memcmp.S: ... here.
4087 Adjust to be usable for 31/64bit.
4088 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4089 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4090 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4091 Remove memcmp.
4092 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4093 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4094 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4095 Adjust to be usable for 31/64bit.
4096 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4097 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4098 * sysdeps/s390/multiarch/memcmp.c: ... here.
4099 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4100
07be3928
SL
41012018-12-18 Stefan Liebler <stli@linux.ibm.com>
4102
4103 * sysdeps/s390/s390-32/bzero.S: Delete file.
4104 * sysdeps/s390/s390-64/bzero.S: Likewise.
4105 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4106 * sysdeps/s390/bzero.c: New file.
4107 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4108 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4109 * sysdeps/s390/multiarch/ifunc-impl-list.c
4110 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4111
712a254a
SL
41122018-12-18 Stefan Liebler <stli@linux.ibm.com>
4113
4114 * sysdeps/s390/ifunc-memset.h: New File.
4115 * sysdeps/s390/memset.S: Move to ...
4116 * sysdeps/s390/memset-z900.S ... here.
4117 Move implementations from memset-s390x.s to here.
4118 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4119 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4120 Remove memset variants.
4121 * sysdeps/s390/Makefile (sysdep_routines):
4122 Add memset variants.
4123 * sysdeps/s390/multiarch/ifunc-impl-list.c
4124 (__libc_ifunc_impl_list): Adjust ifunc variants for
4125 memset.
4126 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4127 to ...
4128 * sysdeps/s390/memset.c: ... here.
4129 Adjust ifunc variants for memset.
4130
5f1743d1
SL
41312018-12-18 Stefan Liebler <stli@linux.ibm.com>
4132
4133 * sysdeps/s390/s390-64/memset.S: Move to ...
4134 * sysdeps/s390/memset.S: ... here.
4135 Adjust to be usable for 31/64bit.
4136 * sysdeps/s390/s390-32/memset.S: Delete File.
4137 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4138 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4139 Remove memset.
4140 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4141 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4142 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4143 Adjust to be usable for 31/64bit.
4144 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4145 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4146 * sysdeps/s390/multiarch/memset.c: ... here.
4147 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4148
e8023f26
SL
41492018-12-18 Stefan Liebler <stli@linux.ibm.com>
4150
4151 * sysdeps/s390/multiarch/ifunc-resolve.h
4152 (s390_libc_ifunc_init, s390_libc_ifunc,
4153 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4154
b8686c0d
SL
41552018-12-18 Stefan Liebler <stli@linux.ibm.com>
4156
4157 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4158 * sysdeps/s390/configure.ac: Add check for z10 support.
4159 * sysdeps/s390/configure: Regenerated.
4160
cd815050
L
41612018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4162
4163 * sysdeps/i386/atomic-machine.h: Merged with ...
4164 * sysdeps/x86_64/atomic-machine.h: To ...
4165 * sysdeps/x86/atomic-machine.h: This. New file.
4166
053c52b1
FW
41672018-12-18 Florian Weimer <fweimer@redhat.com>
4168
4169 Rewrite locale/gen-translit.pl in Python.
4170 * locale/Makefile (generated): Add C-translit.h.
4171 (before-compile): Add $(objpfx)C-translit.h.
4172 (C-translit.h): Move to $(objpfx). Create target directory.
4173 Build using Python script.
4174 * locale/gen-translit.py: New file.
4175 * locale/gen-translit.pl: Remove file.
4176 * locale/C-translit.h.in: Change comment character to '#' for
4177 easier parsing without a C preprocessor.
4178 * locale/C-translit.h: Remove generated file.
4179 * manual/install.texi (Tools for Compilation): Do not mention
4180 C-translit.h.
4181 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4182 Remove locale/C-translit.h.
4183 * scripts/update-copyrights: Likewise.
4184 * INSTALL: Regenerate.
4185
40e6c1ec
FW
41862018-12-18 Florian Weimer <fweimer@redhat.com>
4187
4188 [BZ #23995]
4189 * localedata/locales/bi_VU: Remove executable bit from file.
4190
6e15f3e2
AA
41912018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4192
4193 * include/time.h
4194 (__localtime64): Add.
4195 * manual/maint.texi: Document Y2038 symbol handling.
4196 * time/localtime.c
4197 (__localtime64): Add.
bfb79db4 4198 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 4199
df648905
JM
42002018-12-17 Joseph Myers <joseph@codesourcery.com>
4201
551e81d9
JM
4202 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4203 Do not clobber r12.
4204
df648905
JM
4205 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4206 to allow extra macros from first or second sources.
4207 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4208 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4209 (tests-special): Add $(objpfx)tst-mman-consts.out.
4210 ($(objpfx)tst-mman-consts.out): New makefile target.
4211
6bbfc5c0
MH
42122018-12-17 Mao Han <han_mao@c-sky.com>
4213
4214 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4215 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4216 without stat64 system call support.
4217 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4218 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4219 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4220 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4221 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4222 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4223 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4224 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4225 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4226 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4227 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4228
ef202e53
PE
42292018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4230
4231 regex: fix storage-exhaustion error
4232 [BZ #18040]
4233 * posix/regexec.c (get_subexp):
4234 Do not continue if storage is exhausted.
4235
077caf61
AG
42362018-12-15 Assaf Gordon <assafgordon@gmail.com>
4237
4238 regex: fix heap-use-after-free error
4239 [BZ #18040]
4240 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4241 https://debbugs.gnu.org/32592
4242 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4243 call extend_buffers which reallocates the re_string_t internal buffer.
4244 Local variable 'buf' was not updated in such case, resulting in
4245 use-after-free.
4246 * posix/regexec.c (get_subexp): Update 'buf' after call to
4247 get_subexp_sub.
4248
0c1719e6
FW
42492018-12-15 Florian Weimer <fweimer@redhat.com>
4250
4251 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4252 (minimum_stride_size): Use it.
4253 (support_blob_repeat_allocate): Likewise.
4254
033a2c0a
JM
42552018-12-14 Joseph Myers <joseph@codesourcery.com>
4256
4257 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4258 definition.
4259 (acosh): Likewise.
4260 (atanh): Likewise.
4261
e361dc04
FW
42622018-12-14 Florian Weimer <fweimer@redhat.com>
4263
4264 * manual/process.texi (Process Creation Concepts): Remove
4265 documentation of process (ID) lifetime. List more process
4266 creation functions. Reference Process Identification section.
4267 (Process Identification): Add information about process ID
4268 lifetime. Describe Linux thread/task IDs.
4269 * manual/signal.texi (Signaling Another Process): Mention that the
4270 signal is always sent to the process.
4271
bd51ff5e
GG
42722018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4273
4274 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4275 and tst-ldbl-efgcvt.
4276 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4277 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4278 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4279 (fcvt_tests, output_error, output_r_error, do_test): Use the
4280 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4281 select the type of floating-point variables and arguments; to
4282 produce extra tests for double and conversion specifiers for
4283 printf; and to set the names of called functions.
4284 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4285 in tst-efgcvt-template.c.
4286 * misc/tst-ldbl-efgcvt.c: Likewise.
4287
268bb71e
SL
42882018-12-14 Stefan Liebler <stli@linux.ibm.com>
4289
4290 * nss/Makefile (tst-nss-test3.out): New rule.
4291
db6df070
JM
42922018-12-13 Joseph Myers <joseph@codesourcery.com>
4293
4294 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4295 clobber sp.
4296
ade8b817
CD
42972018-12-13 fanjinke <fanjinke@hygon.cn>
4298
4299 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4300 "HygonGenuine".
4301
3d265911
AS
43022018-12-13 Andreas Schwab <schwab@suse.de>
4303
f21e8f8c 4304 [BZ #23861]
3d265911 4305 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
4306 (__pthread_rwlock_rdlock_full): Update expected value for
4307 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4308 * nptl/tst-rwlock-pwn.c: New file.
4309 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 4310
bf8ae8c0
JM
43112018-12-12 Joseph Myers <joseph@codesourcery.com>
4312
4313 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4314 definition.
4315
de099757
LS
43162018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4317
4318 * benchtests/scripts/compare_bench.py (do_compare): write to
4319 stderr in casestat is not present.
4320 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4321 stderr in case timings field is not present. Also string showing
4322 the output filename goes into the stderr.
4323
1990185f
LS
43242018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4325
4326 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4327 and ZeroDivisorError exceptions.
4328 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4329 argument to loop through user provided statistics.
4330 * benchtests/scripts/compare_bench.py (main): Include the --stats
4331 argument.
4332
587426d4
LS
43332018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4334
4335 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4336 instead of return.
4337
46703efa
FW
43382018-12-12 Florian Weimer <fweimer@redhat.com>
4339
4340 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4341 clause to copyright header.
4342
1d880d4a
TMQMF
43432018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4344
4345 [BZ #23614]
4346 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4347 registers saved in the stack frame.
4348 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4349 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4350
1a502f52
GG
43512018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4352
4353 * include/bits/monetary-ldbl.h: New file.
4354 * include/bits/printf-ldbl.h: Likewise.
4355 * include/bits/stdio-ldbl.h: Likewise.
4356 * include/bits/stdlib-ldbl.h: Likewise.
4357 * include/bits/syslog-ldbl.h: Likewise.
4358 * include/bits/wchar-ldbl.h: Likewise.
4359
df682d1d
GG
43602018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4361
4362 * libio/libio.h: Remove redirection for _IO_vfprintf.
4363
c2c082c1
AS
43642018-12-11 Andreas Schwab <schwab@suse.de>
4365
4366 * Makerules: Remove all references to abilist-pattern.
4367 (update-all-abi): Simplify find expression.
4368
505b5b29
SN
43692018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4370
4371 [BZ #23961]
4372 * math/auto-libm-test-in: Add new test case.
4373 * math/auto-libm-test-out-pow: Regenerated.
4374 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4375
304c61a2
DD
43762018-12-10 DJ Delorie <dj@redhat.com>
4377
4378 [BZ #23948]
4379 * support/test-container.c: Move postclean step to before we
4380 change namespaces.
4381
a8110b72
JM
43822018-12-10 Joseph Myers <joseph@codesourcery.com>
4383
cb7be159
JM
4384 * scripts/gen-as-const.py (main): Handle --python option.
4385 * scripts/gen-py-const.awk: Remove.
4386 * Makerules (py-const-script): Use gen-as-const.py.
4387 ($(py-const)): Likewise.
4388 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4389 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4390 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4391 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4392 ~PTHREAD_MUTEX_NO_ELISION_NP.
4393 * manual/README.pretty-printers: Update reference to
4394 gen-py-const.awk.
4395
a8110b72
JM
4396 * scripts/glibcextract.py: New file.
4397 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4398 or tempfile. Import glibcexctract.
4399 (compute_c_consts): Remove. Moved to glibcextract.py.
4400 (gen_test): Update reference to compute_c_consts.
4401 (main): Likewise.
4402 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4403 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4404 * sysdeps/unix/sysv/linux/Makefile
4405 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4406 Redirect stderr as well as stdout.
4407
f9ba9eb8
RÁE
44082018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4409
4410 [BZ #19767]
4411 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4412 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4413 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4414 ALWAYS_USE_VSYSCALL.
4415 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4416 ALWAYS_USE_VSYSCALL.
4417 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4418 ALWAYS_USE_VSYSCALL.
4419
8d20a2f4
FW
44202018-12-10 Florian Weimer <fweimer@redhat.com>
4421
4422 [BZ #23972]
4423 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4424 offset instead of count for clarity. Fix typo in comment.
4425 (__old_getdents64): Keep track of previous offset. Use it to call
4426 handle_overflow.
4427 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4428 that d_off is never zero.
4429
80472e2f
AS
44302018-12-10 Andreas Schwab <schwab@suse.de>
4431
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4433 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4435 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4436 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4437
0afcb29d
JM
44382018-12-10 Joseph Myers <joseph@codesourcery.com>
4439
4440 * timezone/private.h: Update from tzcode 2018g.
4441 * timezone/tzfile.h: Likewise.
4442 * timezone/tzselect.ksh: Likewise.
4443 * timezone/zdump.c: Likewise.
4444 * timezone/zic.c: Likewise.
4445
b93f4052
PP
44462018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4447
4448 [BZ #23490]
4449 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4450 (do_test): Adjust buffer size and fix format.
4451
7c9a7c68
DD
44522018-12-07 DJ Delorie <dj@redhat.com>
4453
4454 [BZ #23907]
4455 * malloc/tst-tcfree3.c: New.
4456 * malloc/Makefile: Add it.
4457
37caec3a
L
44582018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4459
4460 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4461
10446f5d
GG
44622018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4463
4464 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4465 used as a mask for the mode argument of __vfscanf_internal and
4466 __vfwscanf_internal.
4467 * stdio-common/vfscanf-internal.c
4468 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4469 (__strtof128_internal): Define to __wcstof128_internal.
4470 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4471 __strtof128_internal or __wcstof128_internal when the format of
4472 long double is the same as _Float128.
4473
45f33aac
ST
44742018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4475
4476 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4477 * posix/confstr.c (confstr): Rename to __confstr.
4478 (__confstr): Add hidden def.
4479 (confstr): Add weak alias for __confstr.
4480 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4481 confstr.
4482
a092ca94
L
44832018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4484
4485 * NEWS: Mention getcpu.
4486 * include/sched.h (__getcpu): New libc_hidden_proto.
4487 * manual/resource.texi: Document getcpu.
4488 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4489 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4490 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4491 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4492 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4493 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4494 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4495 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4496 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4497 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4498 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4499 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4500 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4506 Likewise.
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4508 Likewise.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4510 Likewise.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4512 Likewise.
4513 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4515 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4516 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4519 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4520 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4521 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4522 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4523 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4524 Also check getcpu.
4525
7c857b6f
ST
45262018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4527
4528 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4529 functions.
4530 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4531
3a3fb755
FW
45322018-12-07 Florian Weimer <fweimer@redhat.com>
4533
4534 [BZ #17405]
4535 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4536 * posix/Versions (GLIBC_2.29): Export
4537 posix_spawn_file_actions_addfchdir_np.
4538 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4539 * posix/spawn_faction_destroy.c
4540 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4541 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4542 and the field action.fchdir_action.
4543 * posix/tst-spawn-chdir.c (add_chdir): New function.
4544 (do_test): Add do_fchdir loop. Call add_chdir.
4545 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4546 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4547 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4548 posix_spawn_file_actions_addfchdir_np.
4549 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4550 Likewise.
4551 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4552 Likewise.
4553 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4554 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4555 Likewise.
4556 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4557 Likewise.
4558 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4559 Likewise.
4560 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4561 Likewise.
4562 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4563 Likewise.
4564 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4567 (GLIBC_2.29): Likewise.
4568 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4569 (GLIBC_2.29): Likewise.
4570 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4571 (GLIBC_2.29): Likewise.
4572 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4573 (GLIBC_2.29): Likewise.
4574 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4575 Likewise.
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4577 (GLIBC_2.29): Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4579 (GLIBC_2.29): Likewise.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4581 (GLIBC_2.29): Likewise.
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4583 (GLIBC_2.29): Likewise.
4584 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4585 Likewise.
4586 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4587 Likewise.
4588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4589 Likewise.
4590 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4591 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4592 Likewise.
4593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4594 Likewise.
4595 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4596 Likewise.
4597 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4598 Likewise.
4599
c37cd439
JM
46002018-12-06 Joseph Myers <joseph@codesourcery.com>
4601
4602 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4603 trailing whitespace removed.
4604 * scripts/config.guess: Update to version 2018-11-28.
4605 * scripts/config.sub: Update to version 2018-11-28.
4606 * scripts/install-sh: Update to version 2018-03-11.20.
4607 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4608 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4609
899478c2
FW
46102018-12-07 Florian Weimer <fweimer@redhat.com>
4611
4612 [BZ #23927]
4613 CVE-2018-19591
4614 * inet/tst-if_index-long.c: New file.
4615 * inet/Makefile (tests): Add tst-if_index-long.
4616
f255336a
FW
46172018-12-07 Florian Weimer <fweimer@redhat.com>
4618
4619 * support/check.h (support_record_failure_is_failed): Declare.
4620 * support/descriptors.h: New file.
4621 * support/support_descriptors.c: Likewise.
4622 * support/tst-support_descriptors.c: Likewise.
4623 * support/support_record_failure.c
4624 (support_record_failure_is_failed): New function.
4625 * support/Makefile (libsupport-routines): Add support_descriptors.
4626 (tests): Add tst-support_descriptors.
4627
35caceb1
ZW
46282018-12-05 Zack Weinberg <zackw@panix.com>
4629 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4630
4631 * stdio-common/vfprintf-internal.c
4632 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4633 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4635 and __no_long_double.
4636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4637 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4638 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4639 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4640 and __nldbl_*syslog* functions.
4641 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4642 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4643 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4644 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4645 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4646 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4647 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4648 (__nldbl_vwprintf, __nldbl_wprintf):
4649 Directly call the appropriate __v*printf_internal routine, passing
4650 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4651 variable names.
4652 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4653 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4654 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4655 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4656 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4657 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4658 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4659 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4660 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4661 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4662 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4663 (__nldbl_syslog, __nldbl_vsyslog):
4664 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4665 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4666 appropriate.
4667 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4668 appropriate.
4669
4e2f43f8
ZW
46702018-12-05 Zack Weinberg <zackw@panix.com>
4671 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4672
4673 [BZ #11319]
4674 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4675 Moved here from debug/vsprintf_chk.c.
4676 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4677 and completion logic for the strfile to match exactly what
4678 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4679 _IO_str_init_static_internal instead of maxlen-1.
4680 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4681 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4682 __vsprintf_internal.
4683
4684 * debug/vsprintf_chk.c (__vsprintf_chk)
4685 * debug/sprintf_chk.c (__sprintf_chk):
4686 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4687 'flags' argument is positive, and slen as maxlen. No need to lock
4688 the FILE and/or construct a temporary FILE. Minimize and normalize
4689 header inclusions and variable names. Do not libc_hidden_def anything.
4690
4691 * debug/asprintf_chk.c (__asprintf_chk)
4692 * debug/dprintf_chk.c (__dprintf_chk)
4693 * debug/fprintf_chk.c (__fprintf_chk)
4694 * debug/fwprintf_chk.c (__fwprintf_chk)
4695 * debug/printf_chk.c (__printf_chk)
4696 * debug/snprintf_chk.c (__snprintf_chk)
4697 * debug/swprintf_chk.c (__swprintf_chk)
4698 * debug/vasprintf_chk.c (__vasprintf_chk)
4699 * debug/vdprintf_chk.c (__vdprintf_chk)
4700 * debug/vfprintf_chk.c (__vfprintf_chk)
4701 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4702 * debug/vprintf_chk.c (__vprintf_chk)
4703 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4704 * debug/vswprintf_chk.c (__vswprintf_chk)
4705 * debug/vwprintf_chk.c (__vwprintf_chk)
4706 * debug/wprintf_chk.c (__wprintf_chk):
4707 Directly call the corresponding vxxprintf_internal function, passing
4708 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4709 the FILE and/or construct a temporary FILE. Minimize and normalize
4710 header inclusions and variable names. Do not libc_hidden_def anything.
4711
4712 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4713 __obstack_vprintf_internal.
4714 (__obstack_vprintf_chk): Convert into a wrapper that calls
4715 __obstack_vprintf_internal (these two functions already had the
4716 same code) and move to new file...
4717 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4718 file.
4719 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4720 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4721 * debug/Makefile (routines): Add vobprintf_chk.
4722
4723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4724 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4725 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4726 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4727 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4728 (__nldbl___obstack_vfprintf_chk):
4729 Directly call the corresponding vxxprintf_internal function,
4730 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4731 duplicate comparison of slen with 0 or maxlen from the corresponding
4732 non-__nldbl function.
4733
4734 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4735 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4736 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4737 Remove libc_hidden_proto.
4738
4739 * stdio-common/vfprintf-internal.c
4740 (__vfprintf_internal, __vfwprintf_internal):
4741 Do not check _IO_FLAGS2_FORTIFY.
4742 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4743 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4744 a comment explaining why it has the maxlen argument.
4745 (_IO_acquire_lock_clear_flags2_fct): Remove.
4746 (_IO_acquire_lock_clear_flags2): Remove.
4747 (_IO_release_lock): Remove conditional statement which will
4748 now never execute.
4749 (_IO_acquire_lock): Remove variable which is now unused.
4750 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4751 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4752
4753 * stdio-common/Makefile (tests): Add tst-bz11319 and
4754 tst-bz11319-fortify2.
4755 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4756 * stdio-common/tst-bz11319-fortify2.c: New file.
4757 * stdio-common/tst-bz11319.c: Likewise.
4758
124fc732
ZW
47592018-12-05 Zack Weinberg <zackw@panix.com>
4760 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4761
4762 * misc/syslog.c: Include libioP.h, not iolibio.h.
4763 (__vsyslog_internal): New function with the former body of
4764 __vsyslog_chk; takes mode_flags argument same as
4765 __v*printf_internal. Call __vfprintf_internal directly.
4766
4767 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4768 Remove libc_hidden_def.
4769 (__syslog, __syslog_chk): Use __vsyslog_internal.
4770 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4771
4772 * include/sys/syslog.h: Add multiple inclusion guard.
4773 Add prototype for __vsyslog_internal.
4774 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4775
4776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4777 Use __vsyslog_internal.
4778
698fb75b
ZW
47792018-12-05 Zack Weinberg <zackw@panix.com>
4780 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4781
4782 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4783 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4784 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4785 New functions.
4786 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4787 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4788
4789 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4790 Include wctype.h here if COMPILE_WPRINTF is defined.
4791 Define __vfprintf_internal or __vfwprintf_internal, depending
4792 on COMPILE_WPRINTF.
4793 Temporarily, on entry to this function, update mode_flags
4794 according to the environmental settings corresponding to
4795 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4796 Throughout, check mode_flags instead of __ldbl_is_dbl and
4797 _IO_FLAGS2_FORTIFY on the destination FILE.
4798 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4799 Include vfprintf-internal.c. Don't include wctype.h.
4800 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4801 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4802 and vfprintf.
4803 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4804 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4805 and vfwprintf.
4806 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4807
4808 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4809 and add mode_flags argument; use __vfprintf_internal.
4810 (__vdprintf): New function. Alias vdprintf to this.
4811 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4812 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4813 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4814 (__obstack_printf): Use __obstack_printf_internal.
4815 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4816 public aliases __vsnprintf and vsnprintf.
4817 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4818 called internally.
4819 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4820 public aliases _IO_vsprintf and vsprintf.
4821 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4822 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4823 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4824 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4825 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4826
4827 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4828 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4829 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4830 * stdio-common/printf.c: Use __vfprintf_internal.
4831
4832 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4833 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4834 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4835
4836 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4837 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4838 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4839 __vfwprintf_internal.
4840
4841 * libio/libio.h: Remove libc_hidden_proto and declaration for
4842 _IO_vfprintf.
4843 Remove declaration of _IO_vfwprintf.
4844 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4845 _IO_vsprintf.
4846 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4847 _IO_obstack_printf.
4848 * include/stdio.h: Add prototype for __vasprintf.
4849 (__vsnprintf): Remove declaration, because there are no more
4850 internal calls.
4851 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4852 declaration, because there are no more internal calls.
4853
4854 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4855 __vsnprintf_internal, instead of _IO_vsnprintf.
4856 * argp/argp-help.c (__argp_error, __argp_failure): Use
4857 __vasprintf_internal, instead of _IO_vasprintf.
4858 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4859 redefine, because there are no more internal calls.
4860
d91798b3
ZW
48612018-12-05 Zack Weinberg <zackw@panix.com>
4862 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4863
4864 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4865 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4866 Include libio/strfile.h instead of libioP.h.
4867 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4868 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4869 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4870 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4871 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4872 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4873 necessary. Do not set __no_long_double. Normalize variable names.
4874 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4875 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4876 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4877 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4878 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4879 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4880 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4881 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4882 Do not set __no_long_double. Normalize variable names.
4883
b87eb3f8
ZW
48842018-12-05 Zack Weinberg <zackw@panix.com>
4885 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4886
4887 * stdio-common/isoc99_scanf.c
4888 * stdio-common/isoc99_fscanf.c
4889 * stdio-common/isoc99_sscanf.c
4890 * stdio-common/isoc99_vscanf.c
4891 * stdio-common/isoc99_vfscanf.c
4892 * stdio-common/isoc99_vsscanf.c
4893 * wcsmbs/isoc99_wscanf.c
4894 * wcsmbs/isoc99_fwscanf.c
4895 * wcsmbs/isoc99_swscanf.c
4896 * wcsmbs/isoc99_vwscanf.c
4897 * wcsmbs/isoc99_vfwscanf.c
4898 * wcsmbs/isoc99_vswscanf.c:
4899 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4900 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4901 No need to lock and unlock the FILE passed to that function.
4902
4903 * stdio-common/vfscanf-internal.c
4904 (__vfscanf_internal, __vfwscanf_internal):
4905 Don't look at _IO_FLAGS2_SCANF_STD.
4906 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4907 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4908 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4909
349718d4
ZW
49102018-12-05 Zack Weinberg <zackw@panix.com>
4911 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4912
4913 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4914 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4915 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4916 * libio/strfile.h: Add multiple inclusion guard.
4917 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4918
4919 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4920 consistency with the other version of this file.
4921 (ldbl_compat_symbol): New macro.
4922 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4923 New macro.
4924
4925 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4926 Define __vfscanf_internal or __vfwscanf_internal, depending on
4927 COMPILE_WSCANF; don't define any other public symbols.
4928 Remove errval and code to set errp.
4929 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4930 as the mode_flags argument.
4931 (encode_error, conv_error, input_error): Don't set errval.
4932 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4933 Include vfscanf-internal.c.
4934 * stdio-common/vfscanf.c: New file defining the public entry
4935 point vfscanf, which calls __vfscanf_internal.
4936 * stdio-common/vfwscanf.c: New file defining the public entry
4937 point vfwscanf, which calls __vfwscanf_internal.
4938
4939 * stdio-common/iovfscanf.c: New file.
4940 * stdio-common/iovfwscanf.c: Likewise.
4941
4942 * stdio-common/Makefile (routines): Add vfscanf-internal,
4943 vfwscanf-internal, iovfscanf, iovfwscanf.
4944 * stdio-common/Versions: Mention GLIBC_2.29, so that
4945 it can be used in SHLIB_COMPAT expressions.
4946 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4947 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4948 Call __vfscanf_internal, instead of _IO_vfscanf.
4949 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4950 _IO_vfscanf.
4951 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4952 _IO_vfwscanf.
4953
4954 * libio/iovsscanf.c: Clean up includes, when possible. Use
4955 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4956 __vfscanf_internal or __vfwscanf_internal directly.
4957 * libio/iovswscanf.c: Likewise.
4958 * libio/swscanf.c: Likewise.
4959 * libio/vscanf.c: Likewise.
4960 * libio/vwscanf.c: Likewise.
4961 * libio/wscanf.c: Likewise.
4962 * stdio-common/isoc99_fscanf.c: Likewise.
4963 * stdio-common/isoc99_scanf.c: Likewise.
4964 * stdio-common/isoc99_sscanf.c: Likewise.
4965 * stdio-common/isoc99_vfscanf.c: Likewise.
4966 * stdio-common/isoc99_vscanf.c: Likewise.
4967 * stdio-common/isoc99_vsscanf.c: Likewise.
4968 * stdio-common/scanf.c: Likewise.
4969 * stdio-common/sscanf.c: Likewise.
4970 * wcsmbs/isoc99_fwscanf.c: Likewise.
4971 * wcsmbs/isoc99_swscanf.c: Likewise.
4972 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4973 * wcsmbs/isoc99_vswscanf.c: Likewise.
4974 * wcsmbs/isoc99_vwscanf.c: Likewise.
4975 * wcsmbs/isoc99_wscanf.c: Likewise.
4976
72b8692d
AA
49772018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4978
4979 * include/time.h
4980 (__tz_compute): Replace time_t with __time64_t.
4981 (__tz_convert): Replace time_t* with __time64_t.
4982 (__offtime): Replace time_t* with __time64_t.
4983 * time/gmtime.c
4984 (__gmtime_r): Adjust call to __tz_convert.
4985 (gmtime): Likewise.
4986 * time/localtime.c
4987 (__localtime_r): Likewise.
4988 (localtime): Likewise.
4989 * time/offtime.c: Replace time_t with __time64_t.
4990 * time/tzset.c: Likewise.
4991
bd598da9
JM
49922018-12-04 Joseph Myers <joseph@codesourcery.com>
4993
4994 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4995 dynamic linker unless [$(run-built-tests) = yes].
4996
b2e93de0
DD
49972018-12-03 DJ Delorie <dj@delorie.com>
4998
4999 * support/test-container.c (check_for_unshare_hints): New.
5000 (main): Call it if unshare fails. Add support for "su" scriptlet
5001 command.
5002
477a02f6
JM
50032018-12-03 Joseph Myers <joseph@codesourcery.com>
5004
5005 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5006 'START' to indicate that start text should be output.
5007 (gen_test): Likewise.
5008 (main): Generate 'START' for first symbol or '--' line, or at end
5009 of input if not previously generated.
5010
6af956e5
RÁE
50112018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5012
5013 [BZ #19767]
5014 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5015 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5016 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5017 ALWAYS_USE_VSYSCALL.
5018
f5ec0ea9
AZ
50192018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5020
5021 [BZ #23913]
5022 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5023 new_argv by one.
5024
8cebd4ff
CD
50252018-12-03 Carlos O'Donell <carlos@redhat.com>
5026
5027 [BZ #23923]
5028 * locale/programs/localedef.c: Declare boolean hard_links default true.
5029 (options): Add --no-hard-links option.
5030 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5031 * locale/programs/localedef.h: Declare prototype for hard_links.
5032 * locale/programs/locfile.c (write_locale_data): Don't use hard
5033 links if hard_links is false.
5034
c22e4c2a
L
50352018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5036
5037 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5038 cpu_features_basic.
5039 (__cache_sysconf): Likewise.
5040 (init_cacheinfo): Likewise.
5041 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5042 populate COMMON_CPUID_INDEX_80000007 and
5043 COMMON_CPUID_INDEX_80000008.
5044 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5045 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5046 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5047 (init_cpu_features): Use _Static_assert on
5048 index_arch_Fast_Unaligned_Load.
5049 __get_cpuid_registers and __get_arch_feature. Updated for
5050 cpu_features_basic. Set stepping in cpu_features.
5051 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5052 (FEATURE_INDEX_2): New.
5053 (FEATURE_INDEX_MAX): Changed to enum.
5054 (COMMON_CPUID_INDEX_D_ECX_1): New.
5055 (COMMON_CPUID_INDEX_80000007): Likewise.
5056 (COMMON_CPUID_INDEX_80000008): Likewise.
5057 (cpuid_registers): Likewise.
5058 (cpu_features_basic): Likewise.
5059 (CPU_FEATURE_USABLE): Likewise.
5060 (bit_arch_XXX_Usable): Likewise.
5061 (cpu_features): Use cpuid_registers and cpu_features_basic.
5062 (bit_arch_XXX): Reweritten.
5063 (bit_cpu_XXX): Likewise.
5064 (index_cpu_XXX): Likewise.
5065 (reg_XXX): Likewise.
5066 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5067 <support/check.h>.
5068 (CHECK_CPU_FEATURE): New.
5069 (CHECK_CPU_FEATURE_USABLE): Likewise.
5070 (cpu_kinds): Likewise.
5071 (do_test): Print vendor, family, model and stepping. Check
5072 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5073 (TEST_FUNCTION): Removed.
5074 Include <support/test-driver.c> instead of
5075 "../../test-skeleton.c".
5076 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5077 Check POPCNT instead of POPCOUNT.
5078 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5079
7b36d26b
ST
50802018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5081
5082 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5083 there is no element in `consts'.
5084
02cd5c1a
FW
50852018-12-01 Florian Weimer <fweimer@redhat.com>
5086
5087 * support/support_capture_subprocess.c
5088 (support_capture_subprocess): Check that pipe descriptors have
5089 expected values. Close original pipe descriptors in subprocess.
5090
fc493bc9
ST
50912018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5092
5093 [BZ #23032]
5094 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5095 attr with __pthread_default_barrierattr.
5096 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5097 attr with __pthread_default_condattr.
5098 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5099 attr with __pthread_default_mutexattr.
5100 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5101 attr with __pthread_default_rwlockattr.
5102
6310e6be
KW
51032018-12-01 Kemi Wang <kemi.wang@intel.com>
5104
5105 * manual/tunables.texi (POSIX Thread Tunables): New node.
5106 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5107 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5108 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5109 __pthread_tunables_init.
5110 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5111 (max_adaptive_count): Define.
5112 * nptl/pthread_mutex_conf.c: New file.
5113 * nptl/pthread_mutex_conf.h: New file.
5114 * sysdeps/generic/adaptive_spin_count.h: New file.
5115 * sysdeps/nptl/dl-tunables.list: New file.
5116 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5117 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5118 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5119 Likewise.
5120
8e67b39e
PP
51212018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5122
5123 [BZ #20544]
5124 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5125 * stdlib/on_exit.c (__on_exit): Likewise.
5126 * stdlib/Makefile (tests): Add tst-bz20544.
5127 * stdlib/tst-bz20544.c: New test.
5128
15b8d67e
RÁE
51292018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5130
5131 [BZ #19767]
5132 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5133 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5134 New.
5135
5e63c240
FW
51362018-11-30 Florian Weimer <fweimer@redhat.com>
5137
5138 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5139 Extend error logging.
5140 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5141 symbol.
5142
71058602 51432018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 5144
5fb7fc96
AZ
5145 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5146 __sigismember instead of sigismember.
5147 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5148 cancel_handler): New definitions.
5149 (do_system): Use posix_spawn instead of fork and execl and remove
5150 reentracy code.
5151 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5152 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5153 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5154 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5155 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5156 * sysdeps/unix/sysv/linux/system.c: Likewise.
5157
14d0e87d
AZ
5158 [BZ #22834]
5159 [BZ #17490]
5160 * NEWS: Add new semantic for atfork with popen and system.
5161 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5162 fork and execl.
5163
e5d262ef
TMQMF
51642018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5165
5166 [BZ #23690]
5167 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5168 modification order when accessing reloc_result->addr.
5169 * include/link.h (reloc_result): Add field init.
5170 * nptl/Makefile (tests): Add tst-audit-threads.
5171 (modules-names): Add tst-audit-threads-mod1 and
5172 tst-audit-threads-mod2.
5173 Add rules to build tst-audit-threads.
5174 * nptl/tst-audit-threads-mod1.c: New file.
5175 * nptl/tst-audit-threads-mod2.c: Likewise.
5176 * nptl/tst-audit-threads.c: Likewise.
5177 * nptl/tst-audit-threads.h: Likewise.
5178
7e1d4240
JM
51792018-11-30 Joseph Myers <joseph@codesourcery.com>
5180
5181 * scripts/gen-as-const.py: New file.
5182 * scripts/gen-as-const.awk: Remove.
5183 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5184 gen-as-const.py.
5185 ($(objpfx)test-as-const-%.c): Likewise.
5186
ce7387cc
L
51872018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5188
5189 * elf/dl-exception.c: Include <_itoa.h>.
5190
c6a5bdc1
ST
51912018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5192
5193 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5194 returned by __f_setlk.
5195
a5275ba5
L
51962018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5197 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5198
5199 * elf/Makefile (tests-internal): Add tst-create_format1.
5200 * elf/dl-exception.c (_dl_exception_create_format): Support
5201 %x, %lx and %zx.
5202 * elf/tst-create_format1.c: New file.
5203
3a67e81d
CAC
52042018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5205
5206 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5207 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5208 gnulib.)
5209 * argp/argp-help.c (__argp_failure): Likewise.
5210
4975f0c3
MH
52112018-11-29 Mao Han <han_mao@c-sky.com>
5212
5213 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5214 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5215 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5216 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5217 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5218 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5219 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5220 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5221 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5222 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5223 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5224 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5225 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5226 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5227 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5228 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5229 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5230 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5231 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5232 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5233 (R_CKCORE_TLS_TPOFF32): New defines.
5234
250102c8
FW
52352018-11-29 Florian Weimer <fweimer@redhat.com>
5236
5237 * posix/Makefile (before-compile): Remove testcases.h and
5238 ptestcases.h.
5239 (generated): Add testcases.h and ptestcases.h.
5240 (testcases.h, ptestcases.h): Move to $(objpfx).
5241 (runtests.o): Add dependency on testcases.h.
5242 (runptests.o): Add dependency on ptestcases.h.
5243 * posix/testcases.h, posix/ptestcases.h: Remove files.
5244 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5245 not touch posix/testcases.h and posix/ptestcases.h.
5246
96cd0558
FW
52472018-11-28 Florian Weimer <fweimer@redhat.com>
5248
5249 support: Add signal support to support_capture_subprocess_check.
5250 * support/capture_subprocess.h (support_capture_subprocess_check):
5251 Adjust comment and rename parameter.
5252 * support/support_capture_subprocess_check.c
5253 (print_actual_status): New function.
5254 (support_capture_subprocess_check): Support negative
5255 status_or_signal. Call print_actual_status.
5256 * support/tst-support_capture_subprocess.c (do_test): Call
5257 support_capture_subprocess_check.
5258 * libio/tst-vtables-common.c (termination_status)
5259 (init_termination_status): Remove.
5260 (check_for_termination): Adjust support_capture_subprocess_check
5261 call.
5262 (do_test): Remove call to init_termination_status.
5263
530504e3
JM
52642018-11-28 Joseph Myers <joseph@codesourcery.com>
5265
5266 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5267 source directory instead of a copy.
5268 (CommandList.create_copy_dir): Remove.
5269
9a0b6970
SL
52702018-11-28 Stefan Liebler <stli@linux.ibm.com>
5271
5272 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5273
47d8d9a2
FW
52742018-11-28 Florian Weimer <fweimer@redhat.com>
5275
5276 * support/support.h (support_quote_string): Do not use str
5277 parameter name.
5278
b473b7d8
JM
52792018-11-27 Joseph Myers <joseph@codesourcery.com>
5280
5281 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5282 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5283
c74a91de
FW
52842018-11-27 Florian Weimer <fweimer@redhat.com>
5285
5286 * support/support.h (support_quote_string): Declare.
5287 * support/support_quote_string.c: New file.
5288 * support/tst-support_quote_string.c: Likewise.
5289 * support/Makefile (libsupport-routines): Add
5290 support_quote_string.
5291 (tests): Add tst-support_quote_string.
5292
d527c860
FW
52932018-11-27 Florian Weimer <fweimer@redhat.com>
5294
5295 [BZ #23927]
5296 CVE-2018-19591
5297 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5298 descriptor leak in case of ENODEV error.
5299
979cfed0
RÁE
53002018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5301
5302 [BZ #19767]
5303 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5304 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5306
ce035c6e
CD
53072018-11-26 Carlos O'Donell <carlos@redhat.com>
5308
5309 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5310 Error for unknown lines.
5311
2bd0bfcc
JM
53122018-11-26 Joseph Myers <joseph@codesourcery.com>
5313
5314 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5315 Touch additional files.
5316
affec03b
FW
53172018-11-26 Florian Weimer <fweimer@redhat.com>
5318
5319 [BZ #23907]
5320 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5321 double-frees.
5322
8ae74ead
RÁE
53232018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5324
5325 [BZ #19767]
5326 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5327 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5328 SHARED. Include sysdep.h.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5330 ALWAYS_USE_VSYSCALL.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5332 ALWAYS_USE_VSYSCALL.
5333
1e8bdc3a
RÁE
53342018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5335
5336 [BZ #19767]
5337 * nptl/Makefile (tests-static): Add tst-cond11-static.
5338 (tests): Likewise.
5339 * nptl/tst-cond11-static.c: New File.
5340 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5341 tst-affinity-static.
5342 (tests): Likewise.
5343 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5344 instead of SHARED.
5345 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5346 (USE_VSYSCALL): Likewise.
5347 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5348 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5349 instead of SHARED.
5350 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5351 SHARED.
5352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5353 New.
5354
1283c478
JM
53552018-11-23 Joseph Myers <joseph@codesourcery.com>
5356
5357 [BZ #23915]
5358 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5359 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5360 Undefine.
5361
c089fd80
L
53622018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5363
5364 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5365 (tst-cet-legacy-1a-ARGS): New.
5366 ($(objpfx)tst-cet-legacy-1a): New target.
5367 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5368
cc6c89fa
JM
53692018-11-22 Joseph Myers <joseph@codesourcery.com>
5370
95edd05c
JM
5371 * conform/conformtest.py (CompileSubTest.__init__): Set
5372 self.run_early to False.
5373 (ExecuteSubTest.__init__): Likewise.
5374 (HeaderTests.run): Try running all non-optional, non-XFAILed
5375 compilation tests in a single execution of the compiler.
5376
cc6c89fa
JM
5377 * conform/conformtest.py (CompileSubTest): New class.
5378 (ExecuteSubTest): Likewise.
5379 (ElementTest.run): Rename to gen_subtests. Append tests to
5380 self.subtests instead of running them.
5381 (ConstantTest.run): Likewise.
5382 (SymbolTest.run): Likewise.
5383 (TypeTest.run): Likewise.
5384 (TagTest.run): Likewise.
5385 (FunctionTest.run): Likewise.
5386 (VariableTest.run): Likewise.
5387 (MacroFunctionTest.run): Likewise.
5388 (MacroStrTest.run): Likewise.
5389 (HeaderTests.handle_test_line): Generate subtests for tests.
5390 (HeaderTests.run): Run subtests for tests.
5391
a502c529
SN
53922018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5393
5394 * math/Versions (GLIBC_2.29): Add pow.
5395 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5396 symbol.
5397 * math/w_pow.c: New file.
5398 * sysdeps/i386/fpu/w_pow.c: New file.
5399 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5401 and add necessary aliases.
5402 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5403 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5404 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5405 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5406 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5407 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5408 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5409 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5410 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5411 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5412 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5413 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5414 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5415 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5416 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5422 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5423 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5424 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5425 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5426 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5427 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5429 __pow.
5430 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5431 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5432 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5433
718d6542
SN
54342018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5435
5436 * math/Versions (GLIBC_2.29): Add log2.
5437 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5438 symbol.
5439 * math/w_log2.c: New file.
5440 * sysdeps/i386/fpu/w_log2.c: New file.
5441 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5442 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5443 and add necessary aliases.
5444 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5445 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5446 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5447 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5448 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5449 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5450 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5451 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5452 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5453 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5454 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5455 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5456 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5457 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5458 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5463 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5464 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5465 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5466 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5467 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5468 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5469 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5470
f29b7c49
SN
54712018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5472
5473 * math/Versions (GLIBC_2.29): Add log.
5474 * math/w_log_compat.c (__log_compat): Change to versioned compat
5475 symbol.
5476 * math/w_log.c: New file.
5477 * sysdeps/i386/fpu/w_log.c: New file.
5478 * sysdeps/ia64/fpu/e_log.S: Update.
5479 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5480 and add necessary aliases.
5481 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5482 * sysdeps/m68k/m680x0/fpu/w_log.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_log-avx.c (__ieee754_log): Rename to
5508 __log.
5509 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5510 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5511 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5512 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5513
c20a1056
SN
55142018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5515
5516 * math/Versions (GLIBC_2.29): Add exp and exp2.
5517 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5518 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5519 * math/w_exp_compat.c (__exp_compat): Likewise.
5520 * math/w_exp.c: New file.
5521 * math/w_exp2.c: New file.
5522 * sysdeps/i386/fpu/w_exp.c: New file.
5523 * sysdeps/i386/fpu/w_exp2.c: New file.
5524 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5525 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5526 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5527 and add necessary aliases.
5528 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5529 and add necessary aliases.
5530 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5531 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5532 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5533 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5534 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5535 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5537 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5538 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5539 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5540 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5541 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5542 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5543 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5544 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5546 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5551 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5552 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5553 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5554 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5555 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5556 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5557 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5559 (__ieee754_exp): Rename to __exp.
5560 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5561 (__ieee754_exp): Rename to __exp.
5562 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5563 (__ieee754_exp): Rename to __exp.
5564 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5565 __exp.
5566 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5567
bcdaad21
DD
55682018-11-20 DJ Delorie <dj@redhat.com>
5569
5570 * malloc/malloc.c (tcache_entry): Add key field.
5571 (tcache_put): Set it.
5572 (tcache_get): Likewise.
5573 (_int_free): Check for double free in tcache.
5574 * malloc/tst-tcfree1.c: New.
5575 * malloc/tst-tcfree2.c: New.
5576 * malloc/Makefile: Run the new tests.
5577 * manual/probes.texi: Document memory_tcache_double_free probe.
5578
5579 * dlfcn/dlerror.c (check_free): Prevent double frees.
5580
5770c0ad
WD
55812018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5582
5583 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5584
9a62a939
JM
55852018-11-20 Joseph Myers <joseph@codesourcery.com>
5586
5587 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5588 in tests. Use names for format arguments.
5589 (ConstantTest.run): Likewise.
5590 (SymbolTest.run): Likewise.
5591 (TypeTest.run): Likewise.
5592 (TagTest.run): Likewise.
5593 (FunctionTest.run): Likewise.
5594 (VariableTest.run): Likewise.
5595 (MacroFunctionTest.run): Likewise.
5596 (MacroStrTest.run): Likewise.
5597 (HeaderTests.__init__): Set self.num_tests.
5598 (HeaderTests.handle_test_line): Set test.num. Increment
5599 self.num_tests.
5600
b15b1a95
ST
56012018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5602
5603 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5604 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5605 SEEK_SET.
5606
0c7f97ae
MH
56072018-11-19 Mao Han <han_mao@c-sky.com>
5608
5609 * scripts/config.guess: Update to version 2018-08-29.
5610 * scripts/config.sub: Update to version 2018-08-29.
5611
35e3fbc4
FW
56122018-11-19 Florian Weimer <fweimer@redhat.com>
5613
5614 support: Print timestamps in timeout handler.
5615 * support/support_test_main.c (print_timestamp): New function.
5616 (signal_handler): Use it to print the termination time and the
5617 time of the last write to standard output.
5618
c75772e3
ZW
56192018-11-16 Zack Weinberg <zackw@panix.com>
5620 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5621
5622 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5623 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5624 argument.
5625 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5626 and add flags argument. Check flags instead of __ldbl_is_dbl when
5627 deciding whether to set is_long_double.
5628 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5629 passing zero for flags argument.
5630 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5631
5632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5633 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5634 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5635 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5636 variable names. Remove libc_hidden_def/libc_hidden_proto from
5637 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5638 longer called from within the library.
5639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5640 for __nldbl___vstrfmon_l, declare it explicitly.
5641
5642 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5643
346ef23f
ST
56442018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5645
5646 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5647 macros
5648 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5649 F_SETLK64, F_SETLKW64, respectively.
5650 * sysdeps/mach/hurd/f_setlk.c: New file.
5651 * sysdeps/mach/hurd/f_setlk.h: New file.
5652 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5653 f_setlk.
5654 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5655 (__libc_fcntl): Move non-flock operations to...
5656 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5657 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5658
de20b81a
PE
56592018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5660
5d8af156
PE
5661 mktime: DEBUG_MKTIME cleanup
5662 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5663 And it’s no longer needed now that glibc and Gnulib both have
5664 their own testing mechanisms for mktime.
5665 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5666
86aece3b
PE
5667 mktime: fix non-EOVERFLOW errno handling
5668 [BZ#23789]
5669 mktime was not properly reporting failures when the underlying
5670 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5671 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5672 The problem could happen on non-glibc platforms, with Gnulib.
5673 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5674 (tm_diff): ... this simpler function, which does not change errno.
5675 All callers changed to deal with errno themselves.
5676 (ranged_convert, __mktime_internal): Return failure immediately if
5677 the underlying function reports any failure other than EOVERFLOW.
5678 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5679 gap code fails.
5680
f6b3331b
PE
5681 mktime: fix bug with Y2038 DST transition
5682 [BZ#23789]
5683 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5684 mishandle a DST transition that jumps over the Y2038 boundary.
5685 No such DST transitions are known so this is only a theoretical
5686 bug, but we might as well do things right.
5687
efbdddc3
PE
5688 mktime: make more room for overflow
5689 [BZ#23789]
5690 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5691 This is so that we can add tm_diff results to a previous guess,
5692 which will be useful in a later patch.
5693
6c90d759
PE
5694 mktime: simplify offset guess
5695 [BZ#23789]
5696 * time/mktime.c (__mktime_internal): Omit excess precision.
5697
32c12f3f
PE
5698 mktime: new test for mktime failure
5699 [BZ#23789]
5700 Based on a test suggested by Albert Aribaud in:
5701 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5702 * time/Makefile (tests): Add bug-mktime4.
5703 * time/bug-mktime4.c: New file.
5704
de20b81a
PE
5705 mktime: fix EOVERFLOW bug
5706 [BZ#23789]
5707 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5708 Include libc-config.h, not config.h, for __set_errno.
5709 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5710
8c6c3fb0
ST
57112018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5712
5713 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5714 __attribute_copy__ to copy attributes from name. Drop static qualifier
5715 to avoid warnings about leaf attribute not having effect on static
5716 functions.
5717
6923f6db
FW
57182018-11-13 Florian Weimer <fweimer@redhat.com>
5719
5720 * malloc/malloc.c (fastbin_push_entry): New function.
5721 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5722 (REMOVE_FB): Remove macro.
5723 (_int_malloc): Use fastbin_pop_entry and reindent.
5724 (_int_free): Use fastbin_push_entry.
5725 (malloc_consolidate): Use atomic_exchange_acquire.
5726
53f5c659
JM
57272018-11-13 Joseph Myers <joseph@codesourcery.com>
5728
0c096dcf
JM
5729 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5730 alias attribute, not with strong_alias.
5731
9c4b457e
JM
5732 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5733 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5734 with additional parameter thread.
5735 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5736 in terms of __hidden_ver2.
5737 (hidden_tls_def): New macro.
5738 (libc_hidden_tls_def): Likewise.
5739 (rtld_hidden_tls_def): Likewise.
5740 (libm_hidden_tls_def): Likewise.
5741 (libmvec_hidden_tls_def): Likewise.
5742 (libresolv_hidden_tls_def): Likewise.
5743 (librt_hidden_tls_def): Likewise.
5744 (libdl_hidden_tls_def): Likewise.
5745 (libnss_files_hidden_tls_def): Likewise.
5746 (libnsl_hidden_tls_def): Likewise.
5747 (libnss_nisplus_hidden_tls_def): Likewise.
5748 (libutil_hidden_tls_def): Likewise.
5749 (libutil_hidden_tls_def): Likweise.
5750 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5751 libc_hidden_tls_def.
5752 (__sim_disabled_exceptions_thread): Likewise.
5753 (__sim_round_mode_thread): Likewise.
5754
53f5c659
JM
5755 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5756 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5757 copy attributes from name.
5758
092dfde6
JM
57592018-11-12 Joseph Myers <joseph@codesourcery.com>
5760
f578f97b
JM
5761 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5762 Use __attribute_copy__ to copy attributes from name.
5763
9a7c643a
JM
5764 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5765 with __hidden_ver1 call.
5766 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5767 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5768 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5769 (__cosf): Do not declare here.
5770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5771 (__sincosf): Do not declare here.
5772 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5773 (__sinf): Do not declare here.
5774
092dfde6
JM
5775 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5776 (__BIG_ENDIAN): Likewise.
5777 (__BYTE_ORDER): Likewise.
5778 (strong_alias): Likewise.
5779 (_strong_alias): Likewise.
5780
1ecba1fa
FW
57812018-11-12 Florian Weimer <fweimer@redhat.com>
5782
5783 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5784 function. Move after the definition of in_smallbin_range. Do not
5785 use __builtin_expect for paths that lead to a noreturn function.
5786 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5787 because it is unclear whether this is in fact an unlikely
5788 condition.
5789 (_int_malloc, _int_free): Adjust.
5790 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5791 variables.
5792 * malloc/arena.c (heap_trim): Likewise.
5793
434c34bd
ST
57942018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5795
5796 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5797 it, free it if needed.
5798 (reauthenticate): Test and use ccwdir.
5799 (child_init_port): In non-resetids case, test and use ccwdir.
5800 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
5801 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5802 * hurd/hurd/port.h (_hurd_port_move): New function.
5803 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5804 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
5805 * hurd/Versions (_hurd_port_move): Export function.
5806 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5807 symbol.
58bb655a
ST
5808 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5809 of dtablesize for allocating dtable_cloexec.
434c34bd 5810
1626a1cf
MS
58112018-11-09 Martin Sebor <msebor@redhat.com>
5812
5813 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5814 it's already defined.
5815 (_strong_alias): Use __attribute_copy__.
5816 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5817 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5818 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5819 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5820 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5821 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5822 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5823 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5824 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5825 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5826 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5827 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5828 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5829 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5830 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5831 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5832 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5833 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5834 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5835
968ed530
GG
58362018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5837
5838 * misc/tst-efgcvt.c: Include support/check.h and
5839 support/test-driver.c. Do not include test-skeleton.c.
5840 (error_count): Remove.
5841 (output_error): Replace increments to error_count with calls to
5842 support_record_failure.
5843 (output_r_error): Likewise.
5844 (special): Likewise.
5845 (do_test): Unconditionally return zero.
5846 (TEST_FUNCTION): Remove.
5847
c3ec0972
JM
58482018-11-09 Joseph Myers <joseph@codesourcery.com>
5849
91faaa93
JM
5850 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5851 not $(@D)/scratch.
5852 ($(linknamespace-header-tests)): Likewise.
5853
c3ec0972
JM
5854 * conform/conformtest.py: New file.
5855 * conform/conformtest.pl: Remove.
5856 * conform/GlibcConform.pm: Likewise.
5857 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5858 (KEYWORDS_C99): Likewise.
5859 (KEYWORDS): Likewise.
5860 * conform/Makefile ($(conformtest-header-tests)): Use
5861 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5862 option. Use --header instead of --headers.
5863 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5864 function entries.
5865 * conform/data/spawn.h-data: Likewise.
5866 * conform/data/fcntl.h-data (openat): Add space after function
5867 name.
5868 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5869 (wcscasecmp_l): Likewise.
5870 * conform/data/termios.h-data (c_cc): Add space after element
5871 name.
5872
43257c33
GG
58732018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5874
5875 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5876 instead of manually comparing and reporting mismatching strings.
5877 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5878 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5879
e5de3b5b
JM
58802018-11-08 Joseph Myers <joseph@codesourcery.com>
5881
5882 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5883 __ASSUME_SOCKETCALL.
5884 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5885 (__ASSUME_SOCKETCALL): Remove.
5886 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5887 (__ASSUME_SOCKETCALL): Likewise.
5888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5889 (__ASSUME_SOCKETCALL): Likewise.
5890 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5891 (__ASSUME_SOCKETCALL): Likewise.
5892 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5893 (__ASSUME_SOCKETCALL): Likewise.
5894 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5895 (__ASSUME_SOCKETCALL): Likewise.
5896 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5897 (__ASSUME_SOCKETCALL): Likewise.
5898
d524fa6c
L
58992018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5900
5901 [BZ #23509]
5902 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5903 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5904 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5905 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5906 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5907 lc_unknown.
5908
ac806026
AH
59092018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5910
5911 [BZ #17630]
5912 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5913
596cc360
JM
59142018-11-07 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #23867]
5917 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5918 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5919 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5920 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5921
00c86a37
AZ
59222018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5923
5924 * support/support_test_compare_string.c
5925 (support_test_compare_string): Fix printf format.
5926
1df872fd
FW
59272018-11-07 Florian Weimer <fweimer@redhat.com>
5928
5929 Implement TEST_COMPARE_STRING.
5930 * support/check.h (TEST_COMPARE_STRING): Define.
5931 (support_test_compare_string): Declare.
5932 * support/Makefile (libsupport-routines): Add
5933 support_test_compare_string.
5934 (tests): Add tst-test_compare_string.
5935 * support/support_test_compare_string.c: New file.
5936 * support/tst-test_compare_string.c: Likewise.
5937
295132ff
AS
59382018-11-07 Andreas Schwab <schwab@suse.de>
5939
5940 [BZ #23864]
5941 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5942 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5943 Undef.
5944
e143ceba
JM
59452018-11-06 Joseph Myers <joseph@codesourcery.com>
5946
5947 [BZ #23862]
5948 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5949 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5950 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5951 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5952 Likewise.
5953
4a938cb2
FW
59542018-11-06 Florian Weimer <fweimer@redhat.com>
5955
5956 [BZ #17405]
5957 * posix/Makefile (routines): Add spawn_faction_addchdir.
5958 (tests): Add tst-spawn-chdir.
5959 * posix/Versions (GLIBC_2.29): Add
5960 posix_spawn_file_actions_addchdir_np.
5961 * posix/spawn_faction_addchdir.c: New file.
5962 * posix/spawn_faction_destroy.c
5963 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5964 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5965 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5966 chdir_action.
5967 * posix/tst-spawn-chdir.c: New file.
5968 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5969 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5970 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5971 posix_spawn_file_actions_addchdir_np.
5972 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5973 Likewise.
5974 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5975 Likewise.
5976 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5977 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5978 Likewise.
5979 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5980 Likewise.
5981 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5982 Likewise.
5983 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5984 Likewise.
5985 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5986 Likewise.
5987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5988 Likewise.
5989 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5990 (GLIBC_2.29): Likewise.
5991 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5992 (GLIBC_2.29): Likewise.
5993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5994 (GLIBC_2.29): Likewise.
5995 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5996 (GLIBC_2.29): Likewise.
5997 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6000 (GLIBC_2.29): Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6002 (GLIBC_2.29): Likewise.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6004 (GLIBC_2.29): Likewise.
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6006 (GLIBC_2.29): Likewise.
6007 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6008 Likewise.
6009 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6010 Likewise.
6011 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6012 Likewise.
6013 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6014 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6015 Likewise.
6016 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6017 Likewise.
6018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6019 Likewise.
6020 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6021 Likewise.
6022
7597b0c7
GG
60232018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6024
6025 * misc/Makefile (tests): Add tst-ldbl-error.
6026 * misc/tst-ldbl-error.c: New file.
6027
9771e6cb
GG
60282018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6029
6030 * misc/Makefile (tests): Add tst-ldbl-warn.
6031 * misc/tst-ldbl-warn.c: New file.
6032
2c03961f
GG
60332018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6034
6035 * argp/Makefile (tests): Add tst-ldbl-argp.
6036 * argp/tst-ldbl-argp.c: New file.
6037
6d6ee046
AS
60382018-11-05 Arjun Shankar <arjun@redhat.com>
6039
6040 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6041 __gconv_path_elem and call __gconv_get_path unconditionally.
6042
bd3b0fba
AS
60432018-11-05 Andreas Schwab <schwab@suse.de>
6044
6045 [BZ #22927]
6046 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6047 creating the first helper thread failed.
6048
2e96e980
ST
60492018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6050
6051 * sysdeps/mach/hurd/msync.c: New file.
6052
6e36266c
FW
60532018-11-02 Florian Weimer <fweimer@redhat.com>
6054
6055 * support/shell-container.c (copy_func): Call
6056 support_copy_file_range instead of copy_file_range to support
6057 cross-device copies.
6058
599f7bee
FW
60592018-11-02 Florian Weimer <fweimer@redhat.com>
6060
6061 * support/test-container.c: Include <libc-pointer-arith.h> for
6062 ALIGN_UP.
6063
ff48ea67
ZL
60642018-11-01 Zong Li <zong@andestech.com>
6065
af1d5782
ZL
6066 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6067 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6068 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6069 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6070
ff48ea67
ZL
6071 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6072 variable to avoid overlap arguments.
6073
daea71c2
JM
60742018-11-01 Joseph Myers <joseph@codesourcery.com>
6075
eac4405a
JM
6076 * posix/bug-regex22.c (main): Use puts with distinct error
6077 messages for unexpected success of re_compile_pattern, not printf
6078 with NULL argument to %s.
6079
6f30e59f
JM
6080 * stdio-common/bug22.c: Include <libc-diag.h>.
6081 (do_test): Disable -Wformat-overflow= warnings around fprintf
6082 calls outputting more than INT_MAX characters.
6083 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6084 around printf call with NULL %s argument.
6085
daea71c2
JM
6086 [BZ #23848]
6087 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6088 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6089 Undefine.
6090 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6091 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6092 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6093 (__ASSUME_SENDTO_SYSCALL): Likewise.
6094 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6095 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6096 [!__arch64__].
6097 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6098 (__ASSUME_CONNECT_SYSCALL): Likewise.
6099 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6100 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6101 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6102 Define.
6103 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6104 Likewise.
6105 [__LINUX_KERNEL_VERSION >= 0x040400]
6106 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6108 Remove.
6109 (listen): Likewise.
6110 (setsockopt): Likewise.
6111
8e3c00db
FN
61122018-11-01 Fredrik Noring <noring@nocrew.org>
6113
6114 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6115 with the ISA override.
6116
9c3dbdbe
RAE
61172018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6118
6119 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6120 #endif.
6121
e3a88b3e
ST
61222018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6123
a67377e7 6124 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 6125 translate the error message.
a67377e7
ST
6126 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6127 printing trailing whitespaces refused by git.
6128 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6129 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 6130 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 6131
3ca235ed
JM
61322018-10-30 Joseph Myers <joseph@codesourcery.com>
6133
6134 * conform/linknamespace.py: New file.
6135 * conform/linknamespace.pl: Remove file.
6136 * conform/Makefile ($(linknamespace-header-tests)): Use
6137 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6138 option.
6139
60708030
FW
61402018-10-30 Florian Weimer <fweimer@redhat.com>
6141
6142 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6143 memory leaks.
6144
a91e9301
FW
61452018-10-30 Florian Weimer <fweimer@redhat.com>
6146
6147 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6148
07da99aa
FW
61492018-10-30 Florian Weimer <fweimer@redhat.com>
6150
6151 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6152 support_blob_repeat.
6153
f5e7e959
FW
61542018-10-30 Florian Weimer <fweimer@redhat.com>
6155
6156 Avoid spurious test failures in stdlib/test-bz22786.
6157 * support/Makefile (libsupport-routines): Add blob_repeat.
6158 (tests): Add tst-support_blob_repeat.
6159 * support/blob_repeat.h: New file.
6160 * support/blob_repeat.c: Likewise.
6161 * support/tst-support_blob_repeat.c: Likewise.
6162 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6163 support_blob_repeat_allocate.
6164
2dd12baa
AS
61652018-10-30 Andreas Schwab <schwab@suse.de>
6166
6167 [BZ #23125]
6168 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6169 Don't use tail call.
6170 * elf/tst-unwind-main.c: New file.
6171 * elf/Makefile (tests): Add tst-unwind-main.
6172 (CFLAGS-tst-unwind-main.c): Define.
6173
fec8bb7c
SAA
61742018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6175
6176 [BZ #23791]
6177 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6178 n_cs_precedes to 0.
6179 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6180
c6982f7e
JM
61812018-10-29 Joseph Myers <joseph@codesourcery.com>
6182
954cf3c2
JM
6183 * conform/glibcconform.py: Do not import shutil.
6184 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6185 of mkdtemp.
6186
c6982f7e
JM
6187 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6188 critic_missing for versions before 3.4.
6189 * configure: Regenerated.
6190 * manual/install.texi (Tools for Compilation): Document
6191 requirement for Python to build glibc.
6192 * INSTALL: Regenerated.
6193 * Rules [PYTHON]: Make code unconditional.
6194 * benchtests/Makefile [PYTHON]: Likewise.
6195 * conform/Makefile [PYTHON]: Likewise.
6196 * manual/Makefile [PYTHON]: Likewise.
6197 * math/Makefile [PYTHON]: Likewise.
6198
46a7f24c
ST
61992018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6200
6201 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 6202 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 6203 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
6204 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6205 _hurd_intr_rpc_msg_about_to global point to start of controlled
6206 assembly snippet. Make it check canceled flag.
6207 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6208 the _hurd_intr_rpc_msg_about_to point.
6209 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6210 issue, remove cancel flag check.
46a7f24c 6211
e5b8756d
JM
62122018-10-26 Joseph Myers <joseph@codesourcery.com>
6213
6214 * scripts/build-many-glibcs.py: Remove compatibility for missing
6215 os.cpu_count and re.fullmatch.
6216
ba5b14c7
SN
62172018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6218
6219 [BZ #23822]
6220 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6221 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6222 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6223
fe61f17c
JM
62242018-10-25 Joseph Myers <joseph@codesourcery.com>
6225
6226 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6227 macro.
6228
7c5e34d7
FW
62292018-10-25 Florian Weimer <fweimer@redhat.com>
6230
6231 [BZ #23562]
6232 [BZ #23821]
6233 XFAIL siginfo_t si_band conform test on sparc64.
6234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6235 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6237 (conformtest-xfail-conds): Add sparc64-linux.
6238 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6239 sparc64.
6240 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6241
5b784e88
JM
62422018-10-25 Joseph Myers <joseph@codesourcery.com>
6243
6244 * elf/elf.h (NT_MIPS_DSP): New macro.
6245 (NT_MIPS_FP_MODE): Likewise.
6246
41432ebe
ZL
62472018-10-25 Zong Li <zong@andestech.com>
6248
6249 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6250 name by adding the file extension (.so).
6251
d026efea
ST
62522018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6253
6254 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6255 (test-xfail-ISO11/threads.h/linknamespace,
6256 test-xfail-ISO11/threads.h/conform): Add.
6257
b71ac2b9
JM
62582018-10-24 Joseph Myers <joseph@codesourcery.com>
6259
6260 * math/gen-libm-test.py: Import os.
6261 (ALL_FLOATS_MANUAL): New constant.
6262 (ALL_FLOATS_SUFFIX): Likewise.
6263 (Ulps.all_functions): New function.
6264 (real_all_ulps): Likewise.
6265 (generate_err_table_sub): Likewise.
6266 (generate_err_table): Likewise.
6267 (main): Handle -s and -m options.
6268 * manual/libm-err-tab.pl: Remove.
6269 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6270 instead of libm-err-tab.pl.
6271 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6272 != no].
6273 * manual/install.texi (Tools for Compilation): Document
6274 requirement for Python to build manual.
6275 * INSTALL: Regenerated.
6276
d51f99ce
AA
62772018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6278
6279 * bits/time64.h: New file.
6280 * include/time.h: Replace internal_time_t with __time64_t.
6281 * posix/bits/types (__time64_t): Add.
6282 * stdlib/Makefile: Add bits/time64.h to includes.
6283 * time/tzfile.c: Replace internal_time_t with __time64_t.
6284
97d91fcc 62852018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
6286
6287 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6288 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6289 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6290 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6291 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6292 prototype.
6293 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6294 * posix/spawn_faction_addclose.c
6295 (__posix_spawn_file_actions_addclose): Add hidden definition.
6296 * posix/spawn_faction_adddup2.c
6297 (__posix_spawn_file_actions_adddup2): Likewise.
6298 * posix/spawn_faction_destroy.c
6299 (__posix_spawn_file_actions_destroy): Likewise.
6300 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6301 Likewise.
6302 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6303 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6304 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6305 Likewise.
6306 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6307 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6308 Likewise.
6309
2954daf0
AS
63102018-10-24 Andreas Schwab <schwab@suse.de>
6311
6312 [BZ #18093]
6313 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6314 format cache.
6315 * elf/cache.c (print_cache): Likewise.
6316
a27a4f47
AA
63172018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6318
6319 * bits/timesize.h: New file.
6320 * stdlib/Makefile (headers): Add bits/timesize.h.
6321 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6322 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6323 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6324 (__SEM_PAD_AFTER_TIME): Likewise.
6325 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6326 (__SHM_PAD_AFTER_TIME): Likewise.
6327 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6328 (__MSQ_PAD_BEFORE_TIME): Likewise.
6329 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6330 (__SEM_PAD_BEFORE_TIME): Likewise.
6331 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6332 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6333 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6334 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6335 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6336 (__MSQ_PAD_BEFORE_TIME): Likewise.
6337 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6338 (__SEM_PAD_BEFORE_TIME): Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6340 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6341 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6342 (__MSQ_PAD_BEFORE_TIME): Likewise.
6343 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6344 (__SEM_PAD_BEFORE_TIME): Likewise.
6345 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6346 (__SHM_PAD_BEFORE_TIME): Likewise.
6347 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6348 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6349 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6350
7cc65773
L
63512018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6354 USE_RDTSCP is defined.
6355 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6356 USE_RDTSCP is defined.
6357
c3d8dc45
AZ
63582018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6359
18ad0de6
AZ
6360 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6361 defined.
6362
c3d8dc45
AZ
6363 [BZ #23709]
6364 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6365 independently of other flags.
6366
f1034472
FW
63672018-10-23 Florian Weimer <fweimer@redhat.com>
6368
6369 * time/tst-mktime2.c (N_STRINGS): Remove.
6370 (set_timezone): New function.
6371 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6372 (mktime_test1): Report localtime failure and check errno value.
6373 Use TEST_COMPARE.
6374 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6375 (do_test): Remove alarm call. Use set_timezone and array_length.
6376
367d7cc2
AS
63772018-10-23 Andreas Schwab <schwab@suse.de>
6378
6379 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6380 (__start_context): Use END instead of PSEUDO_END.
6381
be8ff03f
JM
63822018-10-22 Joseph Myers <joseph@codesourcery.com>
6383
029ad711
JM
6384 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6385 version to 4.19.
6386
8190520f
JM
6387 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6388 version to 4.19.
6389
be8ff03f
JM
6390 [BZ #23793]
6391 * wcsmbs/c32rtomb.c: New file.
6392 * wcsmbs/mbrtoc32.c: Likewise.
6393 * wcsmbs/tst-c32-state.c: Likewise.
6394 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6395 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6396 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6397 (tests): Add tst-c32-state.
6398 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6399 $(gen-locales).
6400
2dd8e58c
L
64012018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6402
6403 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6404 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6405
d0a74159
JM
64062018-10-19 Joseph Myers <joseph@codesourcery.com>
6407
6408 [BZ #23794]
6409 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6410 pair and return 0 in that case, and use saved character to
6411 interpret following character.
6412 * wcsmbs/tst-c16-surrogate.c: New file.
6413 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6414 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6415 Depend on $(gen-locales)
6416
f997b4be
IYM
64172018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6418
6419 [BZ #23562]
6420 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6421 (struct siginfo_t): Use correct type for si_band.
6422
53b2bb87
FW
64232018-10-19 Florian Weimer <fweimer@redhat.com>
6424
6425 [BZ #23689]
6426 * resource/bits/types/struct_rusage.h (struct rusage): Update
6427 comment on struct. Remove extraneous field comment.
6428
0a271c8f
DM
64292018-10-18 David S. Miller <davem@davemloft.net>
6430
94a3a27f
DM
6431 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6432 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6433 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6434 sysdep_routines in subdir elf.
6435 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6436 version for __vdso_clock_gettime.
6437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6438 Define.
6439 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6440 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6441
0a271c8f
DM
6442 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6443
72771e53
L
64442018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 * sysdeps/i386/init-arch.h: Removed.
6447 * sysdeps/i386/i586/init-arch.h: Likewise.
6448 * sysdeps/i386/i686/init-arch.h: Likewise.
6449 * sysdeps/i386/i686/hp-timing.h: Likewise.
6450 * sysdeps/x86_64/hp-timing.h: Likewise.
6451 * sysdeps/i386/isa.h: New file.
6452 * sysdeps/i386/i586/isa.h: Likewise.
6453 * sysdeps/i386/i686/isa.h: Likewise.
6454 * sysdeps/x86_64/isa.h: Likewise.
6455 * sysdeps/x86/hp-timing.h: New file.
6456 * sysdeps/x86/init-arch.h: Include <isa.h>.
6457
c2b7ccad
JM
64582018-10-17 Joseph Myers <joseph@codesourcery.com>
6459
6460 * math/libm-test-pow.inc (pow_test_data): Do not allow
6461 divide-by-zero exception for pow(+/- 0, -Inf).
6462
26756e57
ZW
64632018-10-17 Zack Weinberg <zackw@panix.com>
6464
6465 * manual/job.texi (Job Control is Optional): Remove node, as
6466 job control has not been optional in quite some time.
6467 (Job Control): Mention briefly that systems older than
6468 POSIX.1-2001 might not support job control.
6469 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6470 defined on systems conforming to POSIX.1-2001.
6471
c5288d37
AS
64722018-10-17 Arjun Shankar <arjun@redhat.com>
6473
6474 [BZ #22062]
6475 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6476 indentation.
6477 * (__gconv_read_conf): Mark function static.
6478 * (once): New static variable.
6479 * (__gconv_load_conf): New function.
6480 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6481 * iconv/gconv_db.c (once): Remove static variable.
6482 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6483 __gconv_read_conf.
6484 * (__gconv_find_transform): Likewise.
6485 * iconv/tst-iconv-mt.c: New test.
6486 * iconv/Makefile: Add tst-iconv_mt.
6487
8c8d2a8a
JM
64882018-10-17 Joseph Myers <joseph@codesourcery.com>
6489
6490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6491 bits/shm-pad.h.
6492 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6493 (shmatt_t): Define as __syscall_ulong_t.
6494 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6495 and [__SHM_PAD_AFTER_TIME].
6496 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6497 Define shm_segsz and associated padding based on
6498 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6499 Use __syscall_ulong_t instead of unsigned long int.
6500 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6501 unsigned long int.
6502 [__USE_MISC] (struct shm_info): Likewise.
6503 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6504 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6505 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6506 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6508 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6509 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6510 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6511 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6512 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6513 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6514
6515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6516 bits/shmlba.h.
6517 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6518 (SHMLBA): Remove macro.
6519 (__getpagesize): Remove function declaration.
6520 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6521 <bits/shmlba.h>.
6522 (SHMLBA): Remove macro.
6523 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6524 <bits/shmlba.h>.
6525 (SHMLBA): Remove macro.
6526 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6527 <bits/shmlba.h>.
6528 (SHMLBA): Remove macro.
6529 (__getpagesize): Remove function declaration.
6530 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6531 <bits/shmlba.h>.
6532 (SHMLBA): Remove macro.
6533 (__getshmlba): Remove function declaration.
6534 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6535 (SHMLBA): Remove macro.
6536 (__getpagesize): Remove function declaration.
6537 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6538 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6539 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6540 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6541 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6542 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6543 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6544 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6545 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6546 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6547
403b4feb
SL
65482018-10-17 Stefan Liebler <stli@linux.ibm.com>
6549
6550 [BZ #23275]
6551 * nptl/tst-mutex10.c: New File.
6552 * nptl/Makefile (tests): Add tst-mutex10.
6553 (tst-mutex10-ENV): New variable.
6554 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6555 Ensure that elision path is used if elision is available.
6556 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6559 Likewise.
6560 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6561 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6562 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6563 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6564 Likewise.
6565 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6566 (__pthread_mutex_cond_lock_adjust): Likewise.
6567 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6568 Likewise.
6569 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6570 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6571 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6572 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6573 Add comments.
6574 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6575 Use atomic_load_relaxed and atomic_store_relaxed.
6576 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6577 Use atomic_store_relaxed.
6578
ce5a7de6
AS
65792018-10-17 Andreas Schwab <schwab@suse.de>
6580
6581 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6582 * crypt/badsalttest.c (TIMEOUT): Likewise.
6583 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6584 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6585 * io/test-lfs.c (TIMEOUT): Likewise.
6586 * libio/tst-atime.c (TIMEOUT): Likewise.
6587 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6588 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6589 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6590 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6591 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6592 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6593 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6594 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6595 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6596 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6597 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6598 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6599 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6600 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6601 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6602 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6603 * nptl/tst-once2.c (TIMEOUT): Likewise.
6604 * nptl/tst-once3.c (TIMEOUT): Likewise.
6605 * nptl/tst-once4.c (TIMEOUT): Likewise.
6606 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6607 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6608 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6609 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6610 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6611 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6612 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6613 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6614 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6615 * posix/tst-chmod.c (TIMEOUT): Likewise.
6616 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6617 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6618 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6619 * posix/tst-regex2.c (TIMEOUT): Likewise.
6620 * posix/tst-waitid.c (TIMEOUT): Likewise.
6621 * rt/tst-aio.c (TIMEOUT): Likewise.
6622 * rt/tst-aio10.c (TIMEOUT): Likewise.
6623 * rt/tst-aio4.c (TIMEOUT): Likewise.
6624 * rt/tst-aio5.c (TIMEOUT): Likewise.
6625 * rt/tst-aio6.c (TIMEOUT): Likewise.
6626 * rt/tst-aio64.c (TIMEOUT): Likewise.
6627 * rt/tst-aio7.c (TIMEOUT): Likewise.
6628 * rt/tst-aio9.c (TIMEOUT): Likewise.
6629 * rt/tst-clock.c (TIMEOUT): Likewise.
6630 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6631 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6632 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6633 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6634 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6635 * rt/tst-timer4.c (TIMEOUT): Likewise.
6636 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6637 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6638 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6639 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6640 * time/tst-ftime.c (TIMEOUT): Likewise.
6641 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6642
75c1aee5
AY
66432018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6644
6645 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6646 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6647 for thunderX2.
6648
bcdb1bfa
JM
66492018-10-15 Joseph Myers <joseph@codesourcery.com>
6650
6651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6652 bits/sem-pad.h.
6653 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6654 instead of <bits/wordsize.h>.
6655 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6656 and [__SEM_PAD_AFTER_TIME].
6657 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6658 __syscall_ulong_t instead of unsigned long int.
6659 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6660 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6661 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6662 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6663 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6664 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6665 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6666 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6667 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6668 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6669 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6670
f4efbdfb
PE
66712018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6672
620a5d4c
PE
6673 regex: simplify by using intprops.h
6674 [BZ#23744]
6675 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6676 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6677 intprops.h defines them.
6678
f4efbdfb
PE
6679 regex: __builtin_expect → __glibc_unlikely
6680 [BZ#23744]
6681 This refactoring was prompted by a problem when the regex code is
6682 used as part of Gnulib and when the builder’s compiler does not grok
6683 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6684 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6685 Although this refactoring does not fix the problem directly,
6686 we might as well have Gawk use the now-preferred glibc style for when
6687 __builtin_expect is unavailable.
6688 * posix/regex_internal.h (BE): Remove.
6689 All uses replaced by __glibc_unlikely or __glibc_likely.
6690
9f9feb6d
JM
66912018-10-11 Joseph Myers <joseph@codesourcery.com>
6692
6693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6694 bits/msq-pad.h.
6695 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6696 instead of <bits/wordsize.h>.
6697 (msgqnum_t): Define as __syscall_ulong_t.
6698 (msglen_t): Likewise.
6699 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6700 and [__MSQ_PAD_AFTER_TIME].
6701 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6702 __syscall_ulong_t instead of unsigned long int.
6703 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6704 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6705 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6706 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6708 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6709 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6710 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6711 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6712 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6713 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6714
b9c0f6c1
JM
67152018-10-10 Joseph Myers <joseph@codesourcery.com>
6716
2a4b25fa
JM
6717 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6718 (struct shmid_ds): Condition padding after time fields on
6719 [__WORDSIZE == 32].
6720 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6721 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6722 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6723
19e62f26
JM
6724 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6725 (struct semid_ds): Condition padding after time fields on
6726 [__WORDSIZE == 32].
6727 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6728 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6729 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6730 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6731
b9c0f6c1
JM
6732 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6733 (struct msqid_ds): Condition padding after time fields on
6734 [__WORDSIZE == 32].
6735 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6736 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6737 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6738 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6739
97785a61
SN
67402018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6741
6742 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6743
ed643089
SN
67442018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6745
6746 * libio/tst-readline.c (TIMEOUT): Define.
6747
5a580643
PE
67482018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6749
6750 mktime fix for Gnulib + coreutils
6751 [BZ#23745]
6752 This fix affects only Gnulib. Problem discovered when
6753 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6754 * time/mktime.c:
6755 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6756 Do not define since it is not used. Defining an unused static
6757 function prompts a warning from GCC when Coreutils is configured
6758 with --enable-gcc-warnings.
6759
c892ae04
LS
67602018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6761
6762 * benchtests/scripts/compare_bench.py (main): set float type on
6763 threshold argument.
6764
a68ec8ea
RL
67652018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6766
6767 [BZ #23740]
6768 * localedata/locales/kl_GL (mon): Update, the relative case.
6769 (alt_mon): Add, fill with month names in the nominative case.
6770 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6771 (d_fmt): Set to "%b %d %Y".
6772
a1987621
JM
67732018-10-04 Joseph Myers <joseph@codesourcery.com>
6774
47c49251
JM
6775 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6776 <bits/mman-linux.h>.
6777 (PROT_READ): Don't define here.
6778 (PROT_WRITE): Likewise.
6779 (PROT_EXEC): Likewise.
6780 (PROT_NONE): Likewise.
6781 (PROT_GROWSDOWN): Likewise.
6782 (PROT_GROWSUP): Likewise.
6783 (MAP_SHARED): Likewise.
6784 (MAP_PRIVATE): Likewise.
6785 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6786 [__USE_MISC] (MAP_FILE): Likewise.
6787 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6788 [__USE_MISC] (MAP_ANON): Likewise.
6789 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6790 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6791 (MCL_CURRENT): Likewise.
6792 (MCL_FUTURE): Likewise.
6793 (MCL_ONFAULT): Likewise.
6794 [__USE_MISC] (MADV_NORMAL): Likewise.
6795 [__USE_MISC] (MADV_RANDOM): Likewise.
6796 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6797 [__USE_MISC] (MADV_WILLNEED): Likewise.
6798 [__USE_MISC] (MADV_DONTNEED): Likewise.
6799 [__USE_MISC] (MADV_FREE): Likewise.
6800 [__USE_MISC] (MADV_REMOVE): Likewise.
6801 [__USE_MISC] (MADV_DONTFORK): Likewise.
6802 [__USE_MISC] (MADV_DOFORK): Likewise.
6803 [__USE_MISC] (MADV_HWPOISON): Likewise.
6804 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6805 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6806 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6807 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6808 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6809 (__MAP_ANONYMOUS): New macro.
6810 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6811 <bits/mman-linux.h> inclusion.
6812 (MAP_FIXED): Likewise.
6813 (MS_SYNC): Likewise.
6814 (MS_ASYNC): Likewise.
6815 (MS_INVALIDATE): Likewise.
6816 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6817 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6818 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6819 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6820 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6821 [__USE_MISC] (MADV_DODUMP): Likewise.
6822 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6823 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6824
a1987621
JM
6825 [BZ #23735]
6826 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6827 Define.
6828 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6829 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6830 Add test-nldbl-redirect.
6831 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6832 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6833 $(objpfx)libnldbl_nonshared.a.
6834
e7624d70
SL
68352018-10-04 Stefan Liebler <stli@linux.ibm.com>
6836
6837 * support/support.h (support_objdir_elf_ldso): New variable.
6838 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6839 * support/Makefile (CFLAGS-support_paths.c): Add definition
6840 for OBJDIR_ELF_LDSO_PATH.
6841 * support/test-container.c (main): Search for the ld.so
6842 which is also used by the testsuite.
6843
dae3ed95
RL
68442018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6845
6846 [BZ #20209]
6847 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6848 should be "sap" rather than "sab".
6849 (day): Fix spelling of Sunday, should be "sapaat" rather than
6850 "sabaat".
6851
f346b5b3
JM
68522018-10-02 Joseph Myers <joseph@codesourcery.com>
6853
6854 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6855
4a06ceea
MJ
68562018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6857
6858 [BZ #19444]
6859 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6860 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6861 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6862
a06fc4a5
AZ
68632018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6864
6865 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6866
a1ccc065
L
68672018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6868
6869 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6870 Add -mrtm.
6871 (CFLAGS-elision-unlock.c): Likewise.
6872 (CFLAGS-elision-timed.c): Likewise.
6873 (CFLAGS-elision-trylock.c): Likewise.
6874 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6875
0b727ed4
AZ
68762018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6877
6878 [BZ #21037]
6879 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6880 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6881 new fd_to_filename interface.
6882 * libio/freopen64.c (freopen64): Likewise.
6883 * libio/tst-memstream.h: New file.
6884 * libio/tst-memstream4.c: Likewise.
6885 * libio/tst-wmemstream4.c: Likewise.
6886 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6887 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6888 and remove internal dynamic allocation.
6889
d0e91e8c
JM
68902018-10-01 Joseph Myers <joseph@codesourcery.com>
6891
6892 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6893 (MREMAP_MAYMOVE): Do not define here.
6894 [__USE_GNU] (MREMAP_FIXED): Likewise.
6895 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6896 (MREMAP_MAYMOVE): Define here instead.
6897 [__USE_GNU] (MREMAP_FIXED): Likewise.
6898 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6899 (MREMAP_MAYMOVE): Remove.
6900 [__USE_GNU] (MREMAP_FIXED): Likewise.
6901
c52944e8
JM
69022018-09-28 Joseph Myers <joseph@codesourcery.com>
6903
6904 * math/fromfp.h: Do not include <math_private.h>.
6905 * math/s_cacosh_template.c: Likewise.
6906 * math/s_casin_template.c: Likewise.
6907 * math/s_casinh_template.c: Likewise.
6908 * math/s_ccos_template.c: Likewise.
6909 * math/s_cproj_template.c: Likewise.
6910 * math/s_fdim_template.c: Likewise.
6911 * math/s_fmaxmag_template.c: Likewise.
6912 * math/s_fminmag_template.c: Likewise.
6913 * math/s_iseqsig_template.c: Likewise.
6914 * math/s_ldexp_template.c: Likewise.
6915 * math/s_nextdown_template.c: Likewise.
6916 * math/w_log1p_template.c: Likewise.
6917 * math/w_scalbln_template.c: Likewise.
6918 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6919 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6920 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6921 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6922 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6923 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6924 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6925 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6926 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6927 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6928 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6929 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6930 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6931 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6932 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6933 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6934 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6936 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6939 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6940 * sysdeps/ieee754/k_standardf.c: Likewise.
6941 * sysdeps/ieee754/k_standardl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6944 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6951 * sysdeps/ieee754/s_signgam.c: Likewise.
6952 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6953 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6954 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6955 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6956 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6957 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6958 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6959 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6960 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6961 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6962 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6963 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6964 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6965 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6966 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6967 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6968 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6969 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6970 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6971 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6972 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6973 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6974 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6975 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6976 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6977 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6978 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6979 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6980 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6981 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6982 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6983 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6984 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6985 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6986 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6987 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6988 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6989 <math_private.h>.
6990 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6991
7b1f9406
L
69922018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6993
6994 [BZ #23716]
6995 * sysdeps/i386/dl-cet.c: Removed.
6996 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6997 prototype.
6998 (_dl_runtime_profile_shstk): Likewise.
6999 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7000 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7001
7a16bdbb
AZ
70022018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7003
7004 [BZ #23579]
7005 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7006 do_test_with_invalid_iov): New tests.
7007 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7008 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7009 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7010 errno is ENOSYS.
7011 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7012 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7013 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7014
9755bc46
JM
70152018-09-27 Joseph Myers <joseph@codesourcery.com>
7016
81dca813
JM
7017 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7018 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7019 (MATH_REDIRECT_BINARY_ARGS): New macro.
7020 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7021 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7022 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7023 header inclusion.
7024 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7026 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7027 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7032 Likewise.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7034 Likewise.
7035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7037 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7038 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7040 Likewise.
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7042 Likewise.
7043 * sysdeps/generic/math_private_calls.h
7044 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7045 Do not declare and define as an inline function.
7046 * math/divtc3.c (__divtc3): Use copysign functions instead of
7047 __copysign variants.
7048 * math/multc3.c (__multc3): Likewise.
7049 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7050 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7051 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7052 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7053 Likewise.
7054 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7055 (__ieee754_yn): Likewise.
7056 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7057 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7058 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7059 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7060 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7061 (__sin): Likewise.
7062 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7063 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7064 Likewise.
7065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7066 Likewise.
7067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7068 Likewise.
7069 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7070 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7071 Likewise.
7072 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7073 (__ieee754_ynf): Likewise.
7074 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7075 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7076 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7078 Likewise.
7079 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7080 (__ieee754_ynl): Likewise.
7081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7084 Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7086 (__ieee754_ynl): Likewise.
7087 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7088 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7091 Likewise.
7092 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7093 (__ieee754_ynl)
7094 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7096 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7097 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7098 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7099
9755bc46
JM
7100 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7101 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7102 using MATH_REDIRECT.
7103 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7104 header inclusion.
7105 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7106 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7107 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7108 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7109 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7116 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7117 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7119 (round): Redirect to __round.
7120 (__roundl): Call round instead of __round.
7121 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7122 Remove macro.
7123 [_ARCH_PWR5X] (__roundf): Likewise.
7124 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7125 functions instead of __round variants.
7126 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7127 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7128 Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7130 Likewise.
7131 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7132 Likewise.
7133 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7135 __lroundl.
7136 (__ieee754_expl): Call roundl instead of __roundl.
7137
f841c97e
AS
71382018-09-27 Andreas Schwab <schwab@suse.de>
7139
7140 [BZ #23717]
7141 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7142 (do_test): Make st1 static.
7143
6ca8284e
AS
71442018-09-26 Andreas Schwab <schwab@suse.de>
7145
7146 [BZ #23707]
7147 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7148 * elf/Makefile (tests): Add tst-unwind-ctor.
7149 (modules-names): Add tst-unwind-ctor-lib.
7150 ($(objpfx)tst-unwind-ctor): Depend on
7151 $(objpfx)tst-unwind-ctor-lib.so.
7152
61d8b5fe
JM
71532018-09-26 Joseph Myers <joseph@codesourcery.com>
7154
7155 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7156 file. Most contents moved from ....
7157 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7158 and include <bits/mman-map-flags-generic.h>.
7159 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7160 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7161 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7162 <bits/mman-map-flags-generic.h>.
7163 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7164 macros defined in <bits/mman-map-flags-generic.h>.
7165 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7166 <bits/mman-map-flags-generic.h>.
7167 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7168 defined in <bits/mman-map-flags-generic.h>.
7169
46341286
AS
71702018-09-26 Andreas Schwab <schwab@suse.de>
7171
7172 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7173 output.
7174
b5c45e83
AZ
71752018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7176 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7177 Fangrui Song <maskray@google.com>
7178
7179 [BZ #20480]
7180 * config.make.in (have-textrel_ifunc): New define.
7181 * configure.ac: Add check if linker supports textrel relocation with
7182 ifunc.
7183 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7184 tst-ifunc-textrel.
7185 (CFLAGS-tst-ifunc-textrel.c): New rule.
7186 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7187 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7188 * elf/tst-ifunc-textrel.c: New file.
7189
8ea4d2b7
JM
71902018-09-25 Joseph Myers <joseph@codesourcery.com>
7191
d62f9ec0
JM
7192 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7193 <bits/procfs-prregset.h>.
7194 (prgregset_t): Define using __prgregset_t.
7195 (prfpregset_t): Define using __prfpregset_t.
7196 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7197 (sysdep_headers): Add bits/procfs-prregset.h.
7198 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7199 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7200 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7201 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7202
d0d8eb43
JM
7203 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7204 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7205 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7206 pr_uid and pr_gid.
7207 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7208 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7209 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7210 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7211 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7212 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7213 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7214 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7215 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7216 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7217 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7218 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7219 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7220 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7222 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7223 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7224 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7225 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7226 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7227 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7228 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7230 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7231
8ea4d2b7
JM
7232 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7233 AArch64 version. Include <bits/procfs.h>.
7234 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7235 (sysdep_headers): Add bits/procfs.h.
7236 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7237 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7238 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7239 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7240 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7241 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7242 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7243 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7244 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7245 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7246 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7247 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7248 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7249 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7250 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7251 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7252 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7253
c7027166
AZ
72542018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7255
7256 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7257 Use libsupport.
7258
335a3b0a
AS
72592018-09-25 Arjun Shankar <arjun@redhat.com>
7260
7261 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7262 (__gconv_max_path_elem_len): Likewise.
7263 (__gconv_nmodules): Likewise.
7264 (__gconv_get_path): Likewise.
7265 (path_elem): Move to ...
7266 * iconv/gconv_conf.c: ... here.
7267 (__gconv_get_path): Mark function static.
7268 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7269 * iconv/gconv_open.c: ... here.
7270
462d348c
AS
72712018-09-24 Andreas Schwab <schwab@suse.de>
7272
7273 * scripts/haveversions.awk: New file.
7274 * Makerules ($(common-objpfx)Versions.def)
7275 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7276 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7277 Move rules ...
7278 * Makeconfig ($(common-objpfx)Versions.def)
7279 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7280 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7281 ... here.
7282 ($(common-objpfx)Versions.mk): New rule. Include it.
7283 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7284 Emit error if build-obsolete-nsl = yes.
7285 * manual/install.texi (Configuring and compiling): Describe
7286 --enable-obsolete-nsl as unavaiable after version 2.28.
7287 * INSTALL: Regenerate.
7288
f0458cf4
AZ
72892018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7290
7291 * NEWS: Add note about new TLE support on powerpc64le.
7292 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7293 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7294 __ununsed1.
7295 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7296 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7297 * sysdeps/powerpc/powerpc32/sysdep.h,
7298 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7299 ABORT_TRANSACTION): Remove macros.
7300 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7302 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7304 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7305 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7306 usage.
7307 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7308
434d45fd
RL
73092018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7310
7311 [BZ #10425]
7312 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7313 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7314 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7315 which is the same as in it_IT.
7316 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7317 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7318
d90c9b1a
JM
73192018-09-20 Joseph Myers <joseph@codesourcery.com>
7320
7abf97be
JM
7321 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7322 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7323 using MATH_REDIRECT.
7324 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7325 header inclusion.
7326 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7328 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7330 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7336 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7337 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7338 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7339 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7340 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7341 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7342 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7344 (ceil): Redirect to __ceil.
7345 (floor): Redirect to __floor.
7346 (trunc): Redirect to __trunc.
7347 (__truncl): Call trunc instead of __trunc.
7348 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7349 Remove macro.
7350 [_ARCH_PWR5X] (__truncf): Likewise.
7351 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7352 trunc functions instead of __trunc variants.
7353 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7354 Likewise.
7355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7356 Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7358 Likewise.
7359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7360 Likewise.
7361
d90c9b1a
JM
7362 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7363 [__i586__ || __pentium__].
7364 [__i486__]: Handle explicitly.
7365 (HAS_CPUID): Define to 1 if above macros are undefined.
7366 (HAS_I586): Likewise.
7367 (HAS_I686): Likewise.
7368
db9a8ad4
FW
73692018-09-20 Florian Weimer <fweimer@redhat.com>
7370
7371 * misc/tst-gethostid.c: New file.
7372 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7373 (tst-gethostid): Link with -ldl.
7374
1214ba06
MY
73752018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7376
7377 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7378 value from gethostbyname_r.
7379
791b350d
CD
73802018-09-19 Carlos O'Donell <carlos@redhat.com>
7381
7382 * stdlib/tst-setcontext9.c (f1): Rename to...
7383 (f1a): ... this.
7384 (f1b): New function implementing lower half of f1 in alternate stack.
7385
8e6fd2bd
PE
73862018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7387
e1080e7e
PE
7388 Fix mktime localtime offset confusion
7389 [BZ #23603]
7390 * include/time.h (__mktime_internal): The localtime offset is now
7391 of type long int instead of time_t. This is the longstanding type
7392 in glibc, and it is more than enough to represent difference
7393 between localtime and gmtime even if it is 32 bits and time_t is
7394 64. Changing it now will let us avoid an unnecessary change when
7395 time_t is widened to 64 bits on 32-bit platforms.
7396 * time/mktime-internal.h (mktime_offset_t): Now long int.
7397
8e6fd2bd
PE
7398 Merge mktime, timegm from upstream Gnulib
7399 [BZ #23603][BZ #16346]
7400 This fixes some obscure problems with integer overflow.
7401 Although it looks scary, it is almost all a byte-for-byte copy
7402 from Gnulib, and the Gnulib code has been tested reasonably well.
7403 * include/intprops.h: New file, copied from Gnulib.
7404 * include/verify.h, time/mktime-internal.h:
7405 New tiny files, simplified from Gnulib.
7406 * time/mktime.c: Copy from Gnulib. This has the following changes:
7407 Do not include config.h if DEBUG_MKTIME is nonzero.
7408 Include stdbool.h, intprops.h, verify.h.
7409 Include string.h only if needed.
7410 Include stdlib.h on MS-Windows.
7411 Include mktime-internal.h.
7412 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7413 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7414 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7415 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7416 simplify later conditionals; default the others to zero. Use
7417 these conditionals to express only the code needed on the current
7418 platform. In uses of these conditionals, explicitly spell out how
7419 _LIBC affects things, so it’s easier to review from a glibc
7420 viewpoint.
7421 (WRAPV): Remove; no longer needed now that we have
7422 systematic overflow checking.
7423 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7424 compartmentalize tzset issues. Move system-dependent tzsettish
7425 code here from mktime.
7426 (verify): Remove; now done by verify.h. All uses changed.
7427 (long_int): Use a more-conservative definition, to avoid
7428 integer overflow.
7429 (SHR): Remove, replacing with ...
7430 (shr): New function, which means we needn’t worry about side
7431 effects in args, and conversion analysis is simpler.
7432 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7433 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7434 (time_t_avg, time_t_add_ok): Remove.
7435 (mktime_min, mktime_max): New constants.
7436 (leapyear, isdst_differ): Use bool for booleans.
7437 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7438 Use long_int, not time_t, for mktime differences.
7439 (long_int_avg): New function, replacing time_t_avg.
7440 INT_ADD_WRAPV replaces time_t_add_ok.
7441 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7442 All uses changed.
7443 (convert_time): New function.
7444 (ranged_convert): Use it.
7445 (__mktime_internal): Last arg now points to mktime_offset_t, not
7446 time_t. All uses changed. This is a no-op on glibc, where
7447 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7448 offset guess. Directly check for integer overflow instead of
7449 using a heuristic that works only 99.9...% of the time.
7450 Access *OFFSET only once, to avoid an unlikely race if the
7451 compiler delays a load and if this cascades into a signed integer
7452 overflow.
7453 (mktime): Move tzsettish code to my_tzset, and move
7454 localtime_offset to within mktime so that it doesn’t
7455 need a separate ifdef.
7456 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7457 instead of localtime.
7458 * time/timegm.c: Copy from Gnulib. This has the following changes:
7459 Include mktime-internal.h.
7460 [!_LIBC]: Include config.h and time.h. Do not include
7461 timegm.h or time_r.h. Make __mktime_internal a macro,
7462 and include mktime-internal.h to get its declaration.
7463 (timegm): Temporary is now mktime_offset_t, not time_t.
7464 This affects only Gnulib.
7465
83a552b0
WD
74662018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7467
7468 [BZ #23637]
7469 * string/test-strstr.c (pr23637): New function.
7470 (test_main): Add tests with longer needles.
7471 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7472 * string/strstr.c (AVAILABLE): Likewise.
7473
d7347278
SN
74742018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7475
7476 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7477
424c4f60
SN
74782018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7479
7480 * NEWS: Mention pow improvements.
7481 * math/Makefile (type-double-routines): Add e_pow_log_data.
7482 * sysdeps/generic/math_private.h (__exp1): Remove.
7483 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7484 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7485 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7486 contraction.
7487 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7488 (exp_inline): Remove.
7489 (__ieee754_exp): Only single double input is handled.
7490 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7491 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7492 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7493 (__pow_log_data): Define.
7494 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7495 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7496 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7497 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7498 contraction.
7499 (CFLAGS-e_pow-fma4.c): Likewise.
7500
e4e4fde5
PE
75012018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7502
dab9c348
PE
7503 Simplify tzfile fstat failure code
7504 [BZ #21716]
7505 * time/tzfile.c (__tzfile_read): Simplify slightly.
7506
e4e4fde5
PE
7507 Fix tzfile low-memory assertion failure
7508 [BZ #21716]
7509 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7510 when registering time zone abbreviations.
7511
50bc59ca
JM
75122018-09-18 Joseph Myers <joseph@codesourcery.com>
7513
d3a43e49
JM
7514 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7515 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7516 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7517 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7518 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7519 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7520 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7522 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7523
50bc59ca
JM
7524 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7525 __ceil.
7526 (__ceill): Call ceil instead of __ceil.
7527 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7528 __floor.
7529 (__floorl): Call floor instead of __floor.
7530
89983cb3
JM
75312018-09-17 Joseph Myers <joseph@codesourcery.com>
7532
71223ef9
JM
7533 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7534 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7535 using MATH_REDIRECT.
7536 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7537 header inclusion.
7538 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7541 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7545 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7550 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7551 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7554 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7555 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7556 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7557 Remove macro.
7558 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7559 functions instead of __ceil variants.
7560 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7561 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7562 Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7564 Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7566 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7567 Likewise.
7568 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7569 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7570
89983cb3
JM
7571 [BZ #21286]
7572 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7573 constant.
7574 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7575 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7576 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7577 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7578 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7579 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7580 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7581 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7582 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7583 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7584 (ILL_BADIADDR): Remove constant.
7585 (TRAP_BRANCH): Likewise.
7586 (TRAP_HWBKPT): Likewise.
7587
e44acb20
JM
75882018-09-14 Joseph Myers <joseph@codesourcery.com>
7589
3f7f1d18
JM
7590 [BZ #23656]
7591 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7592 Remove [_MIPS_SIM = _ABIN32] conditional case.
7593 (struct elf_prpsinfo): Likewise.
7594
d59f3e5e
JM
7595 [BZ #23649]
7596 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7597 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7598 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7599 Likewise.
7600 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7601 elf_prpsinfo): Likewise.
7602 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7603 elf_prpsinfo): Likewise.
7604 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7605 Likewise.
7606
f29b6f17
JM
7607 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7608 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7609 using MATH_REDIRECT.
7610 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7611 header inclusion.
7612 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7613 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7614 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7615 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7618 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7619 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7622 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7623 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7624 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7625 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7626 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7627 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7628 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7629 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7630 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7635 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7636 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7637 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7638 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7639 __rint variants.
7640 * math/e_scalbf.c (invalid_fn): Likewise.
7641 * math/e_scalbl.c (invalid_fn): Likewise.
7642 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7643 Likewise.
7644 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7645 Likewise.
7646 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7647 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7648 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7649 Likewise.
7650 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7651 Likewise.
7652 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7653 Likewise.
7654 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7655 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7656
e44acb20
JM
7657 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7658 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7659 New macro.
7660 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7661 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7662 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7663 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7664 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7665 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7666 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7667 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7668 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7669 && !NO_MATH_REDIRECT] (floor): Likewise.
7670 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7671 header inclusion.
7672 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7675 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7679 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7684 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7685 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7688 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7689 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7690 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7691 Remove macro.
7692 [_ARCH_PWR5X] (__floorf): Likewise.
7693 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7694 inline function.
7695 [__SSE4_1__] (__floorf): Likewise.
7696 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7697 instead of __floor variants.
7698 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7699 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7700 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7701 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7702 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7703 * math/w_tgamma_compat.c (__tgamma): Likewise.
7704 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7705 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7706 * math/w_tgammal_compat.c (__tgammal): Likewise.
7707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7709 Likewise.
7710 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7711 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7712 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7713 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7714 Likewise.
7715 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7716 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7717 Likewise.
7718 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7719 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7720 Likewise.
7721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7722 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7723 Likewise.
7724 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7725 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7726 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7727 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7728 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7729 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7730
221e4bab
JM
77312018-09-12 Joseph Myers <joseph@codesourcery.com>
7732
7733 * elf/Makefile (modules-names-tests): New variable.
7734
3e08ff54
SN
77352018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7736
7737 * NEWS: Mention log2 improvements.
7738 * math/Makefile (type-double-routines): Add e_log2_data.
7739 * sysdeps/i386/fpu/e_log2_data.c: New file.
7740 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7741 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7742 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7743 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7744 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7745 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7746
f41b0a43
SN
77472018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7748
7749 * NEWS: Mention log improvement.
7750 * math/Makefile (type-double-routines): Add e_log_data.
7751 * sysdeps/i386/fpu/e_log_data.c: New file.
7752 * sysdeps/ia64/fpu/e_log_data.c: New file.
7753 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7754 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7755 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7756 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7757 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7758 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7759
5a274db4
L
77602018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7761 Xuepeng Guo <xuepeng.guo@intel.com>
7762
7763 [BZ #23606]
7764 * sysdeps/i386/start.S: Include <sysdep.h>
7765 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7766 enabled. Add cfi_undefined (eip).
7767
b1176270
JM
77682018-09-11 Joseph Myers <joseph@codesourcery.com>
7769
4e7fbdd7
JM
7770 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7771 (MOVQ): Likewise.
7772 (EXTRACT_WORDS64): Likewise.
7773 (INSERT_WORDS64): Likewise.
7774 (GET_FLOAT_WORD): Likewise.
7775 (SET_FLOAT_WORD): Likewise.
7776
b1176270
JM
7777 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7778 argument.
7779 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7780 build, but not for second build if --full-gcc. Use
7781 --enable-languages=all for second build if --full-gcc.
7782 (get_parser): Add --full-gcc option.
7783 (main): Update call to Context.
7784
527f355e
RL
77852018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7786
7787 [BZ #10797]
7788 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7789 Single Quotation Mark).
7790 (thousands_sep): Likewise.
7791 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7792 * localedata/locales/it_IT (thousands_sep): Use ".".
7793 (grouping): Use "3;3".
7794
7244f13d
JM
77952018-09-10 Joseph Myers <joseph@codesourcery.com>
7796
7797 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7798 x86_64 and i686 configs using --enable-obsolete-rpc
7799 --enable-obsolete-nsl.
7800
38245425
SL
78012018-09-06 Stefan Liebler <stli@linux.ibm.com>
7802
7803 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7804
28669f86
SL
78052018-09-06 Stefan Liebler <stli@linux.ibm.com>
7806
7807 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7808 Increment size of new_argv by one.
7809
a33650d1
RL
78102018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7811
7812 [BZ #17426]
7813 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7814 * localedata/locales/ar_IN (d_fmt): Likewise.
7815 * localedata/locales/bhb_IN (d_fmt): Likewise.
7816 * localedata/locales/bho_IN (d_fmt): Likewise.
7817 * localedata/locales/bn_BD (d_fmt): Likewise.
7818 * localedata/locales/bn_IN (d_fmt): Likewise.
7819 * localedata/locales/doi_IN (d_fmt): Likewise.
7820 * localedata/locales/gu_IN (d_fmt): Likewise.
7821 * localedata/locales/hi_IN (d_fmt): Likewise.
7822 * localedata/locales/hne_IN (d_fmt): Likewise.
7823 * localedata/locales/kn_IN (d_fmt): Likewise.
7824 * localedata/locales/mag_IN (d_fmt): Likewise.
7825 * localedata/locales/mai_IN (d_fmt): Likewise.
7826 * localedata/locales/mjw_IN (d_fmt): Likewise.
7827 * localedata/locales/ml_IN (d_fmt): Likewise.
7828 * localedata/locales/mni_IN (d_fmt): Likewise.
7829 * localedata/locales/mr_IN (d_fmt): Likewise.
7830 * localedata/locales/pa_IN (d_fmt): Likewise.
7831 * localedata/locales/raj_IN (d_fmt): Likewise.
7832 * localedata/locales/sat_IN (d_fmt): Likewise.
7833 * localedata/locales/sd_IN (d_fmt): Likewise.
7834 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7835 * localedata/locales/ta_IN (d_fmt): Likewise.
7836 * localedata/locales/ta_LK (d_fmt): Likewise.
7837 * localedata/locales/tcy_IN (d_fmt): Likewise.
7838 * localedata/locales/ur_IN (d_fmt): Likewise.
7839
7840 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7841 * localedata/locales/ks_IN (d_fmt): Likewise.
7842 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7843
7844 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7845 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7846 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7847 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7848
d114e6a7
SN
78492018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7850
7851 * NEWS: Mention exp and exp2 improvements.
7852 * math/Makefile (libm-support): Remove t_exp.
7853 (type-double-routines): Add math_err and e_exp_data.
7854 * sysdeps/aarch64/libm-test-ulps: Update.
7855 * sysdeps/arm/libm-test-ulps: Update.
7856 * sysdeps/i386/fpu/e_exp_data.c: New file.
7857 * sysdeps/i386/fpu/math_err.c: New file.
7858 * sysdeps/i386/fpu/t_exp.c: Remove.
7859 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7860 * sysdeps/ia64/fpu/math_err.c: New file.
7861 * sysdeps/ia64/fpu/t_exp.c: Remove.
7862 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7863 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7864 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7866 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7867 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7868 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7869 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7870 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7871 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7872 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7873 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7874 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7875 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7878
b9d8c474
JM
78792018-09-05 Joseph Myers <joseph@codesourcery.com>
7880
b7cdc2ae
JM
7881 * sysdeps/alpha/fpu/math_private.h: Remove.
7882
b9d8c474
JM
7883 * sysdeps/generic/math_private.h
7884 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7885 Move this inline function ....
7886 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7887 * include/math.h [!_ISOMAC]: To here....
7888
418d99e6
JM
78892018-09-04 Joseph Myers <joseph@codesourcery.com>
7890
7891 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7892 code ....
7893 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7894 * include/fenv.h [!_ISOMAC]: ... to here.
7895 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7896 (feraiseexcept): Likewise.
7897 * math/fromfp.h: Do not include <fenv_private.h>.
7898 * math/s_cexp_template.c: Likewise.
7899 * math/s_csin_template.c: Likewise.
7900 * math/s_csinh_template.c: Likewise.
7901 * math/s_ctan_template.c: Likewise.
7902 * math/s_ctanh_template.c: Likewise.
7903 * math/s_iseqsig_template.c: Likewise.
7904 * math/w_acos_compat.c: Likewise.
7905 * math/w_acosf_compat.c: Likewise.
7906 * math/w_acosl_compat.c: Likewise.
7907 * math/w_asin_compat.c: Likewise.
7908 * math/w_asinf_compat.c: Likewise.
7909 * math/w_asinl_compat.c: Likewise.
7910 * math/w_j0_compat.c: Likewise.
7911 * math/w_j0f_compat.c: Likewise.
7912 * math/w_j0l_compat.c: Likewise.
7913 * math/w_j1_compat.c: Likewise.
7914 * math/w_j1f_compat.c: Likewise.
7915 * math/w_j1l_compat.c: Likewise.
7916 * math/w_jn_compat.c: Likewise.
7917 * math/w_jnf_compat.c: Likewise.
7918 * math/w_log10_compat.c: Likewise.
7919 * math/w_log10f_compat.c: Likewise.
7920 * math/w_log10l_compat.c: Likewise.
7921 * math/w_log2_compat.c: Likewise.
7922 * math/w_log2f_compat.c: Likewise.
7923 * math/w_log2l_compat.c: Likewise.
7924 * math/w_log_compat.c: Likewise.
7925 * math/w_logf_compat.c: Likewise.
7926 * math/w_logl_compat.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7929 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7932 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7933 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7934 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7935 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7936 * sysdeps/ieee754/k_standardl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7943 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7944 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7954 * math/w_ilogb_template.c: Include <fenv.h> instead of
7955 <fenv_private.h>.
7956 * math/w_llogb_template.c: Likewise.
7957 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7958 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7959
70e2ba33
JM
79602018-09-03 Joseph Myers <joseph@codesourcery.com>
7961
7962 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7963 * math/fromfp.h: Include <fenv_private.h>.
7964 * math/math-narrow.h: Likewise.
7965 * math/s_cexp_template.c: Likewise.
7966 * math/s_csin_template.c: Likewise.
7967 * math/s_csinh_template.c: Likewise.
7968 * math/s_ctan_template.c: Likewise.
7969 * math/s_ctanh_template.c: Likewise.
7970 * math/s_iseqsig_template.c: Likewise.
7971 * math/w_acos_compat.c: Likewise.
7972 * math/w_acosf_compat.c: Likewise.
7973 * math/w_acosl_compat.c: Likewise.
7974 * math/w_asin_compat.c: Likewise.
7975 * math/w_asinf_compat.c: Likewise.
7976 * math/w_asinl_compat.c: Likewise.
7977 * math/w_ilogb_template.c: Likewise.
7978 * math/w_j0_compat.c: Likewise.
7979 * math/w_j0f_compat.c: Likewise.
7980 * math/w_j0l_compat.c: Likewise.
7981 * math/w_j1_compat.c: Likewise.
7982 * math/w_j1f_compat.c: Likewise.
7983 * math/w_j1l_compat.c: Likewise.
7984 * math/w_jn_compat.c: Likewise.
7985 * math/w_jnf_compat.c: Likewise.
7986 * math/w_llogb_template.c: Likewise.
7987 * math/w_log10_compat.c: Likewise.
7988 * math/w_log10f_compat.c: Likewise.
7989 * math/w_log10l_compat.c: Likewise.
7990 * math/w_log2_compat.c: Likewise.
7991 * math/w_log2f_compat.c: Likewise.
7992 * math/w_log2l_compat.c: Likewise.
7993 * math/w_log_compat.c: Likewise.
7994 * math/w_logf_compat.c: Likewise.
7995 * math/w_logl_compat.c: Likewise.
7996 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7997 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7998 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7999 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8024 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8025 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8026 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8027 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8028 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8029 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8030 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8031 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8032 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8033 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8034 * sysdeps/ieee754/k_standardl.c: Likewise.
8035 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8037 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8039 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8040 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8041 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8064 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8065 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8066 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8067 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8068 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8071 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8072 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8073 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8074 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8075 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8076 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8077 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8078 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8079 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8080 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8081 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8082 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8083 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8084 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8085 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8086 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8087 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8088 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8089 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8090 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8091 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8092 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8093 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8094 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8095 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8096 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8097 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8098 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8099 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8100 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8101 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8102 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8103 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8104 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8105 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8106
a6e8926f
PP
81072018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8108
8109 [BZ #20271]
8110 * include/stdio.h (__libc_fatal): Mention newline in comment.
8111 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8112 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8114 * nss/nsswitch.c (__nss_next2): Likewise.
8115 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8116 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8117 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8118 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8119 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8120 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8121 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8122 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8123 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8124 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8125 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8126 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8127 (__netlink_assert_response): Likewise.
8128
2bbd06bc
JM
81292018-08-31 Joseph Myers <joseph@codesourcery.com>
8130
8131 * conform/glibcconform.py: New file.
8132 * conform/list-header-symbols.py: Likewise.
8133 * conform/list-header-symbols.pl: Remove.
8134 * conform/Makefile (tests-special): Only add linknamespace tests
8135 if [PYTHON].
8136 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8137
81b9d87b
L
81382018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8139
8140 [BZ #23597]
8141 * support/Makefile (libsupport-routines): Add
8142 support_copy_file_range and xcopy_file_range.
8143 * support/support.h: Include <sys/types.h>.
8144 (support_copy_file_range): New prototype.
8145 * support/support_copy_file_range.c: New file. Copied and
8146 modified from io/copy_file_range-compat.c.
8147 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8148 instead of copy_file_range.
8149 * support/xcopy_file_range.c: New file.
8150 * support/xunistd.h (xcopy_file_range): New prototype.
8151
d330f31a
CD
81522018-08-30 Carlos O'Donell <carlos@redhat.com>
8153
8154 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8155 xpthread_create and xpthread_join.
8156
2bda273a
FW
81572018-08-30 Florian Weimer <fweimer@redhat.com>
8158
8159 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8160
3bad2358
SL
81612018-08-30 Stefan Liebler <stli@linux.ibm.com>
8162
8163 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8164 if malloc fails.
8165
09c12efc
JM
81662018-08-29 Joseph Myers <joseph@codesourcery.com>
8167
8168 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8169 and minus_oflow as non-finite.
8170
ff6b2450
JM
81712018-08-28 Joseph Myers <joseph@codesourcery.com>
8172
8173 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8174 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8175 moved to fenv_private.h except for ...
8176 (TOINT_INTRINSICS): Kept in math_private.h.
8177 (roundtoint): Likewise.
8178 (converttoint): Likewise.
8179 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8180 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8181 * sysdeps/arm/math_private.h: Remove.
8182 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8183 ....
8184 * sysdeps/generic/math_private.h: ... this file. Include
8185 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8186 Include <fenv_private.h>. Remove functions and macros moved to
8187 fenv_private.h.
8188 * sysdeps/i386/fpu/math_private.h: Remove.
8189 * sysdeps/mips/math_private.h: Move to ....
8190 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8191 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8192 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8193 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8194 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8195 * sysdeps/powerpc/fpu/math_private.h: Do not include
8196 <fenv_private.h>.
8197 * sysdeps/riscv/rvf/math_private.h: Move to ....
8198 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8199 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8200 <fenv_private.h>.
8201 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8202 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8203 * sysdeps/sparc/fpu/math_private.h: Remove.
8204 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8205 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8206 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8207 <fenv_private.h>.
8208 * sysdeps/x86_64/fpu/math_private.h: Do not include
8209 <sysdeps/i386/fpu/fenv_private.h>.
8210
761404b7
FW
82112018-08-28 Florian Weimer <fweimer@redhat.com>
8212
8213 [BZ #23578]
8214 * posix/tst-regcomp-truncated.c: New file.
8215 * posix/Makefile (tests): Add it.
8216 (tst-regcomp-truncated.out): Depend on generated locales.
8217
d6c44c3d
FW
82182018-08-28 Florian Weimer <fweimer@redhat.com>
8219
8220 * support/test-container.c (main): Treat unshare failure with
8221 EPERM as an unsupported test.
8222
745664bd
FW
82232018-08-28 Florian Weimer <fweimer@redhat.com>
8224
8225 [BZ #23520]
8226 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8227 * nscd/netgroupcache.c
8228 (addgetnetgrentX): Add tofreep parameter. Do not free
8229 heap-allocated buffer.
8230 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8231 (addgetnetgrentX_ignore): New function.
8232 (addgetnetgrent): Call it.
8233 (readdgetnetgrent): Likewise.
8234
c8dd67e7
RS
82352018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8236
8237 * string/memmem.c: Use memcmp for first match.
8238
5abedf97
RL
82392018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8240
8241 [BZ #17426]
8242 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8243
86de0499
DD
82442018-08-27 DJ Delorie <dj@redhat.com>
8245
8246 * support/Makefile (others): Don't list programs explicitly as a
8247 dependency of "others".
8248
c3ab2110
JM
82492018-08-27 Joseph Myers <joseph@codesourcery.com>
8250
8251 * sysdeps/generic/math-tests-trap-force.h: New file.
8252 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8253 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8254 * sysdeps/powerpc/math-tests.h: Remove file.
8255 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8256
99ea93ca
MK
82572018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8258 Torvald Riegel <triegel@redhat.com>
8259
8260 [BZ #23538]
8261 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8262 Update r to include the set wake-request flag if waiters are
8263 remaining after spinning.
8264
4061791f
JM
82652018-08-27 Joseph Myers <joseph@codesourcery.com>
8266
8267 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8268
bc680b33
PE
82692018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8270
761404b7 8271 [BZ #23578]
bc680b33
PE
8272 regex: fix uninitialized memory access
8273 I introduced this bug into gnulib in commit
8274 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8275 eventually it was merged into glibc. The bug was found by
8276 project-repo <bugs@feusi.co> and reported here:
8277 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8278 Diagnosis and draft fix reported by Assaf Gordon here:
8279 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8280 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8281 * posix/regex_internal.c (build_wcs_upper_buffer):
8282 Fix bug when mbrtowc returns 0.
8283
02458a52
CD
82842018-08-24 Carlos O'Donell <carlos@redhat.com>
8285
8286 * po/be.po: Update translation.
8287
acc2842a
DD
82882018-08-24 DJ Delorie <dj@delorie.com>
8289
8290 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8291 $(libunwind).
8292
6c3a8a9d
PP
82932018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8294
8295 [BZ #23400]
8296 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8297 create temporary files in source tree.
8298
895ef79e
JM
82992018-08-24 Joseph Myers <joseph@codesourcery.com>
8300
8301 * sysdeps/generic/math-tests-trap.h: New file.
8302 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8303 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8304 * sysdeps/aarch64/math-tests.h: Remove file.
8305 * sysdeps/arm/math-tests.h: Likewise.
8306 * sysdeps/riscv/math-tests.h: Likewise.
8307 * sysdeps/aarch64/math-tests-trap.h: New file.
8308 * sysdeps/arm/math-tests-trap.h: Likewise.
8309 * sysdeps/riscv/math-tests-trap.h: Likewise.
8310
ca3aac57
WD
83112018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8312
8313 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8314 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8315 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8316 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8317 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8318 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8322 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8323 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8325 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8326 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8327 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8328 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8329 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8330 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8331
60bcac09
JM
83322018-08-23 Joseph Myers <joseph@codesourcery.com>
8333
8334 * sysdeps/generic/math-tests-exceptions.h: New file.
8335 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8336 (EXCEPTION_TESTS_float): Do not define here.
8337 (EXCEPTION_TESTS_double): Likewise.
8338 (EXCEPTION_TESTS_long_double): Likewise.
8339 (EXCEPTION_TESTS_float128): Likewise.
8340 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8341 Likewise.
8342 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8343 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8344 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8345 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8346 * sysdeps/mips/math-tests.h: Likewise.
8347 * sysdeps/nios2/math-tests.h: Likewise.
8348 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8349 (EXCEPTION_TESTS_float): Do not define here.
8350 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8351 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8352 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8353
3bded567
WD
83542018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8355
8356 * NEWS: Move optimized sinf entry to 2.29.
8357
900fb446
WD
83582018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8359
8360 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8361
561b0bec
DD
83622018-08-22 DJ Delorie <dj@redhat.com>
8363
8364 * Makefile (testroot.pristine): New rules to initialize the
8365 test-in-container "testroot".
8366 * Makerules (all-testsuite): Add tests-container.
8367 * Rules (tests-expected): Add tests-container.
8368 (binaries-all-tests): Likewise.
8369 (tests-container): New, run these tests in the testroot container.
8370 * support/Makefile (others): Add *-container, support_paths.c,
8371 xmkdirp, and links-dso-program.
8372 * support/links-dso-program-c.c: New.
8373 * support/links-dso-program.cc: New.
8374 * support/test-container.c: New.
8375 * support/shell-container.c: New.
8376 * support/echo-container.c: New.
8377 * support/true-container.c: New.
8378 * support/xmkdirp.c: New.
8379 * support/xsymlink.c: New.
8380 * support/support_paths.c: New.
8381 * support/support.h: Add support paths prototypes.
8382 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8383
8384 * nss/tst-nss-test3.c: Convert to test-in-container.
8385 * nss/tst-nss-test3.root/: New.
8386
b35d3509
PE
83872018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8388
8389 regex: port Gnulib code to z/OS POSIX environment
8390 Problem reported by Arnold Robbins in:
8391 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8392 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8393 Undef.
8394
16a25138
JM
83952018-08-22 Joseph Myers <joseph@codesourcery.com>
8396
debc4c98
JM
8397 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8398 (ROUNDING_TESTS_double): Remove.
8399 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8400 (ROUNDING_TESTS_double): Remove.
8401 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8402 (ROUNDING_TESTS_double): Remove.
8403 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8404 (ROUNDING_TESTS_float): Remove.
8405 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8406 (ROUNDING_TESTS_float): Remove.
8407 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8408 (ROUNDING_TESTS_float): Remove.
8409 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8410 !TEST_MATHVEC here.
8411 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8412 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8413
16a25138
JM
8414 * sysdeps/generic/math-tests-rounding.h: New file.
8415 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8416 (ROUNDING_TESTS_float): Do not define here.
8417 (ROUNDING_TESTS_double): Likewise.
8418 (ROUNDING_TESTS_long_double): Likewise.
8419 (ROUNDING_TESTS_float128): Likewise.
8420 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8421 (ROUNDING_TESTS_double): Undefine before defining.
8422 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8423 (ROUNDING_TESTS_double): Undefine before defining.
8424 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8425 (ROUNDING_TESTS_double): Undefine before defining.
8426 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8427 (ROUNDING_TESTS_float): Undefine before defining.
8428 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8429 (ROUNDING_TESTS_float): Undefine before defining.
8430 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8431 (ROUNDING_TESTS_float): Undefine before defining.
8432 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8433 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8434 not define here.
8435 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8436 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8437 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8438 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8439 (ROUNDING_TESTS_float): Do not define here.
8440 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8441 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8442 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8443 (ROUNDING_TESTS_float): Likewise.
8444 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8445 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8446 * sysdeps/mips/math-tests.h [__mips_soft_float]
8447 (ROUNDING_TESTS_float): Likewise.
8448 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8449 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8450 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8451 (ROUNDING_TESTS_double): Likewise.
8452 (ROUNDING_TESTS_long_double): Likewise.
8453
38b0593e
TK
84542018-08-21 Tobias Klauser <tklauser@distanz.ch>
8455
8456 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8457 (PF_XDP): New macro.
8458 (AF_XDP): New macro.
8459 (SOL_XDP): New macro.
8460
5cd7dbde
JM
84612018-08-21 Joseph Myers <joseph@codesourcery.com>
8462
8463 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8464 (TCP_INQ): Likewise.
8465 (TCP_CM_INQ): Likewise.
8466 (TCP_REPAIR_ON): Likewise.
8467 (TCP_REPAIR_OFF): Likewise.
8468 (TCP_REPAIR_OFF_NO_WP): Likewise.
8469 (struct tcp_zerocopy_receive): New type.
8470
aa42b3db
FW
84712018-08-21 Florian Weimer <fweimer@redhat.com>
8472
8473 * support/support.h (support_descriptor_supports_holes): Declare.
8474 * support/Makefile (libsupport-routines): Add
8475 support_descriptor_supports_holes.
8476 * support/support_descriptor_supports_holes.c: New file.
8477 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8478 and stop testing if holes are not supported.
8479 * io/test-lfs.c (do_prepare): Likewise.
8480 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8481 Likewise.
8482 * timezone/tst-tzset.c (create_tz_file): Likewise.
8483 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8484 variable.
8485 (do_prepare): Set it.
8486 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8487
c7627f41
FW
84882018-08-21 Florian Weimer <fweimer@redhat.com>
8489
8490 [BZ #17248]
8491 * Makeconfig (+cflags): Do not sort (and deduplicate).
8492
ef939d92
FW
84932018-08-21 Florian Weimer <fweimer@redhat.com>
8494
8495 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8496 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8497
88ffb39d
FW
84982018-08-20 Florian Weimer <fweimer@redhat.com>
8499
8500 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8501 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8502
17419540
JM
85032018-08-20 Joseph Myers <joseph@codesourcery.com>
8504
e6edd40d
JM
8505 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8506 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8507 and ssi_arch members.
8508
17419540
JM
8509 * elf/elf.c (NT_VMCOREDD): New macro.
8510 (AT_MINSIGSTKSZ): Likewise.
8511
fa78896b
RS
85122018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8513
8514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8515 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8516 s_cosf-ppc64 and s_cosf-power8.
8517 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8518 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8519 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8520 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8527 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8528 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8529
86a6c75a
FW
85302018-08-17 Florian Weimer <fweimer@redhat.com>
8531
8532 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8533
35cfefd9
FW
85342018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8535
8536 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8537
6413fcde
FW
85382018-08-16 Florian Weimer <fweimer@redhat.com>
8539
8540 * configure.ac: Add --with-nonshared-cflags option.
8541 * config.make.in (extra-nonshared-cflags): Set variable.
8542 * Makeconfig (CFLAGS-.oS): Use it.
8543 * manual/install.texi (Configuring and compiling): Document
8544 --with-nonshared-cflags.
8545 * configure: Regenerate.
8546 * INSTALL: Likewise.
8547
93a2584c
FW
85482018-08-16 Florian Weimer <fweimer@redhat.com>
8549
8550 * Makeconfig (ASFLAGS): Always append required assembler flags.
8551
f6f275d2 85522018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8553
8554 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8555 (malloc_consolidate): Likewise.
8556
30a17d8c
PC
85572018-08-16 Pochang Chen <johnchen902@gmail.com>
8558
8559 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8560
953a5a4a
SP
85612018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8562
34f86d61
SP
8563 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8564 every strlen call.
8565
953a5a4a
SP
8566 * benchtests/bench-strlen.c: Print performance numbers in json.
8567
7793ad7a
RS
85682018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8569
8570 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8571 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8572 only for little endian.
8573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8574 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8575 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8576 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8577 Add check for little endian.
8578 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8579 (__strcmp_power9): Add check for little endian.
8580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8581 Add check for little endian.
8582 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8583 (__strncmp_power9): Add check for little endian.
8584 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8585 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8586 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8587 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8588 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8589
436e4d5b
SP
85902018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8591
8592 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8593 [!STRLEN](STRLEN): Set to __strlen.
8594 * sysdeps/aarch64/multiarch/strlen.c: New file.
8595 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8596 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8597 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8598 (__libc_ifunc_impl_list): Add strlen.
8599 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8600 strlen_generic and strlen_asimd.
8601
126c4e3f
WD
86022018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8603
8604 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8605 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8606 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8607
49acec17
WD
86082018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8609
8610 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8611
fdb16de3
FW
86122018-08-14 Florian Weimer <fweimer@redhat.com>
8613
8614 [BZ #23519]
8615 * include/stdio.h (__vfxprintf): Declare.
8616 * stdio-common/fxprintf.c (__vfxprintf): New function.
8617 (__fxprintf): Call it.
8618 * misc/err.c (convert_and_print): Remove function.
8619 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8620 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8621 * misc/Makefile (tests): Add tst-warn-wide.
8622 * misc/tst-warn-wide.c: New file.
8623
599cf397
WD
86242018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8625 Szabolcs Nagy <szabolcs.nagy@arm.com>
8626
8627 * NEWS: Mention sinf, cosf, sincosf.
8628 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8630 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8631 constants rather than including generic sincosf.h.
8632 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8633 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8634 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8635 (reduced_cos): Remove.
8636 (sinf_poly): New function.
8637 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8638
e95c6f61
FW
86392018-08-14 Florian Weimer <fweimer@redhat.com>
8640
8641 [BZ #23521]
8642 [BZ #23522]
8643 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8644 processing, bail out if no room, and close the stream before
8645 returning ERANGE.
8646 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8647 (tst-nss-files-alias-leak): Link with libdl.
8648 (tst-nss-files-alias-leak.out): Depend on nss_files.
8649
8650 * nss/tst-nss-files-alias-leak.c: New file.
8651
2d7acfac
FW
86522018-08-14 Florian Weimer <fweimer@redhat.com>
8653
8654 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8655 server_user, stat_user.
8656
f3cd0904
JM
86572018-08-13 Joseph Myers <joseph@codesourcery.com>
8658
17b26500
JM
8659 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8660 version to 4.18.
8661 (io_pgetevents): New syscall.
8662 (rseq): Likewise.
8663
3c1622eb
JM
8664 * manual/install.texi (Configuring and compiling): Do not list
8665 tools used for testing pretty printers here.
8666 (Tools for Compilation): List Python, PExpect and GDB here.
8667 Update descriptions of uses of Perl and Python.
8668 * INSTALL: Regenerate.
8669
f3cd0904
JM
8670 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8671 version to 4.18.
8672
b7b52b9d
FW
86732018-08-13 Florian Weimer <fweimer@redhat.com>
8674
8675 * misc/error.c (error): Add missing va_end call.
8676 (error_at_line): Likewise.
8677
01780188
FW
86782018-08-13 Florian Weimer <fweimer@redhat.com>
8679
8680 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8681
44727aec
SP
86822018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8683
8cac1f26
SP
8684 * benchtests/scripts/benchout.schema.json (properties): Add
8685 new properties.
8686
44727aec
SP
8687 * benchtests/bench-skeleton.c (main): Add duration and
8688 iterations attributes.
8689
c77bf91b
PE
86902018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8691
8692 regex: Gnulib unibyte RRI uses bytes not chars
8693 Adjust the non-glibc code to agree with what Gawk needs for
8694 rational range interpretation (RRI) for regular expression ranges.
8695 In unibyte locales, Gawk wants ranges to use the underlying byte
8696 rather than the character code point. This change does not affect
8697 glibc proper.
8698 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8699 In unibyte locales, use the byte value rather than
8700 running it through btowc.
8701
2ce7ba7d
JM
87022018-08-10 Joseph Myers <joseph@codesourcery.com>
8703
8704 * sysdeps/generic/math-tests-snan.h: New file.
8705 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8706 (SNAN_TESTS_float): Do not define here.
8707 (SNAN_TESTS_double): Likewise.
8708 (SNAN_TESTS_long_double): Likewise.
8709 (SNAN_TESTS_float128): Likewise.
8710 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8711 * sysdeps/i386/fpu/math-tests.h: Remove file.
8712 * sysdeps/ia64/math-tests-snan.h: New file.
8713 * sysdeps/ia64/math-tests.h: Remove file.
8714 * sysdeps/x86/math-tests.h: Likewise.
8715 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8716
ea5c662c
WD
87172018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8718 Szabolcs Nagy <szabolcs.nagy@arm.com>
8719
8720 * math/Makefile: Add s_sincosf_data.c.
8721 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8722 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8723 (sincosf_poly): Likewise.
8724 (reduce_small): Likewise.
8725 (reduce_large): Likewise.
8726 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8727 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8728 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8729 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8730
43cfdf8f
SN
87312018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8732 Szabolcs Nagy <szabolcs.nagy@arm.com>
8733
8734 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8735 (converttoint): Use lround.
8736 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8737 document the semantics when TOINT_INTRINSICS is set.
8738 (converttoint): Likewise.
8739 (TOINT_RINT): Remove.
8740 (TOINT_SHIFT): Remove.
8741 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8742 path.
8743
69065288
FW
87442018-08-10 Florian Weimer <fweimer@redhat.com>
8745
8746 [BZ #23497]
8747 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8748 function.
8749 (__old_getdents64): Use getdents64. Convert entries without
8750 moving them.
8751 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8752 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8753 tst-readdir64-compat.
8754
8f135efc
IL
87552018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8756
8757 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8758 Fix unwind.
8759
71c01af5
IL
87602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8761
8762 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8763 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8764 code to s390x-mcount.h and #include it.
8765 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8766 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8767 (__fentry__): Add.
8768
8d997d22
IL
87692018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8770
8771 * stdlib/Versions: Remove __fentry__.
8772 * sysdeps/i386/Versions: Add __fentry__.
8773 * sysdeps/x86_64/Versions: Add __fentry__.
8774
69e2444a
IL
87752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8776
8777 * sysdeps/s390/Makefile: Register the new tests.
8778 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8779 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8780 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8781 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8782 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8783 * sysdeps/s390/tst-dl-runtime.c: New file.
8784
bde6320f
IL
87852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8786
8787 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8788 Do not clobber R0.
8789
5755f5e4
IL
87902018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8791
8792 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8793 Do not clobber R0.
8794
c8ad8522
IL
87952018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8796
8797 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8798 Do not clobber R0.
8799
b215eee1
IL
88002018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8801
8802 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8803 Do not clobber R0.
8804
329c6fec
IL
88052018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8806
8807 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8808 Use symbolic offsets for stack variables.
8809
0fb7afa2
IL
88102018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8811
8812 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8813 Use symbolic offsets for stack variables.
8814
6954059a
IL
88152018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8816
8817 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8818 Use symbolic offsets for stack variables.
8819
c7099673
IL
88202018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8821
8822 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8823 Use symbolic offsets for stack variables.
8824
2813e41e
JM
88252018-08-09 Joseph Myers <joseph@codesourcery.com>
8826
8827 * math/gen-libm-test.py: New file.
8828 * math/gen-libm-test.pl: Remove.
8829 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8830 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8831 gen-libm-test.pl.
8832 ($(libm-test-c-noauto-obj)): Likewise.
8833 ($(libm-test-c-auto-obj)): Likewise.
8834 ($(libm-test-c-narrow-obj)): Likewise.
8835 (regen-ulps): Likewise.
8836 * math/README.libm-test: Update references to gen-libm-test.pl.
8837 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8838 referencing gen-libm-test.pl.
8839 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8840 * math/libm-test-support.c: Likewise.
8841 * math/libm-test-support.h: Likewise.
8842 * sysdeps/generic/libm-test-ulps: Likewise.
8843
be64b194
SP
88442018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8845
8846 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8847 Fix value.
8848
140137fb
JM
88492018-08-08 Joseph Myers <joseph@codesourcery.com>
8850
8851 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8852 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8853
b5403eca
ST
88542018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8855
8856 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8857 symbols.
8ac0f9e6
ST
8858 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8859 __pthread_setspecific): Add hidden proto.
8860 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8861 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 8862
014efdd7
SP
88632018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8864
8865 * benchtests/bench-string.h (buf1_size, buf2_size): New
8866 variables.
8867 (init_sizes): New function.
8868 (test_init): Use it.
8869 (alloc_buf, exit_error): New functions.
8870 (alloc_bufs): Use ALLOC_BUF.
8871 (realloc_bufs): Remove.
8872 * benchtests/bench-memcmp.c (do_test): Adjust.
8873 * benchtests/bench-memset-large.c (do_test): Likewise.
8874 * benchtests/bench-memset-walk.c (do_test): Likewise.
8875 * benchtests/bench-memset.c (do_test): Likewise.
8876 * benchtests/bench-strncmp.c (do_test): Likewise.
8877
92a4cba7
AS
88782018-08-06 Andreas Schwab <schwab@suse.de>
8879
8880 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8881 of CONST_THREAD_AREA.
8882
fb4c32ae
L
88832018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8884
8885 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8886 (STATE_SAVE_MASK): Likewise.
8887 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8888 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8889 (STATE_SAVE_MASK): Likewise.
8890 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8891 instead of <cpu-features.h>.
8892
bf418187
DD
88932018-08-03 DJ Delorie <dj@redhat.com>
8894
8895 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 8896 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 8897
bb17621a
DD
8898 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8899
ea705eb5
JM
89002018-08-03 Joseph Myers <joseph@codesourcery.com>
8901
8902 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8903 after TEST_* calls.
8904 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8905 * math/libm-test-logb.inc (logb_test_data): Likewise.
8906
284f42bc
WD
89072018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8908
8909 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8910 * string/strstr.c (AVAILABLE): Likewise.
8911
430388d5
L
89122018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8915 <init-arch.h>.
8916 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8918 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8919
c5760aa9
CD
89202018-08-03 Carlos O'Donell <carlos@redhat.com>
8921
8922 * po/be.po: Update translation.
8923
6b535b84
CD
8924 * po/be.po: Update translation.
8925
ae67f2e5
L
89262018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * sysdeps/x86/cpu-features-offsets.sym
8929 (rtld_global_ro_offsetof): Removed.
8930 (CPU_FEATURES_SIZE): Likewise.
8931 (CPUID_OFFSET): Likewise.
8932 (CPUID_SIZE): Likewise.
8933 (CPUID_EAX_OFFSET): Likewise.
8934 (CPUID_EBX_OFFSET): Likewise.
8935 (CPUID_ECX_OFFSET): Likewise.
8936 (CPUID_EDX_OFFSET): Likewise.
8937 (FAMILY_OFFSET): Likewise.
8938 (MODEL_OFFSET): Likewise.
8939 (FEATURE_OFFSET): Likewise.
8940 (FEATURE_SIZ): Likewise.
8941 (COMMON_CPUID_INDEX_1): Likewise.
8942 (COMMON_CPUID_INDEX_7): Likewise.
8943 (FEATURE_INDEX_1): Likewise.
8944 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8945
cfb0ff93 89462018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
8947
8948 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8949 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8950 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8951 (install-locales): Depend on install-locale-archive.
8952 (install-locale-archive): Define.
7b7adbd8 8953 (install-locale-files): Define.
08a5ee14
CD
8954 (build-one-locale): Define macro.
8955 * manual/install.texi (Running make install): Document.
8956 * manual/INSTALL: Regenerate.
8957
525691bd
SP
89582018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8959
d67d634b
SP
8960 * benchtests/scripts/compare_strings.py: Import traceback.
8961 (parse_file): Pretty-print error.
8962
525691bd
SP
8963 * NEWS: Mention the change.
8964 * elf/dl-tunables.list: Rename tune namespace to cpu.
8965 * sysdeps/powerpc/dl-tunables.list: Likewise.
8966 * sysdeps/x86/dl-tunables.list: Likewise.
8967 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8968 cpu.name.
8969 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8970 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8971 * manual/README.tunables: Likewise.
8972 * manual/tunables.texi: Likewise.
8973 * sysdeps/powerpc/cpu-features.c: Likewise.
8974 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8975 (init_cpu_features): Likewise.
8976 * sysdeps/x86/cpu-features.c: Likewise.
8977 * sysdeps/x86/cpu-features.h: Likewise.
8978 * sysdeps/x86/cpu-tunables.c: Likewise.
8979 * sysdeps/x86_64/Makefile: Likewise.
8980 * sysdeps/x86/dl-cet.c: Likewise.
8981
506d7fb1
JM
89822018-08-02 Joseph Myers <joseph@codesourcery.com>
8983
8984 [BZ #23479]
8985 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8986 [__mips_hard_float].
8987 (FE_UNDERFLOW): Likewise.
8988 (FE_OVERFLOW): Likewise.
8989 (FE_DIVBYZERO): Likewise.
8990 (FE_INVALID): Likewise.
8991 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8992 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8993 (FE_UPWARD): Likewise.
8994 (FE_DOWNWARD): Likewise.
8995 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8996 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8997 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8998 [__mips_hard_float].
8999 (FP_ROUNDMODE): Likewise.
9000 (FP_RND_NEAREST): Likewise.
9001 (FP_RND_ZERO): Likewise.
9002 (FP_RND_PINF): Likewise.
9003 (FP_RND_MINF): Likewise.
9004 (FP_EX_INVALID): Likewise.
9005 (FP_EX_OVERFLOW): Likewise.
9006 (FP_EX_UNDERFLOW): Likewise.
9007 (FP_EX_DIVZERO): Likewise.
9008 (FP_EX_INEXACT): Likewise.
9009 (FP_INIT_ROUNDMODE): Likewise.
9010 * sysdeps/mips/nofpu/fesetenv.c: New file.
9011 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9012
f6dcefbe
JM
90132018-08-01 Joseph Myers <joseph@codesourcery.com>
9014
9015 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9016 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9017 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9018 conditional on [FE_UPWARD].
9019
fa67ba06
PE
90202018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9021
9022 regex: fix memory leak in Gnulib
9023 Problem and fix reported by Assaf Gordon in:
9024 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9025 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9026 range_ends members too, as they are defined in 'struct
9027 re_charset_t' even if not _LIBC. This affects only Gnulib.
9028
82c80ac2
L
90292018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9032 ...
9033 (get_common_indices): This.
9034 (init_cpu_features): Updated.
9035
c0e7e2c1
JM
90362018-08-01 Joseph Myers <joseph@codesourcery.com>
9037
46f8cf57
JM
9038 * sysdeps/generic/math-tests-snan-payload.h: New file.
9039 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9040 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9041 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9042 * sysdeps/generic/math-tests.h: Include
9043 <math-tests-snan-payload.h>.
9044 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9045 * sysdeps/hppa/math-tests.h: Remove file.
9046 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9047 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9048 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9049 Likewise.
9050
c0e7e2c1
JM
9051 * sysdeps/generic/math-tests-snan-cast.h: New file.
9052 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9053 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9054 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9055 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9056
74939c83
CD
90572018-08-01 Carlos O'Donel <carlos@redhat.com>
9058
b029723b
CD
9059 * version.h (RELEASE): Set to "development".
9060 (VERSION): Set to "2.28.9000".
9061 * NEWS (2.29): New section.
9062
3c03baca
CD
9063 * version.h (RELEASE): Set to "stable".
9064 (VERSION): Set to "2.28".
9065 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9066 * NEWS: Add the list of bugs fixed in 2.28.
9067
74939c83
CD
9068 * po/ca.po: Update to latest version.
9069 * po/cs.po: Likewise
9070 * po/da.po: Likewise
9071 * po/el.po: Likewise
9072 * po/eo.po: Likewise
9073 * po/es.po: Likewise
9074 * po/fi.po: Likewise
9075 * po/fr.po: Likewise
9076 * po/gl.po: Likewise
9077 * po/hu.po: Likewise
9078 * po/ia.po: Likewise
9079 * po/id.po: Likewise
9080 * po/it.po: Likewise
9081 * po/ja.po: Likewise
9082 * po/ko.po: Likewise
9083 * po/lt.po: Likewise
9084 * po/nb.po: Likewise
9085 * po/nl.po: Likewise
9086 * po/pt_BR.po: Likewise
9087 * po/ru.po: Likewise
9088 * po/rw.po: Likewise
9089 * po/sk.po: Likewise
9090 * po/sl.po: Likewise
9091 * po/tr.po: Likewise
9092 * po/zh_CN.po: Likewise
9093 * po/zh_TW.po: Likewise
9094
d4b54bdf
ST
90952018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9096
9097 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9098 initialization...
9099 (init): ... before initializing libpthread.
9100
42fc12ef
ST
9101 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9102 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9103 (__mach_setup_tls): ... new function.
9104 (mach_setup_tls): New alias.
9105 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9106 __mach_setup_thread.
9107 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9108 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9109 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9110 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9111
6cca855e
CD
91122018-07-31 Carlos O'Donell <carlos@redhat.com>
9113
f650932b
CD
9114 * manual/install.texi: Update versions.
9115 * INSTALL: Regenerate.
9116
6cca855e
CD
9117 * manual/contrib.texi (Contributors): Update contributions.
9118
07fdea47
CD
91192018-07-31 Carlos O'Donell <carlos@redhat.com>
9120
9121 * po/be.po: Update translations.
9122
63d5fad4
AZ
91232018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9124
9125 * sysdeps/sh/libm-test-ulps: Update.
9126
1ff712a6
CD
91272018-07-30 Carlos O'Donell <carlos@redhat.com>
9128
9129 * po/bg.po: Update translations.
9130 * po/de.po: Likewise.
9131 * po/hr.po: Likewise.
9132 * po/pt_BR.po: Likewise.
9133 * po/sv.po: Likewise.
9134 * po/vi.po: Likewise.
9135
98864ed0
L
91362018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9137
9138 [BZ #23467]
9139 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9140 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9141 (CFLAGS-tst-cet-property-1.o): New.
9142 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9143 ($(objpfx)tst-cet-property-2): Likewise.
9144 ($(objpfx)tst-cet-property-2.out): Likewise.
9145 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9146 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9147 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9148 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9149 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9150
c92a00d8
L
91512018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9152
9153 [BZ #23458]
9154 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9155
99bc6241
ST
91562018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9157
9158 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9159 __sbrk): Do not set attribute_hidden.
af86087f 9160 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
9161 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9162 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9163
bcb1c4af
CD
91642018-07-27 Carlos O'Donell <carlos@redhat.com>
9165
9166 * po/uk.po: Update translations.
9167 * po/cs.po: Likewise.
9168 * po/pl.po: Likewise.
9169
4591b7db
L
91702018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9173 parse beyond the note end.
9174
2c6da2f4
AZ
91752018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9176
9177 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9178 kernel does not support OFD locks.
9179 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9180
20365a31
ST
91812018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9182
9183 * sysdeps/mach/hurd/Versions (libc): Make __access and
9184 __access_noerrno external so they can override the ld symbols.
9185 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9186 __writev, __open64, __access_noerrno extern so they can be overrided.
9187 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9188 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9189
cb1a43db
CD
91902018-07-26 Carlos O'Donell <carlos@redhat.com>
9191
9192 * po/libc.pot: Regenerate.
9193
74759ae5
JM
91942018-07-26 Joseph Myers <joseph@codesourcery.com>
9195
9196 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9197
da80612d
L
91982018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 [BZ #23459]
9201 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9202 function.
9203 (init_cpu_features): Call get_extended_indices for both Intel
9204 and AMD CPUs.
9205 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9206 Remove "for AMD" comment.
9207
65d87ade
L
92082018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9209
9210 [BZ # 23456]
9211 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9212 COMMON_CPUID_INDEX_80000001.
9213
c9dc4d51
SL
92142018-07-26 Stefan Liebler <stli@linux.ibm.com>
9215
9216 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9217 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9218
cfba5dbb
FW
92192018-07-26 Florian Weimer <fweimer@redhat.com>
9220
9221 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9222 aliases for symbols not in the implementation namespace.
9223
7cd7d36f
CD
92242018-07-25 Carlos O'Donell <carlos@redhat.com>
9225
9226 [BZ #23393]
9227 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9228 lowercase in LATIN script.
9229 * localedata/Makefile (test-input): Add en_US.UTF-8.
9230 * localedata/en_US.UTF-8.in: New file.
9231 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9232 and restore old tests.
9233 * posix/tst-regexloc.c (do_test): Add back range expression test.
9234
3fb455b3
L
92352018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9238
d6499b70
AZ
92392018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9240
9241 * nptl/threads.h: Move to ...
9242 * sysdeps/nptl/threads.h: ... here.
9243 * sysdeps/hurd/stdc-predef.h: New file.
9244
08ac6bed
L
92452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9246
9247 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9248 tst-cet-setcontext-1 if CET is enabled.
9249 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9250 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9251
9faaf938
AZ
92522018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9253
9254 * include/threads.h: Move to ...
9255 * sysdeps/nptl/threads.h: ... here.
9256 * sysdeps/htl/threads.h: New file.
9257 * conform/Makefile (linknamespace-libs-ISO11): Use
9258 static-thread-library instead of linking libpthread.
9259 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9260
d6b8f847
FW
92612018-07-25 Florian Weimer <fweimer@redhat.com>
9262
9263 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9264 nanoseconds into seconds.
9265 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9266 (do_test): Likewise.
9267 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9268 (do_test): Likewise. Avoid nanosecond overflow and spurious
9269 timeouts due to system load.
9270 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9271 (child_wait): Increment it.
9272 (do_test): Wait as long as necessary until all expected threads
9273 have arrived.
9274
25123a1c
L
92752018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9276 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9279 __ssp.
9280 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9281 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9282 (__push___start_context): New.
9283 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9284 <asm/prctl.h>.
9285 (__getcontext): Record the current shadow stack base. Save the
9286 caller's shadow stack pointer and base.
9287 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9288 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9289 (__push___start_context): New prototype.
9290 (__makecontext): Call __push___start_context to allocate a new
9291 shadow stack, push __start_context onto the new stack as well
9292 as the new shadow stack.
9293 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9294 <asm/prctl.h>.
9295 (__setcontext): Restore the target shadow stack.
9296 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9297 <asm/prctl.h>.
9298 (__swapcontext): Record the current shadow stack base. Save
9299 the caller's shadow stack pointer and base. Restore the target
9300 shadow stack.
9301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9302 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9303 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9304
375a4844
L
93052018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9308 tst-setcontext8 and tst-setcontext9.
9309 * stdlib/tst-setcontext6.c: New file.
9310 * stdlib/tst-setcontext7.c: Likewise.
9311 * stdlib/tst-setcontext8.c: Likewise.
9312 * stdlib/tst-setcontext9.c: Likewise.
9313
bd4f7903
L
93142018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 * stdlib/Makefile ((tests): Add tst-setcontext5.
9317 * stdlib/tst-setcontext5.c: New file.
9318
7e28f203
L
93192018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 * stdlib/Makefile (tests): Add tst-setcontext4.
9322 * stdlib/tst-setcontext4.c: New file.
9323
8516ad2d
L
93242018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9325
9326 * stdlib/Makefile (tests): Add tst-swapcontext1.
9327 * stdlib/tst-swapcontext1.c: New test.
9328
fddcd003
L
93292018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9330
9331 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9332 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9333 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9334 and tst-cet-legacy-4c.
9335 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9336 and tst-cet-legacy-mod-4.
9337 (CFLAGS-tst-cet-legacy-2.c): New.
9338 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9339 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9340 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9341 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9342 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9343 ($(objpfx)tst-cet-legacy-1): Likewise.
9344 ($(objpfx)tst-cet-legacy-2): Likewise.
9345 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9346 ($(objpfx)tst-cet-legacy-2a): Likewise.
9347 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9348 ($(objpfx)tst-cet-legacy-4): Likewise.
9349 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9350 ($(objpfx)tst-cet-legacy-4a): Likewise.
9351 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9352 (tst-cet-legacy-4a-ENV): Likewise.
9353 ($(objpfx)tst-cet-legacy-4b): Likewise.
9354 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9355 (tst-cet-legacy-4b-ENV): Likewise.
9356 ($(objpfx)tst-cet-legacy-4c): Likewise.
9357 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9358 (tst-cet-legacy-4c-ENV): Likewise.
9359 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9360 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9361 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9362 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9363 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9364 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9365 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9366 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9367 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9368 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9369 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9370
9aa3113a
L
93712018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9374 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9375 with ssp_base.
9376 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9377 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9378 with ssp_base.
9379
9c79cec8
AS
93802018-07-25 Andreas Schwab <schwab@suse.de>
9381
9382 [BZ #23442]
9383 * locale/weightwc.h (findidx): Handle the case where usrc is a
9384 prefix of cp but one character too short.
9385
969c3355
AZ
93862018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9387
9388 * NEWS: Add ISO C threads addition.
9389
e0f9c462
FW
93902018-07-24 Florian Weimer <fweimer@redhat.com>
9391
9392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9393 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9394 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9395 4.13.
9396
394df381
L
93972018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9398
9399 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9400 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9401 <sys/prctl.h> and <asm/prctl.h>.
9402 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9403 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9404 and <asm/prctl.h>.
9405 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9406 ARCH_CET_LEGACY_BITMAP.
9407 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9408 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9409 * sysdeps/x86/libc-start.c: Include <startup.h>.
9410
46545530
FW
94112018-07-24 Florian Weimer <fweimer@redhat.com>
9412
9413 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9414 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9415
9d0a979e
RJ
94162018-07-24 Rical Jasan <rj@2c3t.io>
9417 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
9418 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9419
9420 [BZ #14092]
9d0a979e
RJ
9421 * manual/debug.texi: Update adjacent chapter name.
9422 * manual/probes.texi: Likewise.
9423 * manual/threads.texi (ISO C Threads): New section.
9424 (POSIX Threads): Convert to a section.
9425
94262018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9427 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9428
9429 [BZ# 14092]
0a07288b
AZ
9430 * nptl/Makefile (tests): Add new test files.
9431 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9432 * nptl/tst-cnd-basic.c: Likewise.
9433 * nptl/tst-cnd-broadcast.c: Likewise.
9434 * nptl/tst-cnd-timedwait.c: Likewise.
9435 * nptl/tst-mtx-basic.c: Likewise.
9436 * nptl/tst-mtx-recursive.c: Likewise.
9437 * nptl/tst-mtx-timedlock.c: Likewise.
9438 * nptl/tst-mtx-trylock.c: Likewise.
9439 * nptl/tst-thrd-basic.c: Likewise.
9440 * nptl/tst-thrd-detach.c: Likewise.
9441 * nptl/tst-thrd-sleep.c: Likewise.
9442 * nptl/tst-tss-basic.c: Likewise.
9443
ce7528f6
AZ
94442018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9445
c6dd669b
AZ
9446 [BZ #14092]
9447 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9448 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9449 symbols.
9450 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9451 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9452 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9453 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9454 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9456 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9457 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9458 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9459 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9460 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9463 Likewise.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9465 Likewise.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9467 Likewise.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9470 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9471 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9472 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9473 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9474 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9475 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9476 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9477 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9478 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9479 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9480 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9481 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9482 Likewise.
9483 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9484 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9485 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9486 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9487 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9488 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9489 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9490 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9491 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9492 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9493 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9494 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9495 ikewise.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9498 Likewise.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9500 Likewise.
9501 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9502 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9503 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9504 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9505 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9506 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9507 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9508 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9509
78d40132
AZ
9510 [BZ #14092]
9511 * conform/data/threads.h-data (thread_local): New macro.
9512 (TSS_DTOR_ITERATIONS): Likewise.
9513 (tss_t): New type.
9514 (tss_dtor_t): Likewise.
9515 (tss_create): New function.
9516 (tss_get): Likewise.
9517 (tss_set): Likewise.
9518 (tss_delete): Likewise.
9519 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9520 tss_get, and tss_set objects.
9521 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9522 * nptl/tss_create.c: New file.
9523 * nptl/tss_delete.c: Likewise.
9524 * nptl/tss_get.c: Likewise.
9525 * nptl/tss_set.c: Likewise.
9526 * sysdeps/nptl/threads.h (thread_local): New define.
9527 (TSS_DTOR_ITERATIONS): Likewise.
9528 (tss_t): New typedef.
9529 (tss_dtor_t): Likewise.
9530 (tss_create): New prototype.
9531 (tss_get): Likewise.
9532 (tss_set): Likewise.
9533 (tss_delete): Likewise.
9534
918311a3
AZ
9535 [BZ #14092]
9536 * conform/data/threads.h-data (cnd_t): New type.
9537 (cnd_init): New function.
9538 (cnd_signal): Likewise.
9539 (cnd_broadcast): Likewise.
9540 (cnd_wait): Likewise.
9541 (cnd_timedwait): Likewise.
9542 (cnd_destroy): Likewise.
9543 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9544 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9545 object.
9546 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9547 * nptl/cnd_broadcast.c: New file.
9548 * nptl/cnd_destroy.c: Likewise.
9549 * nptl/cnd_init.c: Likewise.
9550 * nptl/cnd_signal.c: Likewise.
9551 * nptl/cnd_timedwait.c: Likewise.
9552 * nptl/cnd_wait.c: Likewise.
9553 * sysdeps/nptl/threads.h (cnd_t): New type.
9554 (cnd_init): New prototype.
9555 (cnd_signa): Likewise.
9556 (cnd_broadcast): Likewise.
9557 (cnd_wait): Likewise.
9558 (cnd_timedwait): Likewise.
9559 (cnd_destroy): Likewise.
9560
3c20a679
AZ
9561 [BZ #14092]
9562 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9563 (once_flag): New type.
9564 (call_once): New function.
9565 * nptl/Makefile (libpthread-routines): Add call_once object.
9566 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9567 * nptl/call_once.c: New file.
9568 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9569 (once_flag): New type.
9570 (call_once): New prototype.
9571
18d59c1b
AZ
9572 [BZ #14092]
9573 * conform/data/threads.h-data (mtx_plain): New constant.
9574 (mtx_recursive): Likewise.
9575 (mtx_timed): Likewise.
9576 (mtx_t): New type.
9577 (mtx_init): New function.
9578 (mtx_lock): Likewise.
9579 (mtx_timedlock): Likewise.
9580 (mtx_trylock): Likewise.
9581 (mtx_unlock): Likewise.
9582 (mtx_destroy): Likewise.
9583 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9584 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9585 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9586 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9587 * nptl/mtx_destroy.c: New file.
9588 * nptl/mtx_init.c: Likewise.
9589 * nptl/mtx_lock.c: Likewise.
9590 * nptl/mtx_timedlock.c: Likewise.
9591 * nptl/mtx_trylock.c: Likewise.
9592 * nptl/mtx_unlock.c: Likewise.
9593 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9594 (mtx_recursive): Likewise.
9595 (mtx_timed): Likewise.
9596 (mtx_t): New type.
9597 (mtx_init): New prototype.
9598 (mtx_lock): Likewise.
9599 (mtx_timedlock): Likewise.
9600 (mtx_trylock): Likewise.
9601 (mtx_unlock): Likewise.
9602 (mtx_destroy): Likewise.
9603
ce7528f6
AZ
9604 [BZ #14092]
9605 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9606 (linknamespace-libs-ISO11): Add libpthread.a.
9607 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9608 functions.
9609 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9610 * nptl/Makefile (headers): Add threads.h.
9611 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9612 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9613 thrd_yield.
9614 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9615 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9616 thrd_join, thrd_sleep, and thrd_yield symbols.
9617 * nptl/descr.h (struct pthread): Add c11 field.
9618 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9619 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9620 routine with expected function prototype.
9621 (__pthread_create_2_1): Add C11 threads check based on attribute
9622 value.
9623 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9624 * nptl/thrd_create.c: New file.
9625 * nptl/thrd_current.c: Likewise.
9626 * nptl/thrd_detach.c: Likewise.
9627 * nptl/thrd_equal.c: Likewise.
9628 * nptl/thrd_exit.c: Likewise.
9629 * nptl/thrd_join.c: Likewise.
9630 * nptl/thrd_priv.h: Likewise.
9631 * nptl/thrd_sleep.c: Likewise.
9632 * nptl/thrd_yield.c: Likewise.
9633 * include/threads.h: Likewise.
9634
e27f41ba
L
96352018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9636
9637 * bits/indirect-return.h: New file.
9638 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9639 * sysdeps/x86/bits/indirect-return.h: Likewise.
9640 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9641 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9642 (swapcontext): Add __INDIRECT_RETURN.
9643 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9644 (prepare_test_buffer): Use it.
9645
21526a50
AS
96462018-07-24 Andreas Schwab <schwab@suse.de>
9647
9648 [BZ #23448]
9649 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9650 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9651
3650e1d9
L
96522018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9655 Redefine if shadow stack is enabled.
9656 (SYSCALL_ERROR_LABEL): Likewise.
9657 (__vfork): Pop shadow stack and jump back to to caller directly
9658 when shadow stack is in use.
9659 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9660 Redefine if shadow stack is enabled.
9661 (SYSCALL_ERROR_LABEL): Likewise.
9662 (__vfork): Pop shadow stack and jump back to to caller directly
9663 when shadow stack is in use.
9664
ca027e0f
L
96652018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9666
9667 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9668 enabled.
9669 (foo): Likewise.
9670 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9671 (foo): Likewise.
9672
b99f1c95
JM
96732018-07-20 Joseph Myers <joseph@codesourcery.com>
9674
9675 * scripts/build-many-glibcs.py (Context.checkout): Default
9676 binutils version to 2.31 branch.
9677
c8fabb84
ZL
96782018-07-20 Zong Li <zong@andestech.com>
9679
9680 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9681 URL of gcc's tarball.
9682
786658a0
FW
96832018-07-20 Florian Weimer <fweimer@redhat.com>
9684
9685 [BZ #23396]
9686 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9687 not compare an extra byte after the end of the weights.
9688
46f2474e
ST
96892018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9690
9691 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9692 to 1.
8ba1520e
ST
9693 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9694 hidden prototypes.
9695 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9696 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
9697 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9698 list of libraries whose stack executability is expected.
9699 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9700 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9701 variable.
9702 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9703 libc.so libpthread.so.
46f2474e 9704
60088242
TS
97052018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9706
9707 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9708 SOCK_NONBLOCK.
75d5e4a0
TS
9709 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9710 and SOCK_NONBLOCK.
de195be0
TS
9711 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9712 implement __pipe2.
9713 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 9714
1cf4ae7f
LS
97152018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9716
9717 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9718 library to improve command line parsing.
9719 (__main__): make schema file as optional parameter (--schema),
9720 defaulting to benchtests/scripts/benchout.schema.json.
9721 (main): move out of the parsing stuff to __main_  and leave it
9722 only as caller of main comparison functions.
9723
e84bd851
L
97242018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 * NEWS: Add a note for Intel CET status.
9727 * manual/install.texi: Likewise.
9728 * INSTALL: Regenerated.
9729
df467d22
QP
97302018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9731
9732 [BZ #23140]
9733 * localedata/locales/oc_FR (mon): Rename to...
9734 (alt_mon): This, then update October (typo fix).
9735 (mon): New content (genitive case, month names preceded by
9736 "de" or "d’").
9737
9738 [BZ #23422]
9739 * localedata/locales/oc_FR (abday): Update all items.
9740 (day): Update Wednesday and Saturday (typo fixes).
9741 (abmon): Update all items, except May.
9742 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9743 (LC_IDENTIFICATION): Bump the revision number and date.
9744 Keep the "category" entries in alphabetic order.
9745 (LC_ADDRESS): Remove no longer needed comment.
9746 (LC_COLLATE): Use “copy "ca_ES"”.
9747 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9748 "name_mrs".
9749
5c112f1b
JM
97502018-07-18 Joseph Myers <joseph@codesourcery.com>
9751
9752 * grp/tst_fgetgrent.c: Include <unistd.h>.
9753 (main): Use mkstemp instead of tmpnam.
9754 * io/test-utime.c (main): Likewise.
9755 * posix/annexc.c (macrofile): Change to modifiable array.
9756 (main): Remove macrofile here.
9757 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9758 macrofile here.
9759 (check_header): Do not remove macrofile here.
9760 * posix/bug-getopt1.c: Include <stdlib.h>.
9761 (do_test): Use mkstemp instead of tmpnam.
9762 * posix/bug-getopt2.c: Include <stdlib.h>.
9763 (do_test): Use mkstemp instead of tmpnam.
9764 * posix/bug-getopt3.c: Include <stdlib.h>.
9765 (do_test): Use mkstemp instead of tmpnam.
9766 * posix/bug-getopt4.c: Include <stdlib.h>.
9767 (do_test): Use mkstemp instead of tmpnam.
9768 * posix/bug-getopt5.c: Include <stdlib.h>.
9769 (do_test): Use mkstemp instead of tmpnam.
9770 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9771 (main): Use mkstemp instead of tmpnam.
9772 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9773 (main): Use mkstemp instead of tmpnam.
9774 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9775 (main): use mkstemp instead of tmpnam.
9776 * stdlib/isomac.c (macrofile): Change to modifiable array.
9777 (main): Remove macrofile here.
9778 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9779 macrofile here.
9780 (check_header): Do not remove macrofile here.
9781
6d90776d
L
97822018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9783
9784 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9785 glibc.tune.x86_shstk.
9786
e6c69509
L
97872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 * NEWS: Mention --enable-cet.
9790 * manual/install.texi: Document --enable-cet.
9791 * INSTALL: Regenerated.
9792
e2d40a88
L
97932018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9794
9795 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9796 Add _CET_NOTRACK before indirect jump to jump table.
9797
77a8ae09
L
97982018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9801 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9802 to jump table.
9803
90d15dc5
L
98042018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9807 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9808 to jump table.
9809
f1574581
L
98102018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9811
9812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9813 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9814 to jump table.
9815
7fb61336
L
98162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9819 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9820 to jump table.
9821
0a899af0
L
98222018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9823
9824 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9825 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9826 to jump table.
9827 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9828
177824e2
L
98292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9830
9831 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9832 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9833 to jump table.
9834
00e7b76a
L
98352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9836
9837 * sysdeps/i386/i686/multiarch/memset-sse2.S
9838 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9839 to jump table.
9840
7e119cd5
L
98412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9842
9843 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9844 indirect jump to jump table.
9845
03aaf49b
L
98462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9847
9848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9849 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9850 to jump table.
9851 (MEMCPY): Likewise.
9852
811e9e52
L
98532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9854
9855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9856 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9857 to jump table.
9858 (MEMCPY): Likewise.
9859
8817df42
L
98602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9861
9862 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9863 _CET_NOTRACK before indirect jump to jump table.
9864
921595d1
L
98652018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9868 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9869 to jump table.
9870
4ef60d95
L
98712018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9872
9873 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9874 indirect jump to jump table.
9875
61c4aad7
VT
98762018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9877
9878 [BZ #22241]
9879 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9880 (LOCALES): Likewise.
9881 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9882 * localedata/locales/sah_RU: New file.
9883 * localedata/sah_RU.UTF-8.in: New file.
9884
be9ccd27
L
98852018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9886
9887 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9888 "sysdep.h".
9889 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9890 _CET_ENDBR to indirect jump targets and adjust jump destination
9891 for _CET_ENDBR.
9892 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9893 "sysdep.h".
9894 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9895 _CET_ENDBR to indirect jump targets and adjust jump destination
9896 for _CET_ENDBR.
9897 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9898 "sysdep.h".
9899 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9900 _CET_ENDBR to indirect jump targets and adjust jump destination
9901 for _CET_ENDBR.
9902
5efc6777
L
99032018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9904
9905 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9906 _CET_ENDBR.
9907
562837c0
L
99082018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9909
9910 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9911 _CET_ENDBR.
9912 (_dl_tlsdesc_undefweak): Likewise.
9913 (_dl_tlsdesc_dynamic): Likewise.
9914 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9915 (_dl_tlsdesc_resolve_rel): Likewise.
9916 (_dl_tlsdesc_resolve_rela): Likewise.
9917 (_dl_tlsdesc_resolve_hold): Likewise.
9918 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9919 (_dl_tlsdesc_undefweak): Likewise.
9920 (_dl_tlsdesc_dynamic): Likewise.
9921 (_dl_tlsdesc_resolve_rela): Likewise.
9922 (_dl_tlsdesc_resolve_hold): Likewise.
9923
124bcde6
L
99242018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9927 (_fini): Likewise.
9928 * sysdeps/x86_64/crti.S (_init): Likewise.
9929 (_fini): Likewise.
9930
9145f033
RL
99312018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9932
9933 [BZ #23140]
9934 * localedata/locales/os_RU (mon): Rename to...
9935 (alt_mon): This.
9936 (mon): Import from CLDR (genitive case).
9937
ba2ea23d
L
99382018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9939
9940 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9941 cet-tunables.h> when CET is enabled.
9942
f753fa7d
L
99432018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9944
9945 [BZ #21598]
9946 * configure.ac: Add --enable-cet.
9947 * configure: Regenerated.
9948 * elf/Makefille (all-built-dso): Add a comment.
9949 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9950 Include <dl-prop.h>.
9951 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9952 segment.
9953 * elf/dl-open.c: Include <dl-prop.h>.
9954 (dl_open_worker): Call _dl_open_check.
9955 * elf/rtld.c: Include <dl-prop.h>.
9956 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9957 _rtld_main_check.
9958 * sysdeps/generic/dl-prop.h: New file.
9959 * sysdeps/i386/dl-cet.c: Likewise.
9960 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9961 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9962 * sysdeps/x86/cet-tunables.h: Likewise.
9963 * sysdeps/x86/check-cet.awk: Likewise.
9964 * sysdeps/x86/configure: Likewise.
9965 * sysdeps/x86/configure.ac: Likewise.
9966 * sysdeps/x86/dl-cet.c: Likewise.
9967 * sysdeps/x86/dl-procruntime.c: Likewise.
9968 * sysdeps/x86/dl-prop.h: Likewise.
9969 * sysdeps/x86/libc-start.h: Likewise.
9970 * sysdeps/x86/link_map.h: Likewise.
9971 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9972 _CET_ENDBR.
9973 (_dl_runtime_profile): Likewise.
9974 (_dl_runtime_resolve_shstk): New.
9975 (_dl_runtime_profile_shstk): Likewise.
9976 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9977 if CET is enabled.
9978 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9979 (CFLAGS-.os): Likewise.
9980 (CFLAGS-.op): Likewise.
9981 (CFLAGS-.oS): Likewise.
9982 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9983 is enabled.
9984 (tests-special): Add $(objpfx)check-cet.out.
9985 (cet-built-dso): New.
9986 (+$(cet-built-dso:=.note)): Likewise.
9987 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9988 ($(objpfx)check-cet.out): New.
9989 (generated): Add check-cet.out.
9990 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9991 <cet-tunables.h>.
9992 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9993 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9994 (init_cpu_features): Call get_cet_status to check CET status
9995 and update dl_x86_feature_1 with CET status. Call
9996 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9997 (set_x86_shstk). Disable and lock CET in libc.a.
9998 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9999 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10000 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10001 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10002 (_CET_ENDBR): Define if not defined.
10003 (ENTRY): Add _CET_ENDBR.
10004 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10005 x86_shstk.
10006 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10007 _CET_ENDBR.
10008 (_dl_runtime_profile): Likewise.
10009
52b2a80f
RA
100102018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10011
10012 [BZ #21895]
10013 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10014 restore r2 on longjmp.
10015 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10016 test list.
10017 Added rules to build test tst-setjmp-bug21895-static.
10018 Added module setjmp-bug21895 and rules to build a shared object from it.
10019 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10020 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10021
3ae725df
WD
100222018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10023
10024 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10025 * benchtests/bench-strstr.c: Likewise.
10026 * string/memmem.c (FASTSEARCH): Define.
10027 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10028 Add support for FASTSEARCH.
10029 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10030 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10031 (FASTSEARCH): Define.
10032 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10033 * string/test-strstr.c: Likewise.
10034
31e422ca
L
100352018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10036
10037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10038 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10039
faaee1f0
L
100402018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10041 H.J. Lu <hongjiu.lu@intel.com>
10042
10043 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10044 (__longjmp): Restore shadow stack pointer if shadow stack is
10045 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10046 isn't defined for __longjmp_cancel.
10047 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10048 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10049 and SHADOW_STACK_POINTER_OFFSET is defined.
10050 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10051 (setjmp): Save shadow stack pointer if shadow stack is enabled
10052 and SHADOW_STACK_POINTER_OFFSET is defined.
10053 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10054 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10055 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10056 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10057 <jmp_buf-ssp.h>.
10058 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10059 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10060 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10061 Remove jmp_buf-ssp.sym.
10062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10063 <jmp_buf-ssp.h>.
10064 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10065 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10066 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10067 jmp_buf-ssp.sym.
10068 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10069 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10070 (__longjmp): Restore shadow stack pointer if shadow stack is
10071 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10072 isn't defined for __longjmp_cancel.
10073 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10074 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10075 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10076
ebff9c5c
L
100772018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 [BZ #22563]
10080 * nptl/pthread_create.c: Include <tls-setup.h>.
10081 (__pthread_create_2_1): Call tls_setup_tcbhead.
10082 * sysdeps/generic/tls-setup.h: New file.
10083 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10084 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10085 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10086 Likewise.
10087 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10088 to feature_1.
10089 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10090 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10091 (X86_FEATURE_1_SHSTK): Likewise.
10092 (CET_ENABLED): Likewise.
10093 (IBT_ENABLED): Likewise.
10094 (SHSTK_ENABLED): Likewise.
10095
0a83bad2
RL
100962018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10097
10098 [BZ #23208]
10099 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10100 (LOCALES): Likewise.
10101 * localedata/dsb_DE.UTF-8.in: New file.
10102 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10103
046bfed9
FW
101042018-07-12 Florian Weimer <fweimer@redhat.com>
10105
10106 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10107 __mprotect, not mprotect.
10108
93304f5f
FW
101092018-07-11 Florian Weimer <fweimer@redhat.com>
10110
10111 * io/Makefile (headers): Add bits/statx.h.
10112
4beefeeb
MF
101132018-07-10 Mike FABIAN <mfabian@redhat.com>
10114
10115 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10116 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10117 and headers.
10118 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10119 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10120 for utf8_gen.py
10121
fd70af45
FW
101222018-07-10 Florian Weimer <fweimer@redhat.com>
10123
10124 * io/Makefile (routines): Add statx.
10125 (tests-internal): Add tst-statx.
10126 * io/Versions (GLIBC_2.28): Export statx.
10127 * io/bits/statx.h: New file.
10128 * io/sys/stat.h [__USE_GNU]: Include it.
10129 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10130 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10131 Define.
10132 * io/statx.c: New file.
10133 * io/statx_generic.: Likewise.
10134 * io/tst-statx.: Likewise.
10135 * include/bits/statx.h: Likewise.
10136 * sysdeps/unix/sysv/linux/kernel-features.h
10137 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10138 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10139 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10140 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10141 Undefine.
10142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10143 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10144 * sysdeps/unix/sysv/linux/statx.c: New file.
10145 * manual/filesys.texi: Note that statx is undocumented.
10146 * sysdeps/**/libc*.abilist: Update.
10147
b444e8f7
AZ
101482018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10149
10150 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10151 a kernel issue which lead to test failure in some cases.
10152
7b2f4ced
FW
101532018-07-10 Florian Weimer <fweimer@redhat.com>
10154
10155 [BZ #23036]
10156 * posix/regexec.c (check_node_accept_bytes): When comparing
10157 weights, do not compare an extra byte after the end of the
10158 weights.
10159
4fa34da6
FW
101602018-07-10 Florian Weimer <fweimer@redhat.com>
10161
10162 * libio/readline.c: Fix copyright year.
10163 * libio/tst-readline.c Likewise.
10164 * nss/tst-nss-files-hosts-getent.c: Likewise.
10165
916124ed
FW
101662018-07-06 Florian Weimer <fweimer@redhat.com>
10167
10168 [BZ #18991]
10169 * nss/nss_files/files-XXX.c (internal_getent): Use
10170 __libc_readline_unlocked. Seek back to the start of the line if
10171 parsing failes with ERANGE.
10172 (get_contents_ret, get_contents): Remove.
10173 * nss/tst-nss-files-hosts-getent.c: New file.
10174 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10175 (tst-nss-files-hosts-getent): Link with -ldl.
10176
3f5e3f5d
FW
101772018-07-06 Florian Weimer <fweimer@redhat.com>
10178
10179 * include/stdio.h (__libc_readline_unlocked): Declare.
10180 (__ftello64, __fseeko64): Declare aliases.
10181 * libio/readline.c: New file.
10182 * libio/tst-readline.c: Likewise.
10183 (routines): Add readline.
10184 (tests-internal): Add tst-readlime.
10185 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10186 __libc_readline_unlocked.
10187 * libio/fseeko.c (__fseeko): Rename from fseeko.
10188 (fseeko): Add alias.
10189 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10190 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10191 (fseeko64): Add alias.
10192 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10193 * libio/ftello64.c (__ftello64): Rename from ftello64.
10194 (ftello64): Add alias.
10195
397c54c1
SN
101962018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10197
10198 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10199 HWCAP_ATOMICS.
10200
d0cd7980
SN
102012018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10202
10203 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10204 Use dl_hwcap without masking.
10205 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10206 Remove HWCAP_CPUID.
10207
ddb3c626
FW
102082018-07-06 Florian Weimer <fweimer@redhat.com>
10209
10210 * conform/conformtest.pl (checknamespace): Escape literal braces
10211 in regular expressions.
10212
bce5911b
AP
102132018-07-06 Amit Pawar <amit.pawar@amd.com>
10214
10215 * sysdeps/x86/cpu-features.c (get_common_indeces):
10216 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10217 * sysdeps/x86/cpu-features.c (init_cpu_features):
10218 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10219
3a885c1f
FW
102202018-07-05 Florian Weimer <fweimer@redhat.com>
10221
10222 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10223 protector.
10224 (CFLAGS-elf-init.oS): Likewise.
10225
38cade0c
FW
102262018-07-05 Florian Weimer <fweimer@redhat.com>
10227 Carlos O'Donell <carlos@redhat.com>
10228
10229 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10230 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10231 with stack protector enabled because there is no risk of infinite
10232 recursion.
10233
9449a295
MR
102342018-07-05 Maciej W. Rozycki <macro@mips.com>
10235
10236 [BZ #19818]
10237 [BZ #23307]
10238 * libc-abis (ABSOLUTE): New ABI.
10239 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10240 * NEWS: Mention the new ABI.
10241
d6da5cb6
FW
102422018-07-05 Florian Weimer <fweimer@redhat.com>
10243
10244 [BZ # 17662]
10245 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10246 (RENAME_WHITEOUT): Define.
10247 [__USE_GNU] (renameat2): Declare.
10248 * stdio-common/Makefile (routines): Add renameat2.
10249 (tests): Add tst-renameat2.
10250 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10251 * stdio-common/renameat2.c: New file.
10252 * stdio-common/tst-renameat2.c: Likewise.
10253 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10254 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10255 undocumented.
10256 * sysdeps/unix/sysv/linux/kernel-features.h
10257 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10258 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10259 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10260 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10261 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10262 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10263 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10264 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10265 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10266 * include/stdio.h (__renameat): Add alias for renameat.
10267 * stdio-common/renameat.c (__renameat): Rename from renameat.
10268 Add hidden definition and alias.
10269 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10270 * sysdeps/mach/hurd/renameat.c: Likewise.
10271 * sysdeps/**/libc*.abilist: Add renameat2.
10272
1002d708
AZ
102732018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10274
10275 * posix/bug-regex33.c: Fix build after regex sync.
10276
34fdb893
CD
102772018-07-04 Carlos O'Donell <carlos@redhat.com>
10278
10279 [BZ #23164]
10280 * localedata/tst-langinfo-setlocale.c: New file.
10281 * localedata/tst-langinfo-setlocale-static.c: New file.
10282 * localedata/tst-langinfo-newlocale.c: New file.
10283 * localedata/tst-langinfo-newlocale-static.c: New file.
10284 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10285 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10286 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10287 (tests-static): Remove tst-langinfo-static. Add
10288 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10289 (tests-special): Remove $(objpfx)tst-langinfo.out,
10290 $(objpfx)tst-langinfo-static.out. Add
10291 $(objpfx)tst-langinfo-setlocale.out,
10292 $(objpfx)tst-langinfo-newlocale.out,
10293 $(objpfx)tst-langinfo-setlocale-static.out,
10294 $(objpfx)tst-langinfo-newlocale-static.out.
10295 ($(objpfx)tst-langinfo.out): Remove.
10296 ($(objpfx)tst-langinfo-static.out): Remove.
10297 ($(objpfx)tst-langinfo-newlocale.out): New target.
10298 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10299 (test-xfail-tst-langinfo-newlocale-static): Add.
10300 ($(objpfx)tst-langinfo-setlocale.out): New target.
10301 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10302 * localedata/tst-langinfo.c: Call test_locale.
10303 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10304 data.
10305
f2873d2d
FW
103062018-07-04 Florian Weimer <fweimer@redhat.com>
10307
10308 testrun.sh: Implement --tool=strace, --tool=valgrind
10309 * Makefile (testrun-script): Define variable.
10310 (testrun.sh): Use variable.
10311 * manual/install.texi (Tools for Compilation): make 4.0 or later
10312 is required.
10313 * configure.ac: Check for make 4.0 or later.
10314 * INSTALL: Regenerate.
10315 * configure: Likewise.
10316
eb04c213
AZ
103172018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10318
10319 [BZ #23233]
10320 [BZ #21163]
10321 [BZ #18986]
10322 [BZ #13762]
10323 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10324 * posix/PCRE.tests: Remove invalid test.
10325 * posix/bug-regex28.c: Fix expected values for used syntax.
10326 * posix/bug-regex37.c: New file.
10327 * posix/bug-regex38.c: Likewise.
10328 * posix/regcomp.c: Sync with gnulib.
10329 * posix/regex.c: Likewise.
10330 * posix/regex.h: Likewise.
10331 * posix/regex_internal.c: Likewise.
10332 * posix/regex_internal.h: Likewise.
10333 * posix/regexec.c: Likewise.
10334
b11643c2
MF
103352018-06-26 Mike FABIAN <mfabian@redhat.com>
10336
10337 [BZ #23308]
10338 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10339 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10340 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10341 * localedata/unicode-gen/PropList.txt: likewise.
10342 * localedata/unicode-gen/UnicodeData.txt: likewise.
10343 * localedata/charmaps/UTF-8: Regenerate.
10344 * localedata/locales/i18n_ctype: likewise.
10345 * localedata/locales/tr_TR: likewise.
10346 * localedata/locales/translit_circle: likewise.
10347 * localedata/locales/translit_cjk_compat: likewise.
10348 * localedata/locales/translit_combining: likewise.
10349 * localedata/locales/translit_compat: likewise.
10350 * localedata/locales/translit_font: likewise.
10351 * localedata/locales/translit_fraction: likewise.
10352
5a357506
FW
103532018-07-03 Florian Weimer <fweimer@redhat.com>
10354
10355 [BZ #23363]
10356 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10357 * stdio-common/tst-printf.sh: Adjust expected output.
10358 * LICENSES: Update.
10359
7279af00
AZ
103602018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10361
10362 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10363 symbol.
10364
b7b88cea
GG
103652018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10366
10367 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10368 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10369 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10370 * stdio-common/tst-printfsz-islongdouble.c: New file.
10371 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10372 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10373 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10374 [subdir == stdio-common] (tests-internal): Add
10375 test-printf-size-ieee128, and test-printf-size-ibm128.
10376 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10377 (CFLAGS-test-printf-size-ibm128.c): New variables.
10378 [subdir == stdio-common] (tests-special): Add
10379 $(objpfx)test-printf-size-ieee128.out and
10380 $(objpfx)test-printf-size-ibm128.out.
10381 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10382 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10383 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10384 __printf_sizeieee128.
10385 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10386 New file.
10387 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10388 Likewise.
10389 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10390 Likewise.
10391
2b445206
SN
103922018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10393
10394 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10395 (exp2f_inline): Likewise.
10396 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10397 (__math_uflowf): Likewise.
10398 (__math_may_uflowf): Likewise.
10399 (__math_divzerof): Likewise.
10400 (__math_invalidf): Likewise.
10401 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10402 (__math_oflowf): Likewise.
10403 (__math_uflowf): Likewise.
10404 (__math_may_uflowf): Likewise.
10405 (__math_divzerof): Likewise.
10406 (__math_invalidf): Likewise.
10407
2827ab99
CD
104082018-06-29 DJ Delorie <dj@redhat.com>
10409 Carlos O'Donell <carlos@redhat.com>
10410
10411 [BZ #23329]
10412 * include/libc-symbols.h: Comment the freeres framework.
10413 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10414 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10415 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10416 * dlfcn/dlerror.c: Include libc-symbols.h
10417 (__dlerror_main_freeres): New function.
10418 * dlfcn/dlfreeres.c: New file.
10419 * dlfcn/sdlfreeres.c: New file.
10420 * include/dlfcn.h: Declare __dlerror_main_freeres.
10421 * malloc/set-freeres.c: Declare __libdl_freeres, and
10422 __libpthread_freeres.
10423 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10424 the releavant libraries are loaded.
10425 * malloc/thread-freeres.c: Add comments.
10426 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10427 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10428 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10429 (__free_stacks): Rename to...
10430 (free_stacks): ...this. Mark static.
10431 (queue_stack): Call free_stacks.
10432 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10433 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10434 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10435 ptr_freeres element from struct.
10436 (pthread_functions): Remove .ptr_freeres from struct initializer.
10437 [SHARED] (nptl_freeres): Remove.
10438 * nptl/nptlfreeres.c: New file.
10439 * nptl/pthreadP.h
10440 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10441 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10442 attribute_hidden.
10443 (__free_stacks): Rename to...
10444 (__nptl_stacks_freeres): ...this.
10445 (__shm_directory_freeres): Declare.
10446 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10447 (__nptl_unwind_freeres): ...this.
10448 * resolv/res-close.c: Add comment.
10449 * resolv/resolv_conf.c: Include libc-symbols.h.
10450 * string/strerror_l.c: Include libc-symbols.h.
10451 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10452 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10453 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10454 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10455
37d3d244
RS
104562018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10457
10458 * stdlib/tst-strfmon_l.c: Add tests for long double.
10459
a1e0c5fa
MW
104602018-06-29 Michael Wolf <milupo@sorbzilla.de>
10461
10462 [BZ #23208]
10463 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10464 * localedata/locales/dsb_DE: New file.
10465
2e0c5de6
RL
104662018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10467
10468 [BZ #23140]
10469 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10470 genitive case).
10471 (alt_mon): New entry, import from CLDR (nominative case).
10472
cdb52c71
SL
104732018-06-29 Sylvain Lesage <severo@rednegra.net>
10474
10475 [BZ #22996]
10476 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10477
ce76a5cb
SP
104782018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10479
0aec4c1d
SP
10480 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10481 Use vector registers.
10482
ce76a5cb
SP
10483 * sysdeps/aarch64/multiarch/memmove_falkor.S
10484 (__memcpy_falkor): Use vector registers.
10485
7e8989d0
MS
104862018-06-29 Martin Sebor <msebor@redhat.com>
10487
10488 * manual/stdio.texi (Customizing Printf): Mention interaction
10489 with GCC built-ins.
10490
bac15a72
MR
104912018-06-29 Maciej W. Rozycki <macro@mips.com>
10492
10493 [BZ #23307]
10494 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10495 `st_value' is 0 if `st_shndx' is SHN_ABS.
10496 * elf/tst-absolute-zero.c: New file.
10497 * elf/tst-absolute-zero-lib.c: New file.
10498 * elf/tst-absolute-zero-lib.lds: New file.
10499 * elf/Makefile (tests): Add `tst-absolute-zero'.
10500 (modules-names): Add `tst-absolute-zero-lib'.
10501 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10502 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10503 ($(objpfx)tst-absolute-zero: New dependency.
10504
e69d994a
ZW
105052018-06-29 Zack Weinberg <zackw@panix.com>
10506
10507 * configure.ac: New command-line option --disable-crypt.
10508 Force --disable-nss-crypt when --disable-crypt is given, with a
10509 warning if it was explicitly enabled.
10510 * configure: Regenerate.
10511 * config.make.in: New boolean substitution variable $(build-crypt).
10512 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10513 when $(build-crypt).
10514 * manual/install.texi: Document --disable-crypt.
10515 * INSTALL: Regenerate.
10516
10517 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10518 which is never set.
10519 * conform/Makefile: Only include libcrypt.a in
10520 linknamespace-libs-xsi and linknamespace-libs-XPG4
10521 when $(build-crypt).
10522 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10523 USE_CRYPT to 1 when $(build-crypt).
10524 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10525 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10526 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10527
841785ba
ZW
105282018-06-29 Zack Weinberg <zackw@panix.com>
10529
10530 * crypt/crypt.h, posix/unistd.h: Update comments and
10531 prototypes for crypt and crypt_r.
10532
10533 * manual/crypt.texi (Cryptographic Functions): New initial
10534 exposition.
10535 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10536 (Unpredictable Bytes): Improve initial exposition. Clarify error
10537 behavior of getentropy and getrandom.
10538 * manual/examples/genpass.c: Generate a salt using getentropy
10539 instead of the current time. Use hash $5$ (SHA-2-256).
10540 * manual/examples/testpass.c: Demonstrate validation against
10541 hashes generated with three different one-way functions.
10542
10543 * manual/intro.texi: crypt.texi does not need an overview
10544 anymore.
10545
10546 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10547 * manual/terminal.texi: Consistently refer to "passphrases"
10548 * instead of "passwords", and to the "user database" instead
10549 * of the "password database".
10550 * manual/users.texi: Similarly. Add notes about how actual
10551 passphrase hashes are now stored in the shadow database.
10552 Remove 20-year-old junk todo note.
10553
6ab902e4
ZW
105542018-06-29 Zack Weinberg <zackw@panix.com>
10555
10556 * manual/crypt.texi: Use a normal top-level @node declaration.
10557 Move most of the introductory text to the 'crypt' section.
10558 Move the example programs below the @deftypefun for 'crypt_r'.
10559 Move the 'getpass' section...
10560 * manual/terminal.texi: ...here.
10561
b10a0acc
ZW
105622018-06-29 Zack Weinberg <zackw@panix.com>
10563 Florian Weimer <fweimer@redhat.com>
10564
10565 * posix/unistd.h: Do not declare encrypt.
10566 (_XOPEN_CRYPT): Remove macro definition.
10567 (crypt): Declare only for _USE_MISC.
10568 * stdlib/stdlib.h: Do not declare setkey.
10569 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10570 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10571
10572 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10573 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10574 into compat symbols. Don't define initial_perm if it's not
10575 going to be used.
10576 * crypt/cert.c: Link explicitly with the expected versions for
10577 setkey and encrypt. If they are not available at all, mark
10578 the test as unsupported.
10579
10580 * sunrpc/des_crypt.c: Unconditionally block linkage with
10581 cbc_crypt and ecb_crypt for new binaries.
10582 * sunrpc/des_soft.c: Unconditionally block linkage with
10583 des_setparity for new binaries.
10584
10585 * manual/crypt.texi: Remove the entire "DES Encryption"
10586 section. Also remove the paragraph talking about FIPS 140-2
10587 from the introduction.
10588 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10589 of libgcrypt for "real" encryption, not DES.
10590 * manual/conf.texi (Constants for Sysconf): Mention that
10591 _XOPEN_CRYPT is no longer impelemented.
10592
10593 * conform/data/unistd.h-data: Remove crypt function declaration.
10594
524d796d
FW
105952018-06-29 Florian Weimer <fweimer@redhat.com>
10596
10597 [BZ #23351]
10598 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10599 (disallow_malloc_check): Remove variable.
10600 (__malloc_check_init): Adjust.
10601 (malloc_set_state): Update comment.
10602 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10603 declarations.
10604
339124ab
RL
106052018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10606
10607 [BZ #23140]
10608 * localedata/locales/ast_ES (mon): Rename to...
10609 (alt_mon): This.
10610 (mon): Import from CLDR (genitive case).
10611
c1f86a33
DA
106122018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10613 Jakub Sitnicki <jkbs@redhat.com>
10614
10615 [BZ #21812]
10616 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10617 on NLM_F_DUMP_INTR.
10618
0b11b649
SN
106192018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10620
10621 * manual/llio.texi: Remove spurious space.
10622
c1c2848b
FW
106232018-06-28 Florian Weimer <fweimer@redhat.com>
10624
10625 [BZ #23349]
10626 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10627 _STRUCT_TIMESPEC.
10628
86a0f561
RS
106292018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10630
10631 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10632 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10633 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10634 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10635 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10636 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10637 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10638
780684eb
MR
106392018-06-27 Maciej W. Rozycki <macro@mips.com>
10640
10641 [BZ #23266]
10642 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10643 Copy and null-terminate entries that are not terminated, in
10644 addition to empty ones.
10645
c49e1822
FW
106462018-06-27 Florian Weimer <fweimer@redhat.com>
10647
10648 [BZ #18023]
10649 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10650 (extend_alloca_account): Remove.
10651 * manual/stdio.texi (Variable Arguments Output): Update comment.
10652
a833e627
JM
106532018-06-27 Joseph Myers <joseph@codesourcery.com>
10654
10655 * nptl/sockperf.c: Remove file.
10656
92d6aa85
FW
106572018-06-27 Florian Weimer <fweimer@redhat.com>
10658
10659 [BZ #18023]
10660 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10661 scratch_buffer instead of extend_alloca.
10662
890c2ced
FW
106632018-06-27 Florian Weimer <fweimer@redhat.com>
10664
10665 [BZ #18023]
10666 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10667 scratch_buffer instead of extend_alloca. Update comments.
10668
4272059d
FW
106692018-06-27 Florian Weimer <fweimer@redhat.com>
10670
10671 [BZ #18023]
10672 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10673 instead of extend_alloca.
10674
27f10a09
JM
106752018-06-26 Joseph Myers <joseph@codesourcery.com>
10676
10677 [BZ #13888]
10678 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10679 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10680 /tmp.
10681 * scripts/test-installation.pl: Put temporary files in build
10682 directory, not /tmp.
10683 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10684 (CFLAGS-bug4.c): Likewise.
10685 (CFLAGS-bug5.c): Likewise.
10686 (CFLAGS-test-fseek.c): Likewise.
10687 (CFLAGS-test-popen.c): Likewise.
10688 (CFLAGS-test_rdwr.c): Likewise.
10689 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10690 /tmp.
10691 * stdio-common/bug4.c (main): Likewise.
10692 * stdio-common/bug5.c (main): Likewise.
10693 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10694 * stdio-common/test-popen.c (do_test): Likewise.
10695 * stdio-common/test_rdwr.c (main): Likewise.
10696
05598a09
PF
106972018-06-26 Patsy Franklin <pfrankli@redhat.com>
10698
10699 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10700 (sem_open): Set sem.newsem.pad to zero for valgrind.
10701
06ab719d
AZ
107022018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10703
10704 [BZ #20251]
10705 * NEWS: Mention fcntl64 addition.
10706 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10707 * login/utmp_file.c: Likewise.
10708 * sysdeps/posix/fdopendir.c: Likewise.
10709 * sysdeps/posix/opendir.c: Likewise.
10710 * sysdeps/unix/pt-fcntl.c: Likewise.
10711 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10712 __fcntl64_nocancel_adjusted): New prototype.
10713 (__fcntl_nocancel_adjusted): Remove prototype.
10714 * io/Makefile (routines): Add fcntl64.
10715 (CFLAGS-fcntl64.c): New rule.
10716 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10717 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10718 * io/fcntl.h (fcntl64): Add prototype and redirect if
10719 __USE_FILE_OFFSET64 is defined.
10720 * io/fcntl64.c: New file.
10721 * manual/llio.text: Add a note for which commands fcntl acts a
10722 cancellation point.
10723 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10724 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10725 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10726 New symbols.
10727 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10728 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10729 non-LFS case.
10730 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10731 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10732 to __fcntl64_nocancel.
10733 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10734 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10735 to __fcntl64_nocancel.
10736 * sysdeps/generic/not-cancel.h: Likewise.
10737 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10738 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10739 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10740 (fcntl64): New symbol.
10741 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10743 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10752 fcntl64): Likewise.
10753 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10755 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10763 Likewise.
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10769
124e0258
FW
107702018-06-26 Florian Weimer <fweimer@redhat.com>
10771
10772 Run thread shutdown functions in an explicit order.
10773 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10774 definition.
10775 (__libc_thread_freeres): Call thread shutdown functions
10776 explicitly.
10777 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10778 * include/string.h (__strerror_thread_freeres): Declare.
10779 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10780 arena_thread_freeres. No longer static. Remove thread shutdown
10781 hook registration.
10782 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10783 Declare.
10784 * resolv/res-close.c (__res_thread_freeres): Renamed from
10785 res_thread_freeres. No longer static. Remove thread shutdown
10786 hook registration.
10787 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10788 * resolv/resolv_conf.c (freeres): Remove incorrect section
10789 attribute and use libc_freeres_fn.
10790 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10791 strerror_thread_freeres. No longer static. Remove thread
10792 shutdown hook registration.
10793 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10794 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10795 shutdown hook registration.
10796 * Makerules (shlib.lds): Do not provide section boundary symbols
10797 for __libc_thread_subfreeres.
10798 * manual/memory.texi (Basic Allocation): Update comment.
10799
935d920e
FW
108002018-06-26 Florian Weimer <fweimer@redhat.com>
10801
10802 Remove always-defined _RPC_THREAD_SAFE_ macro.
10803 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10804 Do not define _RPC_THREAD_SAFE_.
10805 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10806 conditional.
10807 * sunrpc/clnt_perr.c: Likewise.
10808 * sunrpc/clnt_raw.c: Likewise.
10809 * sunrpc/clnt_simp.c: Likewise.
10810 * sunrpc/key_call.c: Likewise.
10811 * sunrpc/rpc_common.c: Likewise.
10812 * sunrpc/rpc_main.c: Likewise.
10813 * sunrpc/rpc_thread.c: Likewise.
10814 * sunrpc/svc.c: Likewise.
10815 * sunrpc/svc_raw.c: Likewise.
10816 * sunrpc/svc_simple.c: Likewise.
10817 * sumrpc/svcauth_des.c: Likewise.
10818
29055464
FW
108192018-06-26 Florian Weimer <fweimer@redhat.com>
10820
10821 * libio/Makefile (tests-internal): Add tst-vtables,
10822 tst-vtables-interposed.
10823 * libio/tst-vtables.c: New file.
10824 * libio/tst-vtables-common.c: Likewise.
10825 * libio/tst-vtables-interposed.c: Likewise.
10826
5c0202af
FW
108272018-06-26 Florian Weimer <fweimer@redhat.com>
10828
10829 * support/support_test_main.c (support_test_main): Only call
10830 setvbuf if not disables.
10831 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10832 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10833
c402355d
FW
108342018-06-26 Florian Weimer <fweimer@redhat.com>
10835
10836 [BZ #23313]
10837 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10838
43b1048a
FW
108392018-06-25 Florian Weimer <fweimer@redhat.com>
10840
10841 [BZ #18023]
10842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10843 Use struct scratch_buffer instead of extend_alloca.
10844
1599ed4e
FW
108452018-06-25 Florian Weimer <fweimer@redhat.com>
10846
10847 [BZ #18023]
10848 * nss/getent.c (initgroups_keys): Use dynarray instead of
10849 extend_alloca.
10850
a26fe163
FW
108512018-06-25 Florian Weimer <fweimer@redhat.com>
10852
10853 [BZ #18023]
10854 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10855 Use struct scratch_buffer instead of extend_alloca.
10856
90d9d9ce
FW
108572018-06-25 Florian Weimer <fweimer@redhat.com>
10858
10859 [BZ #18023]
10860 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10861 back to malloc directly, without stack allocations.
10862
6b7b2aba
FW
108632018-06-25 Florian Weimer <fweimer@redhat.com>
10864
10865 [BZ #18023]
10866 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10867 of extend_alloca.
10868
2f9f0d18
FW
108692018-06-25 Florian Weimer <fweimer@redhat.com>
10870
10871 [BZ #18023]
10872 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10873 of extend_alloca.
10874 * nscd/hstcache.c (addhstbyX): Likewise.
10875 * nscd/pwdcache.c (addpwbyX): Likewise.
10876 * nscd/servicescache.c (addservbyX): Likewise.
10877
318bad78
FW
108782018-06-25 Florian Weimer <fweimer@redhat.com>
10879
10880 [BZ #18023]
10881 * nscd/connections.c (read_cmdline): New function.
10882 (restart): Use it. Update comment.
10883
189699ab
RL
108842018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10885
10886 [BZ #23140]
10887 * localedata/locales/csb_PL (mon): Rename to...
10888 (alt_mon): This.
10889 (abmon): Rename to...
10890 (ab_alt_mon): This.
10891 (mon): Add with proper genitive forms, copy from Wikipedia.
10892 (abmon): Likewise.
10893
0ea3f13c
RL
108942018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10895
10896 [BZ #19485]
10897 * localedata/locales/csb_PL (mon): Fix typos:
10898 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10899 (yesstr): Add, value is "jo".
10900 (nostr): Add, value is "nié".
10901
d93f4ff1
TMQMF
109022018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10903
10904 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10905 all log1p and significand functions on m680x0.
10906 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10907 of s_significand.c..
10908 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10909 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10910 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10911 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10912 s_log1p.c and include it..
10913
f6299d2a
VC
109142018-06-21 Vincent Chen <vincentc@andestech.com>
10915
10916 * elf/elf.h (R_NDS32_NONE): New define.
10917 (R_NDS32_32_RELA): Likewise.
10918 (R_NDS32_COPY): Likewise.
10919 (R_NDS32_GLOB_DAT): Likewise.
10920 (R_NDS32_JUMP_SLOT): Likewise.
10921 (R_NDS32_RELATIVE): Likewise.
10922 (R_NDS32_TLS_TPOFF): Likewise.
10923 (R_NDS32_TLS_DESC): Likewise.
10924
61ab61c2
MW
109252018-06-21 Mark Wielaard <mark@klomp.org>
10926
10927 * elf/elf.h (R_BPF_MAP_FD): Removed.
10928 (R_BPF_64_64, R_BPF_64_32): New.
10929
f496b28e
FW
109302018-06-21 Florian Weimer <fweimer@redhat.com>
10931
10932 [BZ #23253]
10933 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10934 Renamed from libc_feholdsetround_ctx.
10935 (default_libc_feresetround_ctx): Renamed from
10936 libc_feresetround_ctx.
10937 (default_libc_feholdsetround_noex_ctx): Renamed from
10938 libc_feholdsetround_noex_ctx.
10939 (default_libc_feresetround_noex_ctx): Renamed from
10940 libc_feresetround_noex_ctx.
10941 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10942 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10943 forwardning to the old implementations under the new names.
10944 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10945 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10946 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10947 (libc_feresetround_ctx): Forward to default implements for i386
10948 and MATH_SET_BOTH_ROUNDING_MODES.
10949 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10950 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10951
1760daad
JM
109522018-06-20 Joseph Myers <joseph@codesourcery.com>
10953
99c7adf9
JM
10954 * string/tst-cmp.c: Include <libc-diag.h>.
10955 (strncmp_max): Disable -Wstringop-overflow= around call to
10956 strncmp.
10957 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10958 strncasecmp.
10959
1760daad
JM
10960 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10961 (main): Disable -Wunused-value around call to strpbrk.
10962 * string/bug-strspn1.c: Include <libc-diag.h>.
10963 (main): Disable -Wunused-value around call to strspn.
10964
209ae17c
TMQMF
109652018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10966 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10967
10968 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10969 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10970
badba23c
TMQMF
109712018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10972
5e79e029
TMQMF
10973 * math/Makefile (libm-calls): Move s_significandF to...
10974 (gen-libm-calls): ... here.
10975 * math/s_significand_template.c: New file.
10976 * math/s_significand.c: Removed.
10977 * math/s_significandf.c: Removed.
10978 * math/s_significandl.c: Removed.
10979 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10980 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10981
badba23c
TMQMF
10982 * math/e_exp2_template.c (declare_mgen_finite_alias,
10983 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10984 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10985 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10986
2d1c89a5
FW
109872018-06-20 Florian Weimer <fweimer@redhat.com>
10988
10989 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10990
646c2833
JM
109912018-06-19 Joseph Myers <joseph@codesourcery.com>
10992
10993 [BZ #23280]
10994 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10995 floating-point number to strtod functions rather than possibly
10996 negating result of those functions.
10997 * stdio-common/tst-scanf-round.c: New file.
10998 * stdio-common/Makefile (tests): Add tst-scanf-round.
10999 ($(objpfx)tst-scanf-round): Depend on $(libm).
11000
c77e4dc0
ST
110012018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11002
11003 * sysdeps/mach/hurd/localplt.data: Move to...
11004 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11005 R_386_GLOB_DAT like on Linux i386.
11006
91b2f3e5
JM
110072018-06-18 Joseph Myers <joseph@codesourcery.com>
11008
f2857da7
JM
11009 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11010 (SHM_STAT_ANY): New macro.
11011 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11012 (SHM_STAT_ANY): Likewise.
11013 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11014 (SHM_STAT_ANY): Likewise.
11015 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11016 (SHM_STAT_ANY): Likewise.
11017 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11018 (SHM_STAT_ANY): Likewise.
11019 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11020 (SHM_STAT_ANY): Likewise.
11021 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11022 (SHM_STAT_ANY): Likewise.
11023 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11024 (SHM_STAT_ANY): Likewise.
11025 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11026 (SHM_STAT_ANY): Likewise.
11027 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11028 (SHM_STAT_ANY): Likewise.
11029 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11030 (SHM_STAT_ANY): Likewise.
11031 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11032 (SHM_STAT_ANY): Likewise.
11033
176c7fee
JM
11034 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11035 (SEM_STAT_ANY): New macro.
11036 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11037 (SEM_STAT_ANY): Likewise.
11038 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11039 (SEM_STAT_ANY): Likewise.
11040 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11041 (SEM_STAT_ANY): Likewise.
11042 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11043 (SEM_STAT_ANY): Likewise.
11044 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11045 (SEM_STAT_ANY): Likewise.
11046 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11047 (SEM_STAT_ANY): Likewise.
11048 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11049 (SEM_STAT_ANY): Likewise.
11050 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11051 (SEM_STAT_ANY): Likewise.
11052 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11053 (SEM_STAT_ANY): Likewise.
11054
86bf0019
JM
11055 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11056 (MSG_STAT_ANY): New macro.
11057 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11058 (MSG_STAT_ANY): Likewise.
11059 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11060 (MSG_STAT_ANY): Likewise.
11061 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11062 (MSG_STAT_ANY): Likewise.
11063 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11064 (MSG_STAT_ANY): Likewise.
11065 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11066 (MSG_STAT_ANY): Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11068 (MSG_STAT_ANY): Likewise.
11069 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11070 (MSG_STAT_ANY): Likewise.
11071 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11072 (MSG_STAT_ANY): Likewise.
11073 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11074 (MSG_STAT_ANY): Likewise.
11075
91b2f3e5
JM
11076 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11077 (MAP_TYPE): Change value to 0x2b.
11078
3fe8fc79
FW
110792018-06-18 Florian Weimer <fweimer@redhat.com>
11080
11081 [BZ #15722]
11082 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11083 socket with SOCK_CLOEXEC.
11084
809dc95d
JM
110852018-06-18 Joseph Myers <joseph@codesourcery.com>
11086
11087 [BZ #23303]
11088 * sysdeps/powerpc/powerpc64/le/Makefile
11089 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11090 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11091 (gnulib-tests): Also add $(f128-loader-link) for
11092 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11093
298a8b59
ST
110942018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11095
11096 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11097 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11098 of sendfile.
11099 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11100 (sendfile64): New strong alias.
faf7bbc2
ST
11101 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11102 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11103 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
11104 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11105 attribute.
11106 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11107 ___pthread_get_cleanup_stack.
932d05f0 11108 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
11109 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11110 * mach/shortcut.awk: Make syscall stubs include
11111 <mach-shortcuts-hidden.h> and add hidden definition.
11112 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
11113 (__mach_msg): Add hidden prototype.
11114 * mach/msg.c: Include <mach.h>.
11115 (__mach_msg): Add hidden definition.
b0344cf5
ST
11116 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11117 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11118 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11119 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
11120 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11121 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
11122 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11123 prototype and definition.
11124 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11125 hidden target for _hurd_self_sigstate.
298a8b59 11126
b12c1e79
JM
111272018-06-15 Joseph Myers <joseph@codesourcery.com>
11128
11129 [BZ #23007]
11130 * stdlib/tst-strtod-nan-sign-main.c: New file.
11131 * stdlib/tst-strtod-nan-sign.c: Likewise.
11132 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11133 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11134 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11135 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11136 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11137
b0debe14
HB
111382018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11139
11140 [BZ #23007]
11141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11142 appropriate sign.
11143
14beef75
FW
111442018-06-14 Florian Weimer <fweimer@redhat.com>
11145
11146 [BZ #23290]
11147 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11148 that the result stays within the ISO-8859-1 range.
11149 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11150 characters are defined in IBM273.
11151
c596630b
ST
111522018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11153
11154 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11155 __mach_task_self): Remove attribute_hidden.
11156
35ebb6b0
JM
111572018-06-14 Joseph Myers <joseph@codesourcery.com>
11158
11159 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11160 ignore -Wrestrict for one test.
11161
3c7b9f1f
SE
111622018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11163 Szabolcs Nagy <szabolcs.nagy@arm.com>
11164
11165 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11166
c59ee916
FW
111672018-06-14 Florian Weimer <fweimer@redhat.com>
11168
11169 * scripts/update-abilist.sh: Accept empty list of files to patch.
11170
43b5ff50
ST
111712018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11172
11173 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11174 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
11175 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11176 __libc_read and __libc_write to __read and __write.
c8c6e6d6 11177 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
11178 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11179 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11180 __thread_switch, __evc_wait): Move declarations to...
11181 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11182 attribute_hidden.
06d1a826
ST
11183 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11184 use PLT to call _hurd_self_sigstate.
43b5ff50 11185
fcd6b5ac
JM
111862018-06-13 Joseph Myers <joseph@codesourcery.com>
11187
11188 [BZ #23279]
11189 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11190 MAX_EXP as overflowing.
11191 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11192 overflow flag.
11193 (round_str): Output also whether result overflows in each rounding
11194 mode.
11195 * stdlib/tst-strtod-round-data: Add more tests.
11196 * stdlib/tst-strtod-round-data.h: Regenerated.
11197 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11198 (TEST): Handle extra arguments for overflow flags.
11199 (struct test_overflow): New type.
11200 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11201 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11202 (test_in_one_mode): Take argument with overflow information.
11203 (do_test): Update calls to test_in_one_mode.
11204
35df5a77
CD
112052018-06-12 Carlos O'Donell <carlos@redhat.com>
11206
a745c837
CD
11207 * elf/dl-load (_dl_dst_substitute): Correct comment.
11208 (_dl_dst_count): Likewise.
11209
35df5a77
CD
11210 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11211 lll_futex_timed_wait.
11212
48b12ed5
JM
112132018-06-12 Joseph Myers <joseph@codesourcery.com>
11214
11215 [BZ #23277]
11216 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11217 attribute.
11218 * math/test-nan-const.c: New file.
11219 * math/Makefile (tests): Add test-nan-const.
11220 (CFLAGS-test-nan-const.c): New variable.
11221
cb8f6aff
L
112222018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11223
11224 * benchtests/scripts/compare_strings.py (process_results): Add
11225 funcs argument. Compare only functions which are selected.
11226 (main): Check if base function is among selected functions.
11227 Pass selected functions to process_results.
11228 (__main__): Add -f/--functions argument.
11229
fc2ba803
HZ
112302018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11231 Hongbo Zhang <hongbo.zhang@linaro.org>
11232
11233 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11234 __memcpy_falkor for phecda core.
11235 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11236 __memmove_falkor for phecda core.
11237 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11238 __memset_falkor for phecda core.
11239 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11240 for phecda core.
11241 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11242 macro to identify phecda core.
11243
5aad5f61
CD
112442018-06-12 Carlos O'Donell <carlos@redhat.com>
11245 Andreas Schwab <schwab@suse.de>
11246 Dmitry V. Levin <ldv@altlinux.org>
11247 Florian Weimer <fweimer@redhat.com>
11248
11249 [BZ #23102]
11250 [BZ #21942]
11251 [BZ #18018]
11252 [BZ #23259]
11253 CVE-2011-0536
11254 * elf/dl-dst.h: Remove DL_DST_COUNT.
11255 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11256 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11257 (is_dst): Comment. Support ELF gABI.
11258 (_dl_dst_count): Comment. Simplify and count DSTs.
11259 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11260 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11261 locals.
11262
329ea513
ZW
112632018-06-12 Zack Weinberg <zackw@panix.com>
11264
11265 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11266 * sysdeps/unix/sysv/linux/dl-sysdep.c
11267 Include not-cancel.h. Use __close_nocancel instead of __close,
11268 __open64_nocancel instead of __open, __read_nocancel instead of
11269 __libc_read, and __write_nocancel instead of __libc_write.
11270
11271 * csu/check_fds.c (check_one_fd)
11272 * sysdeps/posix/fdopendir.c (__fdopendir)
11273 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11274 instead of __fcntl and/or __libc_fcntl.
11275
11276 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11277 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11278 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11279 Use __open64_nocancel instead of __open_nocancel.
11280
11281 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11282 hidden_proto declarations to the end and issue them if either
11283 IS_IN(libc) or IS_IN(rtld).
11284 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11285 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11286 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11287 read_nocancel, waitpid_nocancel, write_nocancel.
11288
11289 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11290 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11291 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11292
11293 * nptl/pt-fcntl.c: New file.
11294 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11295 (libpthread-routines): Add pt-fcntl.
11296 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11297 (__libc_fcntl): Remove attribute_hidden.
11298 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11299 __fcntl_nocancel_adjusted, not fcntl_common.
11300 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11301 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11302 to fcntl_nocancel.c.
11303 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11306 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11307
11308 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11309 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11310 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11311 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11312 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11313 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11314 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11315 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11316 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11317 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11318 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11319 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11320 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11321 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11322 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11323 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11324 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11325 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11326 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11327 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11328
11329 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11330 libpthread-routines.
11331 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11332 defines nothing.
11333
11334 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11335 __libc_read, and __write instead of __libc_write. Define
11336 __open64 in addition to __open.
11337
0221ce2a
L
113382018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 [BZ #23250]
11341 [BZ #10686]
11342 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11343 to _private_tm[3] and add __glibc_reserved2.
11344 Add _Static_assert of offset of __private_ss == 0x30.
11345 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11346 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11347
e826574c
FW
113482018-06-12 Florian Weimer <fweimer@redhat.com>
11349
11350 x86: Make strncmp usable from rtld.
11351 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11352 __strncmp_ia32 if in libc (and not in rtld).
11353 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11354 strncmp if not in libc (and not to __strncmp_sse2).
11355
c4ad5782
RL
113562018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11357
11358 [BZ #23140]
11359 * localedata/locales/gd_GB (mon): Rename to...
11360 (alt_mon): This.
11361 (mon): Import from CLDR (genitive case).
11362 * localedata/locales/hsb_DE (mon): Rename to...
11363 (alt_mon): This.
11364 (mon): Import from CLDR (genitive case).
11365 * localedata/locales/wa_BE (mon): Rename to...
11366 (alt_mon): This.
11367 (mon): Add, fill with the proper genitive forms, but CLDR data
11368 is incomplete; completed according to the comments in this file.
11369 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11370
11371 * localedata/locales/wa_BE (country_name): Reword
11372 "Beljike" -> "Beldjike".
11373
ca121b11
JM
113742018-06-11 Joseph Myers <joseph@codesourcery.com>
11375
11376 [BZ #23272]
11377 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11378 cases of non-finite arguments.
11379 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11380
2b69fecb
JDA
113812018-06-10 John David Anglin <danglin@gcc.gnu.org>
11382
11383 [BZ #23174]
11384 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11385
283d9851
AZ
113862018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11387
11388 [BZ #23264]
11389 * include/unistd.h (__execvpex): New prototype.
11390 * posix/Makefile (tests): Add tst-spawn4.
11391 (tests-internal): Add tst-spawn4-compat.
11392 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11393 * posix/tst-spawn4-compat.c: New file.
11394 * posix/tst-spawn4.c: Likewise.
11395 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11396 binaries as shell scripts.
11397 * sysdeps/posix/spawni.c (__spawni): Likewise.
11398
67c05796
L
113992018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11400
11401 [BZ #23145]
11402 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11403 ($(all-built-dso:=.dynsym): New target.
11404 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11405 ($(objpfx)check-initfini.out): New target.
11406 (generated): Add check-initfini.out.
11407 * scripts/check-initfini.awk: New file.
11408 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11409 (_fini): Likewise.
11410 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11411 (_fini): Likewise.
11412 * sysdeps/arm/crti.S (_init): Mark as hidden.
11413 (_fini): Likewise.
11414 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11415 (_fini): Likewise.
11416 * sysdeps/i386/crti.S (_init): Mark as hidden.
11417 (_fini): Likewise.
11418 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11419 (_fini): Likewise.
11420 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11421 (_fini): Likewise.
11422 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11423 (_fini): Likewise.
11424 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11425 (_fini): Likewise.
11426 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11427 (_fini): Likewise.
11428 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11429 (_fini): Likewise.
11430 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11431 (_fini): Likewise.
11432 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11433 (_fini): Likewise.
11434 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11435 (_fini): Likewise.
11436 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11437 (_fini): Likewise.
11438 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11439 (_fini): Likewise.
11440 * sysdeps/sh/crti.S (_init): Mark as hidden.
11441 (_fini): Likewise.
11442 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11443 (_fini): Likewise.
11444 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11445 (_fini): Likewise.
11446
1c09524e
TMQMF
114472018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11448
11449 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11450 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11451 and TF redirection to KFtype and KF only when the default
11452 long double type is not the IEEE 128-bit floating point type.
11453
0e0577c9
JM
114542018-06-05 Joseph Myers <joseph@codesourcery.com>
11455
0c1c33b2
JM
11456 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11457 macro.
11458 (HWCAP_USCAT): Likewise.
11459 (HWCAP_ILRCPC): Likewise.
11460 (HWCAP_FLAGM): Likewise.
11461 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11462 Increase to 28.
11463 (_dl_aarch64_cap_flags): Add new flag names.
11464
bef1cbf4
JM
11465 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11466 (MAP_FIXED_NOREPLACE): New macro.
11467 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11468 (MAP_FIXED_NOREPLACE): Likewise.
11469 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11470 (MAP_FIXED_NOREPLACE): Likewise.
11471 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11472 (MAP_FIXED_NOREPLACE): Likewise.
11473 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11474 (MAP_FIXED_NOREPLACE): Likewise.
11475 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11476 (MAP_FIXED_NOREPLACE): Likewise.
11477 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11478 (MAP_FIXED_NOREPLACE): Likewise.
11479 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11480 (MAP_FIXED_NOREPLACE): Likewise.
11481 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11482 (MAP_FIXED_NOREPLACE): Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11484 (MAP_FIXED_NOREPLACE): Likewise.
11485 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11486 (MAP_FIXED_NOREPLACE): Likewise.
11487 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11488 (MAP_FIXED_NOREPLACE): Likewise.
11489 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11490 (MAP_FIXED_NOREPLACE): Likewise.
11491 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11492 (MAP_FIXED_NOREPLACE): Likewise.
11493 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11494 (MAP_FIXED_NOREPLACE): Likewise.
11495
0e0577c9
JM
11496 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11497 version to 4.17.
11498
ab3a0da0
JM
114992018-06-04 Joseph Myers <joseph@codesourcery.com>
11500
11501 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11502 version to 4.17
11503
d2d9dfb6
ST
115042018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11505
11506 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11507 int.
11508 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11509
a650b05e
LS
115102018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11511
11512 * benchtests/scripts/compare_string.py: (process_results) Catch
11513 exception in non-existent base_func and catch exception in
11514 non-existent attribute.
11515 (parse_file) Catch exception if input file does not exist.
11516
195abbf4
LS
115172018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11518
11519 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11520 options to avoid diff calculation and omit header, respectively.
11521 (main): process --no-diff and --no-header
11522
14570163
LS
115232018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11524 H.J. Lu <hongjiu.lu@intel.com>
11525
11526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11527 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11528 wcsncmp-sse2.
11529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11530 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11531 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11532 and __wcsncmp_sse2.
11533 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11534 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11535 AVX unaligned load is fast and vzeroupper is preferred.
11536 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11537 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11538 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11539 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11540 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11541 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11542 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11543 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11544 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11545 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11546 is undefined.
11547
e02c026f
FW
115482018-06-01 Florian Weimer <fweimer@redhat.com>
11549
11550 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11551 configuring with --disable-multi-arch, building with
11552 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11553 Haswell-era CPU.
11554
d8c19275
FW
115552018-06-01 Florian Weimer <fweimer@redhat.com>
11556
11557 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11558 results from building with “-march=x86-64 -mtune=generic
11559 -mfpmath=sse” and running on a Haswell-era CPU.
11560
0d2163eb
JM
115612018-06-01 Joseph Myers <joseph@codesourcery.com>
11562
11563 [BZ #18473]
11564 * soft-fp/sqrttf2.c: Remove file.
11565 * soft-fp/sqrtdf2.c: Move to ....
11566 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11567 <shlib-compat.h>.
11568 (__sqrtdf2): Make conditional on
11569 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11570 symbol.
11571 * soft-fp/sqrtsf2.c: Move to ....
11572 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11573 <shlib-compat.h>.
11574 (__sqrtsf2): Make conditional on
11575 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11576 symbol.
11577 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11578 (gcc-double-routines): Remove sqrtdf2.
11579 (gcc-quad-routines): Remove sqrttf2.
11580 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11581 Do not filter out sqrtsf2 and sqrtdf2.
11582 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11583 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11584
10450210
FW
115852018-06-01 Florian Weimer <fweimer@redhat.com>
11586
11587 * sysdeps/generic/libcidn.abilist: Remove file.
11588
4e8a6346
FW
115892018-06-01 Florian Weimer <fweimer@redhat.com>
11590
11591 [BZ #23236]
11592 * libio/strfile.h (struct _IO_str_fields): Rename members to
11593 discourage their use and add comment.
11594 (_IO_STR_DYNAMIC): Remove unused macro.
11595 * libio/strops.c (_IO_str_init_static_internal): Do not use
11596 callback pointers. Call malloc and free.
11597 (_IO_str_overflow): Do not use callback pointers. Call malloc
11598 and free.
11599 (enlarge_userbuf): Likewise.
11600 (_IO_str_finish): Call free.
11601 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11602 _allocate_buffer_unused.
11603 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11604 and free.
11605 (enlarge_userbuf): Likewise.
11606 (_IO_wstr_finish): Call free.
11607 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11608 _allocate_buffer_unused, _free_buffer_unused.
11609 * libio/memstream.c (__open_memstream): Likewise.
11610 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11611 * libio/wmemstream.c (open_wmemstream): Likewise.
11612
50d004c9
PP
116132018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11614
11615 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11616 AMD Ryzen 7 1800X.
11617
2c93fce7
RS
116182018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11619
11620 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11621 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11622 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11623 New file.
11624 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11625 Likewise.
11626 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11627
0ce2fa69
FW
116282018-05-29 Florian Weimer <fweimer@redhat.com>
11629
11630 * support/Makefile (libsupport-routines): Add
11631 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11632 xpthread_barrierattr_setpshared.
11633 * support/xpthread_barrierattr_destroy.c: New file.
11634 * support/xpthread_barrierattr_init.c: Likewise.
11635 * support/xpthread_barrierattr_setpshared.c: Likewise.
11636
7f7b5d8d
L
116372018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 [BZ #23206]
11640 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11641 _r_debug and update DT_DEBUG for debugger.
11642
e4890300
FW
116432018-05-29 Florian Weimer <fweimer@redhat.com>
11644
11645 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11646 (tst-strtod5i.out): Likewise.
11647
2c753f3e
JM
116482018-05-25 Joseph Myers <joseph@codesourcery.com>
11649
b5453d9f
JM
11650 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11651 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11652 (sparc64-quad-routines): New variable. Moved from ....
11653 [$(subdir) = soft-fp] (sysdep_routines): Add
11654 $(sparc64-quad-routines). Moved from ....
11655 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11656 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11657 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11658 moved from ....
11659 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11660 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11661 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11662 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11663 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11664 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11665 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11666 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11667 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11668 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11669 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11670 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11671 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11672 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11673 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11674 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11675 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11676 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11677 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11678 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11679 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11680 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11681 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11682 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11683 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11684 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11685 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11686 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11687 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11688 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11689 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11690 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11692 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11693 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11694 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11695 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11696 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11697 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11698 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11699 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11700 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11701 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11702 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11703 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11704 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11705 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11706 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11707 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11708 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11709 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11710 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11711 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11712 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11713 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11714 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11716 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11717
2c753f3e
JM
11718 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11719 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11720 (sparc32-quad-routines): New variable. Moved from ....
11721 [$(subdir) = soft-fp] (sysdep_routines): Add
11722 $(sparc32-quad-routines). Moved from ....
11723 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11724 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11725 moved from ....
11726 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11727 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11728 * sysdeps/sparc/sparc32/q_add.c: ... here.
11729 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11730 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11731 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11732 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11733 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11734 * sysdeps/sparc/sparc32/q_div.c: ... here.
11735 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11736 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11737 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11738 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11739 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11740 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11741 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11742 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11743 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11744 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11745 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11746 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11747 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11748 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11749 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11750 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11751 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11752 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11753 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11754 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11755 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11756 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11757 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11758 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11759 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11760 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11761 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11762 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11763 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11764 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11765 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11766 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11767 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11768 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11769 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11770 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11771 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11772 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11773 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11774 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11775 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11776 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11777 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11778 * sysdeps/sparc/sparc32/q_util.c: ... here.
11779 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11780 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11781 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11782 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11783
c1dc1e1b
TMQMF
117842018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11785 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11786
11787 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11788 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11789 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11790 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11791
14186e8d
JM
117922018-05-24 Joseph Myers <joseph@codesourcery.com>
11793
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11795 powerpc/soft-fp.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11797 Likewise.
11798 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11799 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11800
fb0e10b8
GG
118012018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11802
11803 [BZ #23171]
11804 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11805 double version.
11806
1dfeb17e
JM
118072018-05-23 Joseph Myers <joseph@codesourcery.com>
11808
11809 * sysdeps/sh/Implies: Remove sh/soft-fp.
11810 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11811 * sysdeps/sh/sfp-machine.h: ... here.
11812
727b38df
L
118132018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11814
11815 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11816 (__mempcpy_erms): Skip zero length.
11817 (__memmove_erms): Likewise.
11818 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11819 (__memset_erms): Likewise.
11820
2834fb46
JM
118212018-05-23 Joseph Myers <joseph@codesourcery.com>
11822
11823 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11824 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11825 Add functions moved from ....
11826 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11827 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11828 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11829 from ....
11830 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11831 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11832 * sysdeps/alpha/e_sqrtl.c: ... here.
11833 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11834 * sysdeps/alpha/local-soft-fp.h: ... here.
11835 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11836 * sysdeps/alpha/ots_add.c: ... here.
11837 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11838 * sysdeps/alpha/ots_cmp.c: ... here.
11839 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11840 * sysdeps/alpha/ots_cmpe.c: ... here.
11841 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11842 * sysdeps/alpha/ots_cvtqux.c: ... here.
11843 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11844 * sysdeps/alpha/ots_cvtqx.c: ... here.
11845 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11846 * sysdeps/alpha/ots_cvttx.c: ... here.
11847 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11848 * sysdeps/alpha/ots_cvtxq.c: ... here.
11849 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11850 * sysdeps/alpha/ots_cvtxt.c: ... here.
11851 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11852 * sysdeps/alpha/ots_div.c: ... here.
11853 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11854 * sysdeps/alpha/ots_mul.c: ... here.
11855 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11856 * sysdeps/alpha/ots_nintxq.c: ... here.
11857 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11858 * sysdeps/alpha/ots_sub.c: ... here.
11859 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11860 * sysdeps/alpha/sfp-machine.h: ... here.
11861
7f9f1ecb
FW
118622018-05-23 Florian Weimer <fweimer@redhat.com>
11863
11864 [BZ #19728]
11865 [BZ #19729]
11866 [BZ #22247]
11867 CVE-2016-6261
11868 CVE-2016-6263
11869 CVE-2017-14062
11870 Switch to extern IDNA implementation (libidn2).
11871 * libidn: Remove subdirectory.
11872 * LICENSES: Do not mention licensing conditions for the removed
11873 libidn code.
11874 * config.h.in (HAVE_LIBIDN): Remove.
11875 * include/dlfcn.h (__libc_dlopen): Update comment.
11876 * include/idna.h: Remove file.
11877 * inet/Makefile (routines): Add idna.
11878 (tests-static, tests-internal): Add tst-idna_name_classify.
11879 (LOCALES): Generate locales for tests.
11880 (tst-idna_name_classify.out): Depend on generated locales.
11881 * inet/idna_name_classify.c: New file.
11882 * inet/tst-idna_name_classify.c: Likewise.
11883 * inet/net-internal.h (__idna_to_dns_encoding)
11884 (__idna_from_dns_encoding): Declare.
11885 * inet/net-internal.h (enum idna_name_classification): Define.
11886 (__idna_name_classify): Declare.
11887 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11888 __idna_from_dns_encoding.
11889 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11890 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11891 name as a fallback in case of encoding errors.
11892 (getnameinfo): Use DEPRECATED_NI_IDN.
11893 * inet/idna.c: New file.
11894 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11895 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11896 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11897 (modules-names): Add tst-no-libidn2.
11898 (extra-test-objs): Add tst-no-libidn2.os.
11899 (LDFLAGS-tst-no-libidn2.so): Set soname.
11900 (LOCALES): Set, and generate locales.
11901 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11902 (tst-resolv-ai_idn-latin1): Likewise.
11903 (tst-resolv-ai_idn-nolibidn2): Likewise.
11904 (tst-resolv-ai_idn.out): Depend on locales.
11905 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11906 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11907 tst-no-libidn2.so.
11908 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11909 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11910 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11911 * resolv/tst-resolv-ai_idn.c: New file.
11912 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11913 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11914 * resolv/tst-no-libidn2.c: Likewise.
11915 * support/support_format_addrinfo.c (format_ai_flags): Do not
11916 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11917 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11918 (gaih_inet): Call __idna_to_dns_encoding and
11919 __idna_from_dns_encoding, and use the original (punycode) name if
11920 __idna_from_dns_encoding fails due to an encoding error.
11921 (getaddrinfo): Use DEPRECATED_AI_IDN.
11922 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11923 * sysdeps/unix/inet/configure: Remove file.
11924 * sysdeps/unix/inet/configure.ac: Likewise.
11925
5f7b841d
FW
119262018-05-23 Florian Weimer <fweimer@redhat.com>
11927
11928 Implement allocate_once.
11929 * include/allocate_once.h: New file.
11930 * misc/allocate_once.c: Likewise.
11931 * misc/tst-allocate_once.c: Likewise.
11932 * misc/Makefile (routines): Add allocate_once.
11933 (tests-internal): Add tst-allocate_once.
11934 (generated): Add tst-allocate_once.mtrace,
11935 tst-allocate_once-mem.out.
11936 (tests-special): Add tst-allocate_once-mem.out.
11937 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11938 (tst-allocate_once-mem.out): Call mtrace.
11939 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11940
ed983107
L
119412018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 [BZ #23196]
11944 * string/test-memcpy.c (do_test1): New function.
11945 (test_main): Call it.
11946
9aaaab7c
AS
119472018-05-23 Andreas Schwab <schwab@suse.de>
11948
11949 [BZ #23196]
11950 CVE-2018-11237
11951 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11952 (L(preloop_large)): Save initial destination pointer in %r11 and
11953 use it instead of %rax after the loop.
11954 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11955
5c5c0dd7
JM
119562018-05-22 Joseph Myers <joseph@codesourcery.com>
11957
8f145c77
JM
11958 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11959 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11960 -I../soft-fp. Moved from ....
11961 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11962 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11963 * sysdeps/aarch64/e_sqrtl.c: ... here.
11964 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11965 * sysdeps/aarch64/sfp-machine.h: ... here.
11966
3d6302a5
JM
11967 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11968 -Wmaybe-uninitialized around access to fq[0].
11969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11970 Likewise.
11971
5c5c0dd7
JM
11972 [BZ #18471]
11973 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11974 aliases for non-libc case of versioned symbols.
11975 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11976 (llseek): Define as compat symbol if
11977 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11978 with link warning.
11979 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11980 Make into a compat symbol, disabled for minimum symbol version
11981 GLIBC_2.28 and later.
11982 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11983
ed0d6988
FW
119842018-05-22 Florian Weimer <fweimer@redhat.com>
11985
11986 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11987 not add -mpreferred-stack-boundary=4.
11988 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11989 (stack-align-test-flags): Likewise.
11990 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11991 Likewise.
11992 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11993 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11994 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11995 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11996 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11997 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11998 (CFLAGS-tst-align2.c): Likewise.
11999
e28e9b1e
L
120002018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12003 (index_arch_Prefer_FSRM): Likewise.
12004 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12005 Also check Prefer_FSRM.
12006 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12007 Also return OPTIMIZE (erms) for Prefer_FSRM.
12008
1af30adc
L
120092018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12012 (index_cpu_FSRM): Likewise.
12013 (reg_FSRM): Likewise.
12014
78274dc8
JM
120152018-05-18 Joseph Myers <joseph@codesourcery.com>
12016
7c67e6e8
JM
12017 * math/gen-tgmath-tests.py: Import sys.
12018 (Tests.__init__): Initialize macros_seen.
12019 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12020 if requested to do so for this macro.
12021 (Tests.add_all_tests): Take argument for macro for which to
12022 generate tests.
12023 (Tests.check_macro_list): New function.
12024 (main): Handle check-list argument and argument specifying macro
12025 for which to generate tests.
12026 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12027 [PYTHON] (tgmath3-macro-tests): Likewise.
12028 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12029 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12030 not test-tgmath3.c.
12031 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12032 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12033 to CFLAGS.
12034 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12035 [PYTHON] ($(foreach
12036 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12037 rule.
12038 [PYTHON] (tests-special): Add
12039 $(objpfx)test-tgmath3-macro-list.out.
12040 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12041
ebc129fd
JM
12042 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12043 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12044 later.
12045
78274dc8
JM
12046 [BZ #22639]
12047 * time/tzset.c (SECSPERDAY): Cast to time_t.
12048 * time/tst-y2039.c: New file.
12049 * time/Makefile (tests): Add tst-y2039.
12050
6f7fdeeb
LS
120512018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12052
12053 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12054 (PREFETCH_ONE_SET): Remove duplicate line.
12055
e363a91c
FW
120562018-05-17 Florian Weimer <fweimer@redhat.com>
12057
12058 * sysdeps/generic/math-type-macros-double.h: Include
12059 <math-nan-payload-double.h> after <libm-alias-double.h>.
12060 * sysdeps/generic/math-type-macros-float.h: Include
12061 <math-nan-payload-float.h> after <libm-alias-float.h>.
12062 * sysdeps/generic/math-type-macros-float128.h: Include
12063 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12064 * sysdeps/generic/math-type-macros-ldouble.h: Include
12065 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12066
dae6c43c
AS
120672018-05-17 Andreas Schwab <schwab@suse.de>
12068
12069 * resolv/res_send.c (__res_context_send): Don't set errno when
12070 returing error after malloc failure.
12071
0068c085
L
120722018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12073
12074 * nptl/allocatestack.c (allocate_stack): Remove the
12075 !__ASSUME_PRIVATE_FUTEX paths.
12076 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12077 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12078 Likewise.
12079 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12080 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12081 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12082 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12083 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12084 !__ASSUME_PRIVATE_FUTEX path.
12085 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12086 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12087 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12088 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12089 !__ASSUME_PRIVATE_FUTEX macros.
12090 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12091 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12092 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12093 * sysdeps/unix/sysv/linux/kernel-features.h
12094 (__ASSUME_PRIVATE_FUTEX): Removed.
12095
632a6cbe
JM
120962018-05-17 Joseph Myers <joseph@codesourcery.com>
12097
12098 * math/Makefile (libm-narrow-fns): Add div.
12099 (libm-test-funcs-narrow): Likewise.
12100 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12101 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12102 * math/gen-auto-libm-tests.c (test_functions): Add div.
12103 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12104 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12105 (NARROW_DIV_TRIVIAL): Likewise.
12106 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12107 macro.
12108 (__ddivl): Likewise.
12109 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12110 ddiv.
12111 (CFLAGS-nldbl-ddiv.c): New variable.
12112 (CFLAGS-nldbl-fdiv.c): Likewise.
12113 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12114 __nldbl_ddivl.
12115 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12116 prototype.
12117 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12118 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12119 * math/auto-libm-test-in: Add tests of div.
12120 * math/auto-libm-test-out-narrow-div: New generated file.
12121 * math/libm-test-narrow-div.inc: New file.
12122 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12123 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12124 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12125 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12126 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12127 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12130 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12133 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12134 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12135 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12136 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12137 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12138 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12139 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12141 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12166
8c78faa9
AZ
121672018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12168
12169 [BZ #23178]
12170 * nscd/nscd-client.h (sendfileall): Remove prototype.
12171 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12172 (handle_request): Use writeall instead of sendfileall.
12173 * nscd/aicache.c (addhstaiX): Likewise.
12174 * nscd/grpcache.c (cache_addgr): Likewise.
12175 * nscd/hstcache.c (cache_addhst): Likewise.
12176 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12177 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12178 * nscd/pwdcache.c (cache_addpw): Likewise.
12179 * nscd/servicescache.c (cache_addserv): Likewise.
12180 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12181 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12183 Remove define.
12184
04958880
L
121852018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12188 Include <string/strncat.c>.
12189 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12190 alias.
12191 (__GI___strncat): New hidden alias.
12192
c9992d13
JM
121932018-05-16 Joseph Myers <joseph@codesourcery.com>
12194
12195 * sysdeps/mips/mips32/libm-test-ulps: Update.
12196 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12197
2afece36
FW
121982018-05-16 Florian Weimer <fweimer@redhat.com>
12199
12200 * support/Makefile (libsupport-routines): Add support_quote_blob,
12201 support_test_compare_blob.
12202 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12203 * support/check.h (TEST_COMPARE_BLOB): Define.
12204 (support_test_compare_blob): Declare.
12205 * support/support.h (support_quote_blob): Declare.
12206 * support/support_quote_blob.c: New file.
12207 * support/support_test_compare_blob.c: Likewise.
12208 * support/tst-support_quote_blob.c: Likewise.
12209 * support/tst-test_compare_blob.c: Likewise.
12210
9761bf4d
FW
122112018-05-16 Florian Weimer <fweimer@redhat.com>
12212
12213 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12214 of <strtod_nan_double.h>.
12215 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12216 instead of SET_MANTISSA.
12217 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12218 of include <strtod_nan_float.h>.
12219 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12220 instead of <strtod_nan_ldouble.h>.
12221 * stdlib/strtod_nan_double.h: Move to ...
12222 * sysdeps/generic/math-nan-payload-double.h: ... here.
12223 (FLOAT): Remove definition.
12224 (SET_MANTISSA): Rename to ...
12225 (SET_NAN_PAYLOAD): ... this.
12226 * stdlib/strtod_nan_float.h: Move to ...
12227 * sysdeps/generic/math-nan-payload-float.h: ... here.
12228 (FLOAT): Remove definition.
12229 (SET_MANTISSA): Rename to ...
12230 (SET_NAN_PAYLOAD): ... this.
12231 * sysdeps/generic/math-type-macros-double.h: Include
12232 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12233 instead of <math-svid-compat.h>.
12234 * sysdeps/generic/math-type-macros-float.h: Include
12235 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12236 instead of <math-svid-compat.h>.
12237 * sysdeps/generic/math-type-macros-float128.h: Include
12238 <math-nan-payload-float128.h>.
12239 * sysdeps/generic/math-type-macros-ldouble.h: Include
12240 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12241 instead of <math-svid-compat.h>.
12242 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12243 check for definition.
12244 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12245 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12246 Include <ieee754_float128.h>.
12247 (FLOAT): Remove definition.
12248 (SET_MANTISSA): Rename to ...
12249 (SET_NAN_PAYLOAD): ... this.
12250 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12251 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12252 Do not include <float128_private.h>.
12253 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12255 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12256 (FLOAT): Remove definition.
12257 (SET_MANTISSA): Rename to ...
12258 (SET_NAN_PAYLOAD): ... this.
12259 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12260 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12261 (FLOAT): Remove definition.
12262 (SET_MANTISSA): Rename to ...
12263 (SET_NAN_PAYLOAD): ... this.
12264 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12265 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12266 (FLOAT): Remove definition.
12267 (SET_MANTISSA): Rename to ...
12268 (SET_NAN_PAYLOAD): ... this.
12269 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12270 of "../stdlib/strtod_nan_double.h".
12271 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12272 of "../stdlib/strtod_nan_float.h".
12273 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12274 instead of "../stdlib/strtod_nan_ldouble.h".
12275 * manual/arith.texi (Parsing of Floats): Adjust comment.
12276
69a01461
JM
122772018-05-16 Joseph Myers <joseph@codesourcery.com>
12278
12279 * math/Makefile (libm-narrow-fns): Add mul.
12280 (libm-test-funcs-narrow): Likewise.
12281 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12282 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12283 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12284 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12285 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12286 (NARROW_MUL_TRIVIAL): Likewise.
12287 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12288 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12289 macro.
12290 (__dmull): Likewise.
12291 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12292 dmul.
12293 (CFLAGS-nldbl-dmul.c): New variable.
12294 (CFLAGS-nldbl-fmul.c): Likewise.
12295 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12296 __nldbl_dmull.
12297 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12298 prototype.
12299 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12300 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12301 * math/auto-libm-test-in: Add tests of mul.
12302 * math/auto-libm-test-out-narrow-mul: New generated file.
12303 * math/libm-test-narrow-mul.inc: New file.
12304 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12307 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12308 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12309 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12317 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12318 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12319 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12320 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12321 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12323 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12348
a15529fd
L
123492018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12350
12351 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12352 with *%eax in call.
12353
98ee36c7
L
123542018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12355
12356 * sysdeps/i386/ldsodefs.h: Removed.
12357 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12358 * sysdeps/x86/ldsodefs.h: This.
12359 (La_i86_regs): New.
12360 (La_i86_retval): Likewise.
12361 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12362 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12363
e322ec32
L
123642018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12367 unnecessary testl.
12368
0937e209
AM
123692018-05-13 Alan Modra <amodra@gmail.com>
12370
12371 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12372 R_PARISC_TLS_DTPOFF32 reloc addend.
12373
5db7d705
TMQMF
123742018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12375
12376 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12377 * math/math.h: Restrict the prototype definition for the functions
12378 issignaling(_Float128) and iszero(_Float128); and template
12379 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12380 __HAVE_FLOAT128_UNLIKE_LDBL.
12381 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12382 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12383 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12384 __f128() constants; define the type _Float128 as long double;
12385 and reuse long double in __CFLOAT128.
12386
b4d5b8b0
JM
123872018-05-11 Joseph Myers <joseph@codesourcery.com>
12388
12389 * sysdeps/generic/math_private.h: Do not include
12390 <math-barriers.h>.
12391 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12392 <math_private.h>.
12393 * math/fromfp.h: Include <math-barriers.h>.
12394 * math/math-narrow.h: Likewise.
12395 * math/s_nextafter.c: Likewise.
12396 * math/s_nexttowardf.c: Likewise.
12397 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12398 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12399 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12400 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12401 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12402 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12403 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12418 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12419 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12422 * sysdeps/ieee754/k_standardl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12440 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12441 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12442 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12443 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12444 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12445
fc79706a
FW
124462018-05-11 Florian Weimer <fweimer@redhat.com>
12447
12448 Use 64-bit epoch values in the time zone file parser.
12449 * include/time.h (internal_time_t): Define.
12450 (__tzfile_compute): Use it.
12451 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12452 member.
12453 (transitions): Switch to internal_time_t.
12454 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12455 types.
12456 (__tzfile_compute): Use internal_time_t for timer argument. Check
12457 for truncation before calling __offtime.
12458
89aacb51
FW
124592018-05-11 Florian Weimer <fweimer@redhat.com>
12460
12461 [BZ #23166]
12462 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12463 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12464 Likewise.
12465 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12466 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12467 export without --enable-obsolete-rpc.
12468 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12469 symbol. This should not have been exported, ever.
12470
bb066cb8
RL
124712018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12472
12473 [BZ #23152]
12474 * localedata/locales/gd_GB (abmon): Fix typo in May:
12475 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12476
70c97f84
SP
124772018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12478
db725a45
SP
12479 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12480 Use multiple registers to copy data in loop tail.
12481
70c97f84
SP
12482 * sysdeps/aarch64/multiarch/memmove_falkor.S
12483 (__memmove_falkor): Use multiple registers to move data in
12484 loop tail.
12485
8f5b00d3
JM
124862018-05-10 Joseph Myers <joseph@codesourcery.com>
12487
12488 * math/math-underflow.h: New file.
12489 * sysdeps/generic/math_private.h: Do not include <float.h>.
12490 (fabs_tg): Remove macro. Moved to math-underflow.h.
12491 (min_of_type_f): Likewise.
12492 (min_of_type_): Likewise.
12493 (min_of_type_l): Likewise.
12494 (min_of_type_f128): Likewise.
12495 (min_of_type): Likewise.
12496 (math_check_force_underflow): Likewise.
12497 (math_check_force_underflow_nonneg): Likewise.
12498 (math_check_force_underflow_complex): Likewise.
12499 * math/e_exp2_template.c: Include <math-underflow.h>.
12500 * math/k_casinh_template.c: Likewise.
12501 * math/s_catan_template.c: Likewise.
12502 * math/s_catanh_template.c: Likewise.
12503 * math/s_ccosh_template.c: Likewise.
12504 * math/s_cexp_template.c: Likewise.
12505 * math/s_clog10_template.c: Likewise.
12506 * math/s_clog_template.c: Likewise.
12507 * math/s_csin_template.c: Likewise.
12508 * math/s_csinh_template.c: Likewise.
12509 * math/s_csqrt_template.c: Likewise.
12510 * math/s_ctan_template.c: Likewise.
12511 * math/s_ctanh_template.c: Likewise.
12512 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12514 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12515 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12521 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12525 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12526 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12527 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12529 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12530 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12532 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12533 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12534 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12537 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12540 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12541 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12542 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12543 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12589 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12590 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12592 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12596
9ed2e15f
JM
125972018-05-09 Joseph Myers <joseph@codesourcery.com>
12598
12599 * sysdeps/generic/math-barriers.h: New file.
12600 * sysdeps/generic/math_private.h [!math_opt_barrier]
12601 (math_opt_barrier): Move to math-barriers.h.
12602 [!math_opt_barrier] (math_force_eval): Likewise.
12603 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12604 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12605 math-barriers.h.
12606 (math_force_eval): Likewise.
12607 * sysdeps/alpha/fpu/math-barriers.h: New file.
12608 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12609 math-barriers.h.
12610 (math_force_eval): Likewise.
12611 * sysdeps/x86/fpu/math-barriers.h: New file.
12612 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12613 math-barriers.h.
12614 (math_force_eval): Likewise.
12615 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12616 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12617 multiple-include guard for rename.
12618 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12619 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12620 math-barriers.h.
12621 (math_force_eval): Likewise.
12622
5460617d
PP
126232018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12624
12625 [BZ #22786]
43d4f3d5 12626 CVE-2018-11236
5460617d
PP
12627 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12628 computation.
12629 * stdlib/Makefile (test-bz22786): New test.
12630 * stdlib/test-bz22786.c: New test.
12631
aaee3cd8
JM
126322018-05-09 Joseph Myers <joseph@codesourcery.com>
12633
12634 * include/math-narrow-eval.h: New file. Contents moved from ....
12635 * sysdeps/generic/math_private.h: ... here.
12636 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12637 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12638 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12639 * stdlib/strtod_l.c: Likewise.
12640 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12641 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12642 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12658 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12664 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12666 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12667 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12669
0555c477
AS
126702018-05-08 Andreas Schwab <schwab@suse.de>
12671
12672 * sysdeps/nptl/internaltypes.h: Fix comment.
12673
50d7d351
L
126742018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12675
12676 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12677 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12678 hidden.
12679
543477f7
SP
126802018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12681
12682 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12683 of I into loop header.
12684 * benchtests/bench-memmove-walk.c
12685 (test_main): Likewise.
12686
126872018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12688
12689 Revert:
12690 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12691 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12692
0065aaaa
PP
126932018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12694
12695 [BZ #20419]
12696 * elf/dl-load.c (open_verify): Fix stack overflow.
12697 * elf/Makefile (tst-big-note): New test.
12698 * elf/tst-big-note-lib.S: New.
12699 * elf/tst-big-note.c: New.
12700
b289cd9d
JM
127012018-05-04 Joseph Myers <joseph@codesourcery.com>
12702
12703 * scripts/abilist.awk: Ignore absolute symbols.
12704 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12705 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12706 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12707 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12708 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12709 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12710 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12711 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12712 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12713 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12714 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12715 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12796 Likewise.
12797 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12810 Likewise.
12811 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12859 Likewise.
12860 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12892 Likewise.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12898 Likewise.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12900 Likewise.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12903 Likewise.
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12906 Likewise.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12908 Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12912 Likewise.
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12914 Likewise.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12916 Likewise.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12921 Likewise.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12928 Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12931 Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12933 Likewise.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12935 Likewise.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12937 Likewise.
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12941 Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12943 Likewise.
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12945 Likewise.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12949 Likewise.
12950 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12964 Likewise.
12965 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12976 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12977 Likewise.
12978 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13003 Likewise.
13004 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13017 Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13056
16609018
SL
130572018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13058
13059 [BZ #23137]
13060 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13061 Use atomic_load_acquire to load __tid.
13062
556f5c46
L
130632018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13064
13065 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13066 Restore the pointer into %rdx, after syscall and use %rdx,
13067 instead of %rsi, to restore context.
13068
8b8f32b2
L
130692018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13072 Pop the pointer into %rdx after syscall and use %rdx, instead
13073 of %rsi, to restore context.
13074
d6cc1829
L
130752018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13078 handlers after setjmp.
13079 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13080 defined.
13081 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13082 <libc-pointer-arith.h>.
13083 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13084 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13085 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13086 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13087 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13088 * sysdeps/x86/__longjmp_cancel.S: New file.
13089 * sysdeps/x86/longjmp.c: Likewise.
13090 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13091
cf2478d5
AZ
130922018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13093
13094 * NEWS: Add ustat.h deprecation entry.
13095 * bits/ustat.h: Remove file.
13096 * misc/sys/ustat.h: Likewise.
13097 * misc/ustat.h: Likewise.
13098 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13099 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13100 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13101 compatibility mode.
13102 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13103 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13104 generic Linux implementation.
13105
dc115e1c
TMQMF
131062018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13107
13108 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13109 * math/w_expl_compat.c: Likewise.
13110 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13111
340d9652
RN
131122018-04-30 Raymond Nicholson <rain1@airmail.cc>
13113
13114 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13115
c57bf7c1
AZ
131162018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13117
13118 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13119 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13120 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13121 Remove.
13122 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13124 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13125 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13126 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13127 and SYSCALL_LL64.
13128
06135c33
TMQMF
131292018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13130
33927914
TMQMF
13131 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13132
06135c33
TMQMF
13133 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13134 * math/w_asin_template.c: Likewise.
13135 * math/w_atanh_template.c: Likewise.
13136
3a33b069
GG
131372018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13138
13139 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13140 to powerpc/powerpc64/be for big-endian.
13141 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13142 little-endian.
13143
13144 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13145 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13146 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13147 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13148 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13149 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13150 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13151 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13152 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13159 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13161 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13162 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13163 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13164 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13165 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13166 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13167 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13168 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13169 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13170 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13171 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13172 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13173 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13174 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13175 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13176
13177 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13178 adjusted to imply powerpc64 and older processors on powerpc64/be.
13179 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13180 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13181 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13182 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13183 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13184 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13185 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13186 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13187 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13188 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13189 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13190 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13191 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13192 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13193 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13194 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13195 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13196 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13197 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13198 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13199 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13200 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13201 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13202 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13203 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13204 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13205 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13206 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13207 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13208 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13209 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13210
13211 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13212 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13213 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13214 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13215
13216 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13217 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13219 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13220
13221 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13222 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13223 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13224 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13225 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13226 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13227 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13228 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13229 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13230 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13231 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13232
13233 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13234 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13235 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13236 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13237 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13238 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13239 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13240 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13241 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13242 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13243 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13244
13245 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13246 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13247 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13248 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13249 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13250 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13251 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13252 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13253 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13254 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13255 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13256 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13257
13258 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13259 and adjusted to imply olders processors.
13260 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13261 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13262 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13263 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13264 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13265 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13266 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13267 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13268 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13269 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13270 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13271
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13273 powerpc64/le.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13276
13277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13278 powerpc64le.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13281
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13283 powerpc64/be.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13287
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13289 powerpc64 and adjusted.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13293 Likewise.
13294
a3fb6b6b
JM
132952018-04-27 Joseph Myers <joseph@codesourcery.com>
13296
13297 * sysdeps/tile: Remove.
13298 * sysdeps/unix/sysv/linux/tile: Likewise.
13299 * README (tilegx-*-linux-gnu): Remove from list of supported
13300 configurations.
13301 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13302 contribution of support for generic Linux kernel syscall
13303 interface.
13304 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13305 tilegx configurations.
13306 (Config.install_linux_headers): Do not handle tile.
13307 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13308 in comment.
13309 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13310 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13311 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13312 conditional undefine and redefine.
13313 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13314 in comment.
13315 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13316 conditional undefine and redefine.
13317
7a6f7478
AJ
133182018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13319
13320 * signal/tst-sigaction.c: New file to test BZ #23069.
13321 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13322
81b49e96
TMQMF
133232018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13324
13325 [BZ #22766]
13326 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13327 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13328 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13329 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13330
7d80f48e
AZ
133312018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13332
13333 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13334 _DIRENT_MATCHES_DIRENT64 is not defined.
13335 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13336 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13337 is defined.
13338 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13339 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13340
42a2bf58
JM
133412018-04-25 Joseph Myers <joseph@codesourcery.com>
13342
13343 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13344 version to GCC 8 branch.
13345
9320ca88
JM
133462018-04-24 Joseph Myers <joseph@codesourcery.com>
13347
5e14bb97
JM
13348 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13349 (check_no_hidden): Use type of original function when declaring
13350 alias.
13351
9320ca88
JM
13352 * sysdeps/unix/sysv/linux/sys/ptrace.h
13353 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13354 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13355 (struct __ptrace_seccomp_metadata): New type.
13356 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13357 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13358 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13359 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13360 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13361 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13363 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13365 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13367 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13368 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13369 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13370 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13371 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13372
af7e376b
AZ
133732018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13374
13375 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13376 defined.
13377 * dirent/versionsort.c (versionsort): Likewise.
13378 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13379 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13380 * dirent/versionsort64.c (versionsort64): Likewise.
13381 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13382 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13383 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13384 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13385 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13386 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13387 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13388 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13389 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13390 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13393 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13394 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13395
da5e0361
JM
133962018-04-23 Joseph Myers <joseph@codesourcery.com>
13397
13398 * elf/elf.h (NT_PPC_PKEY): New macro.
13399
ea76691a
DSN
134002018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13401
13402 [BZ #23094]
13403 * localedata/locales/hr_HR: fix thousands_sep and
13404 mon_thousands_sep
13405
573963e3
JM
134062018-04-20 Joseph Myers <joseph@codesourcery.com>
13407
13408 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13409 (XTABS): Define to TAB3.
13410
c0123b3b
AZ
134112018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13412
0900a849
AZ
13413 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13414
c0123b3b
AZ
13415 * dirent/scandir-tail-common.c: New file.
13416 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13417 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13418 * dirent/scandir.c: Use scandir-tail-common.c.
13419 * dirent/scandirat.c: Likewise.
13420 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13421 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13422 if _DIRENT_MATCHES_DIRENT64 is defined.
13423 * dirent/scandirat64.c (scandirat64): Likewise.
13424 * include/dirent.h (__scandir_tail): Only define iff
13425 _DIRENT_MATCHES_DIRENT64 is not defined.
13426 (__scandir64_tail): Define regardless.
13427 (__scandirat, scandirat64): Remove libc_hidden_proto.
13428 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13429 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13431 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13432 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13433 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13434 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13435
458b94f6
JM
134362018-04-20 Joseph Myers <joseph@codesourcery.com>
13437
13438 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13439 New macro.
13440 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13441 Increase to 24.
13442 (_dl_aarch64_cap_flags): Add asimdfhm.
13443
9f0437e8
CLT
134442018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13445
13446 * sysdeps/nios2/libm-test-ulps: Update.
13447
298d0e31
AZ
134482018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13449
50511ca4
AZ
13450 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13451 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13452
298d0e31
AZ
13453 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13454 requirements.
13455 (_DIRENT_MATCHES_DIRENT64): Undef
13456 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13457 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13458 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13459 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13460 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13461 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13462 use getdents64 syscalls as base.
13463 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13464 symbol if required.
13465 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13466 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13467 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13468 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13469 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13470 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13471 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13472 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13474 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13475 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13476
0085be14
SL
134772018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13478
13479 * scripts/test_printers_common.py (init_test): Disable lock elision.
13480
da796524
SL
134812018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13482
13483 * math/test-tgmath.c (count_double, count_float,
13484 count_ldouble, count_cdouble, count_cfloat,
13485 count_cldouble): Use volatile int.
13486
0dd25301
ST
134872018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13488
13489 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13490 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13491 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13492 i386-gnu.
13493 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13494 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13495 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13496 msqid_ds.msg_lrpid): Likewise.
13497 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13498 Likewise.
13499 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13500 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13501 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13502 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13503 unsigned int.
13504 (struct statvfs64): Likewise.
f55a4fde
ST
13505 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13506 Likewise.
77b93390
ST
13507 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13508 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13509 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13510 instead of wait_queue.
13511 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13512 instead of vm_area_struct.
5cd2931a
ST
13513 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13514 struct sched_param definition to it.
e60c3f2b
ST
13515 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13516 * bits/types/struct_sched_param.h: New file.
13517 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13518 <bits/types/struct_sched_param.h> instead of <sched.h>.
13519 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13520 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13521 generic version but include <bits/pthreadtypes.h> to make struct
13522 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13523 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13524 non-compliant.
a564872d
ST
13525 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13526 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13527 [__USE_XOPEN] (OFDEL): New macro.
13528 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13529 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13530 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13531 prototypes.
13532 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13533 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13534 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13535 non-compliant.
13536 * sysdeps/i386/sys/ucontext.h: Likewise.
13537 * sysdeps/m68k/sys/ucontext.h: Likewise.
13538 * sysdeps/mips/sys/ucontext.h: Likewise.
13539 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13540 * sysdeps/mach/hurd/i386/Makefile
13541 (test-xfail-POSIX/fcntl.h/conform): Add.
13542 (test-xfail-POSIX/signal.h/conform): Add.
13543 (test-xfail-POSIX/semaphore.h/conform): Add.
13544 (test-xfail-POSIX/regex.h/conform): Add.
13545 (test-xfail-POSIX/aio.h/conform): Add.
13546 (test-xfail-POSIX/mqueue.h/conform): Add.
13547 (test-xfail-POSIX/sys/types.h/conform): Add.
13548 (test-xfail-UNIX98/fcntl.h/conform): Add.
13549 (test-xfail-UNIX98/netdb.h/conform): Add.
13550 (test-xfail-UNIX98/signal.h/conform): Add.
13551 (test-xfail-UNIX98/semaphore.h/conform): Add.
13552 (test-xfail-UNIX98/regex.h/conform): Add.
13553 (test-xfail-UNIX98/aio.h/conform): Add.
13554 (test-xfail-UNIX98/ftw.h/conform): Add.
13555 (test-xfail-UNIX98/mqueue.h/conform): Add.
13556 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13557 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13558 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13559 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13560 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13561 (test-xfail-UNIX98/sys/types.h/conform): Add.
13562 (test-xfail-UNIX98/stdlib.h/conform): Add.
13563 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13564 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13565 (test-xfail-POSIX2008/netdb.h/conform): Add.
13566 (test-xfail-POSIX2008/signal.h/conform): Add.
13567 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13568 (test-xfail-POSIX2008/regex.h/conform): Add.
13569 (test-xfail-POSIX2008/aio.h/conform): Add.
13570 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13571 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13572 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13573 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13574 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13575 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13576 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13577 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13578 (test-xfail-XOPEN2K/signal.h/conform): Add.
13579 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13580 (test-xfail-XOPEN2K/regex.h/conform): Add.
13581 (test-xfail-XOPEN2K/aio.h/conform): Add.
13582 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13583 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13584 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13585 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13586 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13587 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13588 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13589 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13590 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13591 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13592 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13593 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13594 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13595 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13596 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13597 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13598 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13599 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13600 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13601 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13602 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13603 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13604 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13605 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13606 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13607 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13608 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13609 i386-gnu.
13610 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13611 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13612
d6397de3
JM
136132018-04-18 Joseph Myers <joseph@codesourcery.com>
13614
13615 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13616 --enable-obsolete for powerpc-linux-gnuspe.
13617
8323a902
ST
136182018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13619
3dc0814c 13620 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13621 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13622 prototypes.
c5896a45
ST
13623 * sysdeps/mach/include/mach.h: Likewise.
13624 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13625 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13626
743b9c2a
AZ
136272018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13628
13629 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13630 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13631 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13632 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13633
326e74e7
AS
136342018-04-16 Andreas Schwab <schwab@suse.de>
13635
13636 [BZ #19527]
13637 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13638
a14d8acd
PM
136392018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13640
13641 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13642 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13643
a700e7cb
DD
136442018-04-12 DJ Delorie <dj@redhat.com>
13645
13646 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13647 version to 4.16.
13648
d8abfab7
SL
136492018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13650
13651 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13652 (struct kernel_sigaction): Use the same definition on 31bit as is used
13653 on 64bit.
13654
583a27d5
FW
136552018-04-09 Florian Weimer <fweimer@redhat.com>
13656
13657 [BZ #23037]
13658 * resolv/res_send.c (send_dg): Use designated initializers instead
13659 of assignment to zero-initialize other fields of struct mmsghdr.
13660
243f59e5
AZ
136612018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13662
942de61a
AZ
13663 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13664 __READDIR_ALIAS): Undefine after usage.
13665 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13666 __READDIR_R_ALIAS): Likewise.
13667 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13668 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13669 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13670 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13671 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13672 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13673 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13674 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13675 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13678 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13679 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13680 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13681 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13682 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13683 * sysdeps/unix/sysv/linux/readdir.c: New file.
13684 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13685 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13686 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13687
243f59e5
AZ
13688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13689
690c3475
AS
136902018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13691
13692 * manual/charset.texi (Converting a Character): Fix typo.
13693
b4a5d26d
AZ
136942018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13695
bbc2062a
AZ
13696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13697
fa7c6199
AZ
13698 * sysdeps/arm/libm-test-ulps: Update.
13699
b4a5d26d
AZ
13700 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13701 as base implementation.
13702 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13703 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13706 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13707 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13708 remove unrequired definitions and update comments.
13709 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13710 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13711 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13712 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13713 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13714 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13715 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13716 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13717 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13718 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13719 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13720 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13721 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13722 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13723 and RESET_SA_RESTORER hooks.
13724
db9e55ff
SL
137252018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13726
13727 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13728
cf138b0c
FW
137292018-04-05 Florian Weimer <fweimer@redhat.com>
13730
13731 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13732 integer overflow, memory leak on error, and indeterminate errno
13733 value. Add a null wide character to terminate the result string.
13734 * manual/charset.texi (Converting a Character): Mention embedded
13735 null bytes in the mbrtowc input string. Explain what happens in
13736 the -2 result case. Do not claim that mbrtowc is simple or
13737 obvious to use. Adjust the description of the code example. Use
13738 @code, not @var, for concrete variables.
13739
0f339252
FW
137402018-04-05 Florian Weimer <fweimer@redhat.com>
13741
13742 * manual/examples/mbstouwcs.c: New file.
13743 * manual/charset.texi (Converting a Character): Include it.
13744
e5f9508a
ST
137452018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13746
c120981d
ST
13747 * include/dirent.h (dirfd): Add hidden proto.
13748 * dirent/dirfd.c (dirfd): Add hidden def.
13749 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13750 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 13751
b2fd61ca
TMQMF
137522018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13753
13754 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13755 sin, cos and sincos to 1 ULP.
13756
10a446dd
MR
137572018-04-04 Maciej W. Rozycki <macro@mips.com>
13758
e7feec37
MR
13759 [BZ #19818]
13760 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13761 symbols.
13762 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13763 * elf/tst-absolute-sym.c: New file.
13764 * elf/tst-absolute-sym-lib.c: New file.
13765 * elf/tst-absolute-sym-lib.lds: New file.
13766 * elf/Makefile (tests): Add `tst-absolute-sym'.
13767 (modules-names): Add `tst-absolute-sym-lib'.
13768 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13769 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13770 ($(objpfx)tst-absolute-sym): New dependency.
13771
10a446dd
MR
13772 [BZ #19818]
13773 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13774 parameter.
13775 (SYMBOL_ADDRESS): New macro.
13776 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13777 SYMBOL_ADDRESS for symbol address calculation.
13778 * elf/dl-runtime.c (_dl_fixup): Likewise.
13779 (_dl_profile_fixup): Likewise.
13780 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13781 * elf/rtld.c (dl_main): Likewise.
13782 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13783 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13784 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13785 (elf_machine_rela): Likewise.
13786 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13787 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13789 (elf_machine_rela): Likewise.
13790 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13791 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13792 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13793 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13794 Likewise.
13795 (elf_machine_reloc): Likewise.
13796 (elf_machine_got_rel): Likewise.
13797 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13798 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13799 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13800 Likewise.
13801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13802 Likewise.
13803 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13805 Likewise.
13806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13807 Likewise.
13808 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13810 Likewise.
13811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13812 Likewise.
13813 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13815
9185f86d
ZW
138162018-04-04 Zack Weinberg <zackw@panix.com>
13817
13818 * sysdeps/generic/internal-signals.h: Include signal.h,
13819 sigsetops.h, and stdbool.h.
13820 (__libc_signal_block_all): Actually block all signals.
13821 (__libc_signal_block_app): Likewise.
13822 (__libc_signal_restore_set): Actually restore the signal mask.
13823
b07367bc
FW
138242018-04-04 Florian Weimer <fweimer@redhat.com>
13825
13826 inet: Actually build and run tst-deadline.
13827 * inet/Makefile (tests-internal): Add tst-deadline and do not
13828 overwrite the variable.
13829 (tests-static-internal): Remove variable.
13830
f2652643
L
138312018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13832
13833 [BZ #22947]
13834 * bits/uio-ext.h (RWF_APPEND): New.
13835 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13836 * manual/llio.texi: Document RWF_APPEND.
13837 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13838 (RWF_SUPPORTED): Add RWF_APPEND.
13839
d2dc5467
AZ
138402018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13841
13842 [BZ #22391]
13843 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13844 check for internal nptl signals.
13845 * nptl/sigaction.c (__sigaction): Likewise.
13846 * signal/sigaddset.c (sigaddset): Likewise.
13847 * signal/sigdelset.c (sigdelset): Likewise.
13848 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13849 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13850 value.
13851 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13852 to filter out internal nptl signals.
13853 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13854 also check realtime signals using standard macros.
13855 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13856 __is_internal_signal, __libc_signal_block_all,
13857 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13858 * sysdeps/nptl/sigfillset.c: Remove file.
13859 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13860 Change return to bool.
13861 (__clear_internal_signals): Remove SIGTIMER clean since it is
13862 equal to SIGCANEL on Linux.
13863 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13864 signal set was constructed using standard functions.
13865
511ed56f
ST
138662018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13867
92846492
ST
13868 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13869 ifname is too long.
e8ef51b1
ST
13870 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13871 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
13872 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13873 hidden def.
13874 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
13875 * signal/sigaddset.c: Include <sigsetopts.h>.
13876 * signal/sigdelset.c: Likewise.
511ed56f 13877
e88ecbbf
WD
138782018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13879
13880 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13881 (__cos): Likewise.
13882 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13883 logic as sin and cos.
13884
aef3e255
WD
138852018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13886
13887 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13888 inputs. Return correct sign.
13889 (do_sincos): Remove small input check before do_sin, let do_sin set
13890 the sign.
13891 (__sin): Likewise.
13892 (__cos): Likewise.
13893
72f6e9a3
WD
138942018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13895
13896 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13897 (do_cos_slow): Likewise.
13898 (do_sin_slow): Likewise.
13899 (reduce_and_compute): Likewise.
13900 (slow): Likewise.
13901 (slow1): Likewise.
13902 (slow2): Likewise.
13903 (sloww): Likewise.
13904 (sloww1): Likewise.
13905 (sloww2): Likewise.
13906 (bslow): Likewise.
13907 (bslow1): Likewise.
13908 (bslow2): Likewise.
13909 (cslow2): Likewise.
13910
64909583
WD
139112018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13912
13913 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13914 (do_cos): Remove corp parameter and calculations.
13915 (do_sin): Likewise.
13916 (do_sincos): Remove cor variable.
13917 (__sin): Use do_sincos for huge inputs.
13918 (__cos): Likewise.
13919 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13920 (reduce_and_compute_sincos): Remove unused function.
13921
d9469deb
WD
139222018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13923
13924 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13925 reduce_sincos, improve accuracy to 136 bits.
13926 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13927 (__sin): Use improved reduction and simplified do_sincos calculation.
13928 (__cos): Likewise.
13929 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13930
7a5640f2
WD
139312018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13932
13933 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13934 (do_sincos_2): Likewise.
13935 (__sin): Remove middle range reduction case.
13936 (__cos): Likewise.
13937 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13938 reduction case.
13939
19a8b9a3
WD
139402018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13941
13942 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13943 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13944 inputs.
13945 (__cos): Likewise.
13946 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13947
f72aa11d
JM
139482018-04-03 Joseph Myers <joseph@codesourcery.com>
13949
13950 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 13951 version to 4.16
f72aa11d 13952
8e4754ed
AZ
139532018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13954
13955 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13956 Remove definitions.
13957 (opendir_oflags): Use O_DIRECTORY regardless.
13958 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13959 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13960
8e2666ea
ST
139612018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13962
13963 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13964 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13965 macros.
13966 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13967 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13968 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13969 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
13970 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13971 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 13972
ad2b41bf
ST
13973 * htl/Makefile: Bump licence to LGPL 2.1+.
13974 * htl/alloca_cutoff.c: Likewise.
13975 * htl/cthreads-compat.c: Likewise.
13976 * htl/lockfile.c: Likewise.
13977 * htl/pt-alloc.c: Likewise.
13978 * htl/pt-cancel.c: Likewise.
13979 * htl/pt-cleanup.c: Likewise.
13980 * htl/pt-create.c: Likewise.
13981 * htl/pt-dealloc.c: Likewise.
13982 * htl/pt-detach.c: Likewise.
13983 * htl/pt-exit.c: Likewise.
13984 * htl/pt-getattr.c: Likewise.
13985 * htl/pt-initialize.c: Likewise.
13986 * htl/pt-internal.h: Likewise.
13987 * htl/pt-join.c: Likewise.
13988 * htl/pt-self.c: Likewise.
13989 * htl/pt-setcancelstate.c: Likewise.
13990 * htl/pt-setcanceltype.c: Likewise.
13991 * htl/pt-sigmask.c: Likewise.
13992 * htl/pt-spin-inlines.c: Likewise.
13993 * htl/pt-testcancel.c: Likewise.
13994 * htl/pt-yield.c: Likewise.
13995 * htl/tests/test-1.c: Likewise.
13996 * htl/tests/test-10.c: Likewise.
13997 * htl/tests/test-11.c: Likewise.
13998 * htl/tests/test-12.c: Likewise.
13999 * htl/tests/test-13.c: Likewise.
14000 * htl/tests/test-14.c: Likewise.
14001 * htl/tests/test-15.c: Likewise.
14002 * htl/tests/test-16.c: Likewise.
14003 * htl/tests/test-17.c: Likewise.
14004 * htl/tests/test-2.c: Likewise.
14005 * htl/tests/test-3.c: Likewise.
14006 * htl/tests/test-4.c: Likewise.
14007 * htl/tests/test-5.c: Likewise.
14008 * htl/tests/test-6.c: Likewise.
14009 * htl/tests/test-7.c: Likewise.
14010 * htl/tests/test-8.c: Likewise.
14011 * htl/tests/test-9.c: Likewise.
14012 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14013 * sysdeps/htl/bits/cancelation.h: Likewise.
14014 * sysdeps/htl/bits/pthread-np.h: Likewise.
14015 * sysdeps/htl/bits/pthread.h: Likewise.
14016 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14017 * sysdeps/htl/bits/semaphore.h: Likewise.
14018 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14019 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14020 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14021 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14022 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14023 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14024 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14025 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14026 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14027 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14028 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14029 * sysdeps/htl/old_pt-atfork.c: Likewise.
14030 * sysdeps/htl/pt-atfork.c: Likewise.
14031 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14032 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14033 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14034 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14035 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14036 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14037 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14038 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14039 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14040 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14041 * sysdeps/htl/pt-attr-init.c: Likewise.
14042 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14043 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14044 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14045 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14046 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14047 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14048 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14049 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14050 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14051 * sysdeps/htl/pt-attr.c: Likewise.
14052 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14053 * sysdeps/htl/pt-barrier-init.c: Likewise.
14054 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14055 * sysdeps/htl/pt-barrier.c: Likewise.
14056 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14057 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14058 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14059 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14060 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14061 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14062 * sysdeps/htl/pt-cond-init.c: Likewise.
14063 * sysdeps/htl/pt-cond-signal.c: Likewise.
14064 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14065 * sysdeps/htl/pt-cond-wait.c: Likewise.
14066 * sysdeps/htl/pt-cond.c: Likewise.
14067 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14068 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14069 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14070 * sysdeps/htl/pt-condattr-init.c: Likewise.
14071 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14072 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14073 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14074 * sysdeps/htl/pt-equal.c: Likewise.
14075 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14076 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14077 * sysdeps/htl/pt-getschedparam.c: Likewise.
14078 * sysdeps/htl/pt-getspecific.c: Likewise.
14079 * sysdeps/htl/pt-init-specific.c: Likewise.
14080 * sysdeps/htl/pt-key-create.c: Likewise.
14081 * sysdeps/htl/pt-key-delete.c: Likewise.
14082 * sysdeps/htl/pt-key.h: Likewise.
14083 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14084 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14085 * sysdeps/htl/pt-mutex-init.c: Likewise.
14086 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14087 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14088 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14089 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14090 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14091 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14092 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14093 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14094 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14095 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14096 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14097 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14098 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14099 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14100 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14101 * sysdeps/htl/pt-mutexattr.c: Likewise.
14102 * sysdeps/htl/pt-once.c: Likewise.
14103 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14104 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14105 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14106 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14107 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14108 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14109 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14110 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14111 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14112 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14113 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14114 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14115 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14116 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14117 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14118 * sysdeps/htl/pt-setschedparam.c: Likewise.
14119 * sysdeps/htl/pt-setschedprio.c: Likewise.
14120 * sysdeps/htl/pt-setspecific.c: Likewise.
14121 * sysdeps/htl/pt-spin.c: Likewise.
14122 * sysdeps/htl/pt-startup.c: Likewise.
14123 * sysdeps/htl/pthread.h: Likewise.
14124 * sysdeps/htl/sem-close.c: Likewise.
14125 * sysdeps/htl/sem-destroy.c: Likewise.
14126 * sysdeps/htl/sem-getvalue.c: Likewise.
14127 * sysdeps/htl/sem-init.c: Likewise.
14128 * sysdeps/htl/sem-open.c: Likewise.
14129 * sysdeps/htl/sem-post.c: Likewise.
14130 * sysdeps/htl/sem-timedwait.c: Likewise.
14131 * sysdeps/htl/sem-trywait.c: Likewise.
14132 * sysdeps/htl/sem-unlink.c: Likewise.
14133 * sysdeps/htl/sem-wait.c: Likewise.
14134 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14135 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14136 * sysdeps/mach/htl/pt-block.c: Likewise.
14137 * sysdeps/mach/htl/pt-spin.c: Likewise.
14138 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14139 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14140 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14141 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14142 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14143 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14144 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14145 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14146 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14147 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14148 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14149 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14150 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14151 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14152 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14153 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14154 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14155 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14156 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14157 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14158 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14159 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14160 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14161 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14162 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14163 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14164 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14165 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14166 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14167 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14168 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14169 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14170 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14171 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14172 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14173 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14174 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14175 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14176 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14177 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14178 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14179 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14180 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14181
fb03b04b
ST
14182 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14183 * README: Remove the mention of out-of-tree patches needed for
14184 GNU/Hurd.
14185
fa9e1555
ST
14186 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14187 (UTIME_NOW, UTIME_OMIT): Define macros.
14188
f6fb29d2
ST
14189 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14190 instead of pthread_detach.
14191 (__cthread_fork): Call __pthread_create instead of pthread_create.
14192 (__cthread_keycreate): Call __pthread_key_create instead of
14193 pthread_key_create.
14194 (__cthread_getspecific): Call __pthread_getspecific instead of
14195 pthread_getspecific.
14196 (__cthread_setspecific): Call __pthread_setspecific instead of
14197 pthread_setspecific.
14198 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14199 __pthread_mutex_unlock instead of pthread_mutex_lock and
14200 pthread_mutex_unlock.
14201 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14202 ___pthread_get_cleanup_stack.
14203 (__pthread_get_cleanup_stack): New strong alias.
14204 * htl/pt-create.c: Include <pthreadP.h>.
14205 (entry_point): Call __pthread_exit instead of pthread_exit.
14206 (pthread_create): Rename to __pthread_create.
14207 (pthread_create): New strong alias.
14208 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14209 (pthread_detach): New strong alias.
14210 (__pthread_detach): Call __pthread_cond_broadcast instead of
14211 pthread_cond_broadcast.
fe9748cc
ST
14212 * htl/pt-exit.c: Include <pthreadP.h>.
14213 (__pthread_exit): Call __pthread_setcancelstate and
14214 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14215 __pthread_get_cleanup_stack.
f6fb29d2
ST
14216 * htl/pt-testcancel.c: Include <pthreadP.h>.
14217 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14218 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14219 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14220 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14221 pthread_attr_getstacksize.
14222 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14223 Rename to __pthread_attr_getstackaddr.
14224 (pthread_attr_getstackaddr): New strong alias.
14225 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14226 Rename to __pthread_attr_getstacksize.
14227 (pthread_attr_getstacksize): New strong alias.
14228 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14229 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14230 (pthread_attr_setstack): New strong alias.
14231 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14232 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14233 pthread_attr_getstacksize, pthread_attr_setstacksize and
14234 pthread_attr_setstackaddr.
14235 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14236 Rename to __pthread_attr_setstackaddr.
14237 (pthread_attr_setstackaddr): New strong alias.
14238 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14239 Rename to __pthread_attr_setstacksize.
14240 (pthread_attr_setstacksize): New strong alias.
14241 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14242 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14243 pthread_exit.
14244 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14245 (__pthread_key_create): New hidden def.
14246 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14247 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14248 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14249 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14250 __pthread_setspecific, __pthread_setcancelstate,
14251 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14252 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14253 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14254 declarations.
14255 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14256 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14257 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14258 (pthread_attr_setstackaddr): New strong alias.
14259 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14260 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14261 (pthread_attr_setstacksize): New strong alias.
14262 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14263 (call_exit): Call __pthread_exit instead of pthread_exit.
14264 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14265 (_pthread_mutex_init): New hidden definition.
14266 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14267 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14268 instead of pthread_attr_init and pthread_attr_setstack.
14269
dba2bdbe
ST
14270 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14271 __vm_deallocate instead of vm_allocate and vm_deallocate.
14272 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14273 setenv.
14274 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14275 of geteuid.
14276 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14277 strdup.
14278 * hurd/siginfo.c: Include <libioP.h>.
14279 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14280 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14281 munmap.
dba2bdbe
ST
14282 * mach/devstream.c: Include <libioP.h>.
14283 (dealloc_ref): Call __mach_port_deallocate instead of
14284 mach_port_deallocate.
14285 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14286 Call __mach_port_deallocate instead of mach_port_deallocate.
14287 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14288 pathconf.
14289 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14290 munmap.
14291 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14292 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14293 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14294 of munmap.
14295 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14296 of close.
14297 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14298 instead of sysconf.
14299 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14300 __clock_gettime instead of clock_gettime.
14301 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14302 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14303 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14304 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14305 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14306 tcgetattr.
14307 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14308 __clock_gettime and __nanosleep instead of clock_gettime and
14309 nanosleep.
7a8f45e3
ST
14310 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14311 __hurd_catch_signal.
14312 (hurd_catch_signal): New strong alias.
14313 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14314 __hurd_catch_signal instead of hurd_catch_signal.
14315 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14316 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14317 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14318 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14319 (_hurd_thread_sigstate): Add hidden def.
14320 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14321 mutex_unlock.
14322 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14323 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14324 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14325 __hurd_file_name_path_lookup.
14326 (hurd_file_name_path_lookup): New strong alias.
14327 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14328 hurd_file_name_path_lookup.
14329 * mach/errstring.c (mach_error_type): Add hidden def.
14330 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14331 * mach/mutex-init.c (__mutex_init): Add hidden def.
14332 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14333 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14334 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14335 * sysdeps/mach/hurd/getcwd.c
14336 (_hurd_canonicalize_directory_name_internal): Rename to
14337 __hurd_canonicalize_directory_name_internal.
14338 (_hurd_canonicalize_directory_name_internal): New strong alias.
14339 (__canonicalize_directory_name_internal, __getcwd): Call
14340 __hurd_canonicalize_directory_name_internal instead of
14341 _hurd_canonicalize_directory_name_internal.
14342 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14343 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14344 hidden defs.
14345 * sysdeps/hurd/include/hurd.h: New file.
14346 * sysdeps/hurd/include/hurd/fd.h: New file.
14347 * sysdeps/hurd/include/hurd/signal.h: New file.
14348 * sysdeps/mach/include/lock-intern.h: New file.
14349 * sysdeps/mach/include/mach.h: New file.
14350 * sysdeps/mach/include/mach/mig_support.h: New file.
14351 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
14352 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14353 prototype.
14354 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14355 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14356 _HEADER_H_HIDDEN_DEF macro.
14357 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14358 _hurd_fd_error_signal): Add hidden prototype.
14359 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14360 hidden def.
82dbf555
ST
14361 * libio/iolibio.h (_IO_puts): New hidden prototype.
14362 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
14363 * sysdeps/mach/hurd/localplt.data: New file.
14364
33574c17
ST
143652018-04-02 Agustina Arzille <avarzille@riseup.net>
14366 Amos Jeffries <squid3@treenet.co.nz>
14367 David Michael <fedora.dm0@gmail.com>
14368 Marco Gerards <marco@gnu.org>
14369 Marcus Brinkmann <marcus@gnu.org>
14370 Neal H. Walfield <neal@gnu.org>
14371 Pino Toscano <toscano.pino@tiscali.it>
14372 Richard Braun <rbraun@sceen.net>
14373 Roland McGrath <roland@gnu.org>
14374 Samuel Thibault <samuel.thibault@ens-lyon.org>
14375 Thomas DiModica <ricinwich@yahoo.com>
14376 Thomas Schwinge <tschwinge@gnu.org>
14377
14378 * htl: New directory.
14379 * sysdeps/htl: New directory.
14380 * sysdeps/hurd/htl: New directory.
14381 * sysdeps/i386/htl: New directory.
14382 * sysdeps/mach/htl: New directory.
14383 * sysdeps/mach/hurd/htl: New directory.
14384 * sysdeps/mach/hurd/i386/htl: New directory.
14385 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14386 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14387 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14388
03e2aa50
ST
143892018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14390
14391 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14392 signals in thread created for runing timers.
14393
1aa52ced
FW
143942018-04-01 Florian Weimer <fweimer@redhat.com>
14395
14396 * support/support_format_addrinfo.c (support_format_addrinfo):
14397 Include unknown error number in formatted result.
14398
4d76d3e5
FW
143992018-03-29 Florian Weimer <fweimer@redhat.com>
14400
14401 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14402 capture SIGBUS.
14403
d39c0a45
AZ
144042018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14405
14406 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14407 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14408 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14409 (__ASSUME_CLONE_BACKWARDS): Define.
14410
cc8a1620
JH
144112018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14412
57408435 14413 [BZ #23024]
cc8a1620
JH
14414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14415 early when linux sentinel value is set.
14416
8bfd94d0
ST
144172018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14418
14419 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14420
f178e59f
AS
144212018-03-27 Andreas Schwab <schwab@suse.de>
14422
14423 [BZ #23005]
14424 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14425 allocation of private copy of nsaddr_list fails.
14426
5f45f96a
JM
144272018-03-26 Joseph Myers <joseph@codesourcery.com>
14428
14429 [BZ #16552]
14430 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14431 * sysdeps/unix/sysv/linux/umount.c: ... here.
14432 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14433 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14434 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14435 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14437 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14439
3dfd23eb
AS
144402018-03-26 Andreas Schwab <schwab@suse.de>
14441
14442 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14443 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14444 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14445 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14446 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14447 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14448 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14449 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14450 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14451 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14452 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14453 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14454 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14455 (R_RISCV_NUM): Define.
14456
fa97d2ab
ST
144572018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14458
14459 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14460 TLS declaration of errno.
37be82a0
ST
14461 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14462 __libc_setup_tls.
14463 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14464 (ARCH_SETUP_TLS): Likewise.
14465 * sysdeps/mach/hurd/libc-start.h: New file copied from
14466 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
14467 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14468 instead of __libc_setup_tls.
37be82a0 14469 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
14470 __libc_setup_tls before initializing libpthread and running _hurd_init
14471 which starts the signal thread.
14472 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14473 Declare function.
2d813d7b 14474 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 14475
b8114edd
L
144762018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14477
14478 [BZ #22998]
14479 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14480 after it is defined.
14481
cd66c0e5
AS
144822018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14483 Max Horn <max@quendi.de>
14484
14485 [BZ #22644]
43d4f3d5 14486 CVE-2017-18269
cd66c0e5
AS
14487 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14488 branch conditions.
14489 * string/test-memmove.c (do_test2): New testcase.
14490
a4406139
JM
144912018-03-22 Joseph Myers <joseph@codesourcery.com>
14492
14493 * sysdeps/generic/frame.h: Remove file.
14494 * sysdeps/arm/frame.h: Likewise.
14495 * sysdeps/hppa/frame.h: Likewise.
14496 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14497 macro.
14498 (GET_FRAME): Likewise.
14499 (GET_STACK): Likewise.
14500 (CALL_SIGHANDLER): Likewise.
14501 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14502 Likewise.
14503 (GET_FRAME): Likewise.
14504 (GET_STACK): Likewise.
14505 (CALL_SIGHANDLER): Likewise.
14506 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14507 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14508 (GET_FRAME): Likewise.
14509 (GET_STACK): Likewise.
14510 (CALL_SIGHANDLER): Likewise.
14511 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14512 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14513 (GET_FRAME): Likewise.
14514 (GET_STACK): Likewise.
14515 (ADVANCE_STACK_FRAME): Likewise.
14516 (CALL_SIGHANDLER): Likewise.
14517 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14518 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14519 (GET_FRAME): Likewise.
14520 (GET_STACK): Likewise.
14521 (CALL_SIGHANDLER): Likewise.
14522 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14523 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14524 (GET_FRAME): Likewise.
14525 (GET_STACK): Likewise.
14526 (CALL_SIGHANDLER): Likewise.
14527 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14528 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14529 (GET_FRAME): Likewise.
14530 (GET_STACK): Likewise.
14531 (CALL_SIGHANDLER): Likewise.
14532 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14533 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14534 (GET_FRAME): Likewise.
14535 (GET_STACK): Likewise.
14536 (CALL_SIGHANDLER): Likewise.
14537 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14538 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14539 (GET_FRAME): Likewise.
14540 (GET_STACK): Likewise.
14541 (CALL_SIGHANDLER): Likewise.
14542 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14543 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14544 (GET_FRAME): Likewise.
14545 (GET_STACK): Likewise.
14546 (CALL_SIGHANDLER): Likewise.
14547 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14548 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14549 (GET_FRAME): Likewise.
14550 (GET_STACK): Likewise.
14551 (CALL_SIGHANDLER): Likewise.
14552 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14553 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14554 (GET_FRAME): Likewise.
14555 (GET_STACK): Likewise.
14556 (CALL_SIGHANDLER): Likewise.
14557 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14558 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14559 (GET_FRAME): Likewise.
14560 (GET_STACK): Likewise.
14561 (CALL_SIGHANDLER): Likewise.
14562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14563 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14564 (FIRST_FRAME_POINTER): Likewise.
14565 (ADVANCE_STACK_FRAME): Likewise.
14566 (GET_STACK): Likewise.
14567 (GET_FRAME): Likewise.
14568 (CALL_SIGHANDLER): Likewise.
14569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14570 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14571 (ADVANCE_STACK_FRAME): Likewise.
14572 (GET_STACK): Likewise.
14573 (GET_FRAME): Likewise.
14574 (CALL_SIGHANDLER): Likewise.
14575 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14576 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14577 (GET_FRAME): Likewise.
14578 (GET_STACK): Likewise.
14579 (CALL_SIGHANDLER): Likewise.
14580 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14581 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14582 (GET_FRAME): Likewise.
14583 (GET_STACK): Likewise.
14584 (CALL_SIGHANDLER): Likewise.
14585
ffec7b27
JM
145862018-03-21 Joseph Myers <joseph@codesourcery.com>
14587
14588 * sysdeps/x86_64/backtrace.c: Move to ....
14589 * debug/backtrace.c: ... here.
14590 * sysdeps/aarch64/backtrace.c: Remove file.
14591 * sysdeps/alpha/backtrace.c: Likewise.
14592 * sysdeps/hppa/backtrace.c: Likewise.
14593 * sysdeps/ia64/backtrace.c: Likewise.
14594 * sysdeps/mips/backtrace.c: Likewise.
14595 * sysdeps/nios2/backtrace.c: Likewise.
14596 * sysdeps/riscv/backtrace.c: Likewise.
14597 * sysdeps/sh/backtrace.c: Likewise.
14598 * sysdeps/tile/backtrace.c: Likewise.
14599
8a07b0c4
JM
146002018-03-20 Joseph Myers <joseph@codesourcery.com>
14601
d0c5d731
JM
14602 [BZ #22987]
14603 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14604 function.
14605 (fdimf): Likewise.
14606 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14607
8a07b0c4
JM
14608 [BZ #17343]
14609 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14610 possibly overflowing computations.
14611
ceb54b9b
ST
146122018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14613
14614 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14615 values from Linux-specific section now that it is in the GNU section.
14616 * sysdeps/gnu/errlist.c: Regenerate.
14617
8d3f9e85
JM
146182018-03-20 Joseph Myers <joseph@codesourcery.com>
14619
14620 * math/Makefile (libm-narrow-fns): Add sub.
14621 (libm-test-funcs-narrow): Likewise.
14622 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14623 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14624 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14625 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14626 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14627 (NARROW_SUB_TRIVIAL): Likewise.
14628 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14629 macro.
14630 (__dsubl): Likewise.
14631 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14632 dsub.
14633 (CFLAGS-nldbl-dsub.c): New variable.
14634 (CFLAGS-nldbl-fsub.c): Likewise.
14635 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14636 __nldbl_dsubl.
14637 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14638 prototype.
14639 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14640 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14641 * math/auto-libm-test-in: Add tests of sub.
14642 * math/auto-libm-test-out-narrow-sub: New generated file.
14643 * math/libm-test-narrow-sub.inc: New file.
14644 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14647 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14648 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14649 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14658 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14659 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14660 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14661 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14663 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14690
d473f015
JM
146912018-03-19 Joseph Myers <joseph@codesourcery.com>
14692
14693 [BZ #20079]
14694 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14695
fbce6f72
WD
146962018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14697
14698 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14699
72e7ffc3
RB
147002018-03-18 Richard Braun <rbraun@sceen.net>
14701
14702 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14703 thread reference.
14704
542c20a1
AA
147052018-03-18 Agustina Arzille <avarzille@riseup.net>
14706
14707 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14708 (__libc_cleanup_fct): Define function.
14709 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14710 __libc_cleanup_end): Rewrite implementation using
14711 __attribute__ ((__cleanup__)).
14712 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
14713 * hurd/Makefile (routines): Add hurdlock.
14714 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14715 interface.
14716 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14717 * hurd/hurdpid.c: Include <lowlevellock.h>
14718 (_S_msg_proc_newids): Use lll_wait to synchronize.
14719 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14720 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14721 * mach/Makefile (lock-headers): Remove machine-lock.h.
14722 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14723 <machine-lock.h>.
14724 (__spin_lock_t): New type.
14725 (__SPIN_LOCK_INITIALIZER): New macro.
14726 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14727 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14728 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14729 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14730 (__mutex_init): Initialize with lll.
14731 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14732 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14733 needing lll.
14734 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14735 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14736 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14737 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14738 (__setpgid): Use lll for synchronization.
14739 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14740 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14741 instead of <cthreads.h>.
14742 (_IO_lock_inexpensive): New macro
14743 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14744 (__libc_lock_self0): New declaration.
14745 (__libc_lock_owner_self): New macro.
14746 (__libc_key_t): Remove type.
14747 (_LIBC_LOCK_INITIALIZER): New macro.
14748 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14749 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14750 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14751 __libc_lock_define_initialized_recursive,
14752 __rtld_lock_define_initialized_recursive,
14753 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14754 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14755 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14756 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14757 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14758 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14759 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14760 New macros.
14761 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14762 * hurd/hurdlock.c: New file.
14763 * hurd/hurdlock.h: New file.
14764 * mach/lowlevellock.h: New file
542c20a1 14765
9a37922e
ST
147662018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14767
14768 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
14769 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14770 when opening a symlink with O_NOFOLLOW.
72103e73
ST
14771 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14772 path when flags contains O_NOFOLLOW.
14773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14774 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
14775 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14776 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
14777 * sysdeps/mach/hurd/mlockall.c: New file.
14778 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 14779
34e6a869
ST
147802018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14781
14782 * hurd/hurdsig.c: Include <pthread.h>.
14783 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14784 get the signal thread stack layout.
dc33bef3
ST
14785 * hurd/Makefile (headers): Remove threadvar.h.
14786 (inline-headers): Remove threadvar.h.
14787 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14788 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14789 __hurd_threadvar_max, __hurd_errno_location.
14790 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14791 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14792 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14793 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14794 unless TLS is not initialized yet, in which case we do not need a
14795 critical section yet anyway.
14796 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14797 <machine-sp.h>.
14798 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14799 declarations.
14800 (__hurd_threadvar_index): Remove enum.
14801 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14802 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14803 inlines.
14804 (__hurd_reply_port0): New variable declaration.
14805 (__hurd_local_reply_port): New macro.
14806 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14807 (interrupted_reply_port_location): Add thread_t parameter. Use it
14808 with THREAD_TCB to access thread-local variables.
14809 (_hurdsig_abort_rpcs): Pass ss->thread to
14810 interrupted_reply_port_location.
14811 (_hurd_internal_post_signal): Likewise.
14812 (_hurdsig_init): Use presence of cthread_fork instead of
14813 __hurd_threadvar_stack_mask to start signal thread by hand.
14814 Remove signal thread threadvar initialization.
14815 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14816 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14817 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14818 of threadvar.
14819 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14820 __libc_lock_self0.
14821 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14822 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14823 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14824 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14825 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14826 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14827 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14828 define variables.
14829 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14830 <hurd/threadvar.h>.
14831 [IS_IN(rtld)] (rtld_errno): New variable.
14832 [IS_IN(rtld)] (__errno_location): New weak function.
14833 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14834 * sysdeps/mach/hurd/errno.c: Remove file.
14835 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14836 (__fork): Remove THREADVAR_SPACE macro and its use.
14837 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14838 variable.
14839 (init): Do not initialize threadvar.
14840 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14841 symbol.
14842 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14843 __hurd_local_reply_port instead of threadvar.
14844 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14845 _hurd_sigstate fields.
14846 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14847 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14848 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14849 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14850 instead of threadvar.
14851 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14852 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14853 (use_threadvar, global_reply_port): Remove variables.
14854 (__hurd_reply_port0): New variable.
14855 (__mig_get_reply_port): Use __hurd_local_reply_port and
14856 __hurd_reply_port0 instead of threadvar.
14857 (__mig_dealloc_reply_port): Likewise.
14858 (__mig_init): Do not initialize threadvar.
14859 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
14860 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14861 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14862 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14863 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14864 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14865 __cthread_setspecific.
14866 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14867 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14868 __cthread_t instead of cthread_fork, cthread_detach,
14869 pthread_getattr_np, pthread_attr_getstack.
14870 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14871 __cthread_keycreate.
14872 (cthread_getspecific): Rename to __cthread_getspecific.
14873 (cthread_setspecific): Rename to __cthread_setspecific.
14874 (__libc_getspecific): Use __cthread_getspecific instead of
14875 cthread_getspecific.
14876 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14877 __cthread_keycreate instead of cthread_keycreate.
14878 (__libc_setspecific): Use __cthread_setspecific instead of
14879 cthread_setspecific.
14880 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14881 Likewise.
dd28d4ba
ST
14882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14883 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14884 testing whether it is defined.
34e6a869 14885
f8baf2a2
ST
148862018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14887
14888 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14889 Define macro.
14890 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14891 * sysdeps/mach/i386/thread_state.h
14892 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14893 i386_THREAD_STATE.
14894 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14895 i386_THREAD_STATE.
14896 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14897
14898 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14899 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14900
14901 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14902 macros.
14903 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14904 descriptor instead of creating a new one.
14905 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14906
14907 * mach/setup-thread.c: Include <ldsodefs.h>.
14908 (__mach_setup_thread): Call _dl_allocate_tls, pass
14909 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14910 MACHINE_THREAD_STATE_FLAVOR, before getting
14911 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14912 MACHINE_THREAD_STATE_FLAVOR with the result.
14913 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14914 MACHINE_THREAD_STATE_FIX_NEW.
14915 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14916 too. Add original thread parameter.
14917
34ba96b8
JM
149182018-03-16 Joseph Myers <joseph@codesourcery.com>
14919
5d75b75f
JM
14920 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14921 Remove inline function.
14922
34ba96b8
JM
14923 * sysdeps/i386/fpu/libm-test-ulps: Update.
14924 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14925
22679b2c
WD
149262018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14927
14928 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14929 commit.
14930
c429a8d8
JM
149312018-03-15 Joseph Myers <joseph@codesourcery.com>
14932
14933 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14934 (__sincos_code): Remove define and undefine.
14935 [__FAST_MATH__] (__sincos): Remove inline function.
14936 [__FAST_MATH__] (__sincosf): Remove inline function.
14937 [__FAST_MATH__] (__sincosl): Remove inline function.
14938 (__atan2l): Remove inline functions.
14939 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14940 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14941 function.
14942 (floor): Remove inline function.
14943 (ceil): Likewise.
14944 [__FAST_MATH__] (__ldexp_code): Remove macro.
14945 [__FAST_MATH__] (ldexp): Remove inline function.
14946 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14947 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14948 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14949 [__USE_ISOC99] (__lrint_code): Remove macro.
14950 [__USE_ISOC99] (__llrint_code): Likewise.
14951 [__USE_ISOC99] (lrintf): Remove inline function.
14952 [__USE_ISOC99] (lrint): Likewise.
14953 [__USE_ISOC99] (lrintl): Likewise.
14954 [__USE_ISOC99] (llrint): Likewise.
14955 [__USE_ISOC99] (llrintf): Likewise.
14956 [__USE_ISOC99] (llrintl): Likewise.
14957
700593fd
WD
149582018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14959
14960 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14961 (__ieee754_sqrtf): Remove.
14962 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14963 (__ieee754_sqrtf): Remove.
14964 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14965 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14966 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14967 (__ieee754_sqrtf): Remove.
14968 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14969 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14970 (sqrtf): Remove.
14971 (sqrtl): Remove.
14972 (__ieee754_sqrt): Remove.
14973 (__ieee754_sqrtf): Remove.
14974 (__ieee754_sqrtl): Remove.
14975 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14976 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14977 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14978 (__ieee754_sqrtf): Remove.
14979 (__ieee754_sqrtl): Remove.
14980
f67a8147
WD
149812018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14982
14983 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14984 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14985 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14986 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14987 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14989 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14991 Likewise.
14992 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14993 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14994 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14995 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14996 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14997 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14998 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14999 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15000 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15001 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15002 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15003 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15005 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15006 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15007 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15008 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15009 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15010 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15021 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15022 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15023 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15024 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15025 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15026 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15028 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15029 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15030 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15031 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15032
1294b189
WD
150332018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15034
15035 * include/math.h (sqrt): Declare with asm redirect.
15036 (sqrtf): Likewise.
15037 (sqrtl): Likewise.
15038 (sqrtf128): Likewise.
15039 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15040 nonlib and libnldbl with -fmath-errno.
15041 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15042 * math/w_sqrt_template.c: Likewise.
15043 * math/w_sqrtf_compat.c: Likewise.
15044 * math/w_sqrtl_compat.c: Likewise.
15045 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15046 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15047 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15048 complex.h.
15049
f1c8185d
WD
150502018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15051
15052 * benchtests/Makefile: Define _ISOMAC.
15053 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15054 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15055 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15056 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15057 * benchtests/bench-timing.h: Define attribute_hidden.
15058
b47c3e76
SP
150592018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15060
15061 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15062 mov + lsr.
15063
807fee29
RL
150642018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15065
15066 [BZ #22963]
15067 * localedata/locales/cs_CZ (mon): Rename to...
15068 (alt_mon): This.
15069 (mon): Import from CLDR (genitive case).
15070
e7155a28
RL
150712018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15072
15073 [BZ #22937]
15074 * localedata/locales/el_CY (abmon): Rename to...
15075 (ab_alt_mon): This.
15076 (abmon): Import from CLDR (abbreviated genitive case).
15077 * localedata/locales/el_GR (abmon): Rename to...
15078 (ab_alt_mon): This.
15079 (abmon): Import from CLDR (abbreviated genitive case).
15080
71d7b121
RL
150812018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15082
15083 [BZ #22932]
15084 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15085
a00bffe8
RB
150862018-03-15 Robert Buj <robert.buj@gmail.com>
15087
15088 [BZ #22848]
15089 * localedata/locales/ca_ES (abmon): Rename to...
15090 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15091 (mon): Rename to...
15092 (alt_mon): This.
15093 (abmon): Import from CLDR (genitive case, month names preceded by
15094 "de" or "d’").
15095 (mon): Likewise.
15096 (abday): Synchronize with CLDR.
15097 (d_t_fmt): Likewise.
15098 (d_fmt): Likewise.
15099 (am_pm): Likewise.
15100
15101 (LC_TIME): Improve indentation.
15102 (LC_TELEPHONE): Likewise.
15103 (LC_NAME): Likewise.
15104 (LC_ADDRESS): Likewise.
15105
f9555d73
JM
151062018-03-14 Joseph Myers <joseph@codesourcery.com>
15107
15108 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15109 (lrintf): Remove definitions used only with old GCC.
15110 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15111 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15112 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15113 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15114 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15115 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15116 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15117 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15118 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15119 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15120 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15121 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15122 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15123 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15124 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15125 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15126 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15127 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15128 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15129 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15130 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15131 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15132 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15133 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15134 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15135 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15136 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15137 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15138
d46f84de
SP
151392018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15140
15141 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15142 instruction to unbreak builds with binutils 2.26 and older.
15143
7108f1f9
SP
151442018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15145
15146 * sysdeps/aarch64/strncmp.S (count): New macro.
15147 (strncmp): Store misaligned length in SRC1 in COUNT.
15148 (mutual_align): Adjust.
15149 (misaligned8): Load dword at a time when it is safe.
15150
2cc7bad0
ZW
151512018-03-12 Zack Weinberg <zackw@panix.com>
15152
15153 [BZ #1190]
15154 [BZ #19476]
15155 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15156 if the _IO_EOF_SEEN bit is already set; update commentary.
15157 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15158 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15159
15160 * support/support_openpty.c, support/tty.h: New files.
15161 * support/Makefile (libsupport-routines): Add support_openpty.
15162
15163 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15164 New test cases.
15165 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15166 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15167
778f1974
DL
151682018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15169
15170 * po/pt_BR.po: Update translations.
15171
da6d4404
DM
151722018-03-12 David Michael <fedora.dm0@gmail.com>
15173
15174 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15175 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15176 get a port to the startup server.
15177
d3da750d
ZW
151782018-03-11 Zack Weinberg <zackw@panix.com>
15179
15180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15181 before nldbl-compat.h.
15182
054b72cc
ZW
151832018-03-10 Zack Weinberg <zackw@panix.com>
15184
0d13dfa1
ZW
15185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15186 math.h or math_private.h.
15187
15188 * sysdeps/alpha/fpu/s_isnan.c
15189 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15190 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15191 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15192 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15195 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15196 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15197 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15203 Include math_private.h.
15204
15205 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15206 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15207 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15208 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15209 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15210 * sysdeps/powerpc/power7/fpu/s_logb.c:
15211 Include math.h and math_private.h.
15212
054b72cc
ZW
15213 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15214 uses of $at in .set noat / .set at.
15215
6253bacd
L
152162018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15217
15218 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15219 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15220 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15222 Likewise.
15223
229855e5
FW
152242018-03-09 Florian Weimer <fweimer@redhat.com>
15225
15226 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15227 in comment.
15228
9aa5c222
AJ
152292018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15230
15231 [BZ #22919]
15232 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15233 Add nop before __startcontext, add explaining comments.
15234
3dc21497
AZ
152352018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15236
e921c89e
AZ
15237 [BZ #22926]
15238 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15239 empty for __SPE__.
15240 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15241 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15242 Do not build hardware transactional code for __SPE__.
15243 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15244 (__lll_trylock_elision): Likewise.
15245 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15246 (__lll_unlock_elision): Likewise.
15247
d9f26dab 15248 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
15249 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15250 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15251 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15252 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15253 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15254 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15255 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15256 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15257 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15258 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15259 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15260 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15261 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15262 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15263 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15264 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15265 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15266 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15267 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15268 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15269 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15270 (__ASSUME_CLONE_BACKWARDS): Define.
15271 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15272 __clone2 if __NR_clone2 is defined.
15273 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15274 (__ASSUME_CLONE_BACKWARDS): Likewise.
15275 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15276 (__ASSUME_CLONE_BACKWARDS): Likewise.
15277 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15278 (__ASSUME_CLONE2): Likewise.
15279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15280 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15281 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15282 variants and the define architecture can use.
15283 (__ASSUME_CLONE_DEFAULT): Define as default.
15284 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15285 (__ASSUME_CLONE_BACKWARDS): Likewise.
15286 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15287 (__ASSUME_CLONE_BACKWARDS): Likewise.
15288 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15289 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15290
adc95fb0
SP
152912018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15292
4e54d918
SP
15293 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15294
30a81dae
SP
15295 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15296 time.
15297
adc95fb0
SP
15298 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15299 (do_test_limit): Likewise.
15300
15301 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15302 for every implementation.
15303 (do_test): Likewise.
15304
15305 * benchtests/bench-strncmp.c: Convert output to json.
15306
4e9066bc
ST
153072018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15308
15309 * io/futimens.c: Add missing start-of-file descriptive comment.
15310 * io/utime.c: Likewise.
15311 * misc/futimesat.c: Likewise.
15312 * misc/utimes.c: Likewise.
15313 * sysdeps/mach/hurd/futimesat.c: Likewise.
15314 * sysdeps/mach/hurd/utimes.c: Likewise.
15315 * sysdeps/posix/utime.c: Likewise.
15316 * sysdeps/posix/utimes.c: Likewise.
15317 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15318 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15319 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15320 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15321
ec1300cf
ST
153222018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15323
15324 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15325 hurd_futimes.
15326 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15327 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15328 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15329 (__futimens): Move implementation to...
15330 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15331 utime_tvalue_from_tspec): ... new helper functions.
15332 (hurd_futimens): New function.
15333 * sysdeps/mach/hurd/futimesat.c: New file.
15334 * sysdeps/mach/hurd/utimensat.c: New file.
15335
bbe762d1
FC
153362018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15337
15338 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15339 UTIME_OMIT): New macros.
15340 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15341 before reverting to converting time spec to time value and calling
15342 __file_utimes.
15343 * sysdeps/mach/hurd/utime-helper.c: New file.
15344 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15345 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15346 reverting to utime_tvalue_from_tval and __file_utimes.
15347 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15348 (__lutimes): Just call hurd_futimens after lookup.
15349 * sysdeps/mach/hurd/utimes.c: Likewise.
15350
a1ede3a4
ST
153512018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15352
15353 * bits/sigaction.h: Add include guard.
15354 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15355 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15356 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15357 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15358 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15359 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15361 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15362 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15363
6900d2ca
JM
153642018-03-05 Joseph Myers <joseph@codesourcery.com>
15365
15366 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15367 -Wmaybe-uninitialized for -Os.
15368 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15369 this disabling.
15370
68448be2
AZ
153712018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15372
5226a81f
AZ
15373 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15374 __INO_T_MATCHES_INO64_T is defined.
15375 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15376 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15377 of definition.
15378 * dirent/alphasort64.c: Likewise.
15379 * dirent/scandir.c: Likewise.
15380 * dirent/scandir64-tail.c: Likewise.
15381 * dirent/scandir64.c: Likewise.
15382 * dirent/scandirat.c: Likewise.
15383 * dirent/scandirat64.c: Likewise.
15384 * dirent/versionsort.c: Likewise.
15385 * dirent/versionsort64.c: Likewise.
15386 * include/dirent.h: Likewise.
15387
fbd01e6c
AZ
15388 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15389 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15390 for socketpair endpoint.
15391 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15392 WRITE_BUFFER_SIZE as buffer size for sending socket.
15393 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15394 issue on system where send is implemented with sendto syscall.
15395 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15396 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15397 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15398 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15399
68448be2
AZ
15400 [BZ #21269]
15401 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15402 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15403 sa_restorer for vDSO case.
15404 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15405
eb1ca47e
ST
154062018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15407
15408 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
15409 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15410 * hurd/hurd/ioctl.h: Include <mach/port.h>
15411 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
15412 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15413 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
15414 (headers): Move mach/param.h to bits/mach/param.h.
15415 * sysdeps/mach/i386/mach/param.h: Move file to ...
15416 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15417 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15418 of <mach/param.h>.
3403cb7d
ST
15419 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15420 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15421 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
15422 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15423 trivial, for C++ conformity.
44c6376c 15424 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
15425 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15426 Process mig output through $(migheadersed).
15427 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
15428 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15429 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15430 headers.
ba89615d
ST
15431 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15432 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15433 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15434 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15435 <bits/types/sigset_t.h>.
15436 [!defined __USE_GNU]: Do not #error out.
15437 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15438 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15439 Include <stddef.h> and <bits/types/sigset_t.h>
15440 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15441 instead of sighandler_t.
974393ea
ST
15442 * stdlib/errno.h (error_t): Move definition to...
15443 * bits/types/error_t.h: ... new header.
15444 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15445 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15446 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15447 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15448 * hurd/hurd.h: Include <bits/types/error_t.h>
15449 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15450 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15451 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15452 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15453 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15454 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 15455 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 15456
eaf6753f
AS
154572018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15458
15459 [BZ #22918]
15460 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15461 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15462 * nscd/gai.c (__nss_hosts_database): Readd definition.
15463 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15464 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15465 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15466
4dc23804
JM
154672018-03-02 Joseph Myers <joseph@codesourcery.com>
15468
15469 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15470 (ifunc_one): Likewise.
15471
1c81d55f
DD
154722018-03-01 DJ Delorie <dj@delorie.com>
15473
15474 [BZ #22342]
15475 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15476 key value.
15477
b717c14f
MR
154782018-03-01 Maciej W. Rozycki <macro@mips.com>
15479
15480 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15481 `match_pid' parameter.
15482 (td_ta_thr_iter): Update accordingly.
15483
1efe1358
FW
154842018-03-01 Florian Weimer <fweimer@redhat.com>
15485
15486 * nptl/Makefile (install-lib-ldscripts): Remove.
15487 (install): Remove rule.
15488 ($(inst_libdir)/libpthread.so): Likewise.
15489
a527f09c
MF
154902018-03-01 Mike FABIAN <mfabian@redhat.com>
15491
15492 [BZ #22896]
15493 * localedata/locales/an_ES: update month and day names,
15494 improve d_fmt, improve postal_fmt, add country_post,
15495 add country_isbn
15496
35d660b0
MF
154972018-03-01 Mike FABIAN <mfabian@redhat.com>
15498
15499 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15500 Ukrainian instead of Bulgarian.
15501
1a2f44a8
FW
155022018-03-01 Florian Weimer <fweimer@redhat.com>
15503
15504 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15505 reference.
15506
bd60ce86
FW
155072018-03-01 Florian Weimer <fweimer@redhat.com>
15508
15509 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15510 * nptl/Makefile (routines): Add pthread_atfork.
15511 (static-only-routines): Set to pthread_atfork.
15512 (libpthread-routines): Remove pthread_atfork.
15513 (libpthread-static-only-routines): Remove.
15514 (install): Update comment.
15515 (libpthread.so): Do not install libpthread_nonshared.a.
15516 (tests): Do not link with libpthread_nonshared.a.
15517 (generated): Remove libpthread_nonshared.a.
15518 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15519 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15520 with libpthread_nonshared.a.
15521
000f290f
JM
155222018-02-28 Joseph Myers <joseph@codesourcery.com>
15523
e2bcf6a8
JM
15524 [BZ #22902]
15525 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15526 (libc_feholdexcept_setroundf128): New macro.
15527 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15528
000f290f
JM
15529 [BZ #15105]
15530 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15531 libc_hidden_def.
15532 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15533 * include/inttypes.h: New file.
15534
02f2fead
JM
155352018-02-27 Joseph Myers <joseph@codesourcery.com>
15536
15537 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15538 -Os in two more places.
15539
874c56d7
MF
155402018-02-27 Mike FABIAN <mfabian@redhat.com>
15541
15542 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15543 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15544 be sorted correctly at the moment because of a bug.
15545
15973854
MF
155462018-02-27 Mike FABIAN <mfabian@redhat.com>
15547
15548 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15549 treat ñ as a primary different character, sync the collation
15550 for Spanish with CLDR.
15551 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15552 * localedata/Makefile: Add new test files.
15553 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15554 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15555 collation order.
15556 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15557 * localedata/am_ET.UTF-8.in: New test file.
15558 * localedata/az_AZ.UTF-8.in: Likewise.
15559 * localedata/be_BY.UTF-8.in: Likewise.
15560 * localedata/ber_DZ.UTF-8.in: Likewise.
15561 * localedata/ber_MA.UTF-8.in: Likewise.
15562 * localedata/bg_BG.UTF-8.in: Likewise.
15563 * localedata/br_FR.UTF-8.in: Likewise.
15564 * localedata/cmn_TW.UTF-8.in: Likewise.
15565 * localedata/crh_UA.UTF-8.in: Likewise.
15566 * localedata/csb_PL.UTF-8.in: Likewise.
15567 * localedata/cv_RU.UTF-8.in: Likewise.
15568 * localedata/cy_GB.UTF-8.in: Likewise.
15569 * localedata/dz_BT.UTF-8.in: Likewise.
15570 * localedata/eo.UTF-8.in: Likewise.
15571 * localedata/es_ES.UTF-8.in: Likewise.
15572 * localedata/fa_IR.UTF-8.in: Likewise.
15573 * localedata/fi_FI.UTF-8.in: Likewise.
15574 * localedata/fil_PH.UTF-8.in: Likewise.
15575 * localedata/fur_IT.UTF-8.in: Likewise.
15576 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15577 * localedata/ha_NG.UTF-8.in: Likewise.
15578 * localedata/ig_NG.UTF-8.in: Likewise.
15579 * localedata/ik_CA.UTF-8.in: Likewise.
15580 * localedata/kk_KZ.UTF-8.in: Likewise.
15581 * localedata/ku_TR.UTF-8.in: Likewise.
15582 * localedata/ky_KG.UTF-8.in: Likewise.
15583 * localedata/ln_CD.UTF-8.in: Likewise.
15584 * localedata/mi_NZ.UTF-8.in: Likewise.
15585 * localedata/ml_IN.UTF-8.in: Likewise.
15586 * localedata/mn_MN.UTF-8.in: Likewise.
15587 * localedata/mr_IN.UTF-8.in: Likewise.
15588 * localedata/mt_MT.UTF-8.in: Likewise.
15589 * localedata/nb_NO.UTF-8.in: Likewise.
15590 * localedata/om_KE.UTF-8.in: Likewise.
15591 * localedata/os_RU.UTF-8.in: Likewise.
15592 * localedata/ps_AF.UTF-8.in: Likewise.
15593 * localedata/ro_RO.UTF-8.in: Likewise.
15594 * localedata/ru_RU.UTF-8.in: Likewise.
15595 * localedata/sc_IT.UTF-8.in: Likewise.
15596 * localedata/se_NO.UTF-8.in: Likewise.
15597 * localedata/sq_AL.UTF-8.in: Likewise.
15598 * localedata/sv_SE.UTF-8.in: Likewise.
15599 * localedata/szl_PL.UTF-8.in: Likewise.
15600 * localedata/tg_TJ.UTF-8.in: Likewise.
15601 * localedata/tk_TM.UTF-8.in: Likewise.
15602 * localedata/tt_RU.UTF-8.in: Likewise.
15603 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15604 * localedata/ug_CN.UTF-8.in: Likewise.
15605 * localedata/uz_UZ.UTF-8.in: Likewise.
15606 * localedata/vi_VN.UTF-8.in: Likewise.
15607 * localedata/yi_US.UTF-8.in: Likewise.
15608 * localedata/yo_NG.UTF-8.in: Likewise.
15609 * localedata/zh_CN.UTF-8.in: Likewise.
15610 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15611 file and fix bugs in the collation.
15612 * localedata/locales/az_AZ: Likewise.
15613 * localedata/locales/be_BY: Likewise.
15614 * localedata/locales/ber_DZ: Likewise.
15615 * localedata/locales/ber_MA: Likewise.
15616 * localedata/locales/bg_BG: Likewise.
15617 * localedata/locales/br_FR: Likewise.
15618 * localedata/locales/br_FR@euro: Likewise.
15619 * localedata/locales/ca_ES: Likewise.
15620 * localedata/locales/cns11643_stroke: Likewise.
15621 * localedata/locales/crh_UA: Likewise.
15622 * localedata/locales/cs_CZ: Likewise.
15623 * localedata/locales/csb_PL: Likewise.
15624 * localedata/locales/cv_RU: Likewise.
15625 * localedata/locales/cy_GB: Likewise.
15626 * localedata/locales/da_DK: Likewise.
15627 * localedata/locales/dz_BT: Likewise.
15628 * localedata/locales/en_CA: Likewise.
15629 * localedata/locales/eo: Likewise.
15630 * localedata/locales/es_CU: Likewise.
15631 * localedata/locales/es_EC: Likewise.
15632 * localedata/locales/es_ES: Likewise.
15633 * localedata/locales/es_US: Likewise.
15634 * localedata/locales/et_EE: Likewise.
15635 * localedata/locales/fa_IR: Likewise.
15636 * localedata/locales/fi_FI: Likewise.
15637 * localedata/locales/fil_PH: Likewise.
15638 * localedata/locales/fur_IT: Likewise.
15639 * localedata/locales/gez_ER@abegede: Likewise.
15640 * localedata/locales/ha_NG: Likewise.
15641 * localedata/locales/hr_HR: Likewise.
15642 * localedata/locales/hsb_DE: Likewise.
15643 * localedata/locales/hu_HU: Likewise.
15644 * localedata/locales/ig_NG: Likewise.
15645 * localedata/locales/ik_CA: Likewise.
15646 * localedata/locales/is_IS: Likewise.
15647 * localedata/locales/iso14651_t1_pinyin: Likewise.
15648 * localedata/locales/kk_KZ: Likewise.
15649 * localedata/locales/ku_TR: Likewise.
15650 * localedata/locales/ky_KG: Likewise.
15651 * localedata/locales/ln_CD: Likewise.
15652 * localedata/locales/lt_LT: Likewise.
15653 * localedata/locales/lv_LV: Likewise.
15654 * localedata/locales/mi_NZ: Likewise.
15655 * localedata/locales/ml_IN: Likewise.
15656 * localedata/locales/mn_MN: Likewise.
15657 * localedata/locales/mr_IN: Likewise.
15658 * localedata/locales/mt_MT: Likewise.
15659 * localedata/locales/nb_NO: Likewise.
15660 * localedata/locales/om_KE: Likewise.
15661 * localedata/locales/os_RU: Likewise.
15662 * localedata/locales/pl_PL: Likewise.
15663 * localedata/locales/ps_AF: Likewise.
15664 * localedata/locales/ro_RO: Likewise.
15665 * localedata/locales/ru_RU: Likewise.
15666 * localedata/locales/ru_UA: Likewise.
15667 * localedata/locales/sc_IT: Likewise.
15668 * localedata/locales/se_NO: Likewise.
15669 * localedata/locales/si_LK: Likewise.
15670 * localedata/locales/sq_AL: Likewise.
15671 * localedata/locales/sv_FI: Likewise.
15672 * localedata/locales/sv_FI@euro: Likewise.
15673 * localedata/locales/sv_SE: Likewise.
15674 * localedata/locales/szl_PL: Likewise.
15675 * localedata/locales/tg_TJ: Likewise.
15676 * localedata/locales/ti_ER: Likewise.
15677 * localedata/locales/tk_TM: Likewise.
15678 * localedata/locales/tl_PH: Likewise.
15679 * localedata/locales/tr_TR: Likewise.
15680 * localedata/locales/tt_RU: Likewise.
15681 * localedata/locales/tt_RU@iqtelif: Likewise.
15682 * localedata/locales/ug_CN: Likewise.
15683 * localedata/locales/uk_UA: Likewise.
15684 * localedata/locales/uz_UZ: Likewise.
15685 * localedata/locales/uz_UZ@cyrillic: Likewise.
15686 * localedata/locales/vi_VN: Likewise.
15687 * localedata/locales/yi_US: Likewise.
15688 * localedata/locales/yo_NG: Likewise.
15689
ce6636b0
MF
156902018-02-27 Mike FABIAN <mfabian@redhat.com>
15691
15692 * gen-locales.mk: Make test files which contain @ modifiers in their
15693 name work.
15694 * localedata/gen-locale.sh: Likewise.
15695
ac3a3b4b
MF
156962018-02-27 Mike FABIAN <mfabian@redhat.com>
15697
15698 * posix/tst-fnmatch.input: Fix results for range expressions
15699 for non C locales.
15700 * posix/tst-regexloc.c: Do not use a range expression for
15701 de_DE.ISO-8859-1 locale.
15702
770cbe14
MF
157032018-02-27 Mike FABIAN <mfabian@redhat.com>
15704
15705 * posix/bug-regex5.c: Fix test case because with the new
15706 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15707 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15708 file.
15709
0fc355d9
MF
157102018-02-27 Mike FABIAN <mfabian@redhat.com>
15711
15712 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15713 downloaded from ISO, the collation order of @-. and space has changed.
15714 Therefore, this test file needed to be adapted.
15715 * localedata/fr_CA.UTF-8.in: Likewise.
15716 * localedata/fr_FR.UTF-8.in: Likewise.
15717 * localedata/uk_UA.UTF-8.in: Likewise.
15718
43f3893f
MF
157192018-02-27 Mike FABIAN <mfabian@redhat.com>
15720
15721 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15722 order of ȥ in the new iso14651_t1_common file.
15723 * localedata/pl_PL.UTF-8.in: Likewise.
15724
df74ef78
MF
157252018-02-27 Mike FABIAN <mfabian@redhat.com>
15726
15727 * localedata/locales/iso14651_t1_common: Add sections for various
15728 scripts to the iso14651_t1_common file.
15729
d5adfbad
MF
157302018-02-27 Mike FABIAN <mfabian@redhat.com>
15731
15732 * localedata/locales/iso14651_t1_common: Use the code point of a
15733 character in the fourth collation level instead of IGNORE for all
15734 entries which have IGNORE on all 4 levels.
15735
5f5a9610
MF
157362018-02-27 Mike FABIAN <mfabian@redhat.com>
15737
15738 * localedata/locales/iso14651_t1_common: Add some convenient collation
15739 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15740 rules similar to those in CLDR.
15741
8a97e900
MF
157422018-02-27 Mike FABIAN <mfabian@redhat.com>
15743
15744 * localedata/locales/iso14651_t1_common: The new version of this
15745 file downloaded from ISO contained several syntax errors which
15746 are fixed by this patch.
15747
bbdd2fba
MF
157482018-02-27 Mike FABIAN <mfabian@redhat.com>
15749
15750 * localedata/locales/iso14651_t1_common: replace all <U.....>
15751 with <U000.....> because glibc understands only 4 digit or 8 digit
15752
1569e551
MF
157532018-02-27 Mike FABIAN <mfabian@redhat.com>
15754
15755 * localedata/locales/iso14651_t1_common: Necessary changes
15756 to make the file downloaded from ISO usable by glibc.
15757
9479b6d5
MF
157582018-02-27 Mike FABIAN <mfabian@redhat.com>
15759
15760 [BZ #14095]
15761 * localedata/locales/iso14651_t1_common: Update file to
15762 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15763
03b540b3
ST
157642018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15765
15766 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15767 of <nptl/pthreadP.h>
15768 (thread_attr_compare): Move function to...
eb937a52 15769 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 15770 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 15771 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 15772
20602c72
JM
157732018-02-26 Joseph Myers <joseph@codesourcery.com>
15774
f54d8f73
JM
15775 * string/strcoll_l.c: Include <libc-diag.h>.
15776 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15777 declarations of seq1 and seq2.
15778
20602c72
JM
15779 [BZ #15105]
15780 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15781 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15782
f5f473a9
DL
157832018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15784
15785 [BZ #22433]
15786 [BZ #22807]
15787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15788 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15789 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15790 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15791 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15792 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15793
398c6fdd
TMQMF
157942018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15795
15796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15797 macros used in __ptrace_request.
15798
f5d1f629
L
157992018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15800
15801 [BZ #22792]
15802 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15803 to $(CC).
15804 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15805 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15806 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15807 <tcb-offsets.h>.
15808
54412d20
JM
158092018-02-23 Joseph Myers <joseph@codesourcery.com>
15810
15811 [BZ #15105]
15812 * ctype/ctype.c (tolower): Use libc_hidden_def.
15813 (toupper): Likewise.
15814 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15815 [!_ISOMAC] (toupper): Likewise.
15816
81be4b5e
MF
158172018-02-23 Mike FABIAN <mfabian@redhat.com>
15818
15819 * localedata/Makefile: Remove --quiet argument when
15820 installing locales
15821
9d5cfd8e
MF
158222018-02-23 Mike FABIAN <mfabian@redhat.com>
15823
15824 [BZ #17438]
15825 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15826 in d_fmt.
15827 * localedata/locales/pt_PT (LC_TIME): likewise
15828
6c7269f3
MF
158292018-02-23 Mike FABIAN <mfabian@redhat.com>
15830
15831 [BZ #22646]
15832 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15833 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15834 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15835
92aabad9
AZ
158362018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15837
4cdc25a4
AZ
15838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15839
27761a10
AZ
15840 * nptl/Makefile (routines): Remove unregister-atfork.
15841 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15842 (fork_handler_alloc): Remove function.
15843 (fork_handlers, fork_handler_init): New variables.
15844 (__fork_lock): Rename to atfork_lock.
15845 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15846 to use a dynamic array to add/remove atfork handlers.
15847 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15848 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15849 Remove declaration.
15850 (fork_handler): Remove next, refcntr, and need_signal member.
15851 (__run_fork_handler_type): New enum.
15852 (__run_fork_handlers): New prototype.
15853 * nptl/register-atfork.c: Remove file.
15854 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15855
92aabad9
AZ
15856 * sysdeps/nptl/nptl-signals.h: Move to ...
15857 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15858 comments.
15859 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15860 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15861 unnecessary check for SIGTIMER.
15862 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15863 remove unnecessary removal of SIGTIMER.
15864 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15865 include-signals.h rename.
15866 * nptl/pthreadP.h: Likewise.
15867 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15868 __is_internal_signal instead of __nptl_is_internal_signal.
15869
fdcc6253
AW
158702018-02-22 Andrew Waterman <andrew@sifive.com>
15871
7e04eb29 15872 [BZ # 22884]
fdcc6253
AW
15873 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15874 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15875 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15876 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15877
8090720a
DD
158782018-02-22 DJ Delorie <dj@delorie.com>
15879
15880 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15881
6ca24c43
SP
158822018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15883
15884 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15885 do_misaligned, not misaligned8.
15886
e9537ddd
SE
158872018-02-22 Steve Ellcey <sellcey@cavium.com>
15888
15889 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15890 Add memcpy_thunderx2.
15891 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15892 Increment to 4.
15893 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15894 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15895 and IS_THUNDERX2PA checks.
15896 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15897 Use macro to set name appropriately.
15898 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15899 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15900 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15901 New macro.
15902 (IS_THUNDERX2): New macro.
15903
6e336476
SL
159042018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15905
15906 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15907
34957904
ZW
159082018-02-21 Zack Weinberg <zackw@panix.com>
15909
30bfee26
ZW
15910 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15911 Define here, unconditionally.
15912 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15913 * libio/libioP.h: Remove #if 0 blocks.
15914 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15915 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15916 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15917
15918 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15919 Assume weak_alias is always defined.
15920
15921 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15922 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15923 Remove #if 0 and #ifdef TODO blocks.
15924 Assume text_set_element is always defined.
15925
15926 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15927 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15928 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15929
df6c012b
ZW
15930 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15931 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15932 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15933 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15934 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15935 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15936 Reformat bit flags for _flags field to make occupancy clearer.
15937 Update commentary.
15938 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15939 Keep definitions consistent with those in libio/libio.h.
15940
15941 * libio/libio.h (_IO_file_flags): Remove macro.
15942 All uses changed to _flags.
15943
177aad3f
ZW
15944 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15945 (__HAVE_COLUMN, _IO_BE): Don't define.
15946 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15947 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15948 * libio/libioP.h (EOF): Don't define.
15949 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15950 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15951 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15952 testing _IO_UNIFIED_JUMPTABLES.
15953
9964a145
ZW
15954 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15955 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15956 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15957 (_IO_size_t): Delete; all uses changed to size_t.
15958 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15959 (_IO_off_t): Delete; all uses changed to off_t.
15960 (_IO_off64_t): Delete; all uses changed to off64_t.
15961 (_IO_pid_t): Delete; all uses changed to pid_t.
15962 (_IO_uid_t): Delete; all uses changed to uid_t.
15963 (_IO_wint_t): Delete; all uses changed to wint_t.
15964 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15965 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15966 (_IO_cookie_io_functions_t): Delete; all uses changed to
15967 cookie_io_functions_t.
15968 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15969 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15970 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15971 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15972
15973 * libio/iofopncook.c: Remove unnecessary forward declarations.
15974 * libio/iolibio.h: Correct outdated commentary.
15975 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15976 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15977 Remove unnecessary casts.
15978 * stdio-common/getline.c: Use _IO_getdelim directly.
15979 Don't redefine ssize_t.
15980 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15981 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15982 Remove outdated comments.
15983 * stdio-common/vfscanf.c: Don't redefine va_list.
15984
34957904
ZW
15985 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15986 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15987 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15988 which are always true, and __cplusplus, which is always false.
15989
30ac923d
JM
159902018-02-21 Joseph Myers <joseph@codesourcery.com>
15991
039c721a
JM
15992 [BZ #15105]
15993 [BZ #19463]
15994 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15995 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15996 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15997 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15998 libc_hidden_proto.
15999 [!_ISOMAC] (putc_unlocked): Likewise.
16000 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16001 define inline if [__USE_EXTERN_INLINES].
16002 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16003 putc_unlocked.
16004
30ac923d
JM
16005 [BZ #15105]
16006 [BZ #19463]
16007 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16008 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16009 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16010 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16011 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16012 getc_unlocked.
16013 * time/tzfile.c (__tzfile_read): Likewise.
16014
7ec5f946
MF
160152018-02-21 Mike FABIAN <mfabian@redhat.com>
16016
16017 [BZ #22517]
16018 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16019
0d217f40
RJ
160202018-02-21 Rical Jasan <ricaljasan@pacific.net>
16021
16022 * io/fcntl.h: Fix a typo in a comment.
16023
862b4502
RJ
160242018-02-21 Rical Jasan <ricaljasan@pacific.net>
16025
16026 [BZ #22862]
16027 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16028 define _DEFAULT_SOURCE.
16029 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16030
999a6dab
FW
160312018-02-21 Florian Weimer <fweimer@redhat.com>
16032
16033 [BZ #20890]
16034 * elf/cache.c (save_cache): Call fsync on temporary file before
16035 renaming it.
16036 (save_aux_cache): Call fdatasync on temporary file before renaming
16037 it.
16038
52a01100
FW
160392018-02-21 Florian Weimer <fweimer@redhat.com>
16040
16041 [BZ #22787]
16042 * include/caller.h: Remove file.
16043 * elf/dl-caller.c: Likewise.
16044 * elf/Makefile (dl-routines): Remove dl-caller.
16045 (shared-only-routines): Do not add dl-caller.
16046 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16047 __check_caller.
16048 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16049 member.
16050 (dl_open_worker): Do not call __check_caller.
16051 (_dl_open): Do not set caller_dl_open member.
16052 * elf/rtld.c (_rtld_global_ro): Do not initialize
16053 _dl_check_caller member.
16054 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16055 _dl_check_caller member.
16056 (_dl_check_caller): Remove declaration.
16057 * sysdeps/unix/sysv/linux/dl-execstack.c
16058 (_dl_make_stack_executable): Do not call __check_caller.
16059
b5bf62e4
ST
160602018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16061
16062 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 16063 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 16064
e8d190b9
RJ
160652018-02-20 Rical Jasan <ricaljasan@pacific.net>
16066
16067 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16068 description.
16069
6a3962c4
RJ
160702018-02-20 Rical Jasan <ricaljasan@pacific.net>
16071
da81ae64 16072 [BZ #16335]
6a3962c4
RJ
16073 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16074 of 199606L, 200112L, and 200809L.
16075 (_XOPEN_SOURCE): Document special values of 600 and 700.
16076 (_ISOC11_SOURCE): Document macro.
16077 (_ATFILE_SOURCE): Likewise.
16078 (_FORTIFY_SOURCE): Likewise.
16079
ec481ad8
JM
160802018-02-19 Joseph Myers <joseph@codesourcery.com>
16081
16082 [BZ #15105]
16083 [BZ #19463]
16084 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16085 and define as weak alias of __ferror_unlocked. Use
16086 libc_hidden_weak.
16087 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16088 libc_hidden_proto.
16089 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16090 function if [__USE_EXTERN_INLINES].
16091 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16092 ferror_unlocked.
16093
7d15ef84
RJ
160942018-02-19 Rical Jasan <ricaljasan@pacific.net>
16095
16096 [BZ #6889]
16097 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16098
f8d79582
AJ
160992018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16100
16101 [BZ #22818]
16102 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16103 the GLIBC_2.1 version.
16104
56456a2a
AJ
161052018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16106
16107 [BZ #21508]
16108 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16109 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16110 intl/tst-gettext-de.po from po/de.po by removing the
16111 POT-Creation-Date line.
16112 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16113 ../po/de.po.
16114 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16115 ../po/de.po.
16116
13768813
ST
161172018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16118
16119 * mach/Makefile (headers): Add mach/param.h.
16120 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16121 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
16122 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16123 (__ptsname_r): Move implementation to...
16124 (__ptsname_internal): ... new function. Add filling the STP
16125 structure.
13768813 16126
6aca1b61
JDA
161272018-02-17 John David Anglin <danglin@gcc.gnu.org>
16128
16129 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16130 idouble to 1 ULP.
16131
16efad51
RJ
161322018-02-16 Rical Jasan <ricaljasan@pacific.net>
16133
16134 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16135 syntax.
16136
87245073
SL
161372018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16138
16139 * nptl/Makefile (tst-mutex8-ENV): Delete.
16140 * nptl/tst-mutex8.c (check_type):
16141 Add runtime check if mutex will be elided.
16142
7fc03cf3
JM
161432018-02-15 Joseph Myers <joseph@codesourcery.com>
16144
db9881ec
JM
16145 [BZ #20980]
16146 [BZ #21234]
16147 * manual/install.texi (Configuring and compiling): Describe
16148 passing CC and CFLAGS on configure command line, not as
16149 environment variables. Use @code markup on those variables.
16150 Specify what options go in CC and what go in CFLAGS. Note the
16151 requirement to compile with optimization.
16152 * INSTALL: Regenerated.
16153
3785b31c
JM
16154 [BZ #18124]
16155 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16156 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16157 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16158 __sigprocmask instead of sigprocmask.
16159 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16160 Likewise.
16161 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16162 __sigsetjmp and sigprocmask.
16163
055ac2a7
JM
16164 [BZ #15105]
16165 * include/argz.h (argz_next): Use libc_hidden_proto.
16166 (__argz_next): Likewise.
16167 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16168 (argz_next): Use libc_hidden_weak.
16169
e4452a2d
JM
16170 [BZ #15105]
16171 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16172 libc_hidden_proto.
16173 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16174 libc_hidden_def.
16175
499b3153
JM
16176 [BZ #15105]
16177 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16178 libc_hidden_proto.
16179 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16180
7fc03cf3
JM
16181 [BZ #15105]
16182 [BZ #19463]
16183 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16184 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16185 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16186 (__feof_unlocked): New declaration, and inline function if
16187 [__USE_EXTERN_INLINES].
16188 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16189 instead of feof_unlocked.
16190 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16191 * nss/nsswitch.c (nss_parse_file): Likewise.
16192 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16193 Likewise.
16194 * time/getdate.c (__getdate_r): Likewise.
16195 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16196 Define as macro to call __feof_unlocked.
16197
0c8a67a5
WD
161982018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16199
16200 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16201
610ee1fc
WD
162022018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16203
16204 * math/Makefile: Remove mpexp.c and mplog.c
16205 * sysdeps/i386/fpu/mpexp.c: Delete file.
16206 * sysdeps/i386/fpu/mplog.c: Likewise.
16207 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16208 * sysdeps/ia64/fpu/mplog.c: Likewise.
16209 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16210 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16211 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16212 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16213 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16214 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16215 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16216 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16217 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16219 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16221 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16222 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16223 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16224 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16225
8e7196c8
SL
162262018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16227
16228 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16229
4f55ad0b
AZ
162302018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16231
16232 * sysdeps/sh/libm-test-ulps: Update.
16233
261a851c
TMQMF
162342018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16235
16236 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16237 idouble to 1 ULP.
16238
e16deca6
ZW
162392018-02-12 Zack Weinberg <zackw@panix.com>
16240
16241 [BZ #19239]
16242 * posix/sys/types.h: Don't include sys/sysmacros.h.
16243 * misc/sys/sysmacros.h: Remove the conditional deprecation
16244 warnings for the macros defined by this header.
16245
de800d83
SN
162462018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16247
16248 * manual/probes.texi: Remove slowexp probes.
16249 * math/Makefile: Remove slowexp.
16250 * sysdeps/generic/math_private.h (__slowexp): Remove.
16251 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16252 document error bounds.
16253 * sysdeps/i386/fpu/slowexp.c: Remove.
16254 * sysdeps/ia64/fpu/slowexp.c: Remove.
16255 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16256 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16257 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16258 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16259 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16260 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16262 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16263 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16264 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16265 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16266
c3d466cb
WD
162672018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16268
16269 [BZ #13932]
16270 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16271 * benchtests/pow-inputs: Update comment for slow path cases.
16272 * manual/probes.texi (slowpow_p10): Delete removed probe.
16273 (slowpow_p10): Likewise.
16274 * math/Makefile: Remove halfulp.c and slowpow.c.
16275 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16276 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16277 (__halfulp): Remove.
16278 (__slowpow): Remove.
16279 * sysdeps/i386/fpu/halfulp.c: Delete file.
16280 * sysdeps/i386/fpu/slowpow.c: Likewise.
16281 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16282 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16283 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16284 improve comments and add error analysis.
16285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16286 (power1): Remove function:
16287 (log1): Remove error argument, add error analysis.
16288 (my_log2): Remove function.
16289 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16291 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16292 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16293 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16294 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16295 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16296 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16297 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16298 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16299 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16300 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16301 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16302 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16303
7bb087bd
ST
163042018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16305
16306 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16307 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16308
2fd4bbaa
DL
163092018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16310
16311 [BZ #22433]
16312 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16313 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16314 and PTRACE_SETHBPREGS.
16315
402ecba4
ZW
163162018-02-10 Zack Weinberg <zackw@panix.com>
16317
16318 [BZ #22830]
16319 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16320 correctly.
16321 * malloc/tst-malloc-stats-cancellation.c: New test case.
16322 * malloc/Makefile: Add new test case.
16323
4f5b921e
WD
163242018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16325
16326 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16327
a85b70db
JM
163282018-02-10 Joseph Myers <joseph@codesourcery.com>
16329
d8742dd8
JM
16330 * math/Makefile (libm-narrow-fns): Add add.
16331 (libm-test-funcs-narrow): Likewise.
16332 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16333 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16334 * math/gen-auto-libm-tests.c (test_functions): Add add.
16335 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16336 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16337 (NARROW_ADD_TRIVIAL): Likewise.
16338 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16339 macro.
16340 (__daddl): Likewise.
16341 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16342 dadd.
16343 (CFLAGS-nldbl-dadd.c): New variable.
16344 (CFLAGS-nldbl-fadd.c): Likewise.
16345 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16346 __nldbl_daddl.
16347 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16348 prototype.
16349 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16350 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16351 * math/auto-libm-test-in: Add tests of add.
16352 * math/auto-libm-test-out-narrow-add: New generated file.
16353 * math/libm-test-narrow-add.inc: New file.
16354 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16355 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16356 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16357 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16358 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16359 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16362 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16368 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16369 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16370 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16371 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16373 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16376 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16377 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16378 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16380 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16381 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16382 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16390 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16392 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16393 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16396 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16397 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16398 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16399 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16400
a85b70db
JM
16401 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16402 (f128-pairs): New variable.
16403 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16404 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16405 to CFLAGS.
16406 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16407 Also make tests add $(f128-loader-link) to gnulib-tests.
16408
6a1ff640
DD
164092018-02-09 DJ Delorie <dj@redhat.com>
16410
16411 [BZ #22827]
16412 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16413 64-bit ELF type for 64-bit ELF objects.
16414
bfd47587
JM
164152018-02-09 Joseph Myers <joseph@codesourcery.com>
16416
31958338
JM
16417 * math/libm-test-driver.c (snan_tests_arg): New variable.
16418 * math/libm-test-support.h (snan_tests_arg): New declaration.
16419 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16420
8e554659
JM
16421 * math/Makefile (test-type-pairs): New variable.
16422 (test-type-pairs-f64xf128-yes): Likewise.
16423 (tests): Add test-narrow-macros.
16424 (libm-test-funcs-narrow): New variable.
16425 (libm-test-c-narrow): Likewise.
16426 (generated): Add $(libm-test-c-narrow).
16427 (libm-tests-base-narrow): New variable.
16428 (libm-tests-narrow): Likewise.
16429 (libm-tests): Add $(libm-tests-narrow).
16430 (libm-tests-for-type): Handle $(libm-tests-narrow).
16431 (libm-test-c-narrow-obj): New variable.
16432 ($(libm-test-c-narrow-obj)): New rule.
16433 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16434 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16435 $(o-iterator) to set dependencies and CFLAGS.
16436 * math/gen-auto-libm-tests.c: Document use for narrowing
16437 functions.
16438 (output_for_one_input_case): Take argument NARROW.
16439 (generate_output): Likewise. Update call to
16440 output_for_one_input_case.
16441 (main): Take --narrow option. Update call to generate_output.
16442 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16443 (apply_lit): Update call to _apply_lit.
16444 (apply_arglit): New function.
16445 (parse_args): Handle "a" arguments.
16446 (parse_auto_input): Handle format names using ":".
16447 * math/README.libm-test: Document "a" parameter type.
16448 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16449 (ARG_TYPE_TRUE_MIN): Likewise.
16450 (ARG_TYPE_MAX): Likwise.
16451 (ARG_MIN_EXP): Likewise.
16452 (ARG_MAX_EXP): Likewise.
16453 (ARG_MANT_DIG): Likewise.
16454 (TEST_COND_arg_ibm128): Likewise.
16455 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16456 (TEST_COND_arg_fmt): New macro.
16457 (init_max_error): Update prototype.
16458 * math/libm-test-support.c (test_ibm128): New variable.
16459 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16460 instead of using [TEST_COND_ibm128] conditional.
16461 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16462 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16463 [TEST_NARROW] (TEST_MSG): New definition.
16464 (arg_plus_zero): New macro.
16465 (arg_minus_zero): Likewise.
16466 (arg_plus_infty): Likewise.
16467 (arg_minus_infty): Likewise.
16468 (arg_qnan_value_pl): Likewise.
16469 (arg_qnan_value): Likewise.
16470 (arg_snan_value_pl): Likewise.
16471 (arg_snan_value): Likewise.
16472 (arg_max_value): Likewise.
16473 (arg_min_value): Likewise.
16474 (arg_min_subnorm_value): Likewise.
16475 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16476 (RUN_TEST_LOOP_aa_f): New macro.
16477 (TEST_SUFF): New macro.
16478 (TEST_SUFF_STR): Likewise.
16479 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16480 (TEST_COND_any_ibm128): New macro.
16481 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16482 this_func. Update call to init_max_error.
16483 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16484 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16485 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16486 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16487 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16488 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16489 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16490 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16491 * math/test-math-vector.h (TEST_NARROW): Likewise.
16492 * math/test-arg-double.h: New file.
16493 * math/test-arg-float128.h: Likewise.
16494 * math/test-arg-float32x.h: Likewise.
16495 * math/test-arg-float64.h: Likewise.
16496 * math/test-arg-float64x.h: Likewise.
16497 * math/test-arg-ldouble.h: Likewise.
16498 * math/test-math-narrow.h: Likewise.
16499 * math/test-narrow-macros.c: Likewise.
16500 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16501 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16502 test-narrow-macros-ldbl-64.
16503 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16504
63716ab2
JM
16505 * math/bits/mathcalls-narrow.h: New file.
16506 * include/bits/mathcalls-narrow.h: Likewise.
16507 * math/math-narrow.h: Likewise.
16508 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16509 (__MATHCALL_NARROW_ARGS_2): Likewise.
16510 (__MATHCALL_NARROW_ARGS_3): Likewise.
16511 (__MATHCALL_NARROW_NORMAL): Likewise.
16512 (__MATHCALL_NARROW_REDIR): Likewise.
16513 (__MATHCALL_NARROW): Likewise.
16514 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16515 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16516 defined.
16517 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16518 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16519 (libm-narrow-fns): New variable.
16520 (libm-narrow-types-basic): Likewise.
16521 (libm-narrow-types-ldouble-yes): Likewise.
16522 (libm-narrow-types-float128-yes): Likewise.
16523 (libm-narrow-types-float128-alias-yes): Likewise.
16524 (libm-narrow-types): Likewise.
16525 (libm-routines): Add narrowing functions.
16526 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16527 (libc_feholdexcept_setroundf128): New macro.
16528 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16529 * sysdeps/ieee754/float128/float128_private.h: Include
16530 <math/math-narrow.h>.
16531 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16532 Undefine and redefine.
16533 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16534 (libm_alias_float_ldouble): Undefine and redefine.
16535 (libm_alias_double_ldouble): Likewise.
16536
bfd47587
JM
16537 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16538
3f8d9d58
WD
165392018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16540
16541 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16542 FPCR/FPSR.
16543
1f6676d7
RJ
165442018-02-09 Rical Jasan <ricaljasan@pacific.net>
16545
16546 * manual/creature.texi: Convert references to gcc.info to gcc.
16547 * manual/stdio.texi: Likewise.
16548 * manual/string.texi: Likewise.
16549
d80441dd
JM
165502018-02-07 Joseph Myers <joseph@codesourcery.com>
16551
15081be9
JM
16552 [BZ #17979]
16553 * posix/bits/types.h (__int_least8_t): New typedef.
16554 (__uint_least8_t): Likewise.
16555 (__int_least16_t): Likewise.
16556 (__uint_least16_t): Likewise.
16557 (__int_least32_t): Likewise.
16558 (__uint_least32_t): Likewise.
16559 (__int_least64_t): Likewise.
16560 (__uint_least64_t): Likewise.
16561 * sysdeps/generic/stdint.h (int_least8_t): Define using
16562 __int_least8_t.
16563 (int_least16_t): Define using __int_least16_t.
16564 (int_least32_t): Define using __int_least32_t.
16565 (int_least64_t): Define using __int_least64_t.
16566 (uint_least8_t): Define using __uint_least8_t.
16567 (uint_least16_t): Define using __uint_least16_t.
16568 (uint_least32_t): Define using __uint_least32_t.
16569 (uint_least64_t): Define using __uint_least64_t.
16570 * wcsmbs/uchar.h: Include <bits/types.h>.
16571 (char16_t): Define using __uint_least16_t conditional only on
16572 [!__USE_ISOCXX11].
16573 (char32_t): Define using __uint_least32_t conditional only on
16574 [!__USE_ISOCXX11].
16575 * wcsmbs/test-char-types.c: New file.
16576 * wcsmbs/Makefile (tests): Add test-char-types.
16577
d80441dd
JM
16578 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16579 version to 4.0.1.
16580
6c6c962a
ZW
165812018-02-07 Zack Weinberg <zackw@panix.com>
16582
63fb8f9a
ZW
16583 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16584 Delete all contents except for definitions of _G_HAVE_MMAP and
16585 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16586 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16587 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16588 change as above.
16589
16590 * libio/libio.h: Don't include bits/_G_config.h here.
16591 Include stddef.h with __need_wchar_t defined. Include
16592 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16593 Define _IO_iconv_t here, directly.
16594 Don't define _IO_HAVE_ST_BLKSIZE.
16595 * libio/libioP.h: Include _G_config.h here. Move include of
16596 shlib-compat.h up with rest of includes. Simplify conditionals
16597 controlling definition of _IO_JUMPS_OFFSET.
16598
16599 * csu/init.c: Remove always-true #if around entire file.
16600 Don't include stdio.h. Set _IO_stdin_used to hardwired
16601 constant 0x20001, and update commentary.
16602 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16603 Replace all uses of _G_va_list with __gnuc_va_list.
16604 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16605 instead of #if _IO_HAVE_ST_BLKSIZE.
16606 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16607 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16608 not #ifdef.
16609
6c6c962a
ZW
16610 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16611 multiple-include guard to match.
16612 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16613 into this file.
16614 Remove preprocessor conditionals that are always true and/or
16615 redundant to other preprocessor conditionals in the same nest.
16616 Include shlib-compat.h unconditionally.
16617 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16618 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16619 defined after including stdio.h.
16620 Use __BEGIN_DECLS/__END_DECLS.
16621
16622 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16623 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16624 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16625
a4fea3f2
ZW
166262018-02-07 Zack Weinberg <zackw@panix.com>
16627
16628 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16629 New single-type headers split from _G_config.h.
16630 * libio/bits/types/cookie_io_functions_t.h
16631 * libio/bits/types/struct_FILE.h
16632 New single-type headers split from libio.h.
16633
16634 * libio/Makefile: Install the above new headers. Don't install
16635 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16636 bits/libio-ldbl.h.
16637 * libio/_G_config.h, libio/libio.h: Delete file.
16638
16639 * libio/bits/libio.h: Remove improper-inclusion guard.
16640 Include stdio.h and don't repeat anything that it does.
16641 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16642 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16643 __io_read_fn as cookie_read_function_t,
16644 __io_write_fn as cookie_write_function_t,
16645 __io_seek_fn as cookie_seek_function_t,
16646 __io_close_fn as cookie_close_function_t,
16647 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16648 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16649 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16650 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16651 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16652 and _IO_ferror_unlocked.
16653 Move prototypes of __uflow and __overflow...
16654
16655 * libio/stdio.h: ...here. Don't include bits/libio.h.
16656 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16657 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16658 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16659 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16660 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16661 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16662 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16663 __ssize_t, not _IO_ssize_t. Unconditionally define
16664 BUFSIZ as 8192 and EOF as (-1).
16665
16666 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16667 macros from bits/types/struct_FILE.h instead of _IO_* macros
16668 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16669 instead of _IO_ssize_t.
16670 * libio/bits/stdio2.h: Similarly.
16671
16672 * libio/iolibio.h: Add multiple-include guard.
16673 Include bits/libio.h after stdio.h.
16674 * libio/libioP.h: Add multiple-include guard.
16675 Include stdio.h and bits/libio.h before iolibio.h.
16676
6c6c962a 16677 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16678 * include/bits/types/cookie_io_functions_t.h
16679 * include/bits/types/struct_FILE.h: New wrappers.
16680
16681 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16682 Get definitions of _G_fpos_t and _G_fpos64_t from
16683 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16684 respectively. Remove improper-inclusion guards.
a4fea3f2 16685
6c6c962a 16686 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16687 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16688 libio.h and _G_config.h.
a4fea3f2 16689
ce999220
JM
166902018-02-07 Joseph Myers <joseph@codesourcery.com>
16691
8b4a1182
JM
16692 [BZ #15105]
16693 [BZ #19463]
16694 * include/sys/sysmacros.h [!_ISOMAC]
16695 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16696 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16697 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16698 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16699 libc_hidden_proto.
16700 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16701 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16702 Likewise.
16703 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16704 Undefine and redefine to add use __gnu_dev_ prefix.
16705 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16706 Likewise.
16707 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16708 and define as hidden inline function.
16709 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16710 Likewise.
16711 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16712 Likewise.
16713 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16714 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16715 (gnu_dev_minor): Likewise.
16716 (gnu_dev_makedev): Likewise.
16717 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16718 makedev.
16719 * posix/wordexp.c (exec_comm_child): Likewise.
16720 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16721 instead of minor and __gnu_dev_major instead of major.
16722 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16723 __gnu_dev_major instead of major.
16724 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16725 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16726 instead of gnu_dev_minor.
16727 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16728 (SLAVE_P): Likewise.
16729 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16730 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16731 instead of major.
16732
ce999220
JM
16733 [BZ #21313]
16734 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16735 in another place.
16736 * locale/weightwc.h (findidx): Likewise.
16737
b7c83ca3
WD
167382018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16739
16740 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16741 (slowlog_inexact): Likewise
16742 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16743 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16744
388ff7bd
IG
167452018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16746
16747 [BZ #22797]
16748 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16749 missing second underscore to parameter name.
16750
663e7d78
JM
167512018-02-06 Joseph Myers <joseph@codesourcery.com>
16752
0d40d0ec
JM
16753 [BZ #14508]
16754 [BZ #15512]
16755 [BZ #17082]
16756 [BZ #20530]
16757 * bits/byteswap.h: Update file comment. Do not include
16758 <bits/byteswap-16.h>.
16759 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16760 constant.
16761 (__bswap_16): Define as inline function.
16762 (__bswap_constant_32): Reformat definition.
16763 (__bswap_32): Always define as inline function, not macro, using
16764 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16765 otherwise __bswap_constant_32.
16766 (__bswap_constant_64): Reformat definition. Do not use
16767 __extension__ here.
16768 (__bswap_64): Always define as inline function, not macro. Use
16769 __extension__ on function definition. Use __builtin_bswap64 if
16770 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16771 * string/test-endian-file-scope.c: New file.
16772 * string/test-endian-sign-conversion.c: Likewise.
16773 * string/Makefile (headers): Remove bits/byteswap-16.h.
16774 (tests): Add test-endian-file-scope and
16775 test-endian-sign-conversion.
16776 (CFLAGS-test-endian-sign-conversion.c): New variable.
16777 * bits/byteswap-16.h: Remove file.
16778 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16779 * sysdeps/ia64/bits/byteswap.h: Likewise.
16780 * sysdeps/m68k/bits/byteswap.h: Likewise.
16781 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16782 * sysdeps/s390/bits/byteswap.h: Likewise.
16783 * sysdeps/tile/bits/byteswap.h: Likewise.
16784 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16785 * sysdeps/x86/bits/byteswap.h: Likewise.
16786
383e87c9
JM
16787 [BZ #17721]
16788 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16789 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16790 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16791 199901L] (__restrict): Define to restrict.
16792
d92c2759
JM
16793 [BZ #19667]
16794 * string/testcopy.c: Include <support/support.h>. Do not include
16795 <malloc.h>. Use <support/test-driver.c>.
16796 (main): Rename to do_test. Make static. Use xmalloc instead of
16797 malloc.
16798
625fb764
JM
16799 [BZ #13575]
16800 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16801 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16802 (SSIZE_MAX): Define to INT_MAX.
16803 * posix/test-ssize-max.c: New file.
16804 * posix/Makefile (tests): Add test-ssize-max.
16805
02325d6c
JM
16806 [BZ #19668]
16807 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16808 <support/support.h>. Do not include <malloc.h>.
16809 (query_auxv): Use xmalloc instead of malloc.
16810
663e7d78
JM
16811 [BZ #14553]
16812 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16813 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16814 instead of loff_t.
16815
6d7aa2b5
FW
168162018-02-06 Florian Weimer <fweimer@redhat.com>
16817
16818 [BZ #18023]
16819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16820 Use scratch_buffer instead of extend_alloca.
16821
de6da571
ZW
168222018-02-06 Zack Weinberg <zackw@panix.com>
16823
26c07172
ZW
16824 * libio/stdio.h: Don't define getc or putc as macros.
16825 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16826 not _IO_getc and _IO_putc.
16827
de6da571
ZW
16828 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16829 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16830
92669d6e
JM
168312018-02-06 Joseph Myers <joseph@codesourcery.com>
16832
c2b84df9
JM
16833 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16834 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16835
41376f8c
JM
16836 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16837
d28bf648
JM
16838 [BZ #14890]
16839 * elf/elf.h (NT_PRFPREG): New macro.
16840 (NT_S390_VXRS_LOW): Likewise.
16841 (NT_S390_VXRS_HIGH): Likewise.
16842 (NT_S390_GS_CB): Likewise.
16843 (NT_S390_GS_BC): Likewise.
16844 (NT_S390_RI_CB): Likewise.
16845
e76def72
JM
16846 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16847 (MAP_SYNC): New macro.
16848 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16849 Likewise.
16850 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16851 (MAP_SYNC): Likewise.
16852 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16853 (MAP_SYNC): Likewise.
16854 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16855 (MAP_SYNC): Likewise.
16856 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16857 (MAP_SYNC): Likewise.
16858 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16859 (MAP_SYNC): Likewise.
16860 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16861 (MAP_SYNC): Likewise.
16862 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16863 Likewise.
16864 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16865 Likewise.
16866
92669d6e
JM
16867 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16868 (MAP_SHARED_VALIDATE): New macro.
16869 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16870 (MAP_SHARED_VALIDATE): Likewise.
16871
6a5cac49
L
168722018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16873
16874 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16875 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16876 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16877
b44e0dfb
L
168782018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16879
16880 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16881 (DT_NUM): Updated to 35.
16882
f886c16c
L
168832018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16884
16885 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16886 __builtin_expect with __glibc_likely and __glibc_unlikely.
16887 (elf_machine_rela): Likewise.
16888 (elf_machine_lazy_rel): Likewise.
16889
06fbebff
L
168902018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16891
16892 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 16893 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
16894 (elf_machine_lazy_rel): Likewise.
16895
371b220f
L
168962018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16897
16898 [BZ #22638]
16899 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16900 SHARED.
65805016 16901 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 16902
f649a1b8
AS
169032018-02-05 Andreas Schwab <schwab@suse.de>
16904
16905 [BZ #22761]
16906 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16907 string.
16908
9fdb340e
ST
169092018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16910
16911 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16912 not check against PTHREAD_STACK_MIN.
16913
09e56b9e
SM
169142018-02-02 Sean McKean <smckean83@gmail.com>
16915
16916 [BZ #22735]
16917 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16918
d4b4a00a
FW
169192018-02-02 Florian Weimer <fweimer@redhat.com>
16920
16921 [BZ #22753]
16922 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16923 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16924 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16925 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16926 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16927 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16928 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16929 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16930 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16931 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16932 * misc/tst-preadvwritev2.c (do_test): Call it.
16933 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16934
3dfcbfa1
SP
169352018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16936
84c94d2f
SP
16937 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16938
96e6a716
SP
16939 * benchtests/bench-memcmp.c: Print json instead of plain text.
16940
3dfcbfa1
SP
16941 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16942 every test run.
16943
049375e2
JM
169442018-02-01 Joseph Myers <joseph@codesourcery.com>
16945
39f898c6
JM
16946 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16947 version to 4.15.
16948 (s390_sthyi): New syscall.
16949
6f9a3dd8
JM
16950 * sysdeps/generic/ldbl-classify-compat.h: New file.
16951 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16952 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16953 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16954 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16955 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16956 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16957 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16958 <ldbl-classify-compat.h>.
16959 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16960 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16961 <ldbl-classify-compat.h>.
16962 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16963 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16964 <ldbl-classify-compat.h>.
16965 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16966 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16967 <ldbl-classify-compat.h>.
16968 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16970 <ldbl-classify-compat.h>.
16971 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16973 <ldbl-classify-compat.h>.
16974 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16975 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16976 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16977 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16978 * sysdeps/microblaze/math_private.h: Likewise.
16979 * sysdeps/nios2/math_private.h: Likewise.
16980 * sysdeps/sh/math_private.h: Likewise.
16981
eb65a3d5
JM
16982 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16983 * sysdeps/m68k/coldfire/math_private.h: ... here.
16984 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16985 * sysdeps/tile/math_private.h: Likewise.
16986 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16987 Remove macro.
16988 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16989 Likewise.
16990
8a6bb1d0
JM
16991 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16992 Remove macro.
16993 (libc_fetestexcept): Likewise.
16994 (libc_feupdateenv_test): Likewise.
16995 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16996 (libc_fetestexcept): Likewise.
16997 (libc_feupdateenv_test): Likewise.
16998 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16999 (libc_fetestexcept): Likewise.
17000 (libc_feupdateenv_test): Likewise.
17001 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17002 (libc_fetestexcept): Likewise.
17003 (libc_feupdateenv_test): Likewise.
17004
ae1fcb7b
JM
17005 * sysdeps/generic/math_private.h
17006 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17007 New inline function.
17008 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17009 Likewise.
17010
b1c347e2
JM
17011 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17012 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17013 * sysdeps/generic/math_private.h
17014 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17015 inline function.
17016 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17017 Likewise.
17018 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17019 Likewise.
17020 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17021 Likewise.
17022 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17023 Likewise.
17024 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17025 Likewise.
17026 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17027 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17028 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17029 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17030 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17031 (__fegetenv): Likewise.
17032 (fesetenv): Likewise.
17033 (__fesetenv): Likewise.
17034 (feupdateenv): Likewise.
17035 (__feupdateenv): Likewise.
17036 (fegetround): Likewise.
17037 (__fegetround): Likewise.
17038 (fesetround): Likewise.
17039 (__fesetround): Likewise.
17040
d23a4962
JM
17041 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17042 (feraiseexcept): New macro.
17043 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17044 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17045 Remove macro.
17046 (__feraiseexcept): Likewise.
17047 (feclearexcept): Likewise.
17048 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17049 (__feraiseexcept): Likewise.
17050 (feclearexcept): Likewise.
17051 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17052 (__feraiseexcept): Likewise.
17053 (feclearexcept): Likewise.
17054 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17055 (__feraiseexcept): Likewise.
17056 (feclearexcept): Likewise.
17057 (fetestexcept): Likewise.
17058
5f167950
JM
17059 * sysdeps/m68k/coldfire/math-tests.h: New file.
17060
ccc9035a
JM
17061 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17062 * sysdeps/m68k/bits/fenv.h: ... here.
17063 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17064 not define.
17065 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17066 Likewise.
17067 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17068 Likewise.
17069 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17070 Likewise.
17071 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17072 Likewise.
17073 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17074 Define to 0.
17075 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17076 (__FE_UNDEFINED): New enum constant.
17077 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17078 Do not define.
17079 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17080 Likewise.
17081 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17082 Likewise.
17083 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17084 to match generic bits/fenv.h.
17085 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17086 Do not define.
17087
049375e2
JM
17088 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17089 packed on bits.
17090 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17091 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17092 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17093 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17094
f1d73681
CD
170952018-02-01 Carlos O'Donell <carlos@redhat.com>
17096 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17097 Joseph Myers <joseph@codesourcery.com>
17098
17099 [BZ #21314]
17100 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17101 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17102 computation using c.
17103 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17104 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17105 computation using c.
17106
242cbc90
DL
171072018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17108
086ee48e
DL
17109 * version.h (RELEASE): Set to "development".
17110 (VERSION): Set to "2.27.9000".
17111 * NEWS (2.28): New section.
17112
23158b08
DL
17113 * version.h (RELEASE): Set to "stable".
17114 (VERSION): Set to "2.27".
17115 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17116
242cbc90
DL
17117 * NEWS: Add the list of bugs fixed in 2.27.
17118
673e2305
AZ
171192018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17120
17121 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17122 against PTHREAD_STACK_MIN.
17123
ced64e01
DL
171242018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17125
17126 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17127 New entries.
17128 (Rafal Luzynski, Andreas Schwab): Update.
17129
c10c9a5e
RL
171302018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17131
17132 [BZ #10871]
17133 * NEWS: List the languages which actually use the alternative
17134 months feature in this release. Also explain that "alt_mon" and
17135 "ab_alt_mon" are optional.
17136
650ba77a
IM
171372018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17138
17139 [BZ #22765]
17140 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17141
93493119
DL
171422018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17143
17144 * manual/install.texi (Tools for Compilation): Update the newest
17145 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17146 * INSTALL: Regenerated.
17147
363e4519 171482018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
17149
17150 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17151 instead of __builtin_expect.
17152
d7536874
FW
171532018-01-30 Florian Weimer <fweimer@redhat.com>
17154
17155 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17156 data.
17157 * nss/tst-nss-getpwent.c (do_test): Likewise.
17158
9a1b267d
RL
171592018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17160
17161 [BZ #10871]
17162 * localedata/locales/hr_HR (mon): Rename to...
17163 (alt_mon): This.
17164 (mon): Import from CLDR (genitive case).
17165 (d_t_fmt): Update the comment.
17166
9a179328
AS
171672018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17168
17169 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17170 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17171 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17172
e01e0ddc
ST
171732018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17174
17175 * mach/Versions: Fix version when __mach_host_self_ was added.
17176 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17177 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17178 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17179 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17180 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17181 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17182 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17183 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17184 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17185 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17186 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17187 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
17188 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17189 || to respect codestyle.
2aadb705
ST
17190 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17191 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
17192 * malloc/malloc.c: Include <assert.h>.
17193 (assert): Do not define.
17194 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
17195 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17196 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 17197 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 17198 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 17199
521877e1
PD
172002018-01-29 Darius Rad <darius@bluespec.com>
17201
17202 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17203
532cf290
PD
172042018-01-29 Palmer Dabbelt <palmer@sifive.com>
17205
17206 * sysdeps/init_array/crti.S (.section .init_array): Add
17207 PREINIT_FUNCTION when defined.
40ca951b 17208 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 17209 * config.h.in: Regenerate.
ba9e25a6
PD
17210 * manual/platform.texi: Add RISC-V documenation for
17211 __riscv_flush_icache.
c776fa11
PD
17212 * sysdeps/riscv/__longjmp.S: New file.
17213 * sysdeps/riscv/backtrace.c: Likewise.
17214 * sysdeps/riscv/bits/endian.h: Likewise.
17215 * sysdeps/riscv/bits/setjmp.h: Likewise.
17216 * sysdeps/riscv/bits/wordsize.h: Likewise.
17217 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17218 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17219 * sysdeps/riscv/dl-trampoline.S: Likewise.
17220 * sysdeps/riscv/gccframe.h: Likewise.
17221 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17222 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17223 * sysdeps/riscv/machine-gmon.h: Likewise.
17224 * sysdeps/riscv/memusage.h: Likewise.
17225 * sysdeps/riscv/setjmp.S: Likewise.
17226 * sysdeps/riscv/sys/asm.h: Likewise.
17227 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
17228 * sysdeps/riscv/dl-tls.h: New file.
17229 * sysdeps/riscv/libc-tls.c: Likewise.
17230 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17231 * sysdeps/riscv/nptl/tls.h: Likewise.
17232 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
17233 * sysdeps/riscv/bits/fenv.h: New file.
17234 * sysdeps/riscv/e_sqrtl.c: Likewise.
17235 * sysdeps/riscv/fpu_control.h: Likewise.
17236 * sysdeps/riscv/math-tests.h: Likewise.
17237 * sysdeps/riscv/nofpu/Implies: Likewise.
17238 * sysdeps/riscv/sfp-machine.h: Likewise.
17239 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
17240 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17241 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17242 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17243 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17244 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17245 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17246 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17247 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17248 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17249 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17250 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17251 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17252 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17253 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17254 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17255 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17256 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17257 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17258 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17259 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17260 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17261 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17262 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17263 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17264 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17265 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17266 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17267 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17268 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17269 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17270 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17271 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17272 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17273 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17274 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17275 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17276 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17277 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17278 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17279 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17280 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17281 * sysdeps/riscv/rvf/math_private.h: Likewise.
17282 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17283 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17284 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17285 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17286 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17287 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17288 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17289 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17290 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17291 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17292 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17293 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17294 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17295 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17296 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17297 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
17298 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17299 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17300 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17301 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
17302 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17303 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17304 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17305 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17306 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17307 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17308 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17309 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17310 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
17311 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17312 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17313 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17314 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17315 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17316 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17317 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17318 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17319 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17320 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17321 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17322 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17323 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17324 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17325 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17326 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17327 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17328 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17329 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17330 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17331 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17332 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
17333 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17334 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17335 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
17336 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17337 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17338 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17339 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17340 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17341 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17342 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
17350 * sysdeps/riscv/Implies: New file.
17351 * sysdeps/riscv/Makefile: Likewise.
17352 * sysdeps/riscv/configure: Likewise.
17353 * sysdeps/riscv/configure.ac: Likewise.
17354 * sysdeps/riscv/nptl/Makefile: Likewise.
17355 * sysdeps/riscv/preconfigure: Likewise.
17356 * sysdeps/riscv/rv64/Implies-after: Likewise.
17357 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17358 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17359 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17360 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17361 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17362 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17363 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17364 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17365 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17366 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17367 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
17368 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17369 (Config): Likewise.
532cf290 17370
cdd14619
FW
173712018-01-29 Florian Weimer <fweimer@redhat.com>
17372
17373 [BZ #22701]
17374 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17375 libnsl_hidden_proto.
17376 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17377 libnsl_hidden_proto.
17378 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17379 * nis/Makefile (libnsl-routines): Add nss-default only for
17380 build-obsolete-nsl.
17381 * nis/nis_defaults.c (__nis_default_ttl): Add
17382 libnsl_hidden_nolink_def.
17383 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17384 declaration.
17385 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17386 * nis/ypclnt.c (yp_maplist): Likewise.
17387
b7ccb5de
RN
173882018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17389
17390 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17391 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17392
522623e4
JM
173932018-01-29 Joseph Myers <joseph@codesourcery.com>
17394
e3aa6999
JM
17395 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17396 clean -dxfq for git updates when replacing sources.
17397
088de7d0
JM
17398 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17399 --disable-libcilkrts unconditionally, not just for the final GCC
17400 build for Hurd.
17401
522623e4
JM
17402 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17403 version to 4.15.
17404
8b406f87
RL
174052018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17406
17407 [BZ #10871]
17408 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17409 case).
17410
105e90bd
RL
174112018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17412
17413 [BZ #10871]
17414 * localedata/locales/be_BY (mon): Rename to...
17415 (alt_mon): This, then synchronize with CLDR (nominative case).
17416 (abmon): Rename to...
17417 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17418 (mon): Import from CLDR (genitive case).
17419 (abmon): Likewise.
17420 * localedata/locales/be_BY@latin (mon): Rename to...
17421 (alt_mon): This.
17422 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17423
17424 * localedata/locales/be_BY@latin (lang_name): Reworded to
17425 "biełaruskaja mova".
17426
561cb414
RL
174272018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17428
17429 [BZ #10871]
17430 * localedata/locales/el_CY (mon): Renamed to...
17431 (alt_mon): This.
17432 (mon): Import from CLDR (genitive case).
17433 * localedata/locales/el_GR: Likewise.
17434
f7bdf30d
RL
174352018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17436
17437 [BZ #10871]
17438 * localedata/locales/ru_RU (mon): Rename to...
17439 (alt_mon): This.
17440 (abmon): Rename to...
17441 (ab_alt_mon): This.
17442 (mon): Import from CLDR (genitive case).
17443 (abmon): Copy from the old content except the 5th month which is
17444 now in the genitive case, even when abbreviated.
17445 * localedata/locales/ru_UA: Likewise.
17446 * time/tst-strptime.c (day_tests): Add an actual example of
17447 a difference between %b and %Ob in Russian.
17448
85285a0c
ST
174492018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17450
17451 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
17452 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17453 a `c' variable.
3538a4b6 17454 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
17455 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17456 <sys/wait.h>, <time.h>, <sys/uio.h>.
17457 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 17458 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
17459 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17460 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17461 return 0.
05ebfe87
ST
17462 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17463 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
17464 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17465 instead of void *.
17466 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17467 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
17468 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17469 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
17470 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17471 and make them the default for now.
903d3633
ST
17472 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17473 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
17474 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17475 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17476 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17477 MACH_IPC_COMPAT.
06fac9f5
ST
17478 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17479 __task_terminate would ever return successfully.
f8177753
ST
17480 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17481 to global scope.
41cdb1eb
ST
17482 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17483 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17484 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17485 critical section to make code simpler and avoid warning.
17486 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17487 critical section to make code simpler and avoid warning.
844bf921
ST
17488 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17489 const char * instead of char *.
f8bee46c
ST
17490 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17491 __hurd_file_name_split, hurd_file_name_split,
17492 __hurd_directory_name_split, hurd_directory_name_split,
17493 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17494 hurd_file_name_path_lookup): Make lookup function parameter take a
17495 const char *name instead of char *name.
17496 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17497 __hurd_directory_name_split): Likewise.
17498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17499 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17500 * sysdeps/mach/hurd/check_native.c: New file.
17501 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17502 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17503 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17504 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17505 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17506 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17507 (do_test_bz20181): Rename accordingly.
17508 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17509 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17510 <sys/mount.h>.
28f6186f
ST
17511 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17512 version only if __USE_EXTERN_INLINES is defined.
17513 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17514 __hurd_sockfail): Likewise.
17515 (_hurd_fd_get): Always declare functions, and provide inline versions
17516 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17517 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17518 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17519 _hurd_port_set): Always declare functions, and provide inline versions
17520 only if __USE_EXTERN_INLINES and _LIBC are defined and
17521 IS_IN(libc).
17522 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17523 _hurd_critical_section_unlock): Likewise.
17524 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17525 * __hurd_threadvar_location): Likewise.
17526 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17527 _hurd_userlink_clear): Likewise.
17528 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17529 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17530 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17531 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17532 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17533 __spin_lock_locked): Likewise.
17534 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17535 __spin_lock_locked): Likewise.
17536 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17537 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17538 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17539 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17540 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17541 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17542 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17543 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17544 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17545 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17546 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17547 * mach/Makefile (user-interfaces): Add mach/gnumach.
17548 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17549 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17550 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17551 instead of invalid -1.
1f89ac71
ST
17552 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17553 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17554 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17555 <net/ppp_defs.h>.
85285a0c 17556
1fd1e27c 175572018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17558
17559 * hurd/fcntl-internal.h: New file.
17560
3854c5a8
JC
175612018-01-27 James Clarke <jrtc27@jrtc27.com>
17562
7e23a7dd
JC
17563 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17564
3854c5a8
JC
17565 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17566
5503f413
AS
175672018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17568
17569 [BZ #22701]
17570 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17571 Build only shared objects.
17572
caaf7804
CD
175732018-01-26 Carlos O'Donell <carlos@redhat.com>
17574
17575 * README: Update for hppa.
17576
1cbf818d
PM
175772018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17578
caaf7804
CD
17579 * sysdeps/sparc/fpu/libm-test-ulps: Update
17580 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17581
caaf7804 175822018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17583
17584 Revert:
17585
17586 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17587
17588 [BZ #22563]
17589 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17590 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17591 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17592 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17593 to feature_1.
17594
17595 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17596
17597 [BZ #22563]
17598 * bits/types/__cancel_jmp_buf_tag.h: New file.
17599 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17600 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17601 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17602 * nptl/Makefile (headers): Add
17603 bits/types/__cancel_jmp_buf_tag.h.
17604 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17605 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17606 * sysdeps/nptl/pthread.h: Include
17607 <bits/types/__cancel_jmp_buf_tag.h>.
17608 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17609 __cancel_jmp_buf.
17610 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17611
65f6c94e
RL
176122018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17613
17614 [BZ #10871]
17615 * localedata/locales/uk_UA (mon): Renamed to...
17616 (alt_mon): This.
17617 (alt_digits): "0" removed and then renamed to...
17618 (mon): This.
17619 (date_fmt): Definition changed not to use the alternative
17620 digits hack.
17621
fb58aac5
PD
176222018-01-25 Palmer Dabbelt <palmer@sifive.com>
17623
17624 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17625 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17626 * elf/elf.h (EF_RISCV_RVC): New define.
17627 (EF_RISCV_FLOAT_ABI): Likewise.
17628 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17629 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17630 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17631 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17632 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17633 define.
17634 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17635
128c43a2
AS
176362018-01-25 Andreas Schwab <schwab@suse.de>
17637
17638 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17639 single quotes.
17640 * sysdeps/gnu/configure: Regenerate.
17641 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17642 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17644 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17645 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17646 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17647 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17648 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17649
f9015003
ST
176502018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17651
48130690 17652 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17653 URL, and run autoconf, make it the default for now.
f9015003 17654
91b2cffa
JM
176552018-01-24 Joseph Myers <joseph@codesourcery.com>
17656
3005b705
JM
17657 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17658 soft-float ColdFire configuration.
17659
69231fab
JM
17660 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17661 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17662 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17663
d4c7e1d0
JM
17664 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17665 MicroBlaze file.
17666
0cfe5be5
JM
17667 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17668 ....
17669 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17670 ... here.
17671 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17672 New file.
17673
91b2cffa
JM
17674 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17675 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17676 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17677 file.
17678
c739e191
SN
176792018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17680
17681 [BZ #22742]
17682 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17683 Rename to __reserved and add comment.
17684 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17685 Rename to __reserved.
17686
394b5bac
JM
176872018-01-24 Joseph Myers <joseph@codesourcery.com>
17688
17689 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17690 i686-gnu configurations.
17691 (Context.run_builds): Include mig, gnumach and hurd in components
17692 considered.
17693 (Context.checkout): Add mig, gnumach and hurd to components.
17694 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17695 hurd.
17696 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17697 (Config.build): Install gnumach headers, build mig and install
17698 hurd headers for 'gnu' OS.
17699 (Config.install_gnumach_headers): New function.
17700 (Config.install_hurd_headers): Likewise.
17701 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17702 when building for 'gnu' OS.
17703
28c3f14f
TK
177042018-01-23 Tobias Klauser <tklauser@distanz.ch>
17705
17706 * manual/tunables.texi (Hardware Capability Tunables): Fix
17707 spelling.
17708
0f5e2da1
RJ
177092018-01-22 Rical Jasan <ricaljasan@pacific.net>
17710
17711 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17712 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17713 (ALTMON_11, ALTMON_12): Improve documentation.
17714 * manual/time.texi (strftime): Likewise.
17715
7817b14a
RL
177162018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17717
17718 [BZ #10871]
17719 * localedata/locales/pl_PL: Alternative month names added,
17720 primary month names are genitive now.
17721 * time/tst-strptime.c (day_tests): Actually use a genitive case
17722 of a month name in Polish language.
17723
22390764
RL
177242018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17725
17726 [BZ #10871]
17727 * manual/locale.texi: Document ALTMON_1..12 constants for
17728 nl_langinfo. Specify when to use ALTMON instead of MON.
17729 * manual/time.texi (strftime, strptime): Document GNU extension
17730 permitting O modifier with %B and %b. Specify when to use
17731 %OB instead of %B.
17732
761a585c
RL
177332018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17734
17735 [BZ #10871]
17736 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17737 names, define them as the same as abbreviated month names explicitly.
17738 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17739 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17740 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17741 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17742 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17743 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17744 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17745 _NL_WABALTMON_12): New enum constants.
17746 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17747 wab_alt_mon, and ab_alt_mon_defined members.
17748 (time_output): Output ab_alt_mon and wab_alt_mon members.
17749 (time_read): Read them, initialize them as copies of abmon and wabmon
17750 respectively if they are missing, initialize ab_alt_mon_defined.
17751 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17752 * locale/programs/locfile-kw.h: Regenerate.
17753 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17754 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17755 and ru_RU.UTF-8.
17756 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17757 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17758 (__strftime_internal): Handle %Ob and %Oh formats.
17759 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17760 (__strptime_internal): Handle %Ob and %Oh formats.
17761 * time/tst-strptime.c (day_tests): Add more tests to parse different
17762 forms of month names including the new %Ob format specifier.
17763
95cb863a
RL
177642018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17765
17766 [BZ #10871]
17767 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17768 define them as the same as primary full month names explicitly.
17769 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17770 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17771 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17772 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17773 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17774 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17775 _NL_WALTMON_12): New enum constants.
17776 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17777 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17778 macros.
17779 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17780 walt_mon, and alt_mon_defined members.
17781 (time_output): Output alt_mon and walt_mon members.
17782 (time_read): Read them, initialize them as copies of mon and wmon
17783 respectively if they are missing, initialize alt_mon_defined.
17784 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17785 * locale/programs/locfile-kw.h: Regenerate.
17786 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17787 * localedata/tst-langinfo.c (map): Add tests for the new constants
17788 ALTMON_1 .. ALTMON_12.
17789 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17790 and pl_PL.UTF-8.
17791 * time/strftime_l.c (f_altmonth): New macro.
17792 (__strftime_internal): Handle %OB format.
17793 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17794 (__strptime_internal): Handle %OB format.
17795 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17796 of month names including the new %OB format specifier.
17797
4612268a
TMQMF
177982018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17799
17800 [BZ #22685]
17801 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17802 from ABORT_TRANSACTION.
17803 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17804 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17805 ABORT_TRANSACTION_IMPL): Likewise.
17806 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17807 Linux code, but remove the code that aborts transactions.
17808
64f63cb4
ST
178092018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17810
17811 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17812
32ac6e92
RL
178132018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17814
17815 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17816 in date: "2004-14-09" should be "2004-09-14".
17817 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17818 "2003-15-09" should be "2003-09-15".
17819
8e448310
AS
178202018-01-18 Arjun Shankar <arjun@redhat.com>
17821
17822 [BZ #22343]
71aa429b 17823 [BZ #22774]
4590634f 17824 CVE-2018-6485
71aa429b 17825 CVE-2018-6551
8e448310
AS
17826 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17827 after padding.
17828 (_int_memalign): check for integer overflow before calling
17829 _int_malloc.
17830 * malloc/tst-malloc-too-large.c: New test.
17831 * malloc/Makefile: Add tst-malloc-too-large.
17832
e234d7cb
RL
178332018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17834
17835 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17836 in date: "2017-24-07" should be "2017-07-24".
17837 * localedata/locales/mai_IN: Likewise.
17838 * localedata/locales/mai_NP: Likewise.
17839
48b66019
DL
178402018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17841
17842 * po/ru.po: Update translations.
17843
1eeddc58
JM
178442018-01-17 Joseph Myers <joseph@codesourcery.com>
17845
17846 [BZ #22719]
17847 * sysdeps/hppa/backtrace.c: New file.
17848
207a72e2
L
178492018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17850
17851 [BZ #22715]
17852 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17853 align La_x86_64_retval to VEC_SIZE.
17854
4942c4ea
JM
178552018-01-16 Joseph Myers <joseph@codesourcery.com>
17856
17857 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17858 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17859
10d200db
FW
178602018-01-16 Florian Weimer <fweimer@redhat.com>
17861
17862 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17863 Move tst-thread-exit-clobber ...
17864 [$(CXX)] (tests-unsupported): ... to here.
17865
953c49cc
SN
178662018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17867
17868 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17869 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17870 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17871 (_dl_aarch64_cap_flags): Update.
17872 (_DL_HWCAP_COUNT): Update.
17873
afce1991
SN
178742018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17875
17876 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17877 (_DL_HWCAP_LAST): Remove.
17878 (_DL_HWCAP_COUNT): Move to ...
17879 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17880 (_DL_HWCAP_COUNT): ... here.
17881
b725132d
FW
178822018-01-16 Florian Weimer <fweimer@redhat.com>
17883
17884 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17885 mode with GNU extensions.
17886
c9e613a7
AH
178872018-01-15 Alan Hayward <alan.hayward@arm.com>
17888
17889 * elf/elf.h (NT_ARM_SVE): Define.
17890
860b0240
FW
178912018-01-15 Florian Weimer <fweimer@redhat.com>
17892
17893 [BZ #22636]
17894 * nptl/tst-minstack-throw.cc: New file.
17895 * nptl/Makefile (tests): Add tst-minstack-throw.
17896 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17897 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17898
16d0f6ac
JM
178992018-01-15 Joseph Myers <joseph@codesourcery.com>
17900
17901 * scripts/build-many-glibcs.py (Context.checkout): Default
17902 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17903 version to 1.1.0.
17904
505d3910
CD
179052018-01-13 Carlos O'Donell <carlos@redhat.com>
17906
17907 [BZ #22707]
17908 * elf/elf.h (DF_1_STUB): Define.
17909 (DF_1_PIE): Define.
17910
af1e6be4
TMQMF
179112018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17912
17913 [BZ #22697]
17914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17915 Do not add 0.5 to integer or out-of-range arguments.
17916
98d13ce0
DL
179172018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17918
17919 * po/bg.po: Update translations.
17920 * po/cs.po: Likewise.
17921 * po/de.po: Likewise.
17922 * po/ko.po: Likewise.
17923 * po/pl.po: Likewise.
17924 * po/sv.po: Likewise.
17925 * po/uk.po: Likewise.
17926 * po/vi.po: Likewise.
17927
3d1d7928
SN
179282018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17929
17930 * aarch64/start.S (_start): Use __wrap_main.
17931 (__wrap_main): New local symbol.
17932
52a713fd
DL
179332018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17934
17935 [BZ #22679]
17936 CVE-2018-1000001
17937 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17938 generic_getcwd if the path returned by getcwd syscall is not absolute.
17939 * io/tst-getcwd-abspath.c: New test.
17940 * io/Makefile (tests): Add tst-getcwd-abspath.
17941
249a5895
IK
179422018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17943
17944 * malloc/malloc.c (malloc_consolidate): Add size check.
17945
1a51e46e
FW
179462018-01-12 Florian Weimer <fweimer@redhat.com>
17947
17948 * support/write_message.c (write_message): Preserve errno.
17949 * support/check.c (print_failure): Likewise.
17950 * support/support_test_verify_impl.c (support_test_verify_impl):
17951 Likewise.
17952 * support/support_test_compare_failure.c
17953 (support_test_compare_failure): Likewise.
17954
9a08a366
FW
179552018-01-12 Florian Weimer <fweimer@redhat.com>
17956
17957 [BZ #22701]
17958 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17959 Prevent installation of libnsl.so.
17960 (libnsl-inhibit-o): Do not build (or install) static libraries.
17961
80647883 179622018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
17963
17964 [BZ #22657]
17965 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17966 before the day number which may produce a double space.
17967 (date_fmt): Likewise.
17968
c8924f1f
JM
179692018-01-12 Joseph Myers <joseph@codesourcery.com>
17970
17971 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17972 instead of fegetenv.
17973
da09e6fa
JM
179742018-01-11 Joseph Myers <joseph@codesourcery.com>
17975
17976 [BZ #22702]
17977 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17978 comment to say exceptions are discarded.
17979 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17980 __fegetenv.
17981 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17982 be enabled.
17983
08c6e952
FW
179842018-01-11 Florian Weimer <fweimer@redhat.com>
17985
17986 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17987 and error message.
17988
d8b77890
FW
179892018-01-11 Florian Weimer <fweimer@redhat.com>
17990
17991 [BZ #22636]
17992 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17993 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17994
b303185d
JM
179952018-01-10 Joseph Myers <joseph@codesourcery.com>
17996
17997 [BZ #22693]
17998 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17999 negative arguments in test for NaN or infinity argument.
18000
ee61d028
DL
180012018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18002
18003 * po/libc.pot: Regenerate.
18004
f993b875
FW
180052018-01-10 Florian Weimer <fweimer@redhat.com>
18006
18007 [BZ #22636]
18008 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18009 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18010
09085ede
ST
180112018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18012
18013 * hurd/hurd/fd.h: Include <fcntl.h>
18014 (__hurd_at_flags): New function.
18015 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18016 with call to __hurd_at_flags.
18017 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18018 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18019 __faccessat
18020 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18021 (__access_noerrno): Use __faccessat_common instead of access_common.
18022 (__access): Likewise.
18023 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18024 with a call to __faccessat.
18025 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18026 (__faccessat_common): ... this. Move implementation of __access into it when
18027 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18028 reauthenticate_cwdir_at helper to implement AT mechanism.
18029 (__faccessat_noerrno): New function, just calls __faccessat_common.
18030 (__faccessat): New function, just calls __faccessat_common.
18031 (faccessat): Define weak alias.
18032
12727488
JM
180332018-01-10 Joseph Myers <joseph@codesourcery.com>
18034
87faac55
JM
18035 [BZ #22691]
18036 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18037 (CFLAGS-s_fmaxmagl.c): New variable.
18038 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18039
12727488
JM
18040 [BZ #22690]
18041 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18042 long int for arguments of possibly overflowing addition or
18043 subtraction.
18044 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18045
e134ca17
JM
180462018-01-09 Joseph Myers <joseph@codesourcery.com>
18047
b2584ac2
JM
18048 [BZ #22688]
18049 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18050 (CFLAGS-e_remainderl.c): New variable.
18051
e134ca17
JM
18052 [BZ #22687]
18053 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18054 variable.
18055 (CFLAGS-s_cacoshl.c): Likewise.
18056 (CFLAGS-s_casinhl.c): Likewise.
18057 (CFLAGS-s_catanl.c): Likewise.
18058 (CFLAGS-s_catanhl.c): Likewise.
18059 (CFLAGS-s_cexpl.c): Likewise.
18060 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18061 (CFLAGS-s_csinhl.c): Likewise.
18062 (CFLAGS-s_clogl.c): Likewise.
18063 (CFLAGS-s_clog10l.c): Likewise.
18064 (CFLAGS-s_csinl.c): Likewise.
18065 (CFLAGS-s_csqrtl.c): Likewise.
18066
d31a4a48
ST
180672017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
180682017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
18069
18070 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18071 (_hurd_exec_paths): New function.
18072 * hurd/hurd.h (_hurd_exec): Deprecate function.
18073 (_hurd_exec_paths): Declare function.
18074 * hurd/Versions: Export _hurd_exec_paths.
18075 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18076 (__execve): Use __getcwd to build absolute path, and use
18077 _hurd_exec_paths instead of _hurd_exec.
18078 * sysdeps/mach/hurd/spawni.c: Likewise.
18079 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18080 _hurd_exec.
18081
d7ff3f11
DL
180822018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18083
18084 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18085 test instead of failing in case of ENOENT returned by posix_openpt.
18086
401311cf
FW
180872018-01-08 Florian Weimer <fweimer@redhat.com>
18088
18089 resolv: Support binary labels in test framework.
18090 * support/resolv_test.c (struct to_be_freed): Remove.
18091 (struct compressed_name): New.
18092 (allocate_compressed_name, ascii_tolower)
18093 (compare_compressed_name): New functions.
18094 (struct resolv_response_builder): Update type of
18095 compression_offsets for use with tsearch. Rempve to_be_freed.
18096 (response_push_pointer_to_free): Remove function.
18097 (resolv_response_add_name): Rewrite using struct compressed_name
18098 and tsearch instead of hsearch_r.
18099 (response_builder_allocate): Remove initialization of
18100 compression_offsets.
18101 (response_builder_free): Update for removal of to_be_freed. Use
18102 tdestroy instead of hdestroy_r.
18103 * resolv/Makefile (tests): Add tst-resolv-binary.
18104 (tst-resolv-binary): Link with -lresolv -lpthread.
18105
2b3aa446
FW
181062018-01-08 Florian Weimer <fweimer@redhat.com>
18107
18108 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18109 time. Pass positive flag instead of negative flag to
18110 support_test_compare_failure.
18111 (support_test_compare_failure): Change negative parameter to
18112 positive.
18113 * support/support_test_compare_failure.c (report)
18114 (support_test_compare_failure): Likewise.
18115 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18116 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18117
630f4cc3
SN
181182018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18119
18120 [BZ #22637]
18121 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18122 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18123 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18124 stacksize.
18125 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18126
c70e4e9c
L
181272018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18128
18129 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18130 Add s_sincosf-sse2 and s_sincosf-fma.
18131 (CFLAGS-s_sincosf-fma.c): New.
18132 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18133 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18134 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18135 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18136 __sincosf is defined.
18137
579396ee
FW
181382018-01-08 Florian Weimer <fweimer@redhat.com>
18139
18140 * nptl/tst-thread-exit-clobber.cc: New file.
18141 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18142 C++11 mode.
18143 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18144 (tests): Add tst-thread-exit-clobber.
18145 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18146
dabd75b6
FW
181472018-01-08 Florian Weimer <fweimer@redhat.com>
18148
18149 * support/check.h (support_static_assert): Define.
18150 (TEST_COMPARE): Use it.
18151
c2e014cc
AJ
181522018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18153
18154 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18155 [!__RLIM_T_MATCHES_RLIM64_T]
18156 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18157 __getrlimit64. Add libc_hidden_weak.
18158
31a98837
PD
181592018-01-06 Palmer Dabbelt <palmer@sifive.com>
18160
18161 * elf/elf.h (R_RISCV_NONE): New define.
18162 (R_RISCV_32): Likewise.
18163 (R_RISCV_64): Likewise.
18164 (R_RISCV_RELATIVE): Likewise.
18165 (R_RISCV_COPY): Likewise.
18166 (R_RISCV_JUMP_SLOT): Likewise.
18167 (R_RISCV_TLS_DTPMOD32): Likewise.
18168 (R_RISCV_TLS_DTPMOD64): Likewise.
18169 (R_RISCV_TLS_DTPREL32): Likewise.
18170 (R_RISCV_TLS_DTPREL64): Likewise.
18171 (R_RISCV_TLS_TPREL32): Likewise.
18172 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
18173 * Makerules (make-link-multidir): Make directories before linking into
18174 them.
150bbac1
PD
18175 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18176 define.
18177 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
18178 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18179 in subdirectories of lib.
8e13c51b
PD
18180 * nptl/Makefile (/librt.so): Always depend on
18181 "$(shared-thread-library)".
31a98837 18182
fad7d57e
ST
181832018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18184
18185 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
18186 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18187 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18188 (___tls_get_addr).
18189 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
18190 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18191 "-O2 -march=i686".
01c7e549 18192 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
18193 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18194 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18195 * sysdeps/gnu/glob-lstat-compat.c: New file.
18196 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 18197 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 18198
3a32b716
TMQMF
181992018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18200
18201 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18202 Reserve 16 chars to reloc_addr before calling _itoa_word.
18203
24731685
AJ
182042018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18205
18206 [BZ #22678]
18207 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18208 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18209
19be56d8
AJ
18210 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18211 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18212
a6d0afb5
AJ
18213 * resource/tst-getrlimit.c: Add copyright header.
18214
8e900969
AJ
182152018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18216 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18217
18218 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18219 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18220 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18221 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18222 instead.
18223 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18224 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18225 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18226 RLIM64_INFINITY): Fix values to match the kernel ones.
18227 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18228 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18229 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18230 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18231 getrlimit64@@GLIBC_2_27.
18232 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18233 and setrlimit64.
18234 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18235 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18236 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18237 setrlimit, getrlimit64 and setrlimit64.
18238
0d0bc784
AJ
182392018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18240
18241 [BZ #22648]
18242 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18243 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18244
ba374b6d
JM
182452018-01-04 Joseph Myers <joseph@codesourcery.com>
18246
18247 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18248 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18249 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18250
4854ddd8
AZ
182512018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18252
b0a4eca2
AZ
18253 [BZ #15479]
18254 [BZ #22666]
18255 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18256 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18257
4854ddd8
AZ
18258 [BZ #15479]
18259 [BZ #22665]
18260 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18261 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18262 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18263 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18264
8a5df95f
FW
182652018-01-04 Florian Weimer <fweimer@redhat.com>
18266
18267 [BZ #22667]
18268 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18269 Align the stack before calling exit.
18270 * stdlib/tst-makecontext-align.c: New file.
18271 * stdlib/Makefile (tests): Add tst-makecontext-align.
18272
82eef55f
FW
182732018-01-04 Florian Weimer <fweimer@redhat.com>
18274
18275 Add support for calling dlvsym from libc.so.
18276 * include/dlfcn.h (__libc_dlvsym): Declare.
18277 * elf/Makefile (tests-static-internal): Add
18278 tst-libc_dlvsym-static.
18279 (tests-internal): Add tst-libc_dlvsym.
18280 (modules-names): Add tst-libc_dlvsym-dso.
18281 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18282 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18283 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18284 object tst-libc_dlvsym-dso.so needs to be built before running
18285 these tests.
18286 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18287 * elf/Versions: Export __libc_dlvsym.
18288 * elf/dl-libc.c (struct do_dlvsym_args): New.
18289 (do_dlvsym, __libc_dlvsym): New functions.
18290 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18291 (_dl_open_hook2): New variable.
18292 (__libc_register_dl_open_hook): Set it.
18293 * elf/tst-libc_dlvsym-dso.c: New file.
18294 * elf/tst-libc_dlvsym-static.c: Likewise.
18295 * elf/tst-libc_dlvsym.c: Likewise.
18296 * elf/tst-libc_dlvsym.h: Likewise.
18297
1714fc06
ST
182982018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18299
18300 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18301 include <sys/mount.h>.
18302
3c7d0312
WD
183032018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18304
18305 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18306 Add __NO_MATH_ERRNO__ check.
18307
7eff0954
JM
183082018-01-02 Joseph Myers <joseph@codesourcery.com>
18309
18310 * sysdeps/mips/mips32/libm-test-ulps: Update.
18311 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18312
77f49956
FW
183132018-01-02 Florian Weimer <fweimer@redhat.com>
18314
18315 * misc/tst-pselect.c: Add copyright header.
18316
363e4519 183172018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
18318
18319 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18320 comment.
18321 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18322 comment.
18323 (settrlimit): Rename into setrlimit.
18324 (__sttrlimit): Rename into __setrlimit.
18325
3e4226ff
AJ
18326 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18327 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18328 never defined in that case.
18329
b9256ab6
JM
183302018-01-02 Joseph Myers <joseph@codesourcery.com>
18331
28fd6a44
JM
18332 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18333
a4933a15
JM
18334 * sysdeps/arm/libm-test-ulps: Update.
18335
b9256ab6
JM
18336 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18337 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18338
4cf82d23
RS
183392018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18340
18341 * NEWS: Add cosf and sincosf to list of optimized functions.
18342
6a9dd7a7
AJ
183432018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18344
18345 [BZ #22660]
18346 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18347 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18348 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18349 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18350
dbba87d5
DL
183512018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18352
b05cb613
DL
18353 [BZ #22433]
18354 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18355
dbba87d5
DL
18356 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18357 making a copy of it.
18358
688903eb
JM
183592018-01-01 Joseph Myers <joseph@codesourcery.com>
18360
66ac23de
JM
18361 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18362 trailing whitespace removed.
18363 * scripts/config.guess: Update to version 2018-01-01.
18364 * scripts/config.sub: Update to version 2018-01-01.
18365 * scripts/move-if-change: Update from gnulib.
18366
09533208
JM
18367 * NEWS: Update copyright dates.
18368 * catgets/gencat.c (print_version): Likewise.
18369 * csu/version.c (banner): Likewise.
18370 * debug/catchsegv.sh: Likewise.
18371 * debug/pcprofiledump.c (print_version): Likewise.
18372 * debug/xtrace.sh (do_version): Likewise.
18373 * elf/ldconfig.c (print_version): Likewise.
18374 * elf/ldd.bash.in: Likewise.
18375 * elf/pldd.c (print_version): Likewise.
18376 * elf/sotruss.sh: Likewise.
18377 * elf/sprof.c (print_version): Likewise.
18378 * iconv/iconv_prog.c (print_version): Likewise.
18379 * iconv/iconvconfig.c (print_version): Likewise.
18380 * locale/programs/locale.c (print_version): Likewise.
18381 * locale/programs/localedef.c (print_version): Likewise.
18382 * login/programs/pt_chown.c (print_version): Likewise.
18383 * malloc/memusage.sh (do_version): Likewise.
18384 * malloc/memusagestat.c (print_version): Likewise.
18385 * malloc/mtrace.pl: Likewise.
18386 * manual/libc.texinfo: Likewise.
18387 * nptl/version.c (banner): Likewise.
18388 * nscd/nscd.c (print_version): Likewise.
18389 * nss/getent.c (print_version): Likewise.
18390 * nss/makedb.c (print_version): Likewise.
18391 * posix/getconf.c (main): Likewise.
18392 * scripts/test-installation.pl: Likewise.
18393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18394
688903eb
JM
18395 * All files with FSF copyright notices: Update copyright dates
18396 using scripts/update-copyrights.
18397 * locale/programs/charmap-kw.h: Regenerated.
18398 * locale/programs/locfile-kw.h: Likewise.
18399
4f820792
ZW
184002017-12-31 Zack Weinberg <zackw@panix.com>
18401
18402 * libio/bits/libio-ldbl.h: Correct check for improper
18403 inclusion. Add own multiple include guard.
18404
3e3c904d
AJ
184052017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18406 Dmitry V. Levin <ldv@altlinux.org>
18407
18408 [BZ #22625]
31f96325 18409 CVE-2017-16997
3e3c904d
AJ
18410 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18411 string token expansion. Check for NULL pointer or empty string possibly
18412 returned by expand_dynamic_string_token.
18413 (decompose_rpath): Check for empty path after dynamic string
18414 token expansion.
18415
7e21972b
DL
184162017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18417
c48831d0
DL
18418 [BZ #22433]
18419 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18420
ac583f50
DL
18421 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18422 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18423 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18424 and PTRACE_SYSCALL.
18425 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18426 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18430 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18431
7e21972b
DL
18432 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18433 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18434 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18435 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18437 bits/ptrace-shared.h.
18438 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18439 <bits/ptrace-shared.h>.
18440 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18441 __ptrace_peeksiginfo_flags, ptrace): Remove.
18442 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18443 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18444 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18445 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18446 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18447
72f29e3a
AJ
184482017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18449
18450 [BZ #17804]
18451 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18452 end of the loop. Improve comments.
18453
54e4efc2
AJ
184542017-12-29 Zack Weinberg <zackw@panix.com>
18455
18456 [BZ #22615]
18457 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18458 might be set on success.
18459
f8aa69be
AJ
184602017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18461
18462 [BZ #22611]
18463 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18464 is unchanged on success.
18465
97f13188
DL
184662017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18467
2bd86632
DL
18468 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18469 updated.
18470 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18471 expand_dynamic_string_token): Likewise.
18472 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18473 is_path argument.
18474
1c36e1e6
DL
18475 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18476 contains ':'.
18477
97f13188
DL
18478 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18479 is set and name contains ':', and all code depending on these checks.
18480
48a8f832
ZW
184812017-12-24 Zack Weinberg <zackw@panix.com>
18482
18483 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18484 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18485 respectively.
18486 * libio/libio.h: Rename the original version of this file to
18487 libio/bits/libio.h. Error out if not included by stdio.h or the
18488 stub libio.h.
18489 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18490 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18491 if not included by bits/libio.h or the stub _G_config.h.
18492 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18493 sysdeps/unix/sysv/linux/bits. Error out if not included by
18494 bits/libio.h or the stub _G_config.h.
18495 * libio/stdio.h: Include bits/libio.h, not libio.h.
18496 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18497 well as libio.h and _G_config.h.
18498
18499 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18500 * libio/strfile.h, stdio-common/vfscanf.c
18501 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18502 Include stdio.h, not _G_config.h nor libio.h.
18503 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18504 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18505
18506 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18507
a47ad79a
DL
185082017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18509
18510 [BZ #22347]
18511 * stdlib/getrandom.c (getrandom): Fix comment.
18512 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18513
363e4519 185142017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18515
f5c558f3
AJ
18516 [BZ #21161]
18517 * manual/arith.texi (strtoul): Fix a typo.
18518
e65a5644
AJ
18519 [BZ #22596]
18520 * manual/arith.texi (finite): Fix the description of the return
18521 value.
18522
ed8ae46b
EB
185232017-12-22 Eric Blake <ebb9@byu.net>
18524
18525 Avoid gcc warnings on cygwin
18526 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18527 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18528 Avoid unused variable.
18529
bad7a0c8
FW
185302017-12-22 Florian Weimer <fweimer@redhat.com>
18531
18532 * io/Makefile (routines): Add copy_file_range.
18533 (tests): Add tst-copy_file_range.
18534 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18535 * io/Versions (GLIBC_2.27): Export copy_file_range.
18536 * io/copy_file_range-compat.c: New file.
18537 * io/copy_file_range.c: Likewise.
18538 * io/tst-copy_file_range-compat.c: Likewise.
18539 * io/tst-copy_file_range.c: Likewise.
18540 * manual/llio.texi (Copying File Data): New section.
18541 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18542 * support/Makefile (libsupport-routines): Add support-xfstat,
18543 xftruncate, xlseek.
18544 * support/support-xfstat.c: New file.
18545 * support/xftruncate.c: Likewise.
18546 * support/xlseek.c: Likewise.
18547 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18548 * sysdeps/unix/sysv/linux/**.abilist: Update.
18549 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18550
6cb86fd2
SN
185512017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18552
18553 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18554 disable-multi-arch variant to aarch64-linux-gnu.
18555
41d11b15
JM
185562017-12-20 Joseph Myers <joseph@codesourcery.com>
18557
18558 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18559 trailing whitespace removed.
18560 * scripts/config.guess: Update to version 2017-12-17.
18561 * scripts/config.sub: Update to version 2017-11-23.
18562 * scripts/install-sh: Update to version 2017-09-23.17.
18563 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18564
4735850f
AZ
185652017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18566
8d2d239c
AZ
18567 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18568 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18569 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18570 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18571 * sysdeps/tile/crtn.S: Likewise.
18572 * sysdeps/tile/dl-start.S (_start): Likewise.
18573 * sysdeps/tile/dl-trampoline.S: Likewise.
18574 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18575 * sysdeps/tile/start.S (_start): Likewise.
18576 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18577 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18578 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18579 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18580 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18581 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18582 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18583
24d1d8ec
AZ
18584 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18585 comment.
18586 * sysdeps/tile/preconfigure: Remove tilegx folder.
18587 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18588 * sysdeps/tile/Implies: ... here.
18589 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18590 * sysdeps/tile/Makefile: ... here.
18591 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18592 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18593 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18594 * sysdeps/tile/bits/wordsize.h: ... here.
18595 * sysdeps/tile/tilegx/*: Move to ...
18596 * sysdeps/tile/*: ... here.
18597 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18598 * sysdeps/tile/tilegx32/Implies: ... here.
18599 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18600 * sysdeps/tile/tilegx64/Implies: ... here.
18601 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18602 to ...
18603 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18604 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18605 * sysdeps/unix/sysv/linux/tile/*: ... here.
18606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18607 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18609 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18610
ed95f611
AZ
18611 * README: Remove tilepro-*-linux-gnu from supported architecture.
18612 * scripts/build-many-glibcs.py: Likewise.
18613 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18614 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18615 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18616 elf_machine_matches_host, elf_machine_dynamic,
18617 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18618 howto, elf_machine_rela): Likewise.
18619 * sysdeps/tile/dl-start.S (_start): Likewise.
18620 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18621 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18622 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18623 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18624 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18625 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18626 Likewise.
18627 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18628 * sysdeps/tile/preconfigure: Likewise.
18629 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18630 POINTER_CHK_GUARD): Likewise.
18631 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18632 * sysdeps/tile/start.S (_start): Likewise.
18633 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18634 Likewise.
18635 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18636 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18637 CMOVNEZ): Remove.
18638 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18639 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18640 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18641 Likewise.
18642 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18643 * sysdeps/tile/tilepro/Implies: Remove file.
18644 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18645 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18646 * sysdeps/tile/tilepro/memchr.c: Likewise.
18647 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18648 * sysdeps/tile/tilepro/memset.c: Likewise.
18649 * sysdeps/tile/tilepro/memusage.h: Likewise.
18650 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18651 * sysdeps/tile/tilepro/strchr.c: Likewise.
18652 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18653 * sysdeps/tile/tilepro/strlen.c: Likewise.
18654 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18655 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18656 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18657 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18658 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18659 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18660 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18661 Likewise.
18662 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18663 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18664 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18665 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18667 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18668 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18674 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18675 tilepro mention in comment.
18676
4735850f
AZ
18677 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18678 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18679 * nptl/pthread_join_common.c: New file: common function used on
18680 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18681 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18682 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18683 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18684 (cleanup): Move definition to pthread_join_common.c.
18685 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18686 Remove superflous checks.
18687 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18688 Likewise.
18689
8bfb461e
SN
186902017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18691
18692 * sysdeps/aarch64/libm-test-ulps: Update.
18693
4e001969
AZ
186942017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18695
18696 * sysdeps/aarch64/memset.S (MEMSET): Define.
18697
8a26ad2a
FW
186982017-12-20 Florian Weimer <fweimer@redhat.com>
18699
18700 [BZ #22635]
18701 nptl: Provide full implementation of pthread_self in libc.so.
18702 * nptl/Makefile (routines): Add pthread_self.
18703 (libpthread-routines): Replace pthread_self with
18704 compat-pthread_self.
18705 * nptl/forward.c (pthread_self): Remove.
18706 * nptl/nptl-init.c (pthread_functions): Do not initialize
18707 ptr_pthread_self.
18708 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18709 * nptl/compat-pthread_self.c: New file.
18710 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18711 Remove ptr_pthread_self.
18712
5069ff32
AR
187132017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18714
18715 * posix/regcomp.c: Fix spelling in comments.
18716 * posix/regex.h: Likewise.
18717 * posix/regex_internal.c: Likewise.
18718 * posix/regexec.c: Likewise.
18719
c85e54ac
GG
187202017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18721
18722 [BZ #22377]
18723 * math/Makefile [C++] (tests): Add test for iseqsig.
18724 * math/math.h [C++] (iseqsig): New implementation, which does
18725 not rely on __MATH_TG/__builtin_types_compatible_p.
18726 * math/test-math-iseqsig.cc: New file.
18727 * sysdeps/powerpc/powerpc64le/Makefile
18728 (CFLAGS-test-math-iseqsig.cc): New variable.
18729
10e93d96
DL
187302017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18731
18732 * elf/dl-load.c (is_trusted_path): Remove.
18733 (fillin_rpath): Remove check_trusted argument and its use,
18734 all callers changed.
18735
ce16eb52
L
187362017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18737
18738 [BZ #22630]
18739 * Makeconfig (link-pie-before-libc): Replace -pie with
18740 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18741 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18742 (tst-dlopen-aout-no-pie): New.
18743 (LDFLAGS-tst-prelink): Removed.
18744 (tst-prelink-no-pie): New.
18745 (LDFLAGS-tst-main1): Removed.
18746 (tst-main1-no-pie): New.
18747 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18748 (tst-gmon-no-pie): New.
18749
126adc89
L
187502017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18751
18752 * manual/install.texi: Document that --enable-static-pie
18753 implies PIE.
18754 * INSTALL: Regenerated.
18755
648615e1
BE
187562017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18757
18758 [BZ #21309]
18759 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18760 unsigned.
18761
f1e00502
JM
187622017-12-19 Joseph Myers <joseph@codesourcery.com>
18763
18764 Revert:
18765
18766 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18767
18768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18769
18770 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18771
18772 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18773 <errno.h>. Include "eexp.tbl".
18774 (half): New constant.
18775 (one): Likewise.
18776 (__ieee754_exp): Rewrite.
18777 (__slowexp): Remove prototype.
18778 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18779 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18780 * sysdeps/i386/fpu/slowexp.c: Likewise.
18781 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18782 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18783 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18784 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18785 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18786 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18787 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18788 comment.
18789 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18790 (CPPFLAGS-slowexp.c): Remove variable.
18791 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18792 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18793 (CFLAGS-slowexp-fma.c): Remove variable.
18794 (CFLAGS-slowexp-fma4.c): Likewise.
18795 (CFLAGS-slowexp-avx.c): Likewise.
18796 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18797 define as macro.
18798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18799 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18800 * math/Makefile (type-double-routines): Remove slowexp.
18801 * manual/probes.texi (slowexp_p6): Remove.
18802 (slowexp_p32): Likewise.
18803
d711a00f
AZ
188042017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18805
e184ac3a
AZ
18806 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18807 arithmetic.
18808
d711a00f
AZ
18809 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18810
6f58c10d
JM
188112017-12-19 Joseph Myers <joseph@codesourcery.com>
18812
18813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18814
6fd0a3c6
PM
188152017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18816
18817 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18818 <errno.h>. Include "eexp.tbl".
18819 (half): New constant.
18820 (one): Likewise.
18821 (__ieee754_exp): Rewrite.
18822 (__slowexp): Remove prototype.
18823 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18824 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18825 * sysdeps/i386/fpu/slowexp.c: Likewise.
18826 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18827 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18828 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18830 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18831 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18832 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18833 comment.
18834 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18835 (CPPFLAGS-slowexp.c): Remove variable.
18836 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18837 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18838 (CFLAGS-slowexp-fma.c): Remove variable.
18839 (CFLAGS-slowexp-fma4.c): Likewise.
18840 (CFLAGS-slowexp-avx.c): Likewise.
18841 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18842 define as macro.
18843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18844 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18845 * math/Makefile (type-double-routines): Remove slowexp.
18846 * manual/probes.texi (slowexp_p6): Remove.
18847 (slowexp_p32): Likewise.
18848
3bb1ef58
AZ
188492017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18850 James Clarke <jrtc27@jrtc27.com>
18851
18852 [BZ #22603]
18853 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18854 addition.
18855
554e3d51
AZ
188562017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18857
18858 [BZ #22605]
18859 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18860 code.
18861
cba595c3
L
188622017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 [BZ #22563]
18865 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18866 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18867 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18868 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18869 to feature_1.
18870
f81ddabf
L
188712017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18872
18873 [BZ #22563]
18874 * bits/types/__cancel_jmp_buf_tag.h: New file.
18875 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18876 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18877 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18878 * nptl/Makefile (headers): Add
18879 bits/types/__cancel_jmp_buf_tag.h.
18880 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18881 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18882 * sysdeps/nptl/pthread.h: Include
18883 <bits/types/__cancel_jmp_buf_tag.h>.
18884 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18885 __cancel_jmp_buf.
18886 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18887
1a49fc59
L
188882017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18891 --enable-static-pie variants to x86_64, x32 and i686.
18892
8e52f573
JM
188932017-12-19 Joseph Myers <joseph@codesourcery.com>
18894
66425185
JM
18895 [BZ #22631]
18896 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18897 argument for attrubutes. All callers changed.
18898 (__inline_mathop1): Likewise. All callers changed.
18899 (__inline_mathop): Likewise. All callers changed.
18900 [__USE_MISC] (scalbn): Use __inline_forward instead of
18901 __inline_forward_c.
18902 [__USE_ISOC99] (scalbln): Likewise.
18903 [__USE_ISOC99] (nearbyint): Likewise.
18904 [__USE_ISOC99] (lrint): Likewise.
18905 [__USE_MISC] (scalbnf): Likewise.
18906 [__USE_ISOC99] (scalblnf): Likewise.
18907 [__USE_ISOC99] (nearbyintf): Likewise.
18908 [__USE_ISOC99] (lrintf): Likewise.
18909 [__USE_MISC] (scalbnl): Likewise.
18910 [__USE_ISOC99] (scalblnl): Likewise.
18911 [__USE_ISOC99] (nearbyintl): Likewise.
18912 [__USE_ISOC99] (lrintl): Likewise.
18913 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18914 __inline_mathop and __m81_defun changed.
18915
8e52f573
JM
18916 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18917 CPU or FPU for ARM hard-float configurations.
18918
1421f39b
JM
189192017-12-18 Joseph Myers <joseph@codesourcery.com>
18920
40c4162d
JM
18921 * nptl/tst-attr3.c: Include <libc-diag.h>.
18922 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18923
5983df32
JM
18924 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18925
1421f39b
JM
18926 * string/tester.c (test_strncat): Also disable -Warray-bounds
18927 warnings for two tests.
18928
00c714df
L
189292017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18930
18931 [BZ #22614]
18932 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18933 $(cc-pie-default) == yes.
18934 * config.make.in (cc-pie-default): New.
18935 * configure.ac (libc_cv_pie_default): Renamed to ...
18936 (libc_cv_cc_pie_default): This.
18937 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18938 * configure: Regenerated.
18939
8e1472d2
FW
189402017-12-18 Florian Weimer <fweimer@redhat.com>
18941
18942 [BZ #20204]
18943 ld.so: Harden dl-libc/libdl hooks.
18944 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18945 (rtld_active): New function.
18946 * dlfcn/dladdr.c (__dladdr): Call it.
18947 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18948 * dlfcn/dlclose.c (__dlcose): Likewise.
18949 * dlfcn/dlerror.c (__dlerror): Likewise.
18950 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18951 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18952 * dlfcn/dlopen.c (__dlopen): Likewise.
18953 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18954 * dlfcn/dlsym.c (__dlsym): Likewise.
18955 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18956 * libio/vtables.c (_IO_vtable_check): Likewise.
18957 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18958 (__libc_dlclose): Likewise.
18959 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18960 assignment.
18961
49b036bc
JM
189622017-12-18 Joseph Myers <joseph@codesourcery.com>
18963
18964 [BZ #22446]
18965 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18966 buffers for readlink input and output.
18967
368b6c8d
ST
189682017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18969
c85c564d
ST
18970 [BZ #22624]
18971 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18972 inhibit_stack_protector.
18973
368b6c8d
ST
18974 [BZ #22624]
18975 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18976 inhibit_stack_protector.
18977
bb195224
DL
189782017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18979
18980 [BZ #22627]
18981 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18982 code and invocation.
18983
14d886ed
SN
189842017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18985
18986 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18987
7d38eb38
AJ
189882017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18989
18990 [BZ #22505]
18991 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18992
2e77deef
RS
189932017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18994
18995 * sysdeps/s390/fpu/libm-test-ulps: Update.
18996
0b9bef6d
RS
189972017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18998
18999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19000
984ae996
RS
190012017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19002
19003 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19004 constants to s_sincosf.h file.
19005 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19007 implementation.
19008 * sysdeps/ieee754/flt-32/s_sincosf.h:
19009 New file.
19010
363e4519 190112017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
19012
19013 [BZ #14681]
19014 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19015 before mtrace.
19016
9d7a3741
L
190172017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19018
19019 [BZ #19574]
19020 * INSTALL: Regenerated.
19021 * Makeconfig (real-static-start-installed-name): New.
19022 (pic-default): Updated for --enable-static-pie.
19023 (pie-default): New for --enable-static-pie.
19024 (default-pie-ldflag): Likewise.
19025 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19026 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19027 Replace $(static-start-installed-name) with
19028 $(real-static-start-installed-name).
19029 (+prectorT): Updated for --enable-static-pie.
19030 (+postctorT): Likewise.
19031 (CFLAGS-.o): Add $(pie-default).
19032 (CFLAGS-.op): Likewise.
19033 * NEWS: Mention --enable-static-pie.
19034 * config.h.in (ENABLE_STATIC_PIE): New.
19035 * configure.ac (--enable-static-pie): New configure option.
19036 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19037 (have-static-pie): Likewise.
19038 Enable static PIE if linker supports --no-dynamic-linker.
19039 (ENABLE_STATIC_PIE): New AC_DEFINE.
19040 (enable-static-pie): New LIBC_CONFIG_VAR.
19041 * configure: Regenerated.
19042 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19043 gr$(start-installed-name) for --enable-static-pie.
19044 (extra-objs): Likewise.
19045 (install-lib): Likewise.
19046 (extra-objs): Add static-reloc.o and static-reloc.os
19047 ($(objpfx)$(start-installed-name)): Also depend on
19048 $(objpfx)static-reloc.o.
19049 ($(objpfx)r$(start-installed-name)): New.
19050 ($(objpfx)g$(start-installed-name)): Also depend on
19051 $(objpfx)static-reloc.os.
19052 ($(objpfx)gr$(start-installed-name)): New.
19053 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19054 in libc.a.
19055 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19056 initimage.
19057 * csu/static-reloc.c: New file.
19058 * elf/Makefile (routines): Add dl-reloc-static-pie.
19059 (elide-routines.os): Likewise.
19060 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19061 (tst-tls1-static-non-pie-no-pie): New.
19062 * elf/dl-reloc-static-pie.c: New file.
19063 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19064 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19065 STATIC_PIE_BOOTSTRAP.
19066 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19067 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19068 (tests-static): Likewise.
19069 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19070 (tst-gmon-static-no-pie): New.
19071 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19072 (CRT-tst-gmon-static-pie): Likewise.
19073 (tst-gmon-static-pie-ENV): Likewise.
19074 (tests-special): Likewise.
19075 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19076 (clean-tst-gmon-static-pie-data): Likewise.
19077 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19078 * gmon/tst-gmon-static-pie.c: New file.
19079 * manual/install.texi: Document --enable-static-pie.
19080 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19081 (_dl_get_dl_main_map): Likewise.
19082 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19083 * sysdeps/x86_64/configure.ac: Likewise.
19084 * sysdeps/i386/configure: Regenerated.
19085 * sysdeps/x86_64/configure: Likewise.
19086 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19087 (ASFLAGS-.op): Likewise.
19088
95511aab
JM
190892017-12-15 Joseph Myers <joseph@codesourcery.com>
19090
19091 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19092 * posix/tst-mmap-offset.c (fname): Use /tmp.
19093 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19094
a7e3edf4
SE
190952017-12-15 Steve Ellcey <sellcey@cavium.com>
19096
19097 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19098
d232f2e1
TS
190992017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19100
19101 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19102 errno.
19103
174edbde
JM
191042017-12-15 Joseph Myers <joseph@codesourcery.com>
19105
5170fa49
JM
19106 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19107 --with-float=hard for arm-linux-gnueabihf configurations.
19108
f2da2fd8
JM
19109 [BZ #14121]
19110 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19111 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19112 ($(mo-installed)): Use $(objpfx)%.mo.
19113 (realclean): Remove rule.
19114
0c4fe28d
JM
19115 * po/Makefile (linguas): Remove rule and dependencies.
19116 (linguas.mo): Likewise.
19117 (.PHONY): Do not depend on linguas and linguas.mo.
19118 (podir): Remove variable.
19119 (pofiles): Likewise.
19120 [$(pofiles)] (%.po): Remove rule.
19121
174edbde
JM
19122 * sysdeps/sparc/sparc32/Makefile
19123 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19124 start-of-line whitespace in argument of echo.
19125 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19126 with whitespace. Generate __wrap_.udiv alias.
19127 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19128 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19129 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19130 * sysdeps/sparc/sparc32/urem.S: Likewise.
19131
1e36806f
RS
191322017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19133
19134 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19135 for aligned inputs.
19136
aa6932aa
SP
191372017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19138
5f1603c3
SP
19139 * benchtests/bench-strcmp.c: Print output in JSON format.
19140
aa6932aa
SP
19141 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19142
3ff3dfa5
FW
191432017-12-14 Florian Weimer <fweimer@redhat.com>
19144
19145 [BZ #22607]
19146 CVE-2017-1000409
19147 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19148 the expanded path string.
19149
8a0b17e4
FW
191502017-12-14 Florian Weimer <fweimer@redhat.com>
19151
19152 [BZ #22606]
19153 CVE-2017-1000408
19154 * elf/dl-load.c (system_dirs): Update comment.
19155 (nsystem_dirs_len): Use array_length.
19156 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19157
f58bd7f0
FW
191582017-12-14 Florian Weimer <fweimer@redhat.com>
19159
19160 Simplify compiling most of support/ outside of glibc.
19161 * support/check_addrinfo.c: Include <string.h>.
19162 * support/check_dns_packet.c: Likewise.
19163 * support/check_hostent.c: Likewise.
19164 * support/support_can_chroot.c: Include <support/xunistd.h>.
19165 * support/support_format_addrinfo.c: Include <stdlib.h>
19166 * support/support_format_dns_packet.c: Include <stdbool.h>.
19167 * support/support_format_hostent.c: Include <stdlib.h>.
19168 * support/support_format_netent.c: Likewise.
19169 * support/support_write_string.c: Include <support/xunistd.h>.
19170 * support/xdlfcn.c: Include <stddef.h>.
19171
4ca945e9
L
191722017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19175
1b6e07f8
PM
191762017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19177 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19178
e6a1c5dc
PM
19179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19180 (sysdeps_routines): Add memset-niagara7.
19181 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19182 Likewise.
19183 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19184 file.
19185 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19186 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19187 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19188 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19189 Add niagara7 option.
19190 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19191 memset.
19192
1b6e07f8
PM
19193 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19194 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19195 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19196 Likewise.
19197 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19198 New file.
19199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19200 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19201 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19202 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19203 and __memmove_niagara7.
19204 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19205 Add niagara7 option.
19206 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19207 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19208 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19209 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19210 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19211
bfb7bf22
JM
192122017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19213
767a26d6
JM
19214 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19215 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19216 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19217 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19218
bfb7bf22
JM
19219 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19220 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19221 _dl_sparc_cap_flags array.
19222 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19223
2bce01eb
SP
192242017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19225
19226 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19227 time whenever possible.
19228
363e4519 192292017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
19230
19231 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19232 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19233
6f7c0092
JM
192342017-12-12 Joseph Myers <joseph@codesourcery.com>
19235
19236 * soft-fp/fmadf4.c: Move to ....
19237 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19238 * soft-fp/fmasf4.c: Move to ....
19239 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19240 * soft-fp/fmatf4.c: Move to ....
19241 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19242 * sysdeps/ieee754/soft-fp/Makefile: New file.
19243 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19244 * sysdeps/arm/preconfigure: Regenerated.
19245 * sysdeps/arm/nofpu/Implies: New file.
19246 * sysdeps/arm/s_fma.c: Remove file.
19247 * sysdeps/arm/s_fmaf.c: Likewise.
19248 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19249 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19250 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19251 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19252 * sysdeps/microblaze/s_fma.c: Remove file.
19253 * sysdeps/microblaze/s_fmaf.c: Likewise.
19254 * sysdeps/mips/mips32/nofpu/Implies: New file.
19255 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19256 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19257 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19258 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19259 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19260 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19261 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19262 implementation.
19263 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19264 * sysdeps/nios2/s_fma.c: Remove file.
19265 * sysdeps/nios2/s_fmaf.c: Likewise.
19266 * sysdeps/sh/nofpu/Implies: New file.
19267 * sysdeps/sh/s_fma.c: Remove file.
19268 * sysdeps/sh/s_fmaf.c: Likewise.
19269 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19270 * sysdeps/tile/s_fma.c: Remove file.
19271 * sysdeps/tile/s_fmaf.c: Likewise.
19272
ac817e08
L
192732017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19276 Add s_cosf-sse2 and s_cosf-fma.
19277 (CFLAGS-s_cosf-fma.c): New.
19278 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19280 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19281
eb428576
SE
192822017-12-12 Steve Ellcey <sellcey@cavium.com>
19283
19284 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19285
c80acdc3
AZ
192862017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19287
cc683f7e
AZ
19288 * libio/Makefile (tests): Add tst-bz22415.
19289 (tst-bz22415-ENV): New rule.
19290 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19291 (tests-special): Add tst-bz22415-mem.out.
19292 ($(objpfx)tst-bz22415-mem.out): New rule.
19293 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19294 in case of a successful seek operation.
19295 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19296 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19297 buffer is required.
19298 * libio/tst-bz22415.c: New test.
19299
c80acdc3
AZ
19300 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19301
363e4519 193022017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
19303
19304 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19305 __IPC_64 to 0 to avoid IPC_64 being set.
19306
4e0dca54
SN
193072017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19308
19309 [BZ #22593]
19310 * math/bits/mathcalls.h (nextafter): Remove const.
19311 (nexttoward): Likewise.
19312
8df5d347
JM
193132017-12-12 Joseph Myers <joseph@codesourcery.com>
19314
19315 * configure.ac (--with-fp): Remove configure option.
19316 (with_fp_cond): New variable.
19317 (libc_cv_with_fp): New configure test. Use this variable instead
19318 of with_fp.
19319 * configure: Regenerated.
19320 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19321 * manual/install.texi (Configuring and compiling): Remove
19322 --without-fp.
19323 * INSTALL: Regenerated.
19324 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19325 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19326 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19327 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19328 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19329 use --without-fp to configure glibc.
19330
0cee1257
RJ
193312017-12-12 Rical Jasan <ricaljasan@pacific.net>
19332
19333 * manual/locale.texi (nl_langinfo): Fix a typo.
19334
363e4519 193352017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
19336
19337 [BZ #22588]
19338 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19339
36975e8e
L
193402017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19341
19342 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19343 (CFLAGS-argp-parse.c): Likewise.
19344 (CFLAGS-argp-fmtstream.c): Likewise.
19345 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19346 (CPPFLAGS-sha512-crypt.c): Likewise.
19347 (CPPFLAGS-md5-crypt.c): Likewise.
19348 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19349 (CFLAGS-stack_chk_fail_local.c): Likewise.
19350 (CFLAGS-backtrace.c): Likewise.
19351 (CFLAGS-sprintf_chk.c): Likewise.
19352 (CFLAGS-snprintf_chk.c): Likewise.
19353 (CFLAGS-vsprintf_chk.c): Likewise.
19354 (CFLAGS-vsnprintf_chk.c): Likewise.
19355 (CFLAGS-asprintf_chk.c): Likewise.
19356 (CFLAGS-vasprintf_chk.c): Likewise.
19357 (CFLAGS-obprintf_chk.c): Likewise.
19358 (CFLAGS-dprintf_chk.c): Likewise.
19359 (CFLAGS-vdprintf_chk.c): Likewise.
19360 (CFLAGS-printf_chk.c): Likewise.
19361 (CFLAGS-fprintf_chk.c): Likewise.
19362 (CFLAGS-vprintf_chk.c): Likewise.
19363 (CFLAGS-vfprintf_chk.c): Likewise.
19364 (CFLAGS-gets_chk.c): Likewise.
19365 (CFLAGS-fgets_chk.c): Likewise.
19366 (CFLAGS-fgets_u_chk.c): Likewise.
19367 (CFLAGS-fread_chk.c): Likewise.
19368 (CFLAGS-fread_u_chk.c): Likewise.
19369 (CFLAGS-swprintf_chk.c): Likewise.
19370 (CFLAGS-vswprintf_chk.c): Likewise.
19371 (CFLAGS-wprintf_chk.c): Likewise.
19372 (CFLAGS-fwprintf_chk.c): Likewise.
19373 (CFLAGS-vwprintf_chk.c): Likewise.
19374 (CFLAGS-vfwprintf_chk.c): Likewise.
19375 (CFLAGS-fgetws_chk.c): Likewise.
19376 (CFLAGS-fgetws_u_chk.c): Likewise.
19377 (CFLAGS-read_chk.c): Likewise.
19378 (CFLAGS-pread_chk.c): Likewise.
19379 (CFLAGS-pread64_chk.c): Likewise.
19380 (CFLAGS-recv_chk.c): Likewise.
19381 (CFLAGS-recvfrom_chk.c): Likewise.
19382 (CFLAGS-tst-longjmp_chk.c): Likewise.
19383 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19384 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19385 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19386 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19387 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19388 (CFLAGS-tst-chk1.c): Likewise.
19389 (CFLAGS-tst-chk2.c): Likewise.
19390 (CFLAGS-tst-chk3.c): Likewise.
19391 (CFLAGS-tst-chk4.cc): Likewise.
19392 (CFLAGS-tst-chk5.cc): Likewise.
19393 (CFLAGS-tst-chk6.cc): Likewise.
19394 (CFLAGS-tst-lfschk1.c): Likewise.
19395 (CFLAGS-tst-lfschk2.c): Likewise.
19396 (CFLAGS-tst-lfschk3.c): Likewise.
19397 (CFLAGS-tst-lfschk4.cc): Likewise.
19398 (CFLAGS-tst-lfschk5.cc): Likewise.
19399 (CFLAGS-tst-lfschk6.cc): Likewise.
19400 (CFLAGS-tst-ssp-1.c): Likewise.
19401 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19402 (CFLAGS-scandir64.c): Likewise.
19403 (CFLAGS-scandir-tail.c): Likewise.
19404 (CFLAGS-scandir64-tail.c): Likewise.
19405 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19406 (CFLAGS-dl-tunables.c): Likewise.
19407 (CFLAGS-dl-runtime.c): Likewise.
19408 (CFLAGS-dl-lookup.c): Likewise.
19409 (CFLAGS-dl-iterate-phdr.c): Likewise.
19410 (CFLAGS-vismain.c): Likewise.
19411 (CFLAGS-tst-linkall-static.c): Likewise.
19412 (CFLAGS-tst-linkall-static.c): Likewise.
19413 (CPPFLAGS-dl-load.c): Likewise.
19414 (CFLAGS-ldconfig.c): Likewise.
19415 (CFLAGS-dl-cache.c): Likewise.
19416 (CFLAGS-cache.c): Likewise.
19417 (CFLAGS-rtld.c): Likewise.
19418 (CFLAGS-multiload.c): Likewise.
19419 (CFLAGS-filtmod1.c): Likewise.
19420 (CFLAGS-tst-align.c): Likewise.
19421 (CFLAGS-tst-align2.c): Likewise.
19422 (CFLAGS-tst-alignmod.c): Likewise.
19423 (CFLAGS-tst-alignmod2.c): Likewise.
19424 (CPPFLAGS-tst-execstack.c): Likewise.
19425 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19426 (CFLAGS-tst-latepthreadmod.c): Likewise.
19427 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19428 (CFLAGS-getgrnam_r.c): Likewise.
19429 (CFLAGS-getgrent_r.c): Likewise.
19430 (CFLAGS-getgrent.c): Likewise.
19431 (CFLAGS-fgetgrent.c): Likewise.
19432 (CFLAGS-fgetgrent_r.c): Likewise.
19433 (CFLAGS-putgrent.c): Likewise.
19434 (CFLAGS-initgroups.c): Likewise.
19435 (CFLAGS-getgrgid.c): Likewise.
19436 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19437 (CFLAGS-getsgent.c): Likewise.
19438 (CFLAGS-fgetsgent.c): Likewise.
19439 (CFLAGS-fgetsgent_r.c): Likewise.
19440 (CFLAGS-putsgent.c): Likewise.
19441 (CFLAGS-getsgnam.c): Likewise.
19442 (CFLAGS-getsgnam_r.c): Likewise.
19443 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19444 (CFLAGS-iconv_charmap.c): Likewise.
19445 (CFLAGS-dummy-repertoire.c): Likewise.
19446 (CFLAGS-charmap.c): Likewise.
19447 (CFLAGS-linereader.c): Likewise.
19448 (CFLAGS-simple-hash.c): Likewise.
19449 (CFLAGS-gconv_conf.c): Likewise.
19450 (CFLAGS-iconvconfig.c): Likewise.
19451 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19452 (CFLAGS-gethstbyad.c): Likewise.
19453 (CFLAGS-gethstbynm_r.c): Likewise.
19454 (CFLAGS-gethstbynm.c): Likewise.
19455 (CFLAGS-gethstbynm2_r.c): Likewise.
19456 (CFLAGS-gethstbynm2.c): Likewise.
19457 (CFLAGS-gethstent_r.c): Likewise.
19458 (CFLAGS-gethstent.c): Likewise.
19459 (CFLAGS-rcmd.c): Likewise.
19460 (CFLAGS-getnetbynm_r.c): Likewise.
19461 (CFLAGS-getnetbynm.c): Likewise.
19462 (CFLAGS-getnetbyad_r.c): Likewise.
19463 (CFLAGS-getnetbyad.c): Likewise.
19464 (CFLAGS-getnetent_r.c): Likewise.
19465 (CFLAGS-getnetent.c): Likewise.
19466 (CFLAGS-getaliasent_r.c): Likewise.
19467 (CFLAGS-getaliasent.c): Likewise.
19468 (CFLAGS-getrpcent_r.c): Likewise.
19469 (CFLAGS-getrpcent.c): Likewise.
19470 (CFLAGS-getservent_r.c): Likewise.
19471 (CFLAGS-getservent.c): Likewise.
19472 (CFLAGS-getprtent_r.c): Likewise.
19473 (CFLAGS-getprtent.c): Likewise.
19474 (CFLAGS-either_ntoh.c): Likewise.
19475 (CFLAGS-either_hton.c): Likewise.
19476 (CFLAGS-getnetgrent.c): Likewise.
19477 (CFLAGS-getnetgrent_r.c): Likewise.
19478 (CFLAGS-tst-checks-posix.c): Likewise.
19479 (CFLAGS-tst-sockaddr.c): Likewise.
19480 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19481 (CFLAGS-tst-translit.c): Likewise.
19482 (CFLAGS-tst-gettext2.c): Likewise.
19483 (CFLAGS-tst-codeset.c): Likewise.
19484 (CFLAGS-tst-gettext3.c): Likewise.
19485 (CFLAGS-tst-gettext4.c): Likewise.
19486 (CFLAGS-tst-gettext5.c): Likewise.
19487 (CFLAGS-tst-gettext6.c): Likewise.
19488 * io/Makefile (CFLAGS-open.c): Likewise.
19489 (CFLAGS-open64.c): Likewise.
19490 (CFLAGS-creat.c): Likewise.
19491 (CFLAGS-creat64.c): Likewise.
19492 (CFLAGS-fcntl.c): Likewise.
19493 (CFLAGS-poll.c): Likewise.
19494 (CFLAGS-ppoll.c): Likewise.
19495 (CFLAGS-lockf.c): Likewise.
19496 (CFLAGS-statfs.c): Likewise.
19497 (CFLAGS-fstatfs.c): Likewise.
19498 (CFLAGS-statvfs.c): Likewise.
19499 (CFLAGS-fstatvfs.c): Likewise.
19500 (CFLAGS-fts.c): Likewise.
19501 (CFLAGS-fts64.c): Likewise.
19502 (CFLAGS-ftw.c): Likewise.
19503 (CFLAGS-ftw64.c): Likewise.
19504 (CFLAGS-lockf.c): Likewise.
19505 (CFLAGS-posix_fallocate.c): Likewise.
19506 (CFLAGS-posix_fallocate64.c): Likewise.
19507 (CFLAGS-fallocate.c): Likewise.
19508 (CFLAGS-fallocate64.c): Likewise.
19509 (CFLAGS-read.c): Likewise.
19510 (CFLAGS-write.c): Likewise.
19511 (CFLAGS-test-stat.c): Likewise.
19512 (CFLAGS-test-lfs.c): Likewise.
19513 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19514 (CFLAGS-fputc.c): Likewise.
19515 (CFLAGS-fputwc.c): Likewise.
19516 (CFLAGS-freopen64.c): Likewise.
19517 (CFLAGS-freopen.c): Likewise.
19518 (CFLAGS-fseek.c): Likewise.
19519 (CFLAGS-fseeko64.c): Likewise.
19520 (CFLAGS-fseeko.c): Likewise.
19521 (CFLAGS-ftello64.c): Likewise.
19522 (CFLAGS-ftello.c): Likewise.
19523 (CFLAGS-fwide.c): Likewise.
19524 (CFLAGS-genops.c): Likewise.
19525 (CFLAGS-getc.c): Likewise.
19526 (CFLAGS-getchar.c): Likewise.
19527 (CFLAGS-getwc.c): Likewise.
19528 (CFLAGS-getwchar.c): Likewise.
19529 (CFLAGS-iofclose.c): Likewise.
19530 (CFLAGS-iofflush.c): Likewise.
19531 (CFLAGS-iofgetpos64.c): Likewise.
19532 (CFLAGS-iofgetpos.c): Likewise.
19533 (CFLAGS-iofgets.c): Likewise.
19534 (CFLAGS-iofgetws.c): Likewise.
19535 (CFLAGS-iofputs.c): Likewise.
19536 (CFLAGS-iofputws.c): Likewise.
19537 (CFLAGS-iofread.c): Likewise.
19538 (CFLAGS-iofsetpos64.c): Likewise.
19539 (CFLAGS-iofsetpos.c): Likewise.
19540 (CFLAGS-ioftell.c): Likewise.
19541 (CFLAGS-iofwrite.c): Likewise.
19542 (CFLAGS-iogetdelim.c): Likewise.
19543 (CFLAGS-iogetline.c): Likewise.
19544 (CFLAGS-iogets.c): Likewise.
19545 (CFLAGS-iogetwline.c): Likewise.
19546 (CFLAGS-ioputs.c): Likewise.
19547 (CFLAGS-ioseekoff.c): Likewise.
19548 (CFLAGS-ioseekpos.c): Likewise.
19549 (CFLAGS-iosetbuffer.c): Likewise.
19550 (CFLAGS-iosetvbuf.c): Likewise.
19551 (CFLAGS-ioungetc.c): Likewise.
19552 (CFLAGS-ioungetwc.c): Likewise.
19553 (CFLAGS-oldfileops.c): Likewise.
19554 (CFLAGS-oldiofclose.c): Likewise.
19555 (CFLAGS-oldiofgetpos64.c): Likewise.
19556 (CFLAGS-oldiofgetpos.c): Likewise.
19557 (CFLAGS-oldiofsetpos64.c): Likewise.
19558 (CFLAGS-oldiofsetpos.c): Likewise.
19559 (CFLAGS-peekc.c): Likewise.
19560 (CFLAGS-putc.c): Likewise.
19561 (CFLAGS-putchar.c): Likewise.
19562 (CFLAGS-putwc.c): Likewise.
19563 (CFLAGS-putwchar.c): Likewise.
19564 (CFLAGS-rewind.c): Likewise.
19565 (CFLAGS-wfileops.c): Likewise.
19566 (CFLAGS-wgenops.c): Likewise.
19567 (CFLAGS-oldiofopen.c): Likewise.
19568 (CFLAGS-iofopen.c): Likewise.
19569 (CFLAGS-iofopen64.c): Likewise.
19570 (CFLAGS-oldtmpfile.c): Likewise.
19571 (CFLAGS-tst_putwc.c): Likewise.
19572 * locale/Makefile (CFLAGS-md5.c): Likewise.
19573 (CFLAGS-charmap.c): Likewise.
19574 (CFLAGS-locfile.c): Likewise.
19575 (CFLAGS-charmap-dir.c): Likewise.
19576 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19577 (CFLAGS-getpt.c): Likewise.
19578 (CFLAGS-pt_chown.c): Likewise.
19579 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19580 (CFLAGS-obstack.c): Likewise.
19581 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19582 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19583 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19584 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19585 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19586 (CFLAGS-test-tgmath.c): Likewise.
19587 (CFLAGS-test-tgmath2.c): Likewise.
19588 (CFLAGS-test-tgmath-ret.c): Likewise.
19589 (CFLAGS-test-powl.c): Likewise.
19590 (CFLAGS-test-snan.c): Likewise.
19591 (CFLAGS-test-signgam-finite.c): Likewise.
19592 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19593 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19594 (CFLAGS-test-signgam-uchar.c): Likewise.
19595 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19596 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19597 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19598 (CFLAGS-test-signgam-uint.c): Likewise.
19599 (CFLAGS-test-signgam-uint-init.c): Likewise.
19600 (CFLAGS-test-signgam-uint-static.c): Likewise.
19601 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19602 (CFLAGS-test-signgam-ullong.c): Likewise.
19603 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19604 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19605 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19606 (CFLAGS-test-math-cxx11.cc): Likewise.
19607 (CFLAGS-test-math-isinff.cc): Likewise.
19608 (CFLAGS-test-math-iszero.cc): Likewise.
19609 (CFLAGS-test-math-issignaling.cc): Likewise.
19610 (CFLAGS-test-math-iscanonical.cc): Likewise.
19611 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19612 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19613 (CFLAGS-test-flt-eval-method.c): Likewise.
19614 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19615 (CFLAGS-test-finite-macros.c): Likewise.
19616 * misc/Makefile (CFLAGS-select.c): Likewise.
19617 (CFLAGS-tsearch.c): Likewise.
19618 (CFLAGS-lsearch.c): Likewise.
19619 (CFLAGS-pselect.c): Likewise.
19620 (CFLAGS-readv.c): Likewise.
19621 (CFLAGS-writev.c): Likewise.
19622 (CFLAGS-preadv.c): Likewise.
19623 (CFLAGS-preadv64.c): Likewise.
19624 (CFLAGS-pwritev.c): Likewise.
19625 (CFLAGS-pwritev64.c): Likewise.
19626 (CFLAGS-preadv2.c): Likewise.
19627 (CFLAGS-preadv64v2.c): Likewise.
19628 (CFLAGS-pwritev2.c): Likewise.
19629 (CFLAGS-pwritev64v2.c): Likewise.
19630 (CFLAGS-usleep.c): Likewise.
19631 (CFLAGS-syslog.c): Likewise.
19632 (CFLAGS-error.c): Likewise.
19633 (CFLAGS-getpass.c): Likewise.
19634 (CFLAGS-mkstemp.c): Likewise.
19635 (CFLAGS-mkstemp64.c): Likewise.
19636 (CFLAGS-getsysstats.c): Likewise.
19637 (CFLAGS-getusershell.c): Likewise.
19638 (CFLAGS-err.c): Likewise.
19639 (CFLAGS-tst-tsearch.c): Likewise.
19640 (CFLAGS-msync.c): Likewise.
19641 (CFLAGS-fdatasync.c): Likewise.
19642 (CFLAGS-fsync.c): Likewise.
19643 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19644 (CFLAGS-unwind.c): Likewise.
19645 (CFLAGS-unwind-forcedunwind.c): Likewise.
19646 (CFLAGS-pthread_cancel.c): Likewise.
19647 (CFLAGS-pthread_setcancelstate.c): Likewise.
19648 (CFLAGS-pthread_setcanceltype.c): Likewise.
19649 (CFLAGS-cancellation.c): Likewise.
19650 (CFLAGS-libc-cancellation.c): Likewise.
19651 (CFLAGS-pthread_exit.c): Likewise.
19652 (CFLAGS-forward.c): Likewise.
19653 (CFLAGS-pthread_testcancel.c): Likewise.
19654 (CFLAGS-pthread_join.c): Likewise.
19655 (CFLAGS-pthread_timedjoin.c): Likewise.
19656 (CFLAGS-pthread_once.c): Likewise.
19657 (CFLAGS-pthread_cond_wait.c): Likewise.
19658 (CFLAGS-sem_wait.c): Likewise.
19659 (CFLAGS-sem_timedwait.c): Likewise.
19660 (CFLAGS-fcntl.c): Likewise.
19661 (CFLAGS-lockf.c): Likewise.
19662 (CFLAGS-pread.c): Likewise.
19663 (CFLAGS-pread64.c): Likewise.
19664 (CFLAGS-pwrite.c): Likewise.
19665 (CFLAGS-pwrite64.c): Likewise.
19666 (CFLAGS-wait.c): Likewise.
19667 (CFLAGS-waitpid.c): Likewise.
19668 (CFLAGS-sigwait.c): Likewise.
19669 (CFLAGS-msgrcv.c): Likewise.
19670 (CFLAGS-msgsnd.c): Likewise.
19671 (CFLAGS-tcdrain.c): Likewise.
19672 (CFLAGS-open.c): Likewise.
19673 (CFLAGS-open64.c): Likewise.
19674 (CFLAGS-pause.c): Likewise.
19675 (CFLAGS-recv.c): Likewise.
19676 (CFLAGS-send.c): Likewise.
19677 (CFLAGS-accept.c): Likewise.
19678 (CFLAGS-sendto.c): Likewise.
19679 (CFLAGS-connect.c): Likewise.
19680 (CFLAGS-recvfrom.c): Likewise.
19681 (CFLAGS-recvmsg.c): Likewise.
19682 (CFLAGS-sendmsg.c): Likewise.
19683 (CFLAGS-close.c): Likewise.
19684 (CFLAGS-read.c): Likewise.
19685 (CFLAGS-write.c): Likewise.
19686 (CFLAGS-nanosleep.c): Likewise.
19687 (CFLAGS-sigsuspend.c): Likewise.
19688 (CFLAGS-msync.c): Likewise.
19689 (CFLAGS-fdatasync.c): Likewise.
19690 (CFLAGS-fsync.c): Likewise.
19691 (CFLAGS-pt-system.c): Likewise.
19692 (CFLAGS-tst-cleanup2.c): Likewise.
19693 (CFLAGS-tst-cleanupx2.c): Likewise.
19694 (CFLAGS-flockfile.c): Likewise.
19695 (CFLAGS-ftrylockfile.c): Likewise.
19696 (CFLAGS-funlockfile.c): Likewise.
19697 (CFLAGS-tst-initializers1.c): Likewise.
19698 (CFLAGS-tst-initializers1-c89.c): Likewise.
19699 (CFLAGS-tst-initializers1-c99.c): Likewise.
19700 (CFLAGS-tst-initializers1-c11.c): Likewise.
19701 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19702 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19703 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19704 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19705 (CFLAGS-nscd_getgr_r.c): Likewise.
19706 (CFLAGS-nscd_gethst_r.c): Likewise.
19707 (CFLAGS-nscd_getai.c): Likewise.
19708 (CFLAGS-nscd_initgroups.c): Likewise.
19709 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19710 (CFLAGS-pause.c): Likewise.
19711 (CFLAGS-pread.c): Likewise.
19712 (CFLAGS-pread64.c): Likewise.
19713 (CFLAGS-pwrite.c): Likewise.
19714 (CFLAGS-pwrite64.c): Likewise.
19715 (CFLAGS-sleep.c): Likewise.
19716 (CFLAGS-wait.c): Likewise.
19717 (CFLAGS-waitid.c): Likewise.
19718 (CFLAGS-waitpid.c): Likewise.
19719 (CFLAGS-getopt.c): Likewise.
19720 (CFLAGS-wordexp.c): Likewise.
19721 (CFLAGS-sysconf.c): Likewise.
19722 (CFLAGS-pathconf.c): Likewise.
19723 (CFLAGS-fpathconf.c): Likewise.
19724 (CFLAGS-spawn.c): Likewise.
19725 (CFLAGS-spawnp.c): Likewise.
19726 (CFLAGS-spawni.c): Likewise.
19727 (CFLAGS-glob.c): Likewise.
19728 (CFLAGS-glob64.c): Likewise.
19729 (CFLAGS-getconf.c): Likewise.
19730 (CFLAGS-nanosleep.c): Likewise.
19731 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19732 (CFLAGS-getpwent.c): Likewise.
19733 (CFLAGS-getpw.c): Likewise.
19734 (CFLAGS-fgetpwent_r.c): Likewise.
19735 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19736 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19737 (CFLAGS-mq_timedreceive.c): Likewise.
19738 (CFLAGS-mq_timedsend.c): Likewise.
19739 (CFLAGS-clock_nanosleep.c): Likewise.
19740 (CFLAGS-librt-cancellation.c): Likewise.
19741 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19742 (CFLAGS-getspent.c): Likewise.
19743 (CFLAGS-fgetspent.c): Likewise.
19744 (CFLAGS-fgetspent_r.c): Likewise.
19745 (CFLAGS-putspent.c): Likewise.
19746 (CFLAGS-getspnam.c): Likewise.
19747 (CFLAGS-getspnam_r.c): Likewise.
19748 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19749 (CFLAGS-sigsuspend.c): Likewise.
19750 (CFLAGS-sigtimedwait.c): Likewise.
19751 (CFLAGS-sigwait.c): Likewise.
19752 (CFLAGS-sigwaitinfo.c): Likewise.
19753 (CFLAGS-sigreturn.c): Likewise.
19754 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19755 (CFLAGS-vfwprintf.c): Likewise.
19756 (CFLAGS-tmpfile.c): Likewise.
19757 (CFLAGS-tmpfile64.c): Likewise.
19758 (CFLAGS-tempname.c): Likewise.
19759 (CFLAGS-psignal.c): Likewise.
19760 (CFLAGS-vprintf.c): Likewise.
19761 (CFLAGS-cuserid.c): Likewise.
19762 (CFLAGS-errlist.c): Likewise.
19763 (CFLAGS-siglist.c): Likewise.
19764 (CFLAGS-scanf15.c): Likewise.
19765 (CFLAGS-scanf17.c): Likewise.
19766 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19767 (CFLAGS-msort.c): Likewise.
19768 (CFLAGS-qsort.c): Likewise.
19769 (CFLAGS-system.c): Likewise.
19770 (CFLAGS-fmtmsg.c): Likewise.
19771 (CFLAGS-strfmon.c): Likewise.
19772 (CFLAGS-strfmon_l.c): Likewise.
19773 (CFLAGS-strfromd.c): Likewise.
19774 (CFLAGS-strfromf.c): Likewise.
19775 (CFLAGS-strfroml.c): Likewise.
19776 (CFLAGS-tst-bsearch.c): Likewise.
19777 (CFLAGS-tst-qsort.c): Likewise.
19778 (CFLAGS-tst-makecontext2.c): Likewise.
19779 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19780 (CFLAGS-xnlm_prot.c): Likewise.
19781 (CFLAGS-xrstat.c): Likewise.
19782 (CFLAGS-xyppasswd.c): Likewise.
19783 (CFLAGS-xklm_prot.c): Likewise.
19784 (CFLAGS-xrex.c): Likewise.
19785 (CFLAGS-xsm_inter.c): Likewise.
19786 (CFLAGS-xmount.c): Likewise.
19787 (CFLAGS-xrusers.c): Likewise.
19788 (CFLAGS-xspray.c): Likewise.
19789 (CFLAGS-xnfs_prot.c): Likewise.
19790 (CFLAGS-xrquota.c): Likewise.
19791 (CFLAGS-xkey_prot.c): Likewise.
19792 (CFLAGS-auth_unix.c): Likewise.
19793 (CFLAGS-key_call.c): Likewise.
19794 (CFLAGS-pmap_rmt.c): Likewise.
19795 (CFLAGS-clnt_perr.c): Likewise.
19796 (CFLAGS-openchild.c): Likewise.
19797 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19798 (CFLAGS-msgsnd.c): Likewise.
19799 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19800 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19801 (CFLAGS-tzset.c): Likewise.
19802 (CFLAGS-getdate.c): Likewise.
19803 (CFLAGS-test_time.c): Likewise.
19804 (CPPFLAGS-tst-tzname.c): Likewise.
19805 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19806 (CFLAGS-zic.c): Likewise.
19807 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19808 (CFLAGS-wcswidth.c): Likewise.
19809 (CFLAGS-wcstol.c): Likewise.
19810 (CFLAGS-wcstoul.c): Likewise.
19811 (CFLAGS-wcstoll.c): Likewise.
19812 (CFLAGS-wcstoull.c): Likewise.
19813 (CFLAGS-wcstod.c): Likewise.
19814 (CFLAGS-wcstold.c): Likewise.
19815 (CFLAGS-wcstof128.c): Likewise.
19816 (CFLAGS-wcstof.c): Likewise.
19817 (CFLAGS-wcstol_l.c): Likewise.
19818 (CFLAGS-wcstoul_l.c): Likewise.
19819 (CFLAGS-wcstoll_l.c): Likewise.
19820 (CFLAGS-wcstoull_l.c): Likewise.
19821 (CFLAGS-wcstod_l.c): Likewise.
19822 (CFLAGS-wcstold_l.c): Likewise.
19823 (CFLAGS-wcstof128_l.c): Likewise.
19824 (CFLAGS-wcstof_l.c): Likewise.
19825 (CPPFLAGS-tst-wchar-h.c): Likewise.
19826 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 19827
f4b2aea6
PC
198282017-12-11 Paul A. Clarke <pc@us.ibm.com>
19829
19830 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19831
c9cd7b0c
AZ
198322017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19833 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19834
19835 * manual/tunables.texi (Hardware Capability Tunables): Document
19836 glibc.tune.cached_memopt.
19837 * sysdeps/powerpc/cpu-features.c: New file.
19838 * sysdeps/powerpc/cpu-features.h: New file.
19839 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19840 _dl_powerpc_cpu_features.
19841 * sysdeps/powerpc/dl-tunables.list: New file.
19842 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19843 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19844 (INIT_ARCH): Initialize use_aligned_memopt.
19845 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19846 IS_IN(rtld))]: Restrict dl_platform_init availability and
19847 initialize CPU features used by tunables.
19848 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19849 Add memcpy-power8-cached.
19850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19851 __memcpy_power8_cached.
19852 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19853 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19854 New file.
19855
e70c6fee
L
198562017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19857
19858 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19859 (CFLAGS-noinl-tester.c): Likewise.
19860 (CFLAGS-tst-strlen.c): Likewise.
19861 (CFLAGS-stratcliff.c): Likewise.
19862 (CFLAGS-test-ffs.c): Likewise.
19863 (CFLAGS-tst-inlcall.c): Likewise.
19864 (CFLAGS-tst-xbzero-opt.c): Likewise.
19865 (CFLAGS-memcpy.c): Likewise.
19866 (CFLAGS-wordcopy.c): Likewise.
19867
dee94366
SL
198682017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19869
19870 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19871 Store r15 on stack and add cfi rule.
19872 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19873 Likewise.
19874
363e4519 198752017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
19876
19877 [BZ #22577]
19878 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19879 call.
19880
9d0ffa60
L
198812017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19884 Add s_sinf-sse2 and s_sinf-fma.
19885 (CFLAGS-s_sinf-fma.c): New.
19886 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19887 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19888 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19889
9574c7b6
L
198902017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19891
19892 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19893
d15e83c5
JM
198942017-12-07 Joseph Myers <joseph@codesourcery.com>
19895
19896 [BZ #22568]
19897 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19898 part of result to imaginary part of argument if it is zero and the
19899 real part of the argument is not finite.
19900 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19901 of result to real part of argument if it is zero and the imaginary
19902 part of the argument is not finite.
19903
d89756eb
MF
199042017-12-07 Mike FABIAN <mfabian@redhat.com>
19905
19906 [BZ #22524]
19907 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19908 and to the list of locales to be built for testing.
19909 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19910 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19911 and build the collation rules upon that.
19912
1f9055ce
JM
199132017-12-07 Joseph Myers <joseph@codesourcery.com>
19914
19915 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19916 * manual/math.texi (Mathematics): Document support for _Float32.
19917 * math/Makefile (test-types): Add float32.
19918 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19919 * stdlib/Versions (GLIBC_2.27): Likewise.
19920 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19922 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19923 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19925 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19926 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19927 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19928 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19929 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19930 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19931 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19932 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19937 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19938 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19939 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19940 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19941 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19942 Likewise.
19943 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19945 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19946 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19947 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19949 Likewise.
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19951 Likewise.
19952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19953 Likewise.
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19955 Likewise.
19956
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19958 Likewise.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19960 Likewise.
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19962 Likewise.
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19964 Likewise.
19965 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19967 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19968 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19969 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19976 Likewise.
19977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19978 Likewise.
19979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19980 Likewise.
19981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19982 Likewise.
19983 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19984 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19989 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19990 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19991
5244527d
JM
199922017-12-06 Joseph Myers <joseph@codesourcery.com>
19993
fb1ca2aa
JM
19994 * stdlib/strtof.c: Include <bits/floatn.h>
19995 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19996 and later undefine as macro. Define as weak alias if
19997 [!USE_WIDE_CHAR].
19998 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19999 and later undefine as macro. Define as weak alias if
20000 [USE_WIDE_CHAR].
20001 * stdlib/strtof_l.c: Include <bits/floatn.h>
20002 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20003 and later undefine as macro. Define as weak alias if
20004 [!USE_WIDE_CHAR].
20005 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20006 and later undefine as macro. Define as weak alias if
20007 [USE_WIDE_CHAR].
20008
fc10cc3f
JM
20009 * stdlib/strfromf.c: Include <bits/floatn.h>.
20010 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20011 and later undefine as macro and define as weak alias.
20012
e420d228
JM
20013 * math/test-float32.h: New file.
20014
26007a2f
JM
20015 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20016 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20017 (libm_alias_float_other_r): Create f32 alias.
20018 (libm_alias_float_r): Use semicolon before call to
20019 libm_alias_float_other_r.
20020
c191f64c
JM
20021 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20022 second argument to libm_alias_float_other.
20023 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20024 second argument to libm_alias_float_other.
20025 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20026 argument to libm_alias_float_other.
20027
5244527d
JM
20028 [BZ #22561]
20029 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20030 real part of result for argument 0 + i * NaN.
20031 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20032 results for tests of 0 + i * NaN.
20033
d73fac82
AZ
200342017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20035
20036 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20037
7ec094e8
DM
200382017-12-06 David S. Miller <davem@davemloft.net>
20039
20040 * sysdeps/sparc/fpu/libm-test-ulps: Update
20041 exp_{downward,towardzero,upward} ulps.
20042
53994f12
JM
200432017-12-06 Joseph Myers <joseph@codesourcery.com>
20044
1dbe6f64
JM
20045 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20046 variables static.
20047
53994f12
JM
20048 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20049 (Y0_2D): Likewise.
20050 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20051 (Y0_2D): Likewise.
20052 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20053 (Y0_2D): Likewise.
20054 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20055 (Y0_2D): Likewise.
20056
62ea2193
MF
200572017-12-06 Mike FABIAN <mfabian@redhat.com>
20058
20059 [BZ #22515]
20060 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20061 and to the list of locales to be built for testing.
20062 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20063 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20064 and build the collation rules upon that.
20065
87235d70
RS
200662017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20067
20068 * NEWS: Add sinf to list of optimized functions.
20069
0d93b7fd
JM
200702017-12-06 Joseph Myers <joseph@codesourcery.com>
20071
20072 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20073 (__HAVE_FLOAT32X): Likewise.
20074 * manual/math.texi (Mathematics): Document support for _Float64
20075 and _Float32x.
20076 * math/Makefile (test-types): Add float64 and float32x.
20077 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20078 functions.
20079 * stdlib/Versions (GLIBC_2.27): Likewise.
20080 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20081 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20082 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20083 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20084 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20085 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20086 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20087 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20088 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20089 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20090 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20091 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20093 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20094 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20097 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20099 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20100 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20101 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20102 Likewise.
20103 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20106 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20107 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20109 Likewise.
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20111 Likewise.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20113 Likewise.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20115 Likewise.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20117 Likewise.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20119 Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20121 Likewise.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20123 Likewise.
20124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20126 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20127 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20128 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20129 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20135 Likewise.
20136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20137 Likewise.
20138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20139 Likewise.
20140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20141 Likewise.
20142 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20143 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20144 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20145 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20146 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20147 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20148 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20149 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20150
f7787234
JM
201512017-12-05 Joseph Myers <joseph@codesourcery.com>
20152
20153 * bits/floatn-common.h: Include <bits/long-double.h>.
20154 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20155 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20156 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20157 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20158 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20159 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20160 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20161 (__builtin_huge_valf64): Use __builtin_huge_vall.
20162 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20163 (__builtin_inff64): Use __builtin_infl.
20164 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20165 (__builtin_nanf64): Use __builtin_nanl.
20166 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20167 (__builtin_nansf64): Use __builtin_nansl.
20168
363e4519
DL
201692017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20170 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
20171 Carlos O'Donnell <carlos@redhat.com>
20172
20173 * elf/dl-tunables.list: Add elision parameters.
20174 * manual/tunables.texi: Add entries about elision tunable.
20175 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20176 Add callback functions to dynamically enable/disable elision.
20177 Add multiple callbacks functions to set elision parameters.
20178 Deleted __libc_enable_secure check.
20179 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20180 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20181 * configure: Regenerated.
20182 * configure.ac: Option enable_lock_elision was deleted.
20183 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20184 * config.make.in: Remove references to enable_lock_elision.
20185 * manual/install.texi: Elision configure option was removed.
20186 * INSTALL: Regenerated to remove enable_lock_elision.
20187 * nptl/Makefile:
20188 Disable elision so it can verify error case for destroying a mutex.
20189 * sysdeps/powerpc/nptl/elide.h:
20190 Cleanup ENABLE_LOCK_ELISION check.
20191 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20192 * sysdeps/s390/configure: Regenerated.
20193 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20194 * nptl/tst-mutex8.c:
20195 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20196 * sysdeps/powerpc/powerpc32/sysdep.h:
20197 Deleted all ENABLE_LOCK_ELISION checks.
20198 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20199 * sysdeps/powerpc/sysdep.h: Likewise.
20200 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20201 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20202 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20203 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20204 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20205 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20206 enable-lock-elision.
20207
a5a2a76b
JM
202082017-12-05 Joseph Myers <joseph@codesourcery.com>
20209
20210 * stdlib/strtod.c: Include <bits/floatn.h>.
20211 (BUILD_DOUBLE): New macro.
20212 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20213 (strtof64): Define and later undefine as macro. Define as weak
20214 alias if [!USE_WIDE_CHAR].
20215 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20216 (wcstof64): Define and later undefine as macro. Define as weak
20217 alias if [USE_WIDE_CHAR].
20218 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20219 (strtof32x): Define and later undefine as macro. Define as weak
20220 alias if [!USE_WIDE_CHAR].
20221 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20222 (wcstof32x): Define and later undefine as macro. Define as weak
20223 alias if [USE_WIDE_CHAR].
20224 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20225 (BUILD_DOUBLE): New macro.
20226 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20227 (strtof64_l): Define and later undefine as macro. Define as weak
20228 alias if [!USE_WIDE_CHAR].
20229 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20230 (wcstof64_l): Define and later undefine as macro. Define as weak
20231 alias if [USE_WIDE_CHAR].
20232 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20233 (strtof32x_l): Define and later undefine as macro. Define as weak
20234 alias if [!USE_WIDE_CHAR].
20235 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20236 (wcstof32x_l): Define and later undefine as macro. Define as weak
20237 alias if [USE_WIDE_CHAR].
20238
94d80dfc
AZ
202392017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20240
20241 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20242 (reduced): Use ones as double instead of integer.
20243
00d54af7
SN
202442017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20245
20246 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20247
f2d64d62
JM
202482017-12-05 Joseph Myers <joseph@codesourcery.com>
20249
1f70eae4
JM
20250 * stdlib/strfromd.c: Include <bits/floatn.h>.
20251 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20252 and later undefine as macro and define as weak alias.
20253 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20254 Likewise.
20255
e2c4dce5
JM
20256 * math/test-float32x.h: New file.
20257 * math/test-float64.h: Likewise.
20258
f2d64d62
JM
20259 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20260 (libm_alias_double_other_r_f64): New macro.
20261 (libm_alias_double_other_r_f32x): Likewise.
20262 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20263 libm_alias_double_other_r_f32x.
20264 (libm_alias_double_r): Use semicolon before call to
20265 libm_alias_double_other_r.
20266 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20267 <bits/floatn.h>.
20268 (libm_alias_double_other_r_f64): New macro.
20269 (libm_alias_double_other_r_f32x): Likewise.
20270 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20271 libm_alias_double_other_r_f32x.
20272
91c318e7
L
202732017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20274
20275 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20276 int.
20277 (SINF_FUNC): Likewise. Replace floor with simple casts.
20278
de9661d6
MF
202792017-12-05 Mike FABIAN <mfabian@redhat.com>
20280
20281 [BZ #22517]
20282 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20283 and to the list of locales to be built for testing.
20284 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20285 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20286 and build the collation rules upon that.
20287
f18b8dc7
CM
202882017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20289
20290 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20291 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20292 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20293 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20294 instead of __insn__xxx.
20295 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20296 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20297 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20298 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20299 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20300 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20301
446d22e9
FW
203022017-12-05 Florian Weimer <fweimer@redhat.com>
20303
20304 Linux: Implement interfaces for memory protection keys
20305 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20306 xsignal, xsysconf.
20307 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20308 * support/xunistd.h (xsysconf): Declare.
20309 * support/xraise.c: New file.
20310 * support/xsigaction.c: Likewise.
20311 * support/xsignal.c: Likewise.
20312 * support/xsysconf.c: Likewise.
20313 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20314 pkey_set, pkey_get, pkey_mprotect.
20315 [misc] (tests): Add tst-pkey.
20316 (tst-pkey): Link with -lpthread.
20317 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20318 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20319 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20320 (PKEY_DISABLE_WRITE): Define.
20321 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20322 Declare.
20323 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20324 (SEGV_PKUERR): Add.
20325 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20326 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20327 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20328 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20329 Add.
20330 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20331 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20332 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20333 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20334 * sysdeps/unix/sysv/linux/**.abilist: Update.
20335
da616c14
FW
203362017-12-05 Florian Weimer <fweimer@redhat.com>
20337
20338 * support/tst-test_compare.c (subprocess): Use long long instead
20339 of long argument for consistent type width across 32-bit and
20340 64-bit architectures.
20341 (do_test): Adjust expected output.
20342
216933b2
JM
203432017-12-05 Joseph Myers <joseph@codesourcery.com>
20344
20345 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20346 (cosf): Define using libm_alias_float.
20347 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20348 (fabsf): Define using libm_alias_float.
20349 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20350 (fmaf): Define using libm_alias_float.
20351 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20352 (rintf): Define using libm_alias_float.
20353 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20354 (sinf): Define using libm_alias_float.
20355 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20356 <libm-alias-float.h>.
20357 (modff): Define using libm_alias_float.
20358 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20359 <libm-alias-float.h>.
20360 (logbf): Define using libm_alias_float.
20361 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20362 <libm-alias-float.h>.
20363 (ceilf): Define using libm_alias_float.
20364 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20365 <libm-alias-float.h>.
20366 (copysignf): Define using libm_alias_float.
20367 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20368 <libm-alias-float.h>.
20369 (floorf): Define using libm_alias_float.
20370 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20371 <libm-alias-float.h>.
20372 (llrintf): Define using libm_alias_float.
20373 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20374 <libm-alias-float.h>.
20375 (llroundf): Define using libm_alias_float.
20376 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20377 <libm-alias-float.h>.
20378 (lrintf): Define using libm_alias_float.
20379 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20380 <libm-alias-float.h>.
20381 (lroundf): Define using libm_alias_float.
20382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20383 <libm-alias-float.h>.
20384 (nearbyintf): Define using libm_alias_float.
20385 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20386 <libm-alias-float.h>.
20387 (rintf): Define using libm_alias_float.
20388 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20389 <libm-alias-float.h>.
20390 (roundf): Define using libm_alias_float.
20391 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20392 <libm-alias-float.h>.
20393 (truncf): Define using libm_alias_float.
20394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20395 Include <libm-alias-float.h>.
20396 (ceilf): Define using libm_alias_float.
20397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20398 Include <libm-alias-float.h>.
20399 (copysignf): Define using libm_alias_float.
20400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20401 Include <libm-alias-float.h>.
20402 (floorf): Define using libm_alias_float.
20403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20404 Include <libm-alias-float.h>.
20405 (llrintf): Define using libm_alias_float.
20406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20407 Include <libm-alias-float.h>.
20408 (llroundf): Define using libm_alias_float.
20409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20410 Include <libm-alias-float.h>.
20411 (logbf): Define using libm_alias_float.
20412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20413 Include <libm-alias-float.h>.
20414 (lrintf): Define using libm_alias_float.
20415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20416 Include <libm-alias-float.h>.
20417 (lroundf): Define using libm_alias_float.
20418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20419 Include <libm-alias-float.h>.
20420 (modff): Define using libm_alias_float.
20421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20422 Include <libm-alias-float.h>.
20423 (roundf): Define using libm_alias_float.
20424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20425 Include <libm-alias-float.h>.
20426 (truncf): Define using libm_alias_float.
20427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20428 <libm-alias-float.h>.
20429 (llrintf): Define using libm_alias_float.
20430 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20431 <libm-alias-float.h>.
20432 (llroundf): Define using libm_alias_float.
20433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20434 <libm-alias-float.h>.
20435 (ceilf): Define using libm_alias_float.
20436 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20437 <libm-alias-float.h>.
20438 (floorf): Define using libm_alias_float.
20439 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20440 <libm-alias-float.h>.
20441 (llroundf): Define using libm_alias_float.
20442 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20443 <libm-alias-float.h>.
20444 (lroundf): Define using libm_alias_float.
20445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20446 <libm-alias-float.h>.
20447 (roundf): Define using libm_alias_float.
20448 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20449 <libm-alias-float.h>.
20450 (truncf): Define using libm_alias_float.
20451 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20452 <libm-alias-float.h>.
20453 (copysignf): Define using libm_alias_float.
20454 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20455 <libm-alias-float.h>.
20456 (llrintf): Define using libm_alias_float.
20457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20458 <libm-alias-float.h>.
20459 (llroundf): Define using libm_alias_float.
20460 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20461 <libm-alias-float.h>.
20462 (lrintf): Define using libm_alias_float.
20463 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20464 <libm-alias-float.h>.
20465 (lroundf): Define using libm_alias_float.
20466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20467 <libm-alias-float.h>.
20468 (ceilf): Define using libm_alias_float.
20469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20470 <libm-alias-float.h>.
20471 (copysignf): Define using libm_alias_float.
20472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20473 <libm-alias-float.h>.
20474 (cosf): Define using libm_alias_float.
20475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20476 <libm-alias-float.h>.
20477 (floorf): Define using libm_alias_float.
20478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20479 <libm-alias-float.h>.
20480 (llrintf): Define using libm_alias_float.
20481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20482 <libm-alias-float.h>.
20483 (llroundf): Define using libm_alias_float.
20484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20485 <libm-alias-float.h>.
20486 (logbf): Define using libm_alias_float.
20487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20488 <libm-alias-float.h>.
20489 (modff): Define using libm_alias_float.
20490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20491 <libm-alias-float.h>.
20492 (roundf): Define using libm_alias_float.
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20494 <libm-alias-float.h>.
20495 (sinf): Define using libm_alias_float.
20496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20497 <libm-alias-float.h>.
20498 (truncf): Define using libm_alias_float.
20499 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20500 <libm-alias-float.h>.
20501 (ceilf): Define using libm_alias_float.
20502 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20503 <libm-alias-float.h>.
20504 (copysignf): Define using libm_alias_float.
20505 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20506 <libm-alias-float.h>.
20507 (floorf): Define using libm_alias_float.
20508 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20509 <libm-alias-float.h>.
20510 (llrintf): Define using libm_alias_float.
20511 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20512 <libm-alias-float.h>.
20513 (llroundf): Define using libm_alias_float.
20514 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20515 <libm-alias-float.h>.
20516 (nearbyintf): Define using libm_alias_float.
20517 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20518 <libm-alias-float.h>.
20519 (rintf): Define using libm_alias_float.
20520 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20521 <libm-alias-float.h>.
20522 (roundf): Define using libm_alias_float.
20523 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20524 <libm-alias-float.h>.
20525 (truncf): Define using libm_alias_float.
20526 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20527 <libm-alias-float.h>.
20528 (ceilf): Define using libm_alias_float.
20529 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20530 <libm-alias-float.h>.
20531 (floorf): Define using libm_alias_float.
20532 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20533 <libm-alias-float.h>.
20534 (llroundf): Define using libm_alias_float.
20535 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20536 <libm-alias-float.h>.
20537 (roundf): Define using libm_alias_float.
20538 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20539 <libm-alias-float.h>.
20540 (truncf): Define using libm_alias_float.
20541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20542 <libm-alias-float.h>.
20543 (copysignf): Define using libm_alias_float.
20544 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20545 <libm-alias-float.h>.
20546 (llrintf): Define using libm_alias_float.
20547 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20548 <libm-alias-float.h>.
20549 (llroundf): Define using libm_alias_float.
20550 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20551 <libm-alias-float.h>.
20552 (cosf): Define using libm_alias_float.
20553 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20554 <libm-alias-float.h>.
20555 (llrintf): Define using libm_alias_float.
20556 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20557 <libm-alias-float.h>.
20558 (llroundf): Define using libm_alias_float.
20559 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20560 <libm-alias-float.h>.
20561 (sinf): Define using libm_alias_float.
20562
93485524
FW
205632017-12-04 Florian Weimer <fweimer@redhat.com>
20564
20565 * support/check.h (TEST_COMPARE): Define.
20566 (support_test_compare_failure): Declare.
20567 * support/Makefile (libsupport-routines): Add
20568 support_test_compare_failure.
20569 (tests): Add tst-test_compare.
20570 * support /support_test_compare_failure.c: New file.
20571 * support/tst-test_compare.c: Likewise.
20572
96b06a19
MF
205732017-12-04 Mike FABIAN <mfabian@redhat.com>
20574
20575 [BZ #22527]
20576 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20577 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20578 available, this rewrite of the collation rules does reproduce
20579 the test file in the same order.
20580
1f6d91f3
MF
205812017-12-04 Mike FABIAN <mfabian@redhat.com>
20582
20583 [BZ #10580]
20584 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20585 digraphs in the month and day names. Using single code points for
20586 digraphs is deprecated. While there are dedicated Unicode
20587 codepoints, for the digraphs, these are included for backwards
20588 compatibility and modern texts use a sequence of Basic Latin
20589 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20590 This makes the month and day names agree exactly with CLDR now,
20591 CLDR does not use the single code points for the digraphs either.
20592
2e49fed8
CM
205932017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20594
20595 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20596
73895b49
JM
205972017-12-04 Joseph Myers <joseph@codesourcery.com>
20598
20599 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20600 of floor.
20601
4c1d801a
SP
206022017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20603
20604 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20605 Define only for libc.so.
20606
478593e6
SL
206072017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20608
20609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20610 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20611 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20612 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20614
7863a711
RS
206152017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20616
20617 [BZ #5997]
20618 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20619
800a496a
JDA
206202017-12-02 John David Anglin <danglin@gcc.gnu.org>
20621
b3f7fb12
JDA
20622 [BZ libc/19170]
20623 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20624 PREINIT_FUNCTION_WEAK is nonzero.
20625 (gmon_initializer): New function. Put procedure label for it in
20626 .init_array section.
20627 (_init): Don't call PREINIT_FUNCTION.
20628 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20629 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20630 value when map argument is null.
20631
800a496a
JDA
20632 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20633 depi instruction from PIC pc-relative sequence.
20634 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20635 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20636 (elf_machine_load_address): Likewise.
20637 (elf_machine_runtime_setup): Likewise.
20638
d17542d2
JM
206392017-12-02 Joseph Myers <joseph@codesourcery.com>
20640
20641 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20642 <libm-alias-double.h>.
20643 (logb): Define using libm_alias_double.
20644 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20645 <libm-alias-double.h>.
20646 (copysign): Define using libm_alias_double.
20647 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20648 <libm-alias-double.h>.
20649 (llrint): Define using libm_alias_double.
20650 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20651 <libm-alias-double.h>.
20652 (llround): Define using libm_alias_double.
20653 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20654 <libm-alias-double.h>.
20655 (lrint): Define using libm_alias_double.
20656 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20657 <libm-alias-double.h>.
20658 (lround): Define using libm_alias_double.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20660 Include <libm-alias-double.h>.
20661 (copysign): Define using libm_alias_double.
20662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20663 Include <libm-alias-double.h>.
20664 (llrint): Define using libm_alias_double.
20665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20666 Include <libm-alias-double.h>.
20667 (llround): Define using libm_alias_double.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20669 <libm-alias-double.h>.
20670 (logb): Define using libm_alias_double.
20671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20672 Include <libm-alias-double.h>.
20673 (lrint): Define using libm_alias_double.
20674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20675 Include <libm-alias-double.h>.
20676 (lround): Define using libm_alias_double.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20678 <libm-alias-double.h>.
20679 (llrint): Define using libm_alias_double.
20680 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20681 <libm-alias-double.h>.
20682 (llround): Define using libm_alias_double.
20683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20684 <libm-alias-double.h>.
20685 (llround): Define using libm_alias_double.
20686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20687 <libm-alias-double.h>.
20688 (lround): Define using libm_alias_double.
20689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20690 <libm-alias-double.h>.
20691 (copysign): Define using libm_alias_double.
20692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20693 <libm-alias-double.h>.
20694 (llrint): Define using libm_alias_double.
20695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20696 <libm-alias-double.h>.
20697 (llround): Define using libm_alias_double.
20698 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20699 <libm-alias-double.h>.
20700 (lrint): Define using libm_alias_double.
20701 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20702 <libm-alias-double.h>.
20703 (lround): Define using libm_alias_double.
20704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20705 <libm-alias-double.h>.
20706 (copysign): Define using libm_alias_double.
20707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20708 <libm-alias-double.h>.
20709 (llrint): Define using libm_alias_double.
20710 (lrint): Likewise.
20711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20712 <libm-alias-double.h>.
20713 (llround): Define using libm_alias_double.
20714 (lround): Likewise.
20715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20716 <libm-alias-double.h>.
20717 (logb): Define using libm_alias_double.
20718 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20719 <libm-alias-double.h>.
20720 (copysign): Define using libm_alias_double.
20721 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20722 <libm-alias-double.h>.
20723 (llrint): Define using libm_alias_double.
20724 (lrint): Likewise.
20725 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20726 <libm-alias-double.h>.
20727 (llround): Define using libm_alias_double.
20728 (lround): Likewise.
20729 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20730 <libm-alias-double.h>.
20731 (llround): Define using libm_alias_double.
20732 (lround): Likewise.
20733 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20734 <libm-alias-double.h>.
20735 (copysign): Define using libm_alias_double.
20736 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20737 <libm-alias-double.h>.
20738 (llrint): Define using libm_alias_double.
20739 (lrint): Likewise.
20740 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20741 <libm-alias-double.h>.
20742 (llround): Define using libm_alias_double.
20743 (lround): Likewise.
20744 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20745 <libm-alias-double.h>.
20746 (llrint): Define using libm_alias_double.
20747 (lrint): Likewise.
20748 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20749 <libm-alias-double.h>.
20750 (llround): Define using libm_alias_double.
20751 (lround): Likewise.
20752
ec2cf3f4
JM
207532017-12-01 Joseph Myers <joseph@codesourcery.com>
20754
0ddde474
JM
20755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20756 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20757 compat symbol based on llround.
20758
0d5ba561
JM
20759 * sysdeps/powerpc/power7/fpu/s_logb.c
20760 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20761 symbol based on __logb, not on logb.
20762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20763 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20765 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20766
51ea3b20
JM
20767 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20768 (rint): Define using libm_alias_double.
20769 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20770 <libm-alias-double.h>.
20771 (modf): Define using libm_alias_double.
20772 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20773 <libm-alias-double.h>.
20774 (ceil): Define using libm_alias_double.
20775 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20776 <libm-alias-double.h>.
20777 (floor): Define using libm_alias_double.
20778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20779 <libm-alias-double.h>.
20780 (nearbyint): Define using libm_alias_double.
20781 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20782 <libm-alias-double.h>.
20783 (rint): Define using libm_alias_double.
20784 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20785 <libm-alias-double.h>.
20786 (round): Define using libm_alias_double.
20787 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20788 <libm-alias-double.h>.
20789 (trunc): Define using libm_alias_double.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20791 <libm-alias-double.h>.
20792 (ceil): Define using libm_alias_double.
20793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20794 Include <libm-alias-double.h>.
20795 (floor): Define using libm_alias_double.
20796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20797 <libm-alias-double.h>.
20798 (modf): Define using libm_alias_double.
20799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20800 Include <libm-alias-double.h>.
20801 (round): Define using libm_alias_double.
20802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20803 Include <libm-alias-double.h>.
20804 (trunc): Define using libm_alias_double.
20805 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20806 <libm-alias-double.h>.
20807 (ceil): Define using libm_alias_double.
20808 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20809 <libm-alias-double.h>.
20810 (floor): Define using libm_alias_double.
20811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20812 <libm-alias-double.h>.
20813 (round): Define using libm_alias_double.
20814 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20815 <libm-alias-double.h>.
20816 (trunc): Define using libm_alias_double.
20817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20818 <libm-alias-double.h>.
20819 (ceil): Define using libm_alias_double.
20820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20821 <libm-alias-double.h>.
20822 (floor): Define using libm_alias_double.
20823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20824 <libm-alias-double.h>.
20825 (modf): Define using libm_alias_double.
20826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20827 <libm-alias-double.h>.
20828 (round): Define using libm_alias_double.
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20830 <libm-alias-double.h>.
20831 (trunc): Define using libm_alias_double.
20832 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20833 <libm-alias-double.h>.
20834 (ceil): Define using libm_alias_double.
20835 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20836 <libm-alias-double.h>.
20837 (floor): Define using libm_alias_double.
20838 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20839 <libm-alias-double.h>.
20840 (nearbyint): Define using libm_alias_double.
20841 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20842 <libm-alias-double.h>.
20843 (rint): Define using libm_alias_double.
20844 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20845 <libm-alias-double.h>.
20846 (round): Define using libm_alias_double.
20847 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20848 <libm-alias-double.h>.
20849 (trunc): Define using libm_alias_double.
20850 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20851 <libm-alias-double.h>.
20852 (ceil): Define using libm_alias_double.
20853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20854 <libm-alias-double.h>.
20855 (floor): Define using libm_alias_double.
20856 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20857 <libm-alias-double.h>.
20858 (round): Define using libm_alias_double.
20859 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20860 <libm-alias-double.h>.
20861 (trunc): Define using libm_alias_double.
20862
ec2cf3f4
JM
20863 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20864 (fabs): Define using libm_alias_double.
20865 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20866 (fma): Define using libm_alias_double.
20867 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20868 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20869 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20870 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20871
5b7bd975
AZ
208722017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20873
0594b13f
AZ
20874 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20875
dbdfcf3b
AZ
20876 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20877 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20878 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20879
5b7bd975
AZ
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20881 due redirect macro.
20882
ef9ecfa6
AS
208832017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20884
20885 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20886
5b4e5e78
AZ
208872017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20888
2a14526b
AZ
20889 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20890 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20891 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20892 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20893
dbeb74ef 20894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
20895 (libm-sysdep_routines): Add s_nearbyintf-generic and
20896 s_nearbyint-generic.
20897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20898 New file.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20901 Likewise.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20903 Likewise.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20905 file.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20907 Likewise.
20908
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
20910 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20912 file.
20913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20915 Likewise.
20916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20919
fa7ded96
AZ
20920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20921 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20923 file.
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20926 Likewise.
20927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20930
e240cf0e
AZ
20931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20932 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20934 file.
20935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20937 Likewise.
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20941
5b4e5e78
AZ
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20943 (sysdep_calls): New rule.
20944 (sysdep_routines): Use sysdep_calls as base.
20945 (libm-sysdep_routines): Add generic rule for symbols shared with
20946 libc. Add s_copysign-generic and s_copysign-generic objects.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20948 New file.
20949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20951 Likewise.
20952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20955
d985adae
MF
209562017-12-01 Mike FABIAN <mfabian@redhat.com>
20957
20958 [BZ #22519]
20959 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20960 the list of locales to be built for testing.
20961 * localedata/is_IS.UTF-8.in: New file.
20962 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20963 on iso14651_t1.
20964
ff84a0e0
JM
209652017-12-01 Joseph Myers <joseph@codesourcery.com>
20966
20967 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20968 <libm-alias-float.h>.
20969 (fabsf): Define using libm_alias_float.
20970
ef5d8b43
L
209712017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20972
20973 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20974
c0535adf
JM
209752017-11-30 Joseph Myers <joseph@codesourcery.com>
20976
f938b397
JM
20977 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20978 <libm-alias-float.h>.
20979 (fabsf): Define using libm_alias_float.
20980 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20981 <libm-alias-float.h>.
20982 (lrintf): Define using libm_alias_float.
20983 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20984 <libm-alias-float.h>.
20985 (rintf): Define using libm_alias_float.
20986
2251fad0
JM
20987 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20988 <libm-alias-double.h>.
20989 (fabs): Define using libm_alias_double.
20990 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20991 <libm-alias-double.h>.
20992 (lrint): Define using libm_alias_double.
20993 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20994 <libm-alias-double.h>.
20995 (rint): Define using libm_alias_double.
20996
e53df1de
JM
20997 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20998 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20999 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21000 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21001 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21002 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21003 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21004 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21005 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21006 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21007 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21008 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21009 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21010 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21011 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21012 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21013 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21014 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21015 s_atan_template.c.
21016 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21017 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21018 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21019 s_ceil_template.c.
21020 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21021 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21022 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21023 s_cos_template.c.
21024 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21025 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21026 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21027 s_expm1_template.c.
21028 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21029 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21030 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21031 s_fabs_template.c.
21032 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21033 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21034 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21035 s_floor_template.c.
21036 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21037 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21038 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21039 s_frexp_template.c.
21040 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21041 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21042 s_lrint_template.c.
21043 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21044 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21045 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21046 s_modf_template.c.
21047 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21048 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21049 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21050 s_nearbyint_template.c.
21051 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21052 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21053 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21054 s_remquo_template.c.
21055 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21056 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21057 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21058 s_rint_template.c.
21059 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21060 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21061 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21062 s_sin_template.c.
21063 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21064 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21065 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21066 s_sincos_template.c.
21067 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21068 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21069 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21070 s_tan_template.c.
21071 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21072 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21073 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21074 s_tanh_template.c.
21075 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21076 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21077 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21078 s_trunc_template.c.
21079 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21080 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21081 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21082 s_atan.c instead of including s_atan.c.
21083 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21084 s_atanf.c instead of including s_atanf.c.
21085 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21086 s_atanl.c instead of including s_atanl.c.
21087 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21088 instead of s_atan.c.
21089 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21090 instead of s_atanf.c.
21091 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21092 instead of s_atanl.c.
21093
c0535adf
JM
21094 * scripts/update-copyrights: Do not handle intl/plural.c
21095 specially.
21096
1faaf703
JB
210972017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21098
21099 [BZ #22432]
21100 * configure.ac (BISON): Require to be present.
21101 * configure: Regenerated.
21102 * intl/Makefile (generated): Add plural.c.
21103 [$(BISON) != no]: Make code unconditional.
21104 (plural.c): Change rule to $(objpfx)plural.c.
21105 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21106 * intl/plural.c: Remove.
21107 * manual/install.texi (Tools for Compilation): Document bison as
21108 required.
21109 * INSTALL: Regenerated.
21110
faec6323
JM
211112017-11-30 Joseph Myers <joseph@codesourcery.com>
21112
bd6ea9ed
JM
21113 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21114 <libm-alias-double.h>.
21115 (llrint): Define using libm_alias_double.
21116 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21117 <libm-alias-float.h>.
21118 (llrintf): Define using libm_alias_float.
21119 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21120 <libm-alias-ldouble.h>.
21121 (llrintl): Define using libm_alias_ldouble.
21122
faec6323
JM
21123 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21124 declare_mgen_alias instead of weak_alias.
21125 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21126 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21127 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21128
023cade3
AZ
211292017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21130
9e2279a0
AZ
21131 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21132 Add add_n-generic.
21133 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21134 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21135 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21136
75f37c71
AZ
21137 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21138 Add submul_1-generic.
21139 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21140 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21141 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21142
b70cbbfc 21143 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
21144 Add addmul_1-generic.
21145 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21146 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21147 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21148
21149 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
21150 Add sub_n-generic.
21151 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21152 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21153 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21154
023cade3
AZ
21155 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21156 Add mul_1-generic.
21157 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21158 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21159 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21160
fbb5fd03
MF
211612017-11-30 Mike FABIAN <mfabian@redhat.com>
21162
21163 According to CLDR, collation rules for Serbian and Bosnian
21164 should be the same as for Croatian.
21165
21166 [BZ #22534]
21167 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21168 and to the list of locales to be built for testing.
21169 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21170 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21171 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21172 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21173
5e56e937
MF
211742017-11-30 Mike FABIAN <mfabian@redhat.com>
21175
21176 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21177 to make test case pass.
21178 * localedata/hr_HR.UTF-8.in: Add more test strings.
21179
cf4341ca
MF
211802017-11-30 Mike FABIAN <mfabian@redhat.com>
21181
21182 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21183
363e4519 211842017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
21185
21186 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21187 the list of locales to built for testing.
21188 * localedata/hr_HR.UTF-8.in: New file.
21189
363e4519 211902017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
21191
21192 [BZ #10580]
21193 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21194 iso14651_t1.
21195 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21196 CLDR (except use ligatures for the digraphs, CLDR does not use
21197 the ligatures), add first_workday, some fixes in the date and time
21198 formats.
21199 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21200 for Đ and đ.
21201 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21202 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21203 Add int_p_cs_precedes and int_n_cs_precedes.
21204 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21205 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21206 LC_MONETARY now).
21207 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21208 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21209 name_miss.
21210 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21211 and lang_lib. Change postal_fmt.
21212
f33632cc
L
212132017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21214
21215 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21216 <setjmp.h>.
21217 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21218 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21219 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21220 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21221 * sysdeps/generic/setjmpP.h: New file.
21222 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21223 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21224 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21225 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21226 Add jmp_buf-ssp.sym.
21227 (tests): Add tst-saved_mask-1.
21228
34697694
AS
212292017-11-30 Arjun Shankar <arjun@redhat.com>
21230
21231 [BZ #22375]
37ac8e63 21232 CVE-2017-17426
34697694
AS
21233 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21234 instead of request2size.
21235
3e5efdbd
JM
212362017-11-30 Joseph Myers <joseph@codesourcery.com>
21237
18305fba
JM
21238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21239 (__lllrint): Remove alias.
21240 (lllrint): Likewise.
21241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21242 (__lllrintf): Likewise.
21243 (lllrintf): Likewise.
21244
3e5efdbd
JM
21245 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21246 <libm-alias-float.h>.
21247 (copysignf): Define using libm_alias_float.
21248 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21249 <libm-alias-float.h>.
21250 (fabsf): Define using libm_alias_float.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21252 Include <libm-alias-float.h>.
21253 (copysignf): Define using libm_alias_float.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21255 <libm-alias-float.h>.
21256 (fabsf): Define using libm_alias_float.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21258 <libm-alias-float.h>.
21259 (fdimf): Define using libm_alias_float.
21260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21261 <libm-alias-float.h>.
21262 (fmaf): Define using libm_alias_float.
21263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21264 <libm-alias-float.h>.
21265 (llrintf): Define using libm_alias_float.
21266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21267 Include <libm-alias-float.h>.
21268 (nearbyintf): Define using libm_alias_float.
21269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21270 <libm-alias-float.h>.
21271 (rintf): Define using libm_alias_float.
21272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21273 <libm-alias-float.h>.
21274 (llrintf): Define using libm_alias_float.
21275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21276 <libm-alias-float.h>.
21277 (lrintf): Define using libm_alias_float.
21278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21279 <libm-alias-float.h>.
21280 (nearbyintf): Define using libm_alias_float.
21281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21282 <libm-alias-float.h>.
21283 (rintf): Define using libm_alias_float.
21284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21285 <libm-alias-float.h>.
21286 (ceilf): Define using libm_alias_float.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21288 <libm-alias-float.h>.
21289 (floorf): Define using libm_alias_float.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21291 <libm-alias-float.h>.
21292 (fmaf): Define using libm_alias_float.
21293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21294 <libm-alias-float.h>.
21295 (lrintf): Define using libm_alias_float.
21296 (llrintf): Likewise.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21298 <libm-alias-float.h>.
21299 (nearbyintf): Define using libm_alias_float.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21301 <libm-alias-float.h>.
21302 (rintf): Define using libm_alias_float.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21304 <libm-alias-float.h>.
21305 (truncf): Define using libm_alias_float.
21306 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21307 <libm-alias-float.h>.
21308 (copysignf): Define using libm_alias_float.
21309 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21310 <libm-alias-float.h>.
21311 (fabsf): Define using libm_alias_float.
21312 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21313 <libm-alias-float.h>.
21314 (lrintf): Define using libm_alias_float.
21315 (llrintf): Likewise.
21316 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21317 <libm-alias-float.h>.
21318 (nearbyintf): Define using libm_alias_float.
21319 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21320 <libm-alias-float.h>.
21321 (rintf): Define using libm_alias_float.
21322
011fba7e
JM
213232017-11-29 Joseph Myers <joseph@codesourcery.com>
21324
875cd548
JM
21325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21326 <libm-alias-double.h>.
21327 (copysign): Define using libm_alias_double.
21328 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21329 <libm-alias-double.h>.
21330 (fabs): Define using libm_alias_double.
21331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21332 Include <libm-alias-double.h>.
21333 (copysign): Define using libm_alias_double.
21334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21335 <libm-alias-double.h>.
21336 (fabs): Define using libm_alias_double.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21338 <libm-alias-double.h>.
21339 (fdim): Define using libm_alias_double.
21340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21341 <libm-alias-double.h>.
21342 (fma): Define using libm_alias_double.
21343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21344 <libm-alias-double.h>.
21345 (llrint): Define using libm_alias_double.
21346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21347 Include <libm-alias-double.h>.
21348 (nearbyint): Define using libm_alias_double.
21349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21350 <libm-alias-double.h>.
21351 (rint): Define using libm_alias_double.
21352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21353 <libm-alias-double.h>.
21354 (fabs): Define using libm_alias_double.
21355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21356 <libm-alias-double.h>.
21357 (llrint): Define using libm_alias_double.
21358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21359 <libm-alias-double.h>.
21360 (nearbyint): Define using libm_alias_double.
21361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21362 <libm-alias-double.h>.
21363 (rint): Define using libm_alias_double.
21364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21365 <libm-alias-double.h>.
21366 (ceil): Define using libm_alias_double.
21367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21368 <libm-alias-double.h>.
21369 (floor): Define using libm_alias_double.
21370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21371 <libm-alias-double.h>.
21372 (fma): Define using libm_alias_double.
21373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21374 <libm-alias-double.h>.
21375 (lrint): Define using libm_alias_double.
21376 (llrint): Likewise.
21377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21378 <libm-alias-double.h>.
21379 (nearbyint): Define using libm_alias_double.
21380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21381 <libm-alias-double.h>.
21382 (rint): Define using libm_alias_double.
21383 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21384 <libm-alias-double.h>.
21385 (trunc): Define using libm_alias_double.
21386 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21387 <libm-alias-double.h>.
21388 (copysign): Define using libm_alias_double.
21389 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21390 <libm-alias-double.h>.
21391 (fabs): Define using libm_alias_double.
21392 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21393 <libm-alias-double.h>.
21394 (lrint): Define using libm_alias_double.
21395 (llrint): Likewise.
21396 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21397 <libm-alias-double.h>.
21398 (nearbyint): Define using libm_alias_double.
21399 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21400 <libm-alias-double.h>.
21401 (rint): Define using libm_alias_double.
21402
cf4ebc27
JM
21403 [BZ #22229]
21404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21405 <math_ldbl_opt.h>.
21406 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21407
0c097378
JM
21408 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21409 SPARC --disable-multi-arch glibc variants.
21410
34bb10aa
JM
21411 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21412 <libm-alias-float.h>.
21413 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21414 if [SHARED].
21415 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21416 <libm-alias-float.h>.
21417 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21418 if [SHARED].
21419 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21420 <libm-alias-float.h>.
21421 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21422 if [SHARED].
21423 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21424 <libm-alias-float.h>.
21425 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21426 if [SHARED].
21427 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21428 <libm-alias-float.h>.
21429 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21430 if [SHARED].
21431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21432 <libm-alias-float.h>.
21433 (ceilf): Define using libm_alias_float.
21434 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21435 <libm-alias-float.h>.
21436 (floorf): Define using libm_alias_float.
21437 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21438 <libm-alias-float.h>.
21439 (fmaf): Define using libm_alias_float.
21440 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21441 <libm-alias-float.h>.
21442 (nearbyintf): Define using libm_alias_float.
21443 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21444 <libm-alias-float.h>.
21445 (rintf): Define using libm_alias_float.
21446 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21447 <libm-alias-float.h>.
21448 (truncf): Define using libm_alias_float.
21449 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21450 (copysignf): Define using libm_alias_float.
21451 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21452 (cosf): Define using libm_alias_float.
21453 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21454 (fabsf): Define using libm_alias_float.
21455 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21456 (fmaxf): Define using libm_alias_float.
21457 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21458 (fminf): Define using libm_alias_float.
21459 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21460 (llrintf): Define using libm_alias_float.
21461 [!__ILP32__] (lrintf): Likewise.
21462 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21463 (sincosf): Define using libm_alias_float.
21464 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21465 (sinf): Define using libm_alias_float.
21466 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21467 (lrintf): Define using libm_alias_float.
21468
011fba7e
JM
21469 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21470 <libm-alias-double.h>.
21471 (atan): Define using libm_alias_double.
21472 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21473 <libm-alias-double.h>.
21474 (ceil): Define using libm_alias_double.
21475 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21476 <libm-alias-double.h>.
21477 (floor): Define using libm_alias_double.
21478 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21479 <libm-alias-double.h>.
21480 (fma): Define using libm_alias_double.
21481 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21482 <libm-alias-double.h>.
21483 (nearbyint): Define using libm_alias_double.
21484 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21485 <libm-alias-double.h>.
21486 (rint): Define using libm_alias_double.
21487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21488 <libm-alias-double.h>.
21489 (sin): Define using libm_alias_double.
21490 (cos): Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21492 <libm-alias-double.h>.
21493 (tan): Define using libm_alias_double.
21494 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21495 <libm-alias-double.h>.
21496 (trunc): Define using libm_alias_double.
21497 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21498 (copysign): Define using libm_alias_double.
21499 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21500 (fabs): Define using libm_alias_double.
21501 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21502 (fmax): Define using libm_alias_double.
21503 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21504 (fmin): Define using libm_alias_double.
21505 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21506 (llrint): Define using libm_alias_double.
21507 [!__ILP32__] (lrint): Likewise.
21508 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21509 (lrint): Define using libm_alias_double.
21510
1cbd7bfe
AZ
215112017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21512
21bfcc3d
AZ
21513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21514 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21515 objects.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21522
522228dd
AZ
21523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21524 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21525 objects.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21532
2a6f4fab
AZ
21533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21534 (libm-sysdep_routines): Add s_nearbyint-generic and
21535 s_nearbyintf-generic objects.
21536 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21539 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21541 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21542
712b5b83
AZ
21543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21544 Add s_finitef-generic and s_finite-generic objects.
21545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21551
c96d3335
AZ
21552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21553 Add s_isinff-generic and s_isinf-generic objects.
21554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21560
c6862a23
AZ
21561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21562 Add s_isnanf-generic and s_isnan-generic objects.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21569
1cbd7bfe
AZ
21570 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21571 macro.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21573 rule.
21574 (sysdep_routines): Use sysdep_calls as base.
21575 (libm-sysdep_routines): Add generic rule for symbols shared with
21576 libc. Add s_signbit-generic and s_signbitf-generic objects.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21583
aa1142c5
JM
215842017-11-29 Joseph Myers <joseph@codesourcery.com>
21585
21586 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21587 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21588 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21589 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21590 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21591 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21592 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21593 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21594 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21595 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21596 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21597 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21598 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21599 libm_alias_float_r.
21600 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21601 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21602 (logf): Likewise.
21603 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21604 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21605 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21606 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21607 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21608 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21609 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21610 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21611 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21612 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21613 libm_alias_float.
21614 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21615 (cosf): Likewise.
21616 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21617 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21618 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21619 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21620 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21621 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21622 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21623 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21624 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21625 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21626 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21627 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21628 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21629 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21630 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21631 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21632 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21633 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21634 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21635 libm_alias_float.
21636 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21637 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21638 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21639 * sysdeps/ia64/fpu/w_lgammaf_main.c
21640 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21641 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21642
363e4519
DL
216432017-11-28 Mike FABIAN <mfabian@redhat.com>
21644 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21645
21646 [BZ #17750]
21647 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21648 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21649 accents sorting.
21650 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21651 sorting.
21652 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21653 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21654 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21655 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21656 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21657 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21658 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21659 instead of “ifdef DIACRIT_BACKWARD”.
21660
a55430cb
AZ
216612017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21662
21663 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21664 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21665 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21666 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21667 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21668 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21675 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21676 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21677 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21678 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21679 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21680 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21682 ($(have-as-vis3) == yes): Remove conditional.
21683 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21684 Likewise.
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21686 file.
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21688 file.
21689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21690 file.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21692 file.
21693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21701
0609ec0a
JM
217022017-11-29 Joseph Myers <joseph@codesourcery.com>
21703
21704 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21705 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21706 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21707 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21708 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21709 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21710 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21711 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21712 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21713 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21714 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21715 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21716 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21717 libm_alias_double_r.
21718 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21719 (log): Likewise.
21720 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21721 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21722 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21723 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21724 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21725 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21726 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21727 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21728 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21729 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21730 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21731 libm_alias_double.
21732 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21733 (cos): Likewise.
21734 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21735 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21736 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21737 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21738 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21739 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21740 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21741 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21742 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21743 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21744 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21745 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21746 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21747 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21748 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21749 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21750 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21751 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21752 libm_alias_double.
21753 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21754 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21755 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21756 * sysdeps/ia64/fpu/w_lgamma_main.c
21757 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21758 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21759
d5bfa34a
JDA
217602017-11-28 John David Anglin <danglin@gcc.gnu.org>
21761
21762 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21763 address of $global$ into %dp register earlier. Use pc-relative
21764 instruction sequence for PIC case.
21765
bc4e8f9b
JM
217662017-11-28 Joseph Myers <joseph@codesourcery.com>
21767
e4602cba
JM
21768 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21769 (asinhf): Define using libm_alias_float.
21770 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21771 (atanf): Define using libm_alias_float.
21772 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21773 (cbrtf): Define using libm_alias_float.
21774 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21775 (ceilf): Define using libm_alias_float.
21776 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21777 (copysignf): Define using libm_alias_float.
21778 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21779 (expm1f): Define using libm_alias_float.
21780 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21781 (fabsf): Define using libm_alias_float.
21782 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21783 (floorf): Define using libm_alias_float.
21784 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21785 (fmaxf): Define using libm_alias_float.
21786 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21787 (fminf): Define using libm_alias_float.
21788 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21789 (frexpf): Define using libm_alias_float.
21790 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21791 (llrintf): Define using libm_alias_float.
21792 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21793 (logbf): Define using libm_alias_float.
21794 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21795 (lrintf): Define using libm_alias_float.
21796 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21797 (nearbyintf): Define using libm_alias_float.
21798 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21799 (remquof): Define using libm_alias_float.
21800 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21801 (rintf): Define using libm_alias_float.
21802 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21803 (truncf): Define using libm_alias_float.
21804 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21805 <libm-alias-float.h>.
21806 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21807 if [SHARED].
21808 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21809 <libm-alias-float.h>.
21810 (expf): Define using libm_alias_float, or libm_alias_float_other
21811 if [SHARED].
21812 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21813 <libm-alias-float.h>.
21814 (log2f): Define using libm_alias_float, or libm_alias_float_other
21815 if [SHARED].
21816 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21817 <libm-alias-float.h>.
21818 (logf): Define using libm_alias_float, or libm_alias_float_other
21819 if [SHARED].
21820 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21821 <libm-alias-float.h>.
21822 (powf): Define using libm_alias_float, or libm_alias_float_other
21823 if [SHARED].
21824 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21825 <libm-alias-float.h>.
21826 (cosf): Define using libm_alias_float.
21827 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21828 <libm-alias-float.h>.
21829 (sincosf): Define using libm_alias_float.
21830 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21831 <libm-alias-float.h>.
21832 (sinf): Define using libm_alias_float.
21833 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21834 (fmaxf): Define using libm_alias_float.
21835 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21836 (fminf): Define using libm_alias_float.
21837 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21838 <libm-alias-float.h>.
21839 (fmaf): Define using libm_alias_float.
21840
bc4e8f9b
JM
21841 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21842 (asinh): Define using libm_alias_double.
21843 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21844 (atan): Define using libm_alias_double.
21845 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21846 (cbrt): Define using libm_alias_double.
21847 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21848 (ceil): Define using libm_alias_double.
21849 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21850 (copysign): Define using libm_alias_double.
21851 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21852 (expm1): Define using libm_alias_double.
21853 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21854 (fabs): Define using libm_alias_double.
21855 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21856 (fdim): Define using libm_alias_double.
21857 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21858 (floor): Define using libm_alias_double.
21859 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21860 (fmax): Define using libm_alias_double.
21861 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21862 (fmin): Define using libm_alias_double.
21863 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21864 (frexp): Define using libm_alias_double.
21865 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21866 (llrint): Define using libm_alias_double.
21867 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21868 (logb): Define using libm_alias_double.
21869 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21870 (lrint): Define using libm_alias_double.
21871 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21872 (nearbyint): Define using libm_alias_double.
21873 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21874 (remquo): Define using libm_alias_double.
21875 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21876 (rint): Define using libm_alias_double.
21877 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21878 (trunc): Define using libm_alias_double.
21879 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21880 (fmax): Define using libm_alias_double.
21881 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21882 (fmin): Define using libm_alias_double.
21883 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21884 (fma): Define using libm_alias_double.
21885
8d81ce0c
L
218862017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21887
21888 [BZ #22370]
21889 * elf/dl-hwcaps.c (ROUND): Removed.
21890 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21891 and ELF_NOTE_NEXT_OFFSET.
21892 * elf/dl-load.c (ROUND): Removed.
21893 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21894 * elf/readelflib.c (ROUND): Removed.
21895 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21896 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21897 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21898 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21899
6940bd96
JM
219002017-11-28 Joseph Myers <joseph@codesourcery.com>
21901
313ba463
JM
21902 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21903 [!__fmaf] (fmaf): Define using libm_alias_float.
21904
6940bd96
JM
21905 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21906 [!__fma] (fma): Define using libm_alias_double.
21907 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21908
22c69b6a
MF
219092017-11-28 Mike FABIAN <mfabian@redhat.com>
21910
21911 [BZ #22336]
21912 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21913 and implement the collation rules for cs from CLDR on top of that.
21914 * Makefile: Add cs_CZ.UTF-8 to test-input.
21915 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21916
8d7d3ba8
SP
219172017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21918
21919 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21920
0422ed1e
VR
219212017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21922 Icarus Sparry <icarus.w.sparry@intel.com>
21923
21924 * benchtests/Makefile:Add BENCHSET to allow subsets of
21925 benchmarks to be run.
21926 * benchtests/README: Add documentation for: Running subsets of
21927 benchmarks.
21928
0595e360
VR
219292017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21930
d5090db3
VR
21931 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21932 range of tests names.
21933
0595e360
VR
21934 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21935 result from property and remove "max", min" and "mean" from
21936 required properties based on benchtests/bench-skeleton.c.
21937
b4c645c2
FW
219382017-11-28 Florian Weimer <fweimer@redhat.com>
21939
21940 [BZ #20826]
21941 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21942 due to Internet requirement.
21943 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21944 tst-getaddrinfo5.
21945 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21946
88684de7
AZ
219472017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21948
69056564
AZ
21949 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21950 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21951 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21952 (sysdep_routines): Add memset-ultra1.
21953 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21954 file.
21955 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21956 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21957 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21958 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21959 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21960 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21961 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21963
88684de7
AZ
21964 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21965 file.
21966 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21967 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21968 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21969 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21970 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21971 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21972 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21973 macro.
21974 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21975 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21976 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21977 (sysdep_routines): Add memcpy-ultra1.
21978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21979 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21980
d8124864
JM
219812017-11-28 Joseph Myers <joseph@codesourcery.com>
21982
f433d0b3
JM
21983 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21984 (cfloat_versions): Take function argument without trailing 'f'.
21985 Call libm_alias_float_other.
21986 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21987 * sysdeps/alpha/fpu/cargf.c: Likewise.
21988 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21989 * sysdeps/alpha/fpu/conjf.c: Likewise.
21990 * sysdeps/alpha/fpu/crealf.c: Likewise.
21991 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21992 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21993 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21994 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21995 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21996 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21997 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21998 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21999 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22000 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22001 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22002 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22003 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22004 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22005 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22006 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22007 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22008 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22009 (clog10f): Use libm_alias_float_other.
22010 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22011 (ceilf): Define using libm_alias_float.
22012 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22013 (copysignf): Define using libm_alias_float.
22014 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22015 (fabsf): Define using libm_alias_float.
22016 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22017 (floorf): Define using libm_alias_float.
22018 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22019 (fmaxf): Define using libm_alias_float.
22020 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22021 (fminf): Define using libm_alias_float.
22022 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22023 (lrintf): Define using libm_alias_float.
22024 (llrintf): Likewise.
22025 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22026 (lroundf): Define using libm_alias_float.
22027 (llroundf): Likewise.
22028 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22029 (rintf): Define using libm_alias_float.
22030 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22031 (truncf): Define using libm_alias_float.
22032
15ff4900
JM
22033 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22034 (ceilf): Define using libm_alias_float.
22035 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22036 (floorf): Define using libm_alias_float.
22037 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22038 (fmaf): Define using libm_alias_float.
22039 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22040 (fmaxf): Define using libm_alias_float.
22041 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22042 (fminf): Define using libm_alias_float.
22043 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22044 (llrintf): Define using libm_alias_float.
22045 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22046 (llroundf): Define using libm_alias_float.
22047 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22048 (lrintf): Define using libm_alias_float.
22049 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22050 (lroundf): Define using libm_alias_float.
22051 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22052 <libm-alias-float.h>.
22053 (nearbyintf): Define using libm_alias_float.
22054 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22055 (rintf): Define using libm_alias_float.
22056 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22057 (roundf): Define using libm_alias_float.
22058 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22059 (truncf): Define using libm_alias_float.
22060
5de60638
JM
22061 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22062 (ceil): Define using libm_alias_double.
22063 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22064 (copysign): Define using libm_alias_double.
22065 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22066 (fabs): Define using libm_alias_double.
22067 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22068 (floor): Define using libm_alias_double.
22069 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22070 (fmax): Define using libm_alias_double.
22071 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22072 (fmin): Define using libm_alias_double.
22073 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22074 (lrint): Define using libm_alias_double.
22075 (llrint): Likewise.
22076 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22077 (lround): Define using libm_alias_double.
22078 (llround): Likewise.
22079 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22080 (rint): Define using libm_alias_double.
22081 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22082 (trunc): Define using libm_alias_double.
22083
d8124864
JM
22084 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22085 (libm_alias_double_r): Add semicolon after weak_alias call.
22086
f07d2ec8
JM
220872017-11-27 Joseph Myers <joseph@codesourcery.com>
22088
22089 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22090 (ceil): Define using libm_alias_double.
22091 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22092 (floor): Define using libm_alias_double.
22093 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22094 (fma): Define using libm_alias_double.
22095 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22096 (fmax): Define using libm_alias_double.
22097 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22098 (fmin): Define using libm_alias_double.
22099 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22100 (llrint): Define using libm_alias_double.
22101 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22102 (llround): Define using libm_alias_double.
22103 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22104 (lrint): Define using libm_alias_double.
22105 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22106 (lround): Define using libm_alias_double.
22107 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22108 (nearbyint): Define using libm_alias_double.
22109 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22110 (rint): Define using libm_alias_double.
22111 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22112 (round): Define using libm_alias_double.
22113 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22114 (trunc): Define using libm_alias_double.
22115
4bab0224
FW
221162017-11-27 Florian Weimer <fweimer@redhat.com>
22117
22118 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22119 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22120 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22121 (tests): Add tst-mlock2.
22122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22123 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22124 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22125 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22126 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22127 for mlock. Document mlock2.
22128
a23aa5b7
JM
221292017-11-27 Joseph Myers <joseph@codesourcery.com>
22130
22131 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22132 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22133 Likewise.
22134 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22135 Likewise.
22136 * sysdeps/x86/Makeconfig: New file.
22137 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22138 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22139 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22140 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22141 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22142 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22143 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22144 Likewise.
22145 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22146 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22147 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22148 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22149 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22150 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22151 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22152 * manual/math.texi (Mathematics): Document support for _Float64x.
22153 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22154 * stdlib/Versions (GLIBC_2.27): Likewise.
22155 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22156 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22157 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22158 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22159 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22160 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22161 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22162 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22163 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22164 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22165 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22166 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22168 Likewise.
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22170 Likewise.
22171 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22172 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22174 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22175 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22176 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22177 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22178 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22179 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22180 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22181 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22182 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22183 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22184 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22185
c2c299fd
AS
221862017-11-27 Andreas Schwab <schwab@suse.de>
22187
22188 * elf/Makefile (dl-routines): Add dl-sort-maps.
22189 * elf/dl-sort-maps.c: New file.
22190 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22191 (_dl_sort_maps): Declare.
22192 * elf/dl-fini.c (_dl_sort_fini): Remove.
22193 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22194 * elf/dl-close.c (_dl_close_worker): Likewise.
22195 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22196 open-coding it.
22197 * elf/dl-open.c (dl_open_worker): Likewise.
22198
9d4b0117
JM
221992017-11-24 Joseph Myers <joseph@codesourcery.com>
22200
de61465c
JM
22201 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22202 using libm_alias_float128.
22203 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22204 Likewise.
22205 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22206 Likewise.
22207 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22208 (setpayloadsigf128): Likewise.
22209 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22210 Likewise.
22211 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22212 Likewise.
22213
9ae6d171
JM
22214 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22215 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22216 -mfloat128 to CFLAGS.
22217 ($(foreach
22218 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22219 Likewise.
22220 (CFLAGS-libm-test-support-float64x.c): New variable.
22221 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22222 $(f128-loader-link) to gnulib-tests.
22223
6e70d156
JM
22224 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22225 (libm_alias_float128_other_r): If
22226 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22227 alias.
22228 (libm_alias_float128_r): Add semicolon after weak_alias call.
22229 * sysdeps/generic/libm-alias-ldouble.h
22230 (libm_alias_ldouble_other_r_f128): New macro.
22231 (libm_alias_ldouble_other_r_f64x): Likewise.
22232 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22233 and libm_alias_ldouble_other_r_f64x.
22234 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22235 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22236 (libm_alias_ldouble_other_r_f128): New macro.
22237 (libm_alias_ldouble_other_r_f64x): Likewise.
22238 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22239 and libm_alias_ldouble_other_r_f64x.
22240
df2806cd
JM
22241 * stdlib/strfroml.c: Always include <stdlib.h>.
22242 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22243 undefine as macro and define as weak alias.
22244 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22245 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22246 <stdlib.h>.
22247 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22248 Define and later undefine as macro and define as weak alias.
22249
0df4fe35
JM
22250 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22251 Define and later undefine as macro. Define as weak alias if
22252 [!USE_WIDE_CHAR].
22253 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22254 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22255 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22256 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22257 Define and later undefine as macro. Define as weak alias if
22258 [!USE_WIDE_CHAR].
22259 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22260 Define and later undefine as macro. Define as weak alias if
22261 [USE_WIDE_CHAR].
22262 * sysdeps/ieee754/float128/strtof128_l.c
22263 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22264 Define and later undefine as macro. Define as weak alias if
22265 [!USE_WIDE_CHAR].
22266 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22267 Define and later undefine as macro. Define as weak alias if
22268 [USE_WIDE_CHAR].
22269 * sysdeps/ieee754/ldbl-128/strtold_l.c
22270 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22271 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22272 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22273 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22274 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22275 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22276 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22277 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22278 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22279 * sysdeps/ieee754/ldbl-96/strtold_l.c
22280 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22281 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22282 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22283 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22284
ae7207d0
JM
22285 * math/test-float64x.h: New file.
22286 * math/Makefile (type-float64x-yes): New variable.
22287 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22288
9596fc69
JM
22289 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22290 function-like macro.
22291 (min_of_type_): Likewise.
22292 (min_of_type_l): Likewise.
22293 (min_of_type_f128): Likewise.
22294 (min_of_type): Pass () as last argument of __MATH_TG.
22295
46453c3c
JM
22296 * stdlib/tst-strtod-round-skeleton.c
22297 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22298 headers.
22299
01e659e7
JM
22300 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22301 for combinations of long double with _Float64 and _Float64x.
22302
5c60afdd
JM
22303 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22304 (__DECL_SIMD_cosf32): Likewise.
22305 (__DECL_SIMD_cosf64): Likewise.
22306 (__DECL_SIMD_cosf32x): Likewise.
22307 (__DECL_SIMD_cosf64x): Likewise.
22308 (__DECL_SIMD_cosf128x): Likewise.
22309 (__DECL_SIMD_sinf16): Likewise.
22310 (__DECL_SIMD_sinf32): Likewise.
22311 (__DECL_SIMD_sinf64): Likewise.
22312 (__DECL_SIMD_sinf32x): Likewise.
22313 (__DECL_SIMD_sinf64x): Likewise.
22314 (__DECL_SIMD_sinf128x): Likewise.
22315 (__DECL_SIMD_sincosf16): Likewise.
22316 (__DECL_SIMD_sincosf32): Likewise.
22317 (__DECL_SIMD_sincosf64): Likewise.
22318 (__DECL_SIMD_sincosf32x): Likewise.
22319 (__DECL_SIMD_sincosf64x): Likewise.
22320 (__DECL_SIMD_sincosf128x): Likewise.
22321 (__DECL_SIMD_logf16): Likewise.
22322 (__DECL_SIMD_logf32): Likewise.
22323 (__DECL_SIMD_logf64): Likewise.
22324 (__DECL_SIMD_logf32x): Likewise.
22325 (__DECL_SIMD_logf64x): Likewise.
22326 (__DECL_SIMD_logf128x): Likewise.
22327 (__DECL_SIMD_expf16): Likewise.
22328 (__DECL_SIMD_expf32): Likewise.
22329 (__DECL_SIMD_expf64): Likewise.
22330 (__DECL_SIMD_expf32x): Likewise.
22331 (__DECL_SIMD_expf64x): Likewise.
22332 (__DECL_SIMD_expf128x): Likewise.
22333 (__DECL_SIMD_powf16): Likewise.
22334 (__DECL_SIMD_powf32): Likewise.
22335 (__DECL_SIMD_powf64): Likewise.
22336 (__DECL_SIMD_powf32x): Likewise.
22337 (__DECL_SIMD_powf64x): Likewise.
22338 (__DECL_SIMD_powf128x): Likewise.
22339
9d4b0117
JM
22340 * stdlib/Versions (libc): Move entries for wcstof128 and
22341 wcstof128_l to ....
22342 * wcsmbs/Versions (libc): ... here.
22343 Include <float128-abi.h>.
22344
7911dd47
FW
223452017-11-24 Florian Weimer <fweimer@redhat.com>
22346
22347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22348 bits/mman-shared.h.
22349 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22350 <bits/mman-shared.h>.
22351 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22352 to ...
22353 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22354 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22355 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22356 <bits/mman-shared.h>.
22357
c45d78aa
AZ
223582017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22359
22360 [BZ #22457]
22361 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22362 posix_memalign/free.
22363 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22364
3ffc4cc1
MF
223652017-11-22 Mike FABIAN <mfabian@redhat.com>
22366
22367 [BZ #22469]
22368 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22369 and implement the collation rules for pl from CLDR on top of that.
22370 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22371 of locales to be built for testing.
22372 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22373
3a327316
JM
223742017-11-23 Joseph Myers <joseph@codesourcery.com>
22375
22376 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22377 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22378 libm_alias_ldouble_other.
22379 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22380 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22381 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22382 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22383 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22384 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22385 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22386 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22387 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22388 libm_alias_ldouble_r.
22389 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22390 libm_alias_ldouble_other.
22391 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22392 (log10l): Likewise.
22393 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22394 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22395 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22396 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22397 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22398 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22399 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22400 (atan2l): Likewise.
22401 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22402 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22403 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22404 libm_alias_ldouble.
22405 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22406 (cosl): Likewise.
22407 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22408 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22409 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22410 (expl): Likewise.
22411 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22412 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22413 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22414 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22415 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22416 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22417 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22418 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22419 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22420 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22421 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22422 libm_alias_ldouble.
22423 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22424 libm_alias_ldouble_other.
22425 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22426 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22427 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22428 libm_alias_ldouble.
22429 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22430 libm_alias_ldouble_other.
22431 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22432 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22433 * sysdeps/ia64/fpu/w_lgammal_main.c
22434 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22435 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22436
0a947e06
FW
224372017-11-23 Florian Weimer <fweimer@redhat.com>
22438
22439 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22440 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22441 alike. Remove freeres marker.
22442 * malloc/arena.c (arena_thread_freeres): Call
22443 tcache_thread_shutdown.
22444
67f36c79
FW
224452017-11-23 Florian Weimer <fweimer@redhat.com>
22446
22447 [BZ #22459]
22448 Export nscd hash function as __nss_hash.
22449 * include/nss.h (__nss_hash): Declare.
22450 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22451 symbol.
22452 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22453 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22454 of __nscd_hash.
22455 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22456 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22457 * nss/Makefiles (routines): Add nss_hash.
22458 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22459 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22460 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22461 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22462
cccb6d4e
FW
224632017-11-23 Florian Weimer <fweimer@redhat.com>
22464
22465 [BZ #22478]
22466 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22467 Return error code, not -1.
22468 * signal/tst-sigwait-eintr.c: New file.
22469 * signal/Makefile (tests): Add tst-sigwait-eintr.
22470
59d2cbb1
FW
224712017-11-23 Florian Weimer <fweimer@redhat.com>
22472
22473 Linux: Add memfd_create system call wrapper
22474 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22475 tst-memfd_create.
22476 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22477 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22478 [__USE_GNU] (memfd_create): Declare.
22479 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22480 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22481 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22482 * sysdeps/unix/sysv/linux/**.abilist: Update.
22483 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22484
a90d1ac2
JM
224852017-11-22 Joseph Myers <joseph@codesourcery.com>
22486
0a9d1d62
JM
22487 * localedata/gen-locale.sh: Fix typo in variable name.
22488
754034c4
JM
22489 * resolv/res_debug.c (p_secstodate): Condition definition on
22490 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22491 directly as __p_secstodate, and as a compat symbol. Do not use
22492 libresolv_hidden_def.
22493 * resolv/resolv.h (p_secstodate): Remove macro and function
22494 declaration.
22495 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22496 using p_secstodate.
22497 * include/resolv.h (__p_secstodate): Do not use
22498 libresolv_hidden_proto.
22499 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22500 (tests-internal): ... here.
22501 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22502 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22503 and declare and use __p_secstodate and use compat_symbol_reference
22504 in that case.
22505 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22506 implementation returning 77.
22507
f120cda6
JM
22508 [BZ #22463]
22509 * resolv/res_debug.c: Include <libc-diag.h>.
22510 (p_secstodate): Assert time_t at least as wide as u_long. On
22511 overflow, use integer seconds since the epoch as output, or use
22512 "<overflow>" as output and set errno to EOVERFLOW if integer
22513 seconds since the epoch would be 14 or more characters.
22514 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22515 for sprintf call.
22516 * resolv/tst-p_secstodate.c: New file.
22517 * resolv/Makefile (tests): Add tst-p_secstodate.
22518 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22519
a90d1ac2
JM
22520 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22521 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22522 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22523
0285e6bd
PE
225242017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22525
22526 * posix/regcomp.c (init_word_char): Add comments.
22527
4bae6150
JM
225282017-11-22 Joseph Myers <joseph@codesourcery.com>
22529
22530 [BZ #22447]
22531 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22532 strlen to compute length of ut_user and set trailing NUL byte of
22533 result explicitly.
22534
4b7af5fc
MF
225352017-11-21 Mike FABIAN <mfabian@redhat.com>
22536
22537 [BZ #15537]
22538 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22539 using “copy "iso14651_t1"” and then implementing the
22540 collation rules for lv from CLDR on top of that.
22541 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22542 of locales to be built for testing.
22543 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22544 sorting.
22545
922bb78c
JM
225462017-11-21 Joseph Myers <joseph@codesourcery.com>
22547
22548 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22549 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22550 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22551 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22552 [__USE_MISC] (MADV_HWPOISON): New macro.
22553 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22554
a3aaa598
AZ
225552017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22556
22557 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22558 -Wmissing-braces on GCC 4.9.
22559
8beba15d
SL
225602017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22561
22562 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22563 * sysdeps/s390/s390-32/start.S (_start): Likewise
22564 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22565 (thread_start): Likewise.
22566 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22567 (thread_start): Likewise.
22568 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22569 (__makecontext_ret): Likewise.
22570 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22571 (__makecontext_ret): Likewise.
22572
80eb52e3
SL
225732017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22574
22575 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22576 __wcschrnul): Remove attribute_hidden.
22577
567d8c1f
PE
225782017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22579
22580 regex: don't assume uint64_t or uint32_t
22581 This avoids -Werror=overflow errors for 32-bit systems in
22582 the 64-bit case. Problem reported by Joseph Myers in:
22583 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22584 Also, when this code is used in Gnulib it ports to platforms
22585 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22586 them, and on some 32-bit compilers there is no uint64_t.
22587 Problem reported by Gianluigi Tiesi in:
22588 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22589 * posix/regcomp.c (init_word_char): Don't assume that the types
22590 uint64_t and uint32_t exist. Adapted from Gnulib patch
22591 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22592 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22593
4d7632ff
SP
225942017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22595
5a67c4fa
SP
22596 * sysdeps/aarch64/memset-reg.h: New file.
22597 * sysdeps/aarch64/memset.S: Use it.
22598 (__memset): Rename to MEMSET macro.
22599 [ZVA_MACRO]: Use zva_macro.
22600 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22601 Add memset_generic and memset_falkor.
22602 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22603 (__libc_ifunc_impl_list): Add memset ifuncs.
22604 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22605 local variable zva_size.
22606 * sysdeps/aarch64/multiarch/memset.c: New file.
22607 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22608 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22609 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22610 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22611 (DCZID_DZP_MASK): New macro.
22612 (DCZID_BS_MASK): Likewise.
22613 (init_cpu_features): Read and set zva_size.
22614 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22615 (struct cpu_features): New member zva_size.
22616
eb332f9f
SP
22617 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22618 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22619 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22620
4d7632ff
SP
22621 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22622 backwards. Fix timing computation.
22623 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22624 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22625 on memset by N at a time. Fix timing computation.
22626
a465b89e
FW
226272017-11-20 Florian Weimer <fweimer@redhat.com>
22628
22629 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22630 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22631
0f74bbf5
FW
226322017-11-19 Florian Weimer <fweimer@redhat.com>
22633
22634 manual: Document mprotect
22635 * manual/memory.texi (Memory Protection): New section.
22636 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22637 documentation of PROT_* flags and reference the Memory Protection
22638 section instead.
22639
f6e965ee
FW
226402017-11-19 Florian Weimer <fweimer@redhat.com>
22641
22642 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22643 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22644 (Scatter-Gather): ... to here. Remove misleading comment.
22645
363e4519 226462017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22647
5f9d1949
CB
22648 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22649 style.
22650
ea69a5c8
CB
22651 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22652 when /proc/<pid>/setgroups does not exist.
22653
8db7f48c
FW
226542017-11-18 Florian Weimer <fweimer@redhat.com>
22655
22656 * sysdeps/unix/sysv/linux/tst-ttyname.c
22657 (become_root_in_mount_ns): Remove.
22658 (do_in_chroot_1): Call support_enter_mount_namespace.
22659 (do_in_chroot_2): Likewise.
22660 (do_test): Call support_become_root early.
22661
273a0c49
FW
226622017-11-18 Florian Weimer <fweimer@redhat.com>
22663
22664 * support/namespace.h (support_enter_mount_namespace): Declare.
22665 * support/support_enter_mount_namespace.c: New file.
22666 * support/Makefile (libsupport-routines): Add
22667 support_enter_mount_namespace.
22668
8adfb0ee
FW
226692017-11-18 Florian Weimer <fweimer@redhat.com>
22670
22671 * support/temp_file.c (support_create_temp_directory): Use
22672 test_dir and do not rely on the presence of the XXXXXX suffix.
22673 * support/temp_file.h (support_create_temp_directory): Update
22674 comment.
22675 * support/tst-xreadlink.c (do_test): Adjust.
22676 * support/support_chroot.c (support_chroot_create): Likewise.
22677
df0c40ee
TMQMF
226782017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22679
22680 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22681 macro.
22682 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22683 htm-no-suspend.
22684
015c6dc2
JM
226852017-11-17 Joseph Myers <joseph@codesourcery.com>
22686
f58e5f48
JM
22687 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22688 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22689 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22690 (ceill): Define using libm_alias_ldouble.
22691 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22692 <libm-alias-ldouble.h>.
22693 (copysignl): Define using libm_alias_ldouble.
22694 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22695 (fabsl): Define using libm_alias_ldouble.
22696 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22697 (floorl): Define using libm_alias_ldouble.
22698 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22699 (fmaxl): Define using libm_alias_ldouble.
22700 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22701 (fminl): Define using libm_alias_ldouble.
22702 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22703 (llrintl): Define using libm_alias_ldouble.
22704 (lrintl): Likewise.
22705 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22706 <libm-alias-ldouble.h>.
22707 (nearbyintl): Define using libm_alias_ldouble.
22708 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22709 (truncl): Define using libm_alias_ldouble.
22710 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22711 <libm-alias-ldouble.h>.
22712 (lrintl): Define using libm_alias_ldouble.
22713
2ce30701
JM
22714 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22715 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22716 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22717 (asinhl): Define using libm_alias_ldouble.
22718 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22719 (atanl): Define using libm_alias_ldouble.
22720 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22721 (cbrtl): Define using libm_alias_ldouble.
22722 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22723 (ceill): Define using libm_alias_ldouble.
22724 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22725 (copysignl): Define using libm_alias_ldouble.
22726 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22727 (fabsl): Define using libm_alias_ldouble.
22728 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22729 (floorl): Define using libm_alias_ldouble.
22730 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22731 (fmaxl): Define using libm_alias_ldouble.
22732 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22733 (fminl): Define using libm_alias_ldouble.
22734 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22735 (frexpl): Define using libm_alias_ldouble.
22736 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22737 (llrintl): Define using libm_alias_ldouble.
22738 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22739 (logbl): Define using libm_alias_ldouble.
22740 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22741 (lrintl): Define using libm_alias_ldouble.
22742 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22743 (nearbyintl): Define using libm_alias_ldouble.
22744 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22745 (nextafterl): Define using libm_alias_ldouble.
22746 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22747 (remquol): Define using libm_alias_ldouble.
22748 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22749 (rintl): Define using libm_alias_ldouble.
22750 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22751 (truncl): Define using libm_alias_ldouble.
22752 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22753 (fmaxl): Define using libm_alias_ldouble.
22754 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22755 (fminl): Define using libm_alias_ldouble.
22756
015c6dc2
JM
22757 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22758 to C syntax instead of availability and properties of types.
22759 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22760 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22761 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22762 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22763 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22764 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22765
ce003e5d
FW
227662017-11-17 Florian Weimer <fweimer@redhat.com>
22767
22768 support_become_root: Enable file creation in namespaces.
22769 * support/support_become_root.c (setup_mapping): New function.
22770 (support_become_root): Call it.
22771
e7df6c5c
JM
227722017-11-17 Joseph Myers <joseph@codesourcery.com>
22773
22774 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22775 macro.
22776
58a813bf
AZ
227772017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22778
22779 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22780 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22781
f97773d1
JM
227822017-11-16 Joseph Myers <joseph@codesourcery.com>
22783
6a6aa1f3
JM
22784 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22785
f97773d1
JM
22786 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22787 version to 4.14.
22788
a306c790
SP
227892017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22790
7b0fb870
SP
22791 * INSTALL: Fix botched up regeneration.
22792
22793 * NEWS: Update sourceare link to https.
a306c790
SP
22794 * configure.ac: Likewise.
22795 * crypt/md5test-giant.c: Likewise.
22796 * dlfcn/bug-atexit1.c: Likewise.
22797 * dlfcn/bug-atexit2.c: Likewise.
22798 * localedata/README: Likewise.
22799 * malloc/tst-mallocfork.c: Likewise.
22800 * manual/install.texi: Likewise.
22801 * nptl/tst-pthread-getattr.c: Likewise.
22802 * stdio-common/tst-fgets.c: Likewise.
22803 * stdio-common/tst-fwrite.c: Likewise.
22804 * sunrpc/Makefile: Likewise.
22805 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22806 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
22807 * configure: Regenerate.
22808 * INSTALL: Regenerate.
a306c790 22809
7532837d
MS
228102017-11-15 Martin Sebor <msebor@redhat.com>
22811
22812 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22813 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22814 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22815
495a56fd
LS
228162017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22817
d9611e30
LS
22818 [BZ #22145]
22819 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22820 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22821
a09dfc19
LS
22822 [BZ #22145]
22823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22824 Defer is_pty check until end of the function.
22825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22826
2fbce9c2
LS
22827 [BZ #22145]
22828 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22829 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22830 (ttyname): Likewise.
22831 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22832 (__ttyname_r): Likewise.
22833
d10d6cab
LS
22834 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22835 int to bool.
22836
9b5a8750
LS
22837 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22838
495a56fd
LS
22839 * manual/terminal.texi (Is It a Terminal):
22840 Mention ENODEV for ttyname and ttyname_r.
22841
fa680dc6
JM
228422017-11-15 Joseph Myers <joseph@codesourcery.com>
22843
78cde19f
JM
22844 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22845 constant and macro.
22846
fa680dc6
JM
22847 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22848 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22849 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22850 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22851 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22852 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22853
ad4f43a2
AZ
228542017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22855
1ba1d8a4
AZ
22856 * signal/sigrelse.c (sigrelse): Optimize implementation.
22857
ad4f43a2
AZ
22858 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22859 (__sigpause): Rely on __sigsuspend to implement single thread
22860 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22861
d0212d42
JM
228622017-11-15 Joseph Myers <joseph@codesourcery.com>
22863
22864 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22865 kernel version to 4.14.
22866
2180fee1
SE
228672017-11-15 Steve Ellcey <sellcey@cavium.com>
22868
22869 [BZ #22442]
22870 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22871 Check if ifname is too long.
22872
cad7ca39
LS
228732017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22874
22875 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22876
58c9f659
MF
228772017-11-15 Mike FABIAN <mfabian@redhat.com>
22878
22879 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22880 was accidentally lost.
22881
0fa87c01
MF
228822017-11-15 Mike FABIAN <mfabian@redhat.com>
22883
22884 * localedata/locales/az_IR: Add standard copyright header.
22885
34eb4157
FW
228862017-11-15 Florian Weimer <fweimer@redhat.com>
22887
22888 [BZ #22439]
22889 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22890 not just the top one. Output a new "subheaps" statistic.
22891
7a9368a1
FW
228922017-11-15 Florian Weimer <fweimer@redhat.com>
22893
22894 [BZ #22408]
22895 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22896 under the per-arena lock.
22897 * malloc/Makefile (tests): Add tst-malloc_info.
22898 (tst-malloc_info): Link with libpthread.
22899 * malloc/tst-malloc_info.c: New file.
22900
be3a79a3
JM
229012017-11-15 Joseph Myers <joseph@codesourcery.com>
22902
22903 [BZ #21660]
22904 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22905 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22906 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22907 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22908 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22909 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22910 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22911 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22913 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22914 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22915 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22916 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22917 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22918 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22919 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22920 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22921 (__floating_type): Likewise.
22922 (__real_integer_type): Likewise.
22923 (__complex_integer_type): Likewise.
22924 (__expr_is_real): Likewise.
22925 (__tgmath_real_type_sub): Likewise.
22926 (__tgmath_real_type): Likewise.
22927 (__tgmath_complex_type_sub): Likewise.
22928 (__tgmath_complex_type): Likewise.
22929 (__TGMATH_F128): Likewise.
22930 (__TGMATH_CF128): Likewise.
22931 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22932 new macros.
22933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22934 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22935 Likewise.
22936 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22937 Likewise.
22938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22939 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22940 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22941 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22942 Likewise.
22943 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22944 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22945 Likewise.
22946 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22947 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22948 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22949 Likewise.
22950 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22951 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22952 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22953 (cimag): Likewise.
22954 (creal): Likewise.
22955
ec72135e
JM
229562017-11-14 Joseph Myers <joseph@codesourcery.com>
22957
2e64ec9c
JM
22958 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22959 for stpncpy calls for GCC 8.
22960 (test_strncat): Disable -Wstringop-truncation warning for strncat
22961 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22962 strncat call for GCC 7.
22963 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22964 calls for GCC 8.
22965 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22966 trailing NUL.
22967
ec72135e
JM
22968 * string/bug-strncat1.c: Include <libc-diag.h>.
22969 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22970
363e4519 229712017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
22972
22973 [BZ #22387]
22974 * localedata/locales/aa_DJ: Improved readibility by replacing
22975 <Uxxxx> sequences in the ASCII printable range by their ASCII
22976 character equivalents.
22977 * localedata/locales/aa_ER: Likewise.
22978 * localedata/locales/aa_ER@saaho: Likewise.
22979 * localedata/locales/aa_ET: Likewise.
22980 * localedata/locales/af_ZA: Likewise.
22981 * localedata/locales/agr_PE: Likewise.
22982 * localedata/locales/ak_GH: Likewise.
22983 * localedata/locales/am_ET: Likewise.
22984 * localedata/locales/anp_IN: Likewise.
22985 * localedata/locales/ar_AE: Likewise.
22986 * localedata/locales/ar_BH: Likewise.
22987 * localedata/locales/ar_DZ: Likewise.
22988 * localedata/locales/ar_EG: Likewise.
22989 * localedata/locales/ar_IN: Likewise.
22990 * localedata/locales/ar_IQ: Likewise.
22991 * localedata/locales/ar_JO: Likewise.
22992 * localedata/locales/ar_KW: Likewise.
22993 * localedata/locales/ar_LB: Likewise.
22994 * localedata/locales/ar_LY: Likewise.
22995 * localedata/locales/ar_MA: Likewise.
22996 * localedata/locales/ar_OM: Likewise.
22997 * localedata/locales/ar_QA: Likewise.
22998 * localedata/locales/ar_SA: Likewise.
22999 * localedata/locales/ar_SD: Likewise.
23000 * localedata/locales/ar_SS: Likewise.
23001 * localedata/locales/ar_SY: Likewise.
23002 * localedata/locales/ar_TN: Likewise.
23003 * localedata/locales/ar_YE: Likewise.
23004 * localedata/locales/as_IN: Likewise.
23005 * localedata/locales/ast_ES: Likewise.
23006 * localedata/locales/ayc_PE: Likewise.
23007 * localedata/locales/az_AZ: Likewise.
23008 * localedata/locales/az_IR: Likewise.
23009 * localedata/locales/be_BY: Likewise.
23010 * localedata/locales/be_BY@latin: Likewise.
23011 * localedata/locales/bem_ZM: Likewise.
23012 * localedata/locales/ber_DZ: Likewise.
23013 * localedata/locales/ber_MA: Likewise.
23014 * localedata/locales/bg_BG: Likewise.
23015 * localedata/locales/bhb_IN: Likewise.
23016 * localedata/locales/bho_IN: Likewise.
23017 * localedata/locales/bi_VU: Likewise.
23018 * localedata/locales/bn_BD: Likewise.
23019 * localedata/locales/bn_IN: Likewise.
23020 * localedata/locales/bo_CN: Likewise.
23021 * localedata/locales/bo_IN: Likewise.
23022 * localedata/locales/br_FR: Likewise.
23023 * localedata/locales/brx_IN: Likewise.
23024 * localedata/locales/bs_BA: Likewise.
23025 * localedata/locales/byn_ER: Likewise.
23026 * localedata/locales/ca_AD: Likewise.
23027 * localedata/locales/ca_ES: Likewise.
23028 * localedata/locales/ca_FR: Likewise.
23029 * localedata/locales/ca_IT: Likewise.
23030 * localedata/locales/ce_RU: Likewise.
23031 * localedata/locales/chr_US: Likewise.
23032 * localedata/locales/cmn_TW: Likewise.
23033 * localedata/locales/crh_UA: Likewise.
23034 * localedata/locales/cs_CZ: Likewise.
23035 * localedata/locales/csb_PL: Likewise.
23036 * localedata/locales/cv_RU: Likewise.
23037 * localedata/locales/cy_GB: Likewise.
23038 * localedata/locales/da_DK: Likewise.
23039 * localedata/locales/de_AT: Likewise.
23040 * localedata/locales/de_BE: Likewise.
23041 * localedata/locales/de_CH: Likewise.
23042 * localedata/locales/de_DE: Likewise.
23043 * localedata/locales/de_IT: Likewise.
23044 * localedata/locales/de_LI: Likewise.
23045 * localedata/locales/de_LU: Likewise.
23046 * localedata/locales/doi_IN: Likewise.
23047 * localedata/locales/dv_MV: Likewise.
23048 * localedata/locales/dz_BT: Likewise.
23049 * localedata/locales/el_CY: Likewise.
23050 * localedata/locales/el_GR: Likewise.
23051 * localedata/locales/en_AG: Likewise.
23052 * localedata/locales/en_AU: Likewise.
23053 * localedata/locales/en_BW: Likewise.
23054 * localedata/locales/en_CA: Likewise.
23055 * localedata/locales/en_DK: Likewise.
23056 * localedata/locales/en_GB: Likewise.
23057 * localedata/locales/en_HK: Likewise.
23058 * localedata/locales/en_IE: Likewise.
23059 * localedata/locales/en_IL: Likewise.
23060 * localedata/locales/en_IN: Likewise.
23061 * localedata/locales/en_NG: Likewise.
23062 * localedata/locales/en_NZ: Likewise.
23063 * localedata/locales/en_PH: Likewise.
23064 * localedata/locales/en_SG: Likewise.
23065 * localedata/locales/en_US: Likewise.
23066 * localedata/locales/en_ZA: Likewise.
23067 * localedata/locales/en_ZM: Likewise.
23068 * localedata/locales/en_ZW: Likewise.
23069 * localedata/locales/eo: Likewise.
23070 * localedata/locales/es_AR: Likewise.
23071 * localedata/locales/es_BO: Likewise.
23072 * localedata/locales/es_CL: Likewise.
23073 * localedata/locales/es_CO: Likewise.
23074 * localedata/locales/es_CR: Likewise.
23075 * localedata/locales/es_CU: Likewise.
23076 * localedata/locales/es_DO: Likewise.
23077 * localedata/locales/es_EC: Likewise.
23078 * localedata/locales/es_ES: Likewise.
23079 * localedata/locales/es_GT: Likewise.
23080 * localedata/locales/es_HN: Likewise.
23081 * localedata/locales/es_MX: Likewise.
23082 * localedata/locales/es_NI: Likewise.
23083 * localedata/locales/es_PA: Likewise.
23084 * localedata/locales/es_PE: Likewise.
23085 * localedata/locales/es_PR: Likewise.
23086 * localedata/locales/es_PY: Likewise.
23087 * localedata/locales/es_SV: Likewise.
23088 * localedata/locales/es_US: Likewise.
23089 * localedata/locales/es_UY: Likewise.
23090 * localedata/locales/es_VE: Likewise.
23091 * localedata/locales/et_EE: Likewise.
23092 * localedata/locales/eu_ES: Likewise.
23093 * localedata/locales/eu_ES@euro: Likewise.
23094 * localedata/locales/fa_IR: Likewise.
23095 * localedata/locales/ff_SN: Likewise.
23096 * localedata/locales/fi_FI: Likewise.
23097 * localedata/locales/fil_PH: Likewise.
23098 * localedata/locales/fo_FO: Likewise.
23099 * localedata/locales/fr_BE: Likewise.
23100 * localedata/locales/fr_CA: Likewise.
23101 * localedata/locales/fr_CH: Likewise.
23102 * localedata/locales/fr_FR: Likewise.
23103 * localedata/locales/fr_LU: Likewise.
23104 * localedata/locales/fur_IT: Likewise.
23105 * localedata/locales/fy_DE: Likewise.
23106 * localedata/locales/fy_NL: Likewise.
23107 * localedata/locales/ga_IE: Likewise.
23108 * localedata/locales/gd_GB: Likewise.
23109 * localedata/locales/gez_ER: Likewise.
23110 * localedata/locales/gez_ET: Likewise.
23111 * localedata/locales/gl_ES: Likewise.
23112 * localedata/locales/gu_IN: Likewise.
23113 * localedata/locales/gv_GB: Likewise.
23114 * localedata/locales/ha_NG: Likewise.
23115 * localedata/locales/hak_TW: Likewise.
23116 * localedata/locales/he_IL: Likewise.
23117 * localedata/locales/hi_IN: Likewise.
23118 * localedata/locales/hif_FJ: Likewise.
23119 * localedata/locales/hne_IN: Likewise.
23120 * localedata/locales/hr_HR: Likewise.
23121 * localedata/locales/hsb_DE: Likewise.
23122 * localedata/locales/ht_HT: Likewise.
23123 * localedata/locales/hu_HU: Likewise.
23124 * localedata/locales/hy_AM: Likewise.
23125 * localedata/locales/i18n: Likewise.
23126 * localedata/locales/ia_FR: Likewise.
23127 * localedata/locales/id_ID: Likewise.
23128 * localedata/locales/ig_NG: Likewise.
23129 * localedata/locales/ik_CA: Likewise.
23130 * localedata/locales/is_IS: Likewise.
23131 * localedata/locales/it_CH: Likewise.
23132 * localedata/locales/it_IT: Likewise.
23133 * localedata/locales/iu_CA: Likewise.
23134 * localedata/locales/ja_JP: Likewise.
23135 * localedata/locales/ka_GE: Likewise.
23136 * localedata/locales/kk_KZ: Likewise.
23137 * localedata/locales/kl_GL: Likewise.
23138 * localedata/locales/kn_IN: Likewise.
23139 * localedata/locales/ko_KR: Likewise.
23140 * localedata/locales/kok_IN: Likewise.
23141 * localedata/locales/ks_IN: Likewise.
23142 * localedata/locales/ks_IN@devanagari: Likewise.
23143 * localedata/locales/ku_TR: Likewise.
23144 * localedata/locales/kw_GB: Likewise.
23145 * localedata/locales/ky_KG: Likewise.
23146 * localedata/locales/lb_LU: Likewise.
23147 * localedata/locales/lg_UG: Likewise.
23148 * localedata/locales/li_BE: Likewise.
23149 * localedata/locales/li_NL: Likewise.
23150 * localedata/locales/lij_IT: Likewise.
23151 * localedata/locales/ln_CD: Likewise.
23152 * localedata/locales/lo_LA: Likewise.
23153 * localedata/locales/lt_LT: Likewise.
23154 * localedata/locales/lv_LV: Likewise.
23155 * localedata/locales/lzh_TW: Likewise.
23156 * localedata/locales/mag_IN: Likewise.
23157 * localedata/locales/mai_IN: Likewise.
23158 * localedata/locales/mg_MG: Likewise.
23159 * localedata/locales/mhr_RU: Likewise.
23160 * localedata/locales/mi_NZ: Likewise.
23161 * localedata/locales/mk_MK: Likewise.
23162 * localedata/locales/ml_IN: Likewise.
23163 * localedata/locales/mn_MN: Likewise.
23164 * localedata/locales/mni_IN: Likewise.
23165 * localedata/locales/mr_IN: Likewise.
23166 * localedata/locales/ms_MY: Likewise.
23167 * localedata/locales/mt_MT: Likewise.
23168 * localedata/locales/my_MM: Likewise.
23169 * localedata/locales/nan_TW: Likewise.
23170 * localedata/locales/nan_TW@latin: Likewise.
23171 * localedata/locales/nb_NO: Likewise.
23172 * localedata/locales/nds_DE: Likewise.
23173 * localedata/locales/nds_NL: Likewise.
23174 * localedata/locales/ne_NP: Likewise.
23175 * localedata/locales/nhn_MX: Likewise.
23176 * localedata/locales/niu_NU: Likewise.
23177 * localedata/locales/niu_NZ: Likewise.
23178 * localedata/locales/nl_AW: Likewise.
23179 * localedata/locales/nl_BE: Likewise.
23180 * localedata/locales/nl_NL: Likewise.
23181 * localedata/locales/nn_NO: Likewise.
23182 * localedata/locales/nr_ZA: Likewise.
23183 * localedata/locales/nso_ZA: Likewise.
23184 * localedata/locales/oc_FR: Likewise.
23185 * localedata/locales/om_ET: Likewise.
23186 * localedata/locales/om_KE: Likewise.
23187 * localedata/locales/or_IN: Likewise.
23188 * localedata/locales/os_RU: Likewise.
23189 * localedata/locales/pa_IN: Likewise.
23190 * localedata/locales/pa_PK: Likewise.
23191 * localedata/locales/pap_AW: Likewise.
23192 * localedata/locales/pap_CW: Likewise.
23193 * localedata/locales/pl_PL: Likewise.
23194 * localedata/locales/ps_AF: Likewise.
23195 * localedata/locales/pt_BR: Likewise.
23196 * localedata/locales/pt_PT: Likewise.
23197 * localedata/locales/quz_PE: Likewise.
23198 * localedata/locales/raj_IN: Likewise.
23199 * localedata/locales/ro_RO: Likewise.
23200 * localedata/locales/ru_RU: Likewise.
23201 * localedata/locales/ru_UA: Likewise.
23202 * localedata/locales/rw_RW: Likewise.
23203 * localedata/locales/sa_IN: Likewise.
23204 * localedata/locales/sat_IN: Likewise.
23205 * localedata/locales/sc_IT: Likewise.
23206 * localedata/locales/sd_IN: Likewise.
23207 * localedata/locales/sd_IN@devanagari: Likewise.
23208 * localedata/locales/se_NO: Likewise.
23209 * localedata/locales/sgs_LT: Likewise.
23210 * localedata/locales/shs_CA: Likewise.
23211 * localedata/locales/si_LK: Likewise.
23212 * localedata/locales/sid_ET: Likewise.
23213 * localedata/locales/sk_SK: Likewise.
23214 * localedata/locales/sl_SI: Likewise.
23215 * localedata/locales/sm_WS: Likewise.
23216 * localedata/locales/so_DJ: Likewise.
23217 * localedata/locales/so_ET: Likewise.
23218 * localedata/locales/so_KE: Likewise.
23219 * localedata/locales/so_SO: Likewise.
23220 * localedata/locales/sq_AL: Likewise.
23221 * localedata/locales/sq_MK: Likewise.
23222 * localedata/locales/sr_ME: Likewise.
23223 * localedata/locales/sr_RS: Likewise.
23224 * localedata/locales/sr_RS@latin: Likewise.
23225 * localedata/locales/ss_ZA: Likewise.
23226 * localedata/locales/st_ZA: Likewise.
23227 * localedata/locales/sv_FI: Likewise.
23228 * localedata/locales/sv_SE: Likewise.
23229 * localedata/locales/sw_KE: Likewise.
23230 * localedata/locales/sw_TZ: Likewise.
23231 * localedata/locales/szl_PL: Likewise.
23232 * localedata/locales/ta_IN: Likewise.
23233 * localedata/locales/ta_LK: Likewise.
23234 * localedata/locales/tcy_IN: Likewise.
23235 * localedata/locales/te_IN: Likewise.
23236 * localedata/locales/tg_TJ: Likewise.
23237 * localedata/locales/th_TH: Likewise.
23238 * localedata/locales/the_NP: Likewise.
23239 * localedata/locales/ti_ER: Likewise.
23240 * localedata/locales/ti_ET: Likewise.
23241 * localedata/locales/tig_ER: Likewise.
23242 * localedata/locales/tk_TM: Likewise.
23243 * localedata/locales/tl_PH: Likewise.
23244 * localedata/locales/tn_ZA: Likewise.
23245 * localedata/locales/to_TO: Likewise.
23246 * localedata/locales/tpi_PG: Likewise.
23247 * localedata/locales/tr_CY: Likewise.
23248 * localedata/locales/tr_TR: Likewise.
23249 * localedata/locales/ts_ZA: Likewise.
23250 * localedata/locales/tt_RU: Likewise.
23251 * localedata/locales/tt_RU@iqtelif: Likewise.
23252 * localedata/locales/ug_CN: Likewise.
23253 * localedata/locales/uk_UA: Likewise.
23254 * localedata/locales/unm_US: Likewise.
23255 * localedata/locales/ur_IN: Likewise.
23256 * localedata/locales/ur_PK: Likewise.
23257 * localedata/locales/uz_UZ: Likewise.
23258 * localedata/locales/uz_UZ@cyrillic: Likewise.
23259 * localedata/locales/ve_ZA: Likewise.
23260 * localedata/locales/vi_VN: Likewise.
23261 * localedata/locales/wa_BE: Likewise.
23262 * localedata/locales/wae_CH: Likewise.
23263 * localedata/locales/wal_ET: Likewise.
23264 * localedata/locales/wo_SN: Likewise.
23265 * localedata/locales/xh_ZA: Likewise.
23266 * localedata/locales/yi_US: Likewise.
23267 * localedata/locales/yo_NG: Likewise.
23268 * localedata/locales/yue_HK: Likewise.
23269 * localedata/locales/yuw_PG: Likewise.
23270 * localedata/locales/zh_CN: Likewise.
23271 * localedata/locales/zh_HK: Likewise.
23272 * localedata/locales/zh_SG: Likewise.
23273 * localedata/locales/zh_TW: Likewise.
23274 * localedata/locales/zu_ZA: Likewise.
23275
cae87e64
FW
232762017-11-13 Florian Weimer <fweimer@redhat.com>
23277
23278 * support/next_to_fault.h, support/next_to_fault.c: New files.
23279 * support/Makefile (libsupport-routines): Add next_to_fault.
23280 * resolv/tst-inet_pton.c (struct next_to_fault)
23281 (next_to_fault_allocate, next_to_fault_free): Remove.
23282 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23283
4a306ef1
L
232842017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23285
23286 * elf/dl-support.c: Include <dl-procruntime.c>.
23287 * include/link.h: Include <link_map.h>.
23288 * sysdeps/generic/dl-procruntime.c: New file.
23289 * sysdeps/generic/link_map.h: Likewise.
23290 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23291 the writable ld.so namespace.
23292
e69897bf
PE
232932017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23294
23295 timezone: pacify GCC -Wstringop-truncation
23296 Problem reported by Martin Sebor in:
23297 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23298 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23299
1ffe1ccb
FW
233002017-11-12 Florian Weimer <fweimer@redhat.com>
23301
eceed671
FW
23302 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23303 tst-xreadlink.
23304 (tests): Add tst-xreadlink.
1ffe1ccb
FW
23305 * support/support.h (xstrndup): Declare.
23306 * support/xunistd.h (xunlink, xreadlink): Declare.
23307 * support/temp_file.h (support_create_temp_directory): Declare.
23308 * support/temp_file.c (support_create_temp_directory): New function.
23309 * support/support_chroot.c (support_chroot_create): Use it.
23310 * support/xreadlink.c: New file.
23311 * support/xstrndup.c: Likewise.
23312 * support/xunlink.c: Likewise.
23313 * support/tst-xreadlink.c: Likewise.
23314
456b40a9
JDA
233152017-11-11 John David Anglin <danglin@gcc.gnu.org>
23316
23317 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23318
c0a25aa9
FW
233192017-11-11 Florian Weimer <fweimer@redhat.com>
23320
23321 [BZ #22409]
23322 [BZ #22412]
23323 * resolv/res_comp.c (printable_string, binary_hnok)
23324 (binary_leading_dash): New functions.
23325 (res_hnok): Reimplement using these functions and ns_name_pton.
23326 (res_ownok): Likewise.
23327 (res_mailok): Reimplement using printable_string, ns_name_pton and
23328 binary_hnok.
23329 (res_dnok): Reimplement using printable_string and ns_name_pton.
23330 * resolv/tst-res_hnok.c (tests): Add additional tests.
23331 (LETTERDIGITS, PRINTABLE): Define.
23332 (do_test): Adjust one_char results.
23333
9e0ad304
FW
233342017-11-11 Florian Weimer <fweimer@redhat.com>
23335
23336 [BZ #22413]
23337 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23338 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23339
e2a9fca8
FW
233402017-11-11 Florian Weimer <fweimer@redhat.com>
23341
23342 * resolv/tst-ns_name_pton.c: New file.
23343 * resolv/Makefile (tests): Add tst-ns_name_pton.
23344 (tst-ns_name_pton): Link against libresolv.
23345
5c1a6923
FW
233462017-11-11 Florian Weimer <fweimer@redhat.com>
23347
23348 * resolv/tst-res_hnok.c: New file.
23349 * resolv/Makefile (tests): Add tst-res_hnok.
23350 (tst-res_hnok): Link against libresolv.
23351
a19c0a1d
FW
233522017-11-11 Florian Weimer <fweimer@redhat.com>
23353
23354 * resolv/tst-resolv-network.c: Use test framework instead explicit
23355 main function.
23356
8cb5295d
L
233572017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23360 <jmp_buf-macros.h>.
23361 [!_ISOMAC] (STR_HELPER): New.
23362 [!_ISOMAC] (STR): Likewise.
23363 [!_ISOMAC] (TEST_SIZE): Likewise.
23364 [!_ISOMAC] (TEST_ALIGN): Likewise.
23365 [!_ISOMAC] (TEST_OFFSET): Likewise.
23366 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23367 field offsets of jmp_buf as well as sigjmp_buf.
23368 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23369 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23370 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23371 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23372 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23373 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23374 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23375 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23376 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23377 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23378 Likewise.
23379 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23380 Likewise.
23381 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23383 Likewise.
23384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23385 Likewise.
23386 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23387 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23388 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23389 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23390 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23392 Likewise.
23393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23394 Likewise.
23395 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23396 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23397 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23398
58c4a161
JM
233992017-11-07 Joseph Myers <joseph@codesourcery.com>
23400
3683b423
JM
23401 * include/float.h
23402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23403 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23405 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23407 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23409 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23411 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23413 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23415 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23417 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23419 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23421 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23423 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23425 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23427 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23429 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23431 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23433 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23435 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23437 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23439 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23441 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23443 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23445 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23447 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23449 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23451 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23453 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23455 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23457 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23459 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23461 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23463 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23465 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23467 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23469 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23471 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23473 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23475 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23477 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23479 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23481 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23483 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23485 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23487 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23489 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23490
58c4a161
JM
23491 * stdlib/tst-strtod.h (F16): New macro.
23492 (F32): Likewise.
23493 (F64): Likewise.
23494 (F32X): Likewise.
23495 (F64X): Likewise.
23496 (F128X): Likewise.
23497 (IF_FLOAT16): Likewise.
23498 (IF_FLOAT32): Likewise.
23499 (IF_FLOAT64): Likewise.
23500 (IF_FLOAT32X): Likewise.
23501 (IF_FLOAT64X): Likewise.
23502 (IF_FLOAT128X): Likewise.
23503 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23504 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23505 (STRTOD_TEST_FOREACH): Likewise.
23506 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23507 (CHOOSE_f64): Likewise.
23508 (CHOOSE_f32x): Likewise.
23509 (CHOOSE_f64x): Likewise.
23510
feda96a1
AS
235112017-11-07 Andreas Schwab <schwab@suse.de>
23512
23513 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23514
1bd0cbb8
MF
235152017-11-07 Mike FABIAN <mfabian@redhat.com>
23516
23517 [BZ #22403]
23518 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23519 to be escaped.
23520 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23521 to be escaped.
23522
363e4519 235232017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23524
23525 [BZ #22403]
23526 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23527 to be escaped.
23528 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23529 to be escaped.
23530 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23531 to be escaped.
23532
dff91cd4
AZ
235332017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23534
06be6368
AZ
23535 [BZ #22298]
23536 * nptl/allocatestack.c (allocate_stack): Check if
23537 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23538 __PTHREAD_MUTEX_HAVE_PREV is defined.
23539 * nptl/descr.h (pthread): Likewise.
23540 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23541 Likewise.
23542 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23543 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23544 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23545 * sysdeps/nptl/bits/thread-shared-types.h
23546 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23547 defines.
23548 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23549 of __WORDSIZE for internal layout.
23550 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23551 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23552 instead of __WORDSIZE whether to use an union for __spins and __list
23553 fields.
23554 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23555 case.
23556 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23557 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23558 defines.
23559 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23560 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23561 Likewise.
23562 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23563 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23564 Likewise.
23565 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23566 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23567 Likewise.
23568 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23569 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23570 Likewise.
23571 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23572 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23573 Likewise.
23574 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23575 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23576 Likewise.
23577 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23578 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23579 Likewise.
23580 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23581 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23582 Likewise.
23583 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23584 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23585 Likewise.
23586 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23587 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23588 Likewise.
23589 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23590 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23591 Likewise.
23592 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23593 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23594 Likewise.
23595 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23596 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23597 Likewise.
23598 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23599 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23600 Likewise.
23601
72b3c6ee
AZ
23602 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23603 New macros.
23604 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23605 checks for expected input type size.
23606 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23607 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23608 Likewise.
23609 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23610 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23611 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23612 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23613 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23614 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23615 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23616 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23617 superflous runtime assert check.
23618 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23619 Likewise.
23620 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23621 Likewise.
23622 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23623 Likewise.
23624 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23625 Likewise.
23626 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23627 Likewise.
23628 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23629 Likewise.
23630 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23631 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23632 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23633 Likewise.
23634 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23635 Likewise.
23636 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23637 Likewise.
23638 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23639 Likewise.
23640 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23641 Likewise.
23642 * nptl/pthread_attr_setinheritsched.c
23643 (__pthread_attr_setinheritsched): Likewise.
23644 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23645 Likewise.
23646 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23647 Likewise.
23648 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23649 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23650 __old_pthread_attr_setstack): Likewise.
23651 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23652 Likewise.
23653 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23654 Likewise.
23655 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23656 Likewise.
23657 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23658 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23659 Likewise.
23660 * nptl/tst-typesizes.c: Remove file.
23661
dff91cd4
AZ
23662 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23663 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23664 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23665 checks for internal pthread_mutex_t offsets.
23666 * sysdeps/aarch64/nptl/pthread-offsets.h
23667 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23668 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23669 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23670 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23671 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23672 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23673 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23674 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23675 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23676 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23677 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23678 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23679 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23680 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23681 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23682 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23683 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23684 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23685
b7fc95f8
FW
236862017-11-07 Florian Weimer <fweimer@redhat.com>
23687
23688 * bits/mman-linux.h: Move ...
23689 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23690 comment.
23691 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23692 outdated comment.
23693
6b860364
RS
236942017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23695
23696 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23697 Redefine STRNLEN as __strnlen_power8.
23698
802c1f16
AZ
236992017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23700
d83da3a4
AZ
23701 * signal/sighold.c (sighold): Optimize implementation.
23702
6a4235f1
AZ
23703 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23704 __NR_rt_sigqueueinfo.
23705
8b0e795a
AZ
23706 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23707 __sigtimedwait.
23708 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23709 assume __NR_rt_sigtimedwait.
23710 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23711 and add LIBC_CANCEL_HANDLED for cancellation marking.
23712 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23713
a1a638dd
AZ
23714 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23715 (sysdeps_routines): Add memchr_noneon.
23716 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23717 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23718 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23719 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23720 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23721 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23722 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23723
802c1f16
AZ
23724 * sysdeps/arm/arm-ifunc.h: New file.
23725 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23726 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23727 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23728 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23729 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23730 (__memcpy_neon): Avoid create hidden alias.
23731 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23732 (__memcpy_vfp): Likewise.
23733 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23734 (sysdep_routines): Add memcpy_arm.
23735 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23736
abcb584d
L
237372017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23738
23739 [BZ #22362]
23740 * Makerules (make-link-multidir): New.
23741 * config.make.in (multidir): New.
23742 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23743 * configure: Regenerated.
23744 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23745 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23746 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23747 New target.
23748
4e2dff67
JM
237492017-11-06 Joseph Myers <joseph@codesourcery.com>
23750
23751 [BZ #22402]
23752 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23753 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23754
a1c7cd3c
MF
237552017-11-04 Mike FABIAN <mfabian@redhat.com>
23756
23757 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23758 to be escaped.
23759
b9af29c0
FW
237602017-11-04 Florian Weimer <fweimer@redhat.com>
23761
23762 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23763
4ca70e1a
JM
237642017-11-03 Joseph Myers <joseph@codesourcery.com>
23765
23766 * math/math.h [__HAVE_DISTINCT_FLOAT16
23767 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23768 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23769 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23770 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23771 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23772 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23773 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23774 (__MATH_TG_F32): New macro.
23775 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23776 (__MATH_TG_F64X): Likewise.
23777 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23778 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23779
ba0e6668
DL
237802017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23781
23782 * po/de.po: Update translations.
23783 * po/ru.po: Likewise.
23784
bc18a6d3
FW
237852017-11-03 Florian Weimer <fweimer@redhat.com>
23786
23787 * manual/filesys.texi (Hard Links): Document linkat.
23788
97255170
JM
237892017-11-03 Joseph Myers <joseph@codesourcery.com>
23790
86ec4865
JM
23791 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23792 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23793 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23794 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23795 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23796 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23797 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23798 the same as _Float128.
23799 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23800 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23801 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23802
97255170
JM
23803 * stdlib/stdlib.h
23804 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23805 Declare.
23806 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23807 Likewise.
23808 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23809 Likewise.
23810 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23811 (strtof32x): Likewise.
23812 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23813 (strtof64x): Likewise.
23814 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23815 (strtof128x): Likewise.
23816 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23817 (strfromf16): Likewise.
23818 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23819 (strfromf32): Likewise.
23820 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23821 (strfromf64): Likewise.
23822 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23823 (strfromf32x): Likewise.
23824 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23825 (strfromf64x): Likewise.
23826 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23827 (strfromf128x): Likewise.
23828 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23829 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23830 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23831 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23832 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23833 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23834
6d58ce5e
RH
238352017-11-03 Richard Henderson <rth@twiddle.net>
23836
23837 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23838
659ca267
SN
238392017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23840
23841 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23842
94d2f0af
SN
238432017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23844
23845 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23846 DT_TLSDESC_GOT initialization.
23847 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23848 (_dl_tlsdesc_resolve_hold): Likewise.
23849 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23850 (_dl_tlsdesc_resolve_hold): Likewise.
23851 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23852 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23853
28e1ddf3
SN
238542017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23855
23856 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23857
0ca3d1d6
SN
238582017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23859
23860 [BZ #18572]
23861 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23862 non-lazily for R_ARM_TLS_DESC.
23863
2c1d4e5f
SN
238642017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23865
23866 [BZ #17078]
23867 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23868 R_ARM_TLS_DESC case.
23869 (elf_machine_lazy_rel): Remove the prelink check.
23870
91c5a366
SN
238712017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23872
23873 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23874 DT_TLSDESC_GOT initialization.
23875 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23876 (_dl_tlsdesc_resolve_rela): Likewise.
23877 (_dl_tlsdesc_resolve_hold): Likewise.
23878 (_dl_tlsdesc_undefweak): Remove ldar.
23879 (_dl_tlsdesc_dynamic): Likewise.
23880 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23881 (_dl_tlsdesc_resolve_rela): Likewise.
23882 (_dl_tlsdesc_resolve_hold): Likewise.
23883 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23884 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23885 (_dl_tlsdesc_resolve_rela): Likewise.
23886 (_dl_tlsdesc_resolve_hold): Likewise.
23887
b7cf203b
SN
238882017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23889
23890 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23891 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23892
0cc5b022
SN
238932017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23894
23895 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23896 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23897
43ddff2e
JM
238982017-11-02 Joseph Myers <joseph@codesourcery.com>
23899
23900 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23901 Declare.
23902 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23903 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23904 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23905 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23906 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23907 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23908 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23909 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23910 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23911 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23912 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23913
5baac970
MF
239142017-11-02 Mike FABIAN <mfabian@redhat.com>
23915
23916 [BZ #22382]
23917 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23918 * localedata/locales/tpi_PG: Add standard header.
23919
ef11081f
FW
239202017-11-02 Florian Weimer <fweimer@redhat.com>
23921
23922 test-errno-linux: quotactl can fail with EPERM in containers.
23923 * sysdeps/unix/sysv/linux/test-errno-linux.c
23924 (LIST, LIST_FORWARD): New macros.
23925 (check_error_in_list): New function.
23926 (test_wrp_rv): Accept list of permitted error codes.
23927 (test_wrp_rv2): Remove.
23928 (test_wrp): Call test_wrp_rv with list of error codes.
23929 (test_wrp2): Accept list of error codes.
23930 (do_test): Adjust. Allow EPERM for quotactl.
23931
d10b132b
FW
239322017-11-02 Florian Weimer <fweimer@redhat.com>
23933
23934 * stdio-common/bug16.c (do_test): Use array_length.
23935 * stdio-common/errlist.c (_sys_nerr): Likewise.
23936 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23937 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23938 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23939 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23940 (do_test): Use array_length.
23941 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23942 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23943 * stdio-common/tst-printf-round.c (do_test): Likewise.
23944 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23945 (CHECK): Use array_length.
23946 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23947 * stdio-common/tstscanf.c (main): Likewise.
23948 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23949
c94a5688
FW
239502017-11-02 Florian Weimer <fweimer@redhat.com>
23951
23952 Add array_length and array_end macros.
23953 * include/array_length.h: New file.
23954
2fac6a6c
FW
239552017-11-02 Florian Weimer <fweimer@redhat.com>
23956
23957 [BZ #22332]
23958 * posix/tst-glob-tilde.c (do_noescape): New variable.
23959 (one_test): Process it.
23960 (do_test): Set do_noescape. Add unescaping test case.
23961
2f1b212e
JM
239622017-11-01 Joseph Myers <joseph@codesourcery.com>
23963
260fbd0a
JM
23964 * math/complex.h
23965 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23966 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23967 with appropriate macros defined and undefined.
23968 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23969 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23970 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23971 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23972 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23973 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23974 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23975 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23976 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23977 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23978
2f1b212e
JM
23979 * math/complex.h
23980 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23981 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23982 that for long double. Do not condition define and undefine of
23983 _Mdouble_complex_ on [__CFLOAT128].
23984
95b93c6e
L
239852017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23986
23987 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23988 of <sysdeps/generic/sysdep.h>.
23989 (ALIGNARG): Removed.
23990 (ASM_SIZE_DIRECTIVE): Likewise.
23991 (ENTRY): Likewise.
23992 (END): Likewise.
23993 (ENTRY_CHK): Likewise.
23994 (END_CHK): Likewise.
23995 (syscall_error): Likewise.
23996 (mcount): Likewise.
23997 (PSEUDO_END): Likewise.
23998 (L): Likewise.
23999 (atom_text_section): Likewise.
24000 * sysdeps/x86/sysdep.h: New file.
24001 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24002 of <sysdeps/generic/sysdep.h>.
24003 (ALIGNARG): Removed.
24004 (ASM_SIZE_DIRECTIVE): Likewise.
24005 (ENTRY): Likewise.
24006 (END): Likewise.
24007 (ENTRY_CHK): Likewise.
24008 (END_CHK): Likewise.
24009 (syscall_error): Likewise.
24010 (mcount): Likewise.
24011 (PSEUDO_END): Likewise.
24012 (L): Likewise.
24013 (atom_text_section): Likewise.
24014
1bb36539
RL
240152017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24016
24017 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24018 category of LC_CTYPE set to "i18n:2012".
24019 * localedata/locales/i18n_ctype: Regenerate.
24020
067f5d97 240212017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 24022
87bbc4cf
YN
24023 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24024 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24025 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24026 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24027
e8681faa
YN
24028 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24029 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24031 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24032
540af6e2
JM
240332017-10-31 Joseph Myers <joseph@codesourcery.com>
24034
43e66283
JM
24035 * math/complex.h
24036 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24037 New macro.
24038 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24039 Likewise.
24040 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24041 Likewise.
24042 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24043 (CMPLXF32X): Likewise.
24044 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24045 (CMPLXF64X): Likewise.
24046 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24047 (CMPLXF128X): Likewise.
24048
540af6e2
JM
24049 * math/math.h
24050 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24051 (__MATH_EVAL_FMT2): Define to add 0.0f.
24052
58af72b4
AM
240532017-10-31 Alan Modra <amodra@gmail.com>
24054
24055 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24056 include sysdep.h.
24057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24072 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24073 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24075 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24076 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24077 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24078 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24079 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24080 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24081 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24082 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24083 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24084 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24085 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24086 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24087 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24088 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24089 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24090 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24091 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24092 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24093 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24094 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24095 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24096 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24097 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24098 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24099 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24100 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24102 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24103 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24104 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24105 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24106 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24107 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24108 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24109 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24110 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24111 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24112 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24114 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24115 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24116 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24117 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24118 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24119 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24121 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24122 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24123 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24124 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24125 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24126
24127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24128 include sysdep.h and math_ldbl_opt.h.
24129
24130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24131 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24156
112f30b3
AM
241572017-10-31 Alan Modra <amodra@gmail.com>
24158
24159 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24160 string/strncase_l.c, not string/strncase.c.
24161 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24162 (libc_hidden_def): Redefine.
24163
e9e7eced
AM
241642017-10-31 Alan Modra <amodra@gmail.com>
24165
24166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24167 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24168 (__strcasecmp): Don't define.
24169
f7b465cf
AM
241702017-10-31 Alan Modra <amodra@gmail.com>
24171
24172 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24173 IS_IN (libc).
24174 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24175 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24176 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24177
d46b09f9
AM
241782017-10-31 Alan Modra <amodra@gmail.com>
24179
24180 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24181 USE_AS_STPNCPY.
24182
e9b8e194
AM
241832017-10-31 Alan Modra <amodra@gmail.com>
24184
24185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24186 Redefine only when SHARED.
24187
eda162dd
JM
241882017-10-30 Joseph Myers <joseph@codesourcery.com>
24189
b61afe8c
JM
24190 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24191 Include <bits/math-finite.h> with appropriate macros defined and
24192 undefined.
24193 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24194 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24195 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24196 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24197 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24198
eda162dd
JM
24199 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24200 [!_Mlong_double_] (_Mlong_double_): Likewise.
24201 [!_Mfloat16_] (_Mfloat16_): Likewise.
24202 [!_Mfloat32_] (_Mfloat32_): Likewise.
24203 [!_Mfloat64_] (_Mfloat64_): Likewise.
24204 [!_Mfloat128_] (_Mfloat128_): Likewise.
24205 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24206 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24207 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24208 (_Mdouble_): Define without indirection through those macros.
24209 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24210 [!_Mfloat128_] (_Mfloat128_): Likewise.
24211 [_Mlong_double_] (_Mlong_double_): Likewise.
24212 (_Mdouble_): Define without indirection through those macros.
24213 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24214 not add -D_Mlong_double_=double.
24215 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24216 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24217
4ad5106e
L
242182017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24221
fe326df7
L
242222017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 * sysdeps/x86/libc-start.c: Reformat.
24225
c5cc4514
L
242262017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 [BZ #22353]
24229 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24230 (1): Renamed to ...
24231 (L(Src0)): This.
24232 (L(Src1)): New.
24233 (L(Src2)): Likewise.
24234 (L(1)): Renamed to ...
24235 (L(Src3)): This.
24236
ce12269f
JM
242372017-10-30 Joseph Myers <joseph@codesourcery.com>
24238
24239 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24240 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24241 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24242 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24243 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24244 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24245 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24246 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24247 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24248 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24249 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24250 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24251 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24252 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24253 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24254 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24255 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24256 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24257 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24258 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24259 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24260 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24261 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24262 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24263 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24264 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24265 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24266 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24267 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24268 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24269 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24270 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24271 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24272 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24273 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24274 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24275 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24276 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24277 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24278 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24279 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24280 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24281 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24282 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24283 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24284 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24285 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24286 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24287 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24288 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24289 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24290 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24291 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24292 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24293 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24294 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24295 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24296 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24297 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24298 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24299 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24300 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24301 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24302 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24303 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24304 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24305
4484b9e2
FW
243062017-10-30 Florian Weimer <fweimer@redhat.com>
24307
24308 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24309 always defined.
24310 * io/tst-mkdirat.c (do_test): Likewise.
24311 * io/tst-mkfifoat.c (do_test): Likewise.
24312 * io/tst-mknodat.c (do_test): Likewise.
24313 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24314 * locale/programs/locale.c (select_dirs): Likewise.
24315 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24316 * posix/bug-glob2.c (my_readdir): Likewise.
24317 * posix/tst-dir.c (main): Likewise.
24318 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24319 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24320
68fe16dd
FW
243212017-10-30 Florian Weimer <fweimer@redhat.com>
24322
24323 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24324 just __USE_GNU.
24325
dadf23f0
FW
243262017-10-30 Florian Weimer <fweimer@redhat.com>
24327
24328 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24329 Convert to support/test-driver.c.
24330 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24331 New macro parameters.
24332 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24333 * posix/tst-gnuglob.c: New file.
24334 * posix/tst-gnuglob64.c: Likewise.
24335 * posix/Makefile (tests): Add tst-gnuglob64.
24336
363e4519 243372017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
24338
24339 [BZ #19485]
24340 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24341 and use a better translation for March in “mon”.
24342 * localedata/locales/csb_PL: Use more ASCII to improve the
24343 readability of the source.
24344
b110af82
MF
243452017-10-30 Mike FABIAN <mfabian@redhat.com>
24346
24347 [BZ #13953]
24348 * localedata/locales/km_KH: Use ASCII as much
24349 as possible for better readability of the source and
24350 remove useless comments.
24351 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24352 was commented out and apparently wrong anyway because it was
24353 using Lao characters. If Buddhist era should be used
24354 for km_KH, a native speaker should write the correct formaat
24355 for Khmer.
24356 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24357 (According to CLDR, the first weekday for Cambodia is Sunday).
24358 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24359 (These were using Lao characters which must be wrong. If we get
24360 the correct data from a native speaker, we could add it back, until
24361 then it is better not to have name_mr and name_mrs at all than
24362 having it wrong).
24363
f301e533
RL
243642017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24365
24366 * locale/loadlocale.c: Correct size of
24367 _nl_value_type_LC_<category> arrays.
24368
7e9d7073
JM
243692017-10-27 Joseph Myers <joseph@codesourcery.com>
24370
24371 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24372 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24373 with appropriate macros defined and undefined.
24374 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24375 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24376 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24377 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24378 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24379
63d3b468
L
243802017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24381
24382 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24383 "-O2 -march=i586".
24384
a4cc02c7
MF
243852017-10-27 Mike FABIAN <mfabian@redhat.com>
24386
24387 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24388 with lowercase letters to make it agree with CLDR.
24389
1e5971ec
MF
243902017-10-27 Mike FABIAN <mfabian@redhat.com>
24391
24392 [BZ #15260]
24393 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24394 first letters of yesstr and nostr in yesexpr and noexpr,
24395 not for the full words.
24396 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24397 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24398 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24399 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24400 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24401 first letters of yesstr and nostr in yesexpr and noexpr,
24402 until now only English was matched in yesexpr and noexpr.
24403 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24404 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24405 fil but not for tl. As tl and fil are very similar, using fil
24406 is probably better than using English.
24407
363e4519 244082017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
24409
24410 [BZ #21706]
24411 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24412 in yesstr and nostr.
24413
5d220788
JM
244142017-10-26 Joseph Myers <joseph@codesourcery.com>
24415
ecc7da5b
JM
24416 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24417 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24418 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24419 Likewise.
24420 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24421 Likewise.
24422 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24423 Likewise.
24424 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24425 Likewise.
24426 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24427 (SNANF128X): Likewise.
24428
5d220788
JM
24429 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24430 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24431 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24432 (HUGE_VAL_F32): Likewise.
24433 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24434 (HUGE_VAL_F64): Likewise.
24435 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24436 (HUGE_VAL_F32X): Likewise.
24437 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24438 (HUGE_VAL_F64X): Likewise.
24439 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24440 (HUGE_VAL_F128X): Likewise.
24441
363e4519 244422017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
24443
24444 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24445 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24446 for the br_FR locale.
24447
363e4519 244482017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
24449
24450 [BZ #21706]
24451 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24452
337ff3c5
CD
244532017-10-25 Carlos O'Donell <carlos@redhat.com>
24454
02eec681
CD
24455 * locale/programs/record-status.h: Define globals, and function
24456 prototypes. Move function bodies...
24457 * locale/programs/record-status.c: ... to here. New file.
24458 * iconv/Makefile (iconv_prog-modules): Add record-status.
24459 * locale/Makefile (lib-modules): Likewise.
24460 * iconv/iconv_prog.c: Remove verbose.
24461 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24462 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24463 record a warning about ASCII compatibility.
24464 * locale/programs/ld-monetary.c (monetary_finish): If
24465 warn_int_curr_symbol is true then record a warning about the symbol
24466 not being in our ISO 4217 list.
24467 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24468 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24469 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24470 (OPT_NO_WARN): Define.
24471 (OPT_WARN): Define.
24472 (options): Add entry for --no-warnings, and --warnings.
24473 (set_warnings): New function to enable/disable warnings.
24474 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24475 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24476 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24477 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24478 Pass flags to generate_locale.
24479 (generate_locale): Accept new flag argument and pass it to localedef
24480 invocation.
24481 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24482 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24483
56fa555a
CD
24484 * localedata/Makefile (test-input-data): Use full file name.
24485 * localedata/da_DK.in: Rename to...
24486 * localedata/da_DK.ISO-8859-1.in: ...this.
24487 * localedata/de_DE.in: Rename to...
24488 * localedata/de_DE.ISO-8859-1.in: ...this.
24489 * localedata/en_US.in: Rename to...
24490 * localedata/en_US.ISO-8859-1.in: ...this.
24491 * localedata/fr_FR.in: Rename to...
24492 * localedata/fr_FR.UTF-8.in: ... this.
24493 * localedata/hr_HR.in: Rename to...
24494 * localedata/hr_HR.ISO-8859-2.in: ...this.
24495 * localedata/hu_HU.in: Rename to...
24496 * localedata/hu_HU.UTF-8.in: ...this.
24497 * localedata/si_LK.in: Rename to...
24498 * localedata/si_LK.UTF-8.in: ...this.
24499 * localedata/sv_SE.in: Rename to...
24500 * localedata/sv_SE.ISO-8859-1.in: ...this.
24501 * localedata/tr_TR.in: Rename to...
24502 * localedata/tr_TR.UTF-8.in: ...this.
24503 * localedata/uk_UA.in: Rename to...
24504 * localedata/uk_UA.UTF-8.in: ...this.
24505 * localedata/sort-test.sh: Test file is locale name with the
24506 suffix.
24507
337ff3c5
CD
24508 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24509 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24510 file.
24511 * localedata/locales/i18n_ctype: Regenerate.
24512 * localedata/locales/tr_TR: Likewise.
24513 * localedata/locales/translit_circle: Likewise.
24514 * localedata/locales/translit_cjk_compat: Likewise.
24515 * localedata/locales/translit_combining: Likewise.
24516 * localedata/locales/translit_compat: Likewise.
24517 * localedata/locales/translit_font: Likewise.
24518 * localedata/locales/translit_fraction: Likewise.
24519
63da5cd4
RS
245202017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24521
24522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24523 lxvd2x/stxvd2x with lvx/stvx.
24524 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24525
a122dbfb
L
245262017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24527
24528 * include/alloc_buffer.h: Replace "if if " with "if " in
24529 comments.
24530 * sysdeps/mips/memcpy.S: Likkewise.
24531 * sysdeps/mips/memset.S: Likewise.
24532 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24533 Likewise.
24534 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24535 Likewise.
24536 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24537 Likewise.
24538
9be7530c
MF
245392017-10-25 Mike FABIAN <mfabian@redhat.com>
24540
24541 [BZ #15261]
24542 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24543 yesexpr and noexpr.
24544 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24545 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24546 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24547 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24548 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24549 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24550 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24551
6ccbf6ff
MF
245522017-10-25 Mike FABIAN <mfabian@redhat.com>
24553
24554 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24555 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24556 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24557 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24558 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24559 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24560 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24561 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24562 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24563 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24564 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24565 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24566
58b1a7ea
MF
245672017-10-25 Mike FABIAN <mfabian@redhat.com>
24568
24569 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24570 as possible for better readability of the source.
24571 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24572 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24573 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24574 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24575 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24576 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24577 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24578 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24579 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24580 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24581 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24582 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24583 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24584 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24585 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24586 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24587 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24588 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24589 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24590 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24591 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24592 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24593 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24594 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24595 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24596 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24597 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24598 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24599 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24600 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24601 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24602 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24603 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24604 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24605 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24606 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24607 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24608 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24609 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24610 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24611 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24612 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24613 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24614 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24615 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24616 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24617 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24618 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24619 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24620 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24621 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24622 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24623 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24624 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24625 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24626 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24627 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24628 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24629 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24630 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24631 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24632 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24633 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24634 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24635 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24636 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24637 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24638 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24639 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24640 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24641 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24642 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24643 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24644 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24645 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24646 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24647 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24648 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24649 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24650 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24651 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24652 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24653 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24654 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24655 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24656 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24657 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24658 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24659 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24660 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24661 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24662 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24663 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24664 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24665 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24666 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24667 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24668 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24669 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24670 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24671 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24672 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24673 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24674 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24675 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24676 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24677 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24678 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24679 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24680 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24681 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24682 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24683 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24684 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24685 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24686 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24687 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24688 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24689 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24690 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24691 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24692 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24693 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24694 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24695 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24696 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24697 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24698 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24699 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24700 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24701 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24702 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24703 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24704 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24705 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24706 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24707 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24708 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24709 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24710 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24711 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24712 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24713 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24714 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24715 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24716 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24717 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24718 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24719 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24720 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24721 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24722 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24723 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24724 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24725 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24726 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24727 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24728 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24729 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24730 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24731 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24732 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24733 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24734 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24735 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24736 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24737 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24738 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24739 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24740 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24741 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24742 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24743 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24744 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24745
17e78edb
MF
247462017-10-25 Mike FABIAN <mfabian@redhat.com>
24747
24748 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24749 (Use first letters of yesstr and nostr correctly instead of using
24750 full words).
24751
74e7284f
MF
247522017-10-25 Mike FABIAN <mfabian@redhat.com>
24753
24754 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24755 (Use first letters of yesstr and nostr correctly).
24756
b41a0ff1
MF
247572017-10-25 Mike FABIAN <mfabian@redhat.com>
24758
24759 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24760 also check for the first characters of yesstr and nostr.
24761 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24762 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24763
d971f380
MF
247642017-10-25 Mike FABIAN <mfabian@redhat.com>
24765
24766 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24767 also check for Chinese characters.
24768
effc9e1d
MF
247692017-10-25 Mike FABIAN <mfabian@redhat.com>
24770
24771 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24772 match also for the contents of yesstr and nostr. As the first letter
24773 of yesstr and nostr is equal, checking only for the first letter
24774 is not enough.
24775
10320881
MF
247762017-10-25 Mike FABIAN <mfabian@redhat.com>
24777
24778 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24779 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24780
d8682a15
MF
247812017-10-25 Mike FABIAN <mfabian@redhat.com>
24782
24783 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24784 of main contributor.
24785
1bfb86ae
MF
247862017-10-25 Mike FABIAN <mfabian@redhat.com>
24787
24788 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24789 instead of using English.
24790
da33d60b
MF
247912017-10-25 Mike FABIAN <mfabian@redhat.com>
24792
24793 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24794 by including the first letters of nostr and yesexpr in the regexp.
24795 Also make it more readable by using ASCII where possible.
24796
725bbb3e
MF
247972017-10-25 Mike FABIAN <mfabian@redhat.com>
24798
24799 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24800 the first letter of nostr in the regexp. It agrees with CLDR now.
24801 Also make it more readable by using ASCII where possible.
24802
fe043d8a
MF
248032017-10-24 Mike FABIAN <mfabian@redhat.com>
24804
24805 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24806 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24807 these strings contain a U+17D6 (which somewhat looks like a colon)
24808 instead of a real colon to separate the full words for “yes”
24809 and “no” from the single letter responses.
24810
360a8df3
MF
248112017-10-24 Mike FABIAN <mfabian@redhat.com>
24812
24813 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24814 it agree with CLDR (include the first letter of yesstr).
24815 Also make it more readable by using ASCII where possible.
24816
bab7b6b0
MF
248172017-10-24 Mike FABIAN <mfabian@redhat.com>
24818
24819 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24820 and improve yesexpr and noexpr. The yesstr and nostr apparently
24821 came from CLDR. And CLDR has a bug there: these strings contain
24822 a U+0903 (which looks like a colon) instead of a real colon
24823 to separate the full words for “yes” and “no” from the single
24824 letter responses.
24825
3e79f758
MF
248262017-10-24 Mike FABIAN <mfabian@redhat.com>
24827
24828 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24829 letters of the full yesstr and nostr in yesexpr and noexpr.
24830
4960c879
MF
248312017-10-24 Mike FABIAN <mfabian@redhat.com>
24832
24833 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24834 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24835 * localedata/locales/an_ES: Make source more readable by using ASCII
24836 where possible.
24837
b06a054f
MF
248382017-10-24 Mike FABIAN <mfabian@redhat.com>
24839
24840 [BZ #20952]
24841 * localedata/locales/yuw_PG: New file.
24842 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24843 * locale/iso-639.def: Add Yau (Uruwa).
24844
905a7725
WD
248452017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24846
24847 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24848
3f6bb8a3
WD
248492017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24850
24851 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24852 (__libc_realloc): Likewise.
24853 (_mid_memalign): Likewise.
24854 (__libc_calloc): Likewise.
24855
1d479c8c
MF
248562017-10-23 Mike FABIAN <mfabian@redhat.com>
24857
24858 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24859 by adding the generic +1 and -0 as in all other locales.
24860 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24861 day names and make it more readable by using ASCII where possible.
24862
91c3985c
JM
248632017-10-24 Joseph Myers <joseph@codesourcery.com>
24864
24865 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24866 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24867
aa95a241
AZ
248682017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24869
24870 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24871 WNOHANG in waitpid call.
24872
db9bab09
SP
248732017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24874
a2e0a7f1
SP
24875 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24876 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24877
db9bab09
SP
24878 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24879 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24880 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24881 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24882 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24883 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24884 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24885 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24886 variables.
24887
5062680c
MC
248882017-10-23 Michael Collison <michael.collison@arm.com>
24889
24890 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24891 with __builtin_sqrt.
24892 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24893 with __builtin_sqrtf.
24894 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24895 with __builtin_ceil.
24896 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24897 with __builtin_ceilf.
24898 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24899 with __builtin_floor.
24900 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24901 with __builtin_floorf.
24902 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24903 with __builtin_fma.
24904 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24905 with __builtin_fmaf.
24906 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24907 with __builtin_fmax.
24908 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24909 with __builtin_fmaxf.
24910 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24911 with __builtin_fmin.
24912 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24913 with __builtin_fminf.
24914 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24915 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24916 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24917 with builtin_rint and conversion to int.
24918 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24919 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24920 with builtin_llround.
24921 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24922 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24923 with builtin_rint and conversion to long int.
24924 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24925 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24926 with builtin_lround.
24927 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24928 with builtin_lroundf.
24929 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24930 statements with __builtin_nearbyint.
24931 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24932 statements with __builtin_nearbyintf.
24933 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24934 with __builtin_rint.
24935 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24936 with __builtin_rintf.
24937 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24938 with __builtin_round.
24939 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24940 with __builtin_roundf.
24941 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24942 with __builtin_trunc.
24943 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24944 with __builtin_truncf.
be080b6c
SN
24945 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24946 and s_l[l]round[f].c too.
5062680c 24947
174935af
AM
249482017-10-23 Alan Modra <amodra@gmail.com>
24949
24950 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24951 Adjust stack after restoring regs. Add missing LR cfi_restore.
24952
750a0e49
AM
249532017-10-23 Alan Modra <amodra@gmail.com>
24954
24955 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24956 Move LR save and frame setup/teardown and LR restore to
24957 immediately around memset call. Provide cfi.
24958
5313581c
L
249592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24960
24961 * sysdeps/i386/fpu/e_powf.S: Removed.
24962 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24963 * sysdeps/i386/fpu/w_powf.c: Likewise.
24964 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24965 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24966 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24967 Add e_powf-sse2.
24968 (CFLAGS-e_powf-sse2.c): New.
24969 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24970 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24971
6089a3ee
L
249722017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24973
24974 * sysdeps/i386/fpu/e_log2f.S: Removed.
24975 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24976 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24977 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24978 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24979 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24980 Add e_log2f-sse2.
24981 (CFLAGS-e_log2f-sse2.c): New.
24982 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24983 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24984
80bb5935
L
249852017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24986
24987 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24988 Add e_powf-fma.
24989 (CFLAGS-e_powf-fma.c): New.
24990 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24991 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24992
5c7adbd8
L
249932017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24994
24995 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24996 Add e_log2f-fma.
24997 (CFLAGS-e_log2f-fma.c): New.
24998 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24999 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25000
0ccc7153
L
250012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25002
25003 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25004 Add e_logf-fma.
25005 (CFLAGS-e_logf-fma.c): New.
25006 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25007 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25008
fe596486
L
250092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25010
25011 * sysdeps/i386/fpu/e_logf.S: Removed.
25012 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25013 * sysdeps/i386/fpu/w_logf.c: Likewise.
25014 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25015 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25016 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25017 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25018 Add e_logf-sse2.
25019 (CFLAGS-e_logf-sse2.c): New.
25020 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25021 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25022
7eda65f6
L
250232017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25024
25025 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25026 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25027 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25028 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25029 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25030 Add e_exp2f-sse2.
25031 (CFLAGS-e_exp2f-sse2.c): New.
25032 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25033 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25034
5d15c969
L
250352017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25036
25037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25038 Add e_exp2f-fma.
25039 (CFLAGS-e_exp2f-fma.c): New.
25040 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25041 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25042
b2f6137e
L
250432017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25044
25045 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25046 * sysdeps/i386/fpu/e_expf.S: Likewise.
25047 * sysdeps/i386/fpu/math_errf.c: Likewise.
25048 * sysdeps/i386/fpu/w_expf.c: Likewise.
25049 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25051 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25052 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25053 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25054 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25055 Remove e_expf-ia32.
25056 (CFLAGS-e_expf-sse2.c): New.
25057 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25058 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25059
e1f59beb
L
250602017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25061
25062 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25063 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25064 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25065 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25066 e_expf.c.
25067 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25068 New.
25069 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25070 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25071 Renamed to ...
25072 (__redirect_expf): This.
25073 (SYMBOL_NAME): Changed to expf.
25074 (__ieee754_expf): Renamed to ...
25075 (__expf): This.
25076 (__GI___expf): This.
25077 (__ieee754_expf): Add strong_alias.
25078 (__expf_finite): Likewise.
25079 (__expf): New.
25080 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25081
363e4519 250822017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
25083
25084 [BZ #22332]
25085 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25086 unescaping.
25087
e80fc1fc
FW
250882017-10-21 Florian Weimer <fweimer@redhat.com>
25089
25090 * posix/Makefile (tests): Add tst-glob-tilde.
25091 (tests-special): Add tst-glob-tilde-mem.out
25092 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25093 (tst-glob-tilde-mem.out): Add mtrace check.
25094 * posix/tst-glob-tilde.c: New file.
25095
797ba44b
JM
250962017-10-20 Joseph Myers <joseph@codesourcery.com>
25097
25098 * bits/floatn-common.h: New file.
25099 * math/Makefile (headers): Add bits/floatn-common.h.
25100 * bits/floatn.h: Include <bits/floatn-common.h>.
25101 * sysdeps/ia64/bits/floatn.h: Likewise.
25102 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25103 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25104 * sysdeps/powerpc/bits/floatn.h: Likewise.
25105 * sysdeps/x86/bits/floatn.h: Likewise.
25106
fe05e1cb
AZ
251072017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25108
8f6f5362
AZ
25109 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25110 indicates whether compiler emits an warning for alias for
25111 functions with incompatible types.
25112
fe05e1cb
AZ
25113 [BZ #22273]
25114 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25115 the auxiliary process is terminated by a signal before calling _exit
25116 or execve.
25117
b52b0d79
L
251182017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25119
25120 [BZ #21265]
25121 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25122 New.
25123 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25124 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25125 and bit_arch_XSAVEC_Usable if needed.
25126 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25127 and bit_arch_Use_dl_runtime_resolve_opt.
25128 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25129 Removed.
25130 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25131 (bit_arch_Prefer_No_AVX512): Updated.
25132 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25133 (bit_arch_XSAVEC_Usable): New.
25134 (STATE_SAVE_OFFSET): Likewise.
25135 (STATE_SAVE_MASK): Likewise.
25136 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25137 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25138 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25139 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25140 (index_arch_XSAVEC_Usable): New.
25141 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25142 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25143 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25144 is enabled.
25145 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25146 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25147 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25148 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25149 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25150 _dl_runtime_resolve_xsavec.
25151 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25152 Removed.
25153 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25154 instead of VEC_SIZE.
25155 (REGISTER_SAVE_BND0): Removed.
25156 (REGISTER_SAVE_BND1): Likewise.
25157 (REGISTER_SAVE_BND3): Likewise.
25158 (REGISTER_SAVE_RAX): Always defined to 0.
25159 (VMOV): Removed.
25160 (_dl_runtime_resolve_avx): Likewise.
25161 (_dl_runtime_resolve_avx_slow): Likewise.
25162 (_dl_runtime_resolve_avx_opt): Likewise.
25163 (_dl_runtime_resolve_avx512): Likewise.
25164 (_dl_runtime_resolve_avx512_opt): Likewise.
25165 (_dl_runtime_resolve_sse): Likewise.
25166 (_dl_runtime_resolve_sse_vex): Likewise.
25167 (USE_FXSAVE): New.
25168 (_dl_runtime_resolve_fxsave): Likewise.
25169 (USE_XSAVE): Likewise.
25170 (_dl_runtime_resolve_xsave): Likewise.
25171 (USE_XSAVEC): Likewise.
25172 (_dl_runtime_resolve_xsavec): Likewise.
25173 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25174 Removed.
25175 (_dl_runtime_resolve_avx512_opt): Likewise.
25176 (_dl_runtime_resolve_avx): Likewise.
25177 (_dl_runtime_resolve_avx_opt): Likewise.
25178 (_dl_runtime_resolve_sse): Likewise.
25179 (_dl_runtime_resolve_sse_vex): Likewise.
25180 (_dl_runtime_resolve_fxsave): New.
25181 (_dl_runtime_resolve_xsave): Likewise.
25182 (_dl_runtime_resolve_xsavec): Likewise.
25183
363e4519 251842017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
25185
25186 [BZ #22320]
25187 CVE-2017-15670
25188 * posix/glob.c (__glob): Fix one-byte overflow.
25189
6d43de4b
WD
251902017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25191
25192 * malloc/malloc.c (sysdep-cancel.h): Add include.
25193
a15d53e2
WD
251942017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25195
25196 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25197
b9a558e7
WH
251982017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25199
25200 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25201 (tests): Remove $(objpfx)ga_test depdendency.
25202 * resolv/ga_test.c: Remove file.
25203
b6b08b8e
MF
252042017-10-20 Mike FABIAN <mfabian@redhat.com>
25205
25206 [BZ #18812]
25207 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25208 * localedata/locales/kab_DZ: New file.
25209
9ba7e810
L
252102017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25211
25212 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25213 _dl_relocate_static_pie instead of _dl_start to compute load
25214 address in static PIE.
25215
4027a4fd
L
252162017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25217
25218 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25219
2f9314b4
MF
252202017-10-20 Mike FABIAN <mfabian@redhat.com>
25221
25222 [BZ #13605]
25223 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25224 * localedata/locales/shn_MM: New file.
25225
63b4baa4
FW
252262017-10-20 Florian Weimer <fweimer@redhat.com>
25227
25228 [BZ #22321]
25229 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25230 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25231 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25232 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25233 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25234 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25235
95ccb619
L
252362017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25237
25238 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25239
37bb78cb
JM
252402017-10-19 Joseph Myers <joseph@codesourcery.com>
25241
76f2ed92
JM
25242 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25243
37bb78cb
JM
25244 [BZ #22322]
25245 * sysdeps/mips/bits/long-double.h: Move to ....
25246 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25247
d74e6f6c
WD
252482017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25249
25250 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25251
363e4519 252522017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
25253 H.J. Lu <hongjiu.lu@intel.com>
25254
25255 [BZ #22299]
25256 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25257 GLRO(dl_platform) to NULL.
25258 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25259 (modules-names): Add tst-platformmod-1 and
25260 x86_64/tst-platformmod-2.
25261 (CFLAGS-tst-platform-1.c): New.
25262 (CFLAGS-tst-platformmod-1.c): Likewise.
25263 (CFLAGS-tst-platformmod-2.c): Likewise.
25264 (LDFLAGS-tst-platformmod-2.so): Likewise.
25265 ($(objpfx)tst-platform-1): Likewise.
25266 ($(objpfx)tst-platform-1.out): Likewise.
25267 (tst-platform-1-ENV): Likewise.
25268 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25269 * sysdeps/x86_64/tst-platform-1.c: New file.
25270 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25271 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25272
4b0fa403
MF
252732017-10-19 Mike FABIAN <mfabian@redhat.com>
25274
25275 [BZ #13994]
25276 * locale/iso-639.def: Add Karbi.
25277 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25278 * localedata/locales/mjw_IN: New file.
25279
81325b12
JM
252802017-10-18 Joseph Myers <joseph@codesourcery.com>
25281
25282 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25283 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25284 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25285 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25286 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25287 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25288 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25289 <bits/floatn.h>.
25290 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25291 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25292 * manual/math.texi (Mathematics): Document additional architecture
25293 support for _Float128.
25294 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25295 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25296 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25297 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25300 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25301 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25309
a68ba2f3
SN
253102017-10-18 Renlin Li <renlin.li@arm.com>
25311
25312 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25313 _DYNAMIC symbol to calculate load address.
25314
346729f6
PC
253152017-10-18 Paul A. Clarke <pc@us.ibm.com>
25316
25317 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25318 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25319 summary bits.
25320 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25321 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25322
508b1e71
MF
253232017-10-18 Mike FABIAN <mfabian@redhat.com>
25324
25325 [BZ #16777]
25326 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25327 and improve readability by using more ASCII.
25328 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25329 and improve readability by using more ASCII.
25330
2c2245b9
WD
253312017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25332
25333 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25334 not all targets support atomics on bool.
25335
13c92696
JM
253362017-10-17 Joseph Myers <joseph@codesourcery.com>
25337
25338 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25339 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25340 __f128.
25341 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25342 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25343 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25344 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25345 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25346 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25347
71d85045
AZ
253482017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25349
25350 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25351 defines.
25352
3381be5c
WD
253532017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25354
25355 [BZ #22159]
25356 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25357 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25358 (do_check_remalloced_chunk): Fix build bug.
25359 (do_check_malloc_state): Add assert that checks arena->top.
25360 (malloc_consolidate): Remove initialization.
25361 (int_mallinfo): Remove call to malloc_consolidate.
25362 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25363
e956075a
WD
253642017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25365
25366 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25367 (have_fastchunks): Remove.
25368 (clear_fastchunks): Remove.
25369 (set_fastchunks): Remove.
25370 (malloc_state): Add have_fastchunks.
25371 (malloc_init_state): Use have_fastchunks.
25372 (do_check_malloc_state): Remove incorrect invariant checks.
25373 (_int_malloc): Use have_fastchunks.
25374 (_int_free): Likewise.
25375 (malloc_consolidate): Likewise.
25376
e4dd4ace
WD
253772017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25378
25379 * malloc/malloc.c (tcache_put): Inline.
25380 (tcache_get): Inline.
25381
5bf58bc7
AJ
253822017-10-17 Jordi Mallach <jordi@gnu.org>
25383
25384 Aurelien Jarno <aurelien@aurel32.net>
25385 [BZ #2522]
25386 * localedata/locales/ca_ES@valencia: New file.
25387 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25388
386e1c26
RN
253892017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25390
25391 [BZ #22296]
25392 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25393 < 6.x
25394
4e17c78e
AZ
253952017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25396
3d265601
AZ
25397 * scripts/build-many-glibcs.py (Context.add_all_configs):
25398 Add arm-linux-gnueabihf multiarch extra_glibcs.
25399
4e17c78e
AZ
25400 * sysdeps/generic/ifunc-init.h: New file.
25401 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25402
56a752ab
MF
254032017-10-17 Mike FABIAN <mfabian@redhat.com>
25404
25405 [BZ #22019]
25406 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25407 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25408 * stdlib/tst-strfmon_l.c: adapt test case.
25409
c38a4bfd
JM
254102017-10-16 Joseph Myers <joseph@codesourcery.com>
25411
25412 * sysdeps/generic/float128-abi.h: New file.
25413 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25414 non-__prefixed symbols to ....
25415 * math/Versions: ... here. Include <float128-abi.h>.
25416 * stdlib/Versions ... and here. Include <float128-abi.h>
25417
76009b26
FW
254182017-10-16 Florian Weimer <fweimer@redhat.com>
25419
25420 * version.h (VERSION): Switch to ".9000" as the development
25421 version suffix.
25422
7ece6cd5
FW
254232017-10-16 Florian Weimer <fweimer@redhat.com>
25424
25425 [BZ #22050]
25426 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25427 compat_symbol_reference to access non-default version.
25428
d8287b36
FW
254292017-10-16 Florian Weimer <fweimer@redhat.com>
25430
25431 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25432
3480ddc4
CD
254332017-10-16 Carlos O'Donell <carlos@redhat.com>
25434
25435 * include/shlib-compat.h (compat_symbol_reference): Update
25436 comment.
25437
02010e79
JM
254382017-10-16 Joseph Myers <joseph@codesourcery.com>
25439
596f7013
JM
25440 * math/Makefile (test-types): Add
25441 $(type-float128-$(float128-alias-fcts)).
25442 * math/test-float128.h (TYPE_STR): Define conditional on
25443 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25444 (ULP_IDX): Likewise.
25445 (ULP_I_IDX): Likewise.
25446
02010e79
JM
25447 * stdlib/strtold.c: Include <bits/floatn.h>
25448 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25449 and later undefine as macro. Define as weak alias if
25450 [!USE_WIDE_CHAR].
25451 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25452 and later undefine as macro. Define as weak alias if
25453 [USE_WIDE_CHAR].
25454 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25455 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25456 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25457 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25458 Define and later undefine as macro. Define as weak alias if
25459 [USE_WIDE_CHAR].
25460 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25461 <bits/floatn.h>.
25462 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25463 Define and later undefine as macro. Define as weak alias if
25464 [!USE_WIDE_CHAR].
25465 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25466 Define and later undefine as macro. Define as weak alias if
25467 [USE_WIDE_CHAR].
25468
ea91c315
CD
254692017-10-15 Carlos O'Donell <carlos@redhat.com>
25470
25471 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25472 record_verbose messages.
25473
8e57c943
L
254742017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25475
25476 [BZ #22052]
25477 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25478 to silence -O3 -Wall warning with GCC 7.
25479
a4777c46
L
254802017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25481
25482 * Makeconfig (+link-static-before-libc): Use the first of
25483 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25484 * gmon/Makefile (tests): Add tst-gmon-static.
25485 (tests-static): Likewise.
25486 (CFLAGS-tst-gmon-static.c): New.
25487 (CRT-tst-gmon-static): Likewise.
25488 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25489 (tst-gmon-static-ENV): Likewise.
25490 (tests-special): Likewise.
25491 ($(objpfx)tst-gmon-static.out): Likewise.
25492 (clean-tst-gmon-static-data): Likewise.
25493 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25494 * gmon/tst-gmon-static-gprof.sh: New file.
25495 * gmon/tst-gmon-static.c: Likewise.
25496
bc3821bb
CD
254972017-10-13 Carlos O'Donell <carlos@redhat.com>
25498
25499 [BZ #22295]
25500 * locale/programs/linereader.c (get_string): Don't warn on
25501 non-symbolic character.
25502
a3e23a2c
CD
25503 [BZ #22294]
25504 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25505 int_curr_symbol.
25506
f16491eb
CD
25507 [BZ #22292]
25508 * locale/programs/record-status.h: New file
25509 * locale/programs/locale.c: Add comment.
25510 * locale/programs/charmap-dir.c: Don't include error.h.
25511 (charmap_opendir): Use record_error.
25512 * locale/programs/charmap.c: Don't include error.h.
25513 (charmap_read): Use record_error, and record_warning.
25514 (parse_charmap): Likewise.
25515 * locale/programs/ld-address.c: Don't include error.h.
25516 (address_finish): Use record_error, and record_warning.
25517 * locale/programs/ld-collate.c: Don't include error.h.
25518 (collate_finish): Use record_error, and record_error_at_line.
25519 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25520 (ctype_class_new): Likewise.
25521 (ctype_map_new): Likewise.
25522 (set_one_default): Likewise.
25523 (set_class_defaults): Likewise.
25524 (translit_flatten): Likewise.
25525 (allocate_arrays): Use record_error, and record_verbose.
25526 * locale/programs/ld-identification.c: Don't include error.h.
25527 (indentation_finish): Use record_error and record_warning.
25528 * locale/programs/ld-measurement.c: Don't include error.h.
25529 (measurement_finish): Use record_error.
25530 * locale/programs/ld-messages.c
25531 (message_finish): Likewise.
25532 * locale/programs/ld-monetary.c
25533 (monetary_finish): Likewise.
25534 * locale/programs/ld-name.c (name_finish): Use record_error
25535 and record_warning.
25536 * locale/programs/ld-numeric.c
25537 (numeric_finish): Use record_error.
25538 * locale/programs/ld-paper.c: Don't include error.h.
25539 (paper_finish): Use record_error.
25540 * locale/programs/ld-telephone.c: Don't include error.h.
25541 (telephone_finish): Use record_error.
25542 * locale/programs/ld-time.c (time_finish): Likewise.
25543 * locale/programs/linereader.h (lr_error): Make inline func.
25544 * locale/programs/localedef.c: Define recorded_warning_count,
25545 and recorded_error_count.
25546 (main): Use record_error. Use recorded_error_count and
25547 recorded_warning_count to issue correct error returns.
25548 (add_to_readlist): Use record_error.
25549 (find_locale): Likewise.
25550 (load_locale): Likewise.
25551 * locale/programs/localedef.h: Remove be_quiet
25552 and WITH_CUR_LOCALE.
25553 * locale/programs/locarchive.c (compare_from_file): Use
25554 record_error.
25555 * locale/programs/locfile.c (write_locale_data): Use
25556 record_error.
25557 * locale/programs/repertoire.c: Dont include error.h.
25558 (repertoire_complain): Use record_error.
25559 * localedata/tst-fmon.sh: Expect failures from localedef.
25560 * localedata/tst-locale.sh: Likewise.
25561 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25562
8dc8be75
CD
25563 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25564 (REPORTS): Likewise.
25565 (check): Likewise.
25566 (i18n): Rename to...
25567 (i18n_ctype): ...this.
25568 (i18n-report): Rename to...
25569 (i18n_ctype-report): ...this.
25570 * localedata/locales/i18n_ctype: Regenerate.
25571 * localedata/locales/i18n: copy i18n_ctype.
25572
f8718a9e
JM
255732017-10-13 Joseph Myers <joseph@codesourcery.com>
25574
18c08b96
JM
25575 * stdlib/strfroml.c: Include <bits/floatn.h>.
25576 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25577 Define before include of <stdlib.h> and undefine afterwards, then
25578 define as weak alias.
25579
f8718a9e
JM
25580 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25581 Undefine and restore default definition. Use
25582 libm_alias_ldouble_other.
25583
e4f530da
PZ
255842017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25585
25586 [BZ #22153]
25587 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25588 in coredumps.
25589
86445888
JC
255902017-10-13 James Clarke <jrtc27@jrtc27.com>
25591
25592 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25593 Assign sym_map to be map for local symbols, as TLS relocations
25594 use sym_map to determine whether the symbol is defined and to
25595 extract the TLS information.
25596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25598
179dcdb7
TMQMF
255992017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25600
e8dbd6a3
TMQMF
25601 [BZ #22189]
25602 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25603 (math_force_eval): Add powerpc version.
25604
179dcdb7
TMQMF
25605 [BZ #22142]
25606 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25607 -DBL_MAX.
25608 (do_test): Likewise.
25609 * stdio-common/tst-printf.sh: Likewise.
25610 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25611 ifdef clause in order to set the carry bit right. Replace r0 by
25612 0 without changing the behavior.
25613
7d25d410
JM
256142017-10-13 Joseph Myers <joseph@codesourcery.com>
25615
006e7664
JM
25616 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25617 <libm-alias-ldouble.h>.
25618 (fabsl): Define using libm_alias_ldouble.
25619 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25620 <libm-alias-ldouble.h>.
25621 (fabsl): Define using libm_alias_ldouble.
25622
1def91b3
JM
25623 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25624 Remove conditional code.
25625
7d25d410
JM
25626 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25627 Rename to __clog10_internal_l.
25628 (__clog10_internal_l): Define aliases using
25629 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25630 with __clog10.
25631
077ee129
RS
256322017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25633
25634 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25635 * benchtests/sincosf-inputs: New file.
25636 * benchtests/cosf-inputs: New file.
25637 * benchtests/sinf-inputs: New file.
25638
5ba41de9
SN
256392017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25640
25641 * posix/tst-spawn.c (do_test): Wait for both children.
25642
d165ca64
L
256432017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25644
25645 [BZ #22284]
25646 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25647 tests-pie): Add tst-gmon-pie.
25648 (CFLAGS-tst-gmon-pie.c): New.
25649 (CRT-tst-gmon-pie): Likewise.
25650 (tst-gmon-pie-ENV): Likewise.
25651 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25652 ($(objpfx)tst-gmon-pie.out): Likewise.
25653 (clean-tst-gmon-pie-data): Likewise.
25654 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25655 * gmon/gmon.c [PIC]: Include <link.h>.
25656 [PIC] (callback): New function.
25657 (write_hist): Add an argument for load address. Subtract load
25658 address from PCs.
25659 (write_call_graph): Likewise.
25660 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25661 it to write_hist and write_call_graph.
7bacdcfc 25662 * gmon/tst-gmon-pie.c: New file.
d165ca64 25663
bc9620d0
JM
256642017-10-11 Joseph Myers <joseph@codesourcery.com>
25665
25666 * math/Makefile (test-types-basic): New variable.
25667 (test-types): Likewise.
25668 (libm-test-support): Use $(test-types) instead of $(types).
25669 (libm-tests-base-normal): Likewise.
25670 (libm-tests-base-finite): Likewise.
25671 (libm-tests-base-inline): Likewise.
25672 (generated): Likewise.
25673 ($(objpfx)libm-test-support-$(t).c): Likewise.
25674 (libm-tests-for-type iterator): Likewise.
25675 (libm-test-support iterator): Likewise.
25676 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25677 (ulp_idx): Use ULP_IDX.
25678 * math/test-ldouble.h: Include <float.h>.
25679 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25680 (ULP_IDX): New macro.
25681 (ULP_I_IDX): Likewise.
25682 * math/test-double.h (ULP_IDX): Likewise.
25683 (ULP_I_IDX): Likewise.
25684 * math/test-float.h (ULP_IDX): Likewise.
25685 (ULP_I_IDX): Likewise.
25686 * math/test-float128.h (ULP_IDX): Likewise.
25687 (ULP_I_IDX): Likewise.
25688
09c76a74
AZ
256892017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25690
25691 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25692 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25694 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25695 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25696 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25697 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25700 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25701 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25702 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25703 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25705 (SINGLE_THREAD_BY_GLOBAL): Define.
25706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25707 Likewise.
25708 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25709 Likewise.
25710 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25711 Likewise.
25712 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25713 Likewise.
25714 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25715 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25717 Likewise.
25718
2faa42da
AS
257192017-10-11 Andreas Schwab <schwab@suse.de>
25720
25721 * nis/Makefile (aux): Remove.
25722 * nscd/Makefile (aux): Add nscd_hash.
25723 (nscd-modules): Likewise.
25724 ($(objpfx)nscd): Don't depend on libnsl.
25725 * nscd/nscd_hash.c: New file.
25726 * nscd/nscd_hash.h: Likewise.
25727 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25728 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25729 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25730 instead of <nis/rpcsvc/nis.h>.
25731 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25732
d8425e11
FW
257332017-10-11 Florian Weimer <fweimer@redhat.com>
25734
25735 [BZ #22078]
25736 Avoid large NSS buffers with many addresses, aliases.
25737 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25738 using dynarrays and struct alloc_buffer.
25739 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25740 (tst-nss-files-hosts-multi): Link with -ldl.
25741 * nss/tst-nss-files-hosts-multi.c: New file.
25742
78e806fd
FW
257432017-10-11 Florian Weimer <fweimer@redhat.com>
25744
25745 [BZ #18023]
25746 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25747 scratch_buffer. Eliminate gotos.
25748
541f19ba
JM
257492017-10-11 Joseph Myers <joseph@codesourcery.com>
25750
0ff64d3a
JM
25751 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25752 libm_alias_ldouble_other.
25753 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25754 undefine and redefine.
25755 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25756 (exp10l): Do not define here.
25757 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25758 (weak_alias): Undefine and redefine.
25759 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25760 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25761 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25762 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25763
541f19ba
JM
25764 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25765 [!__fma] (fma): Define using libm_alias_double.
25766 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25767 [!__fmaf] (fmaf): Define using libm_alias_float.
25768 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25769 (fmal): Define using libm_alias_ldouble.
25770
24b6515d
JM
257712017-10-10 Joseph Myers <joseph@codesourcery.com>
25772
25773 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25774 New macro.
25775 (libm_alias_double_other): Likewise.
25776 (libm_alias_double_r): Use libm_alias_double_other_r.
25777 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25778 New macro.
25779 (libm_alias_float_other): Likewise.
25780 (libm_alias_float_r): Use libm_alias_float_other_r.
25781 * sysdeps/generic/libm-alias-float128.h
25782 (libm_alias_float128_other_r): New macro.
25783 (libm_alias_float128_other): Likewise.
25784 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25785 * sysdeps/generic/libm-alias-ldouble.h
25786 (libm_alias_ldouble_other_r): New macro.
25787 (libm_alias_ldouble_other): Likewise.
25788 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25789 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25790 (libm_alias_double_other_r): New macro.
25791 (libm_alias_double_other): Likewise.
25792 (libm_alias_double_r): Use libm_alias_double_other_r.
25793 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25794 (libm_alias_ldouble_other_r): New macro.
25795 (libm_alias_ldouble_other): Likewise.
25796 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25797 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25798 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25799 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25800 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25801 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25802 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25803 * math/w_exp2f.c: Use libm_alias_float_other.
25804 * math/w_expf.c: Likewise.
25805 * math/w_log2f.c: Likewise.
25806 * math/w_logf.c: Likewise.
25807 * math/w_powf.c: Likewise.
25808 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25809 [!__exp2f]: Use libm_alias_float_other.
25810 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25811 [!__expf]: Use libm_alias_float_other.
25812 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25813 [!__log2f]: Use libm_alias_float_other.
25814 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25815 [!__logf]: Use libm_alias_float_other.
25816 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25817 [!__powf]: Use libm_alias_float_other.
25818
8ed70de2
FW
258192017-10-10 Florian Weimer <fweimer@redhat.com>
25820
25821 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25822 function.
25823 (_nss_files_gethostbyname3_r): Call it.
25824
a8dce619
JM
258252017-10-09 Joseph Myers <joseph@codesourcery.com>
25826
25827 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25828 error. Remove default definition of declare_mgen_alias.
25829 [!declare_mgen_alias_r]: Likewise.
25830 * sysdeps/generic/math-type-macros-double.h
25831 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25832 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25833 (declare_mgen_alias_r): Likewise.
25834 * sysdeps/generic/math-type-macros-float128.h
25835 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25836 * sysdeps/generic/math-type-macros-ldouble.h
25837 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25838 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25839 macro.
25840 (declare_mgen_alias_r_s): Likewise.
25841 (declare_mgen_alias_r): Likewise.
25842 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25843 (lgamma_r): Define using libm_alias_double_r.
25844 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25845 (lgammaf_r): Define using libm_alias_float_r.
25846 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25847 (lgammal_r): Define using libm_alias_ldouble_r.
25848 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25849 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25850
bedac136
AZ
258512017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25852
25853 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25854 extern declaration.
25855
c7509db2
JM
258562017-10-09 Joseph Myers <joseph@codesourcery.com>
25857
25858 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25859
d6c064e9
JW
258602017-10-09 Jonathan Wakely <jwakely@redhat.com>
25861
25862 [BZ #21326]
25863 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25864 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25865 * math/Makefile (test-math-cxx11): New test.
25866 * math/test-math-cxx11.cc: New file.
25867
98e07420
CB
258682017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25869
25870 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25871
645ac9aa
CB
25872 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25873 call to allocate the slave pty file descriptor.
25874
fd3b4e7c
JM
258752017-10-06 Joseph Myers <joseph@codesourcery.com>
25876
f85a176f
JM
25877 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25878 [!__fma] (fma): Define using libm_alias_double.
25879 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25880 [!__fma] (fma): Define using libm_alias_double.
25881
fd3b4e7c
JM
25882 * sysdeps/ieee754/float128/float128_private.h: Include
25883 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25884 (libm_alias_ldouble_r): Undefine and redefine.
25885 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25886 <libm-alias-ldouble.h>.
25887 (asinhl): Define using libm_alias_ldouble.
25888 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25889 <libm-alias-ldouble.h>.
25890 (atanl): Define using libm_alias_ldouble.
25891 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25892 <libm-alias-ldouble.h>.
25893 (cbrtl): Define using libm_alias_ldouble.
25894 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25895 <libm-alias-ldouble.h>.
25896 (ceill): Define using libm_alias_ldouble.
25897 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25898 <libm-alias-ldouble.h>.
25899 (copysignl): Define using libm_alias_ldouble.
25900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25901 <libm-alias-ldouble.h>.
25902 (cosl): Define using libm_alias_ldouble.
25903 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25904 <libm-alias-ldouble.h>.
25905 (erfl): Define using libm_alias_ldouble.
25906 (erfcl): Likewise.
25907 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25908 <libm-alias-ldouble.h>.
25909 (expm1l): Define using libm_alias_ldouble.
25910 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25911 <libm-alias-ldouble.h>.
25912 (fabsl): Define using libm_alias_ldouble.
25913 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25914 <libm-alias-ldouble.h>.
25915 (floorl): Define using libm_alias_ldouble.
25916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25917 <libm-alias-ldouble.h>.
25918 (fmal): Define using libm_alias_ldouble.
25919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25920 <libm-alias-ldouble.h>.
25921 (frexpl): Define using libm_alias_ldouble.
25922 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25923 libm_alias_ldouble.
25924 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25925 <libm-alias-ldouble.h>.
25926 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25927 libm_alias_ldouble.
25928 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25929 <libm-alias-ldouble.h>.
25930 (getpayloadl): Define using libm_alias_ldouble.
25931 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25932 <libm-alias-ldouble.h>.
25933 (llrintl): Define using libm_alias_ldouble.
25934 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25935 <libm-alias-ldouble.h>.
25936 (llroundl): Define using libm_alias_ldouble.
25937 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25938 <libm-alias-ldouble.h>.
25939 (logbl): Define using libm_alias_ldouble.
25940 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25941 <libm-alias-ldouble.h>.
25942 (lrintl): Define using libm_alias_ldouble.
25943 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25944 <libm-alias-ldouble.h>.
25945 (lroundl): Define using libm_alias_ldouble.
25946 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25947 <libm-alias-ldouble.h>.
25948 (modfl): Define using libm_alias_ldouble.
25949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25950 <libm-alias-ldouble.h>.
25951 (nearbyintl): Define using libm_alias_ldouble.
25952 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25953 <libm-alias-ldouble.h>.
25954 (nextafterl): Define using libm_alias_ldouble.
25955 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25956 <libm-alias-ldouble.h>.
25957 (nextupl): Define using libm_alias_ldouble.
25958 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25959 <libm-alias-ldouble.h>.
25960 (remquol): Define using libm_alias_ldouble.
25961 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25962 <libm-alias-ldouble.h>.
25963 (rintl): Define using libm_alias_ldouble.
25964 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25965 <libm-alias-ldouble.h>.
25966 (roundevenl): Define using libm_alias_ldouble.
25967 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25968 <libm-alias-ldouble.h>.
25969 (roundl): Define using libm_alias_ldouble.
25970 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25971 using libm_alias_ldouble.
25972 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25973 <libm-alias-ldouble.h>.
25974 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25975 Define using libm_alias_ldouble.
25976 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25977 <libm-alias-ldouble.h>.
25978 (sincosl): Define using libm_alias_ldouble.
25979 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25980 <libm-alias-ldouble.h>.
25981 (sinl): Define using libm_alias_ldouble.
25982 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25983 <libm-alias-ldouble.h>.
25984 (tanhl): Define using libm_alias_ldouble.
25985 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25986 <libm-alias-ldouble.h>.
25987 (tanl): Define using libm_alias_ldouble.
25988 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25989 <libm-alias-ldouble.h>.
25990 (totalorderl): Define using libm_alias_ldouble.
25991 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25992 <libm-alias-ldouble.h>.
25993 (totalordermagl): Define using libm_alias_ldouble.
25994 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25995 <libm-alias-ldouble.h>.
25996 (truncl): Define using libm_alias_ldouble.
25997 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25998 libm_alias_ldouble.
25999 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26000 libm_alias_ldouble.
26001 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26002 <libm-alias-ldouble.h>.
26003 (weak_alias): Do not undefine and redefine.
26004 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26005 (copysignl): Define with long_double_symbol only if [IS_IN
26006 (libc)].
26007 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26008 <libm-alias-ldouble.h>.
26009 (weak_alias): Do not undefine and redefine.
26010 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26011 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26012 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26013 <libm-alias-ldouble.h>.
26014 (weak_alias): Do not undefine and redefine.
26015 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26016 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26017 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26018 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26020 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26021 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26022 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26024 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26026 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26027 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26028 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26031 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26032 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26034 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26039 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26040 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26041
1e26d351
CD
260422017-10-06 Carlos O'Donell <carlos@redhat.com>
26043
26044 [BZ #22111]
26045 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26046 (tcache_thread_freeres): Set tcache_shutting_down before
26047 freeing the tcache.
26048 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26049 * malloc/tst-malloc-tcache-leak.c: New file.
26050
d1386762
RS
260512017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26052
26053 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26054 back to powerpc32 file.
26055 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26056 (memrchr): Add __memrchr_power8 to ifunc list.
26057 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26058 extra bytes for unaligned inputs.
26059
6dff1983
JM
260602017-10-06 Joseph Myers <joseph@codesourcery.com>
26061
26062 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26063 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26067
86f9568a
JM
260682017-10-05 Joseph Myers <joseph@codesourcery.com>
26069
0db0b931
JM
26070 * sysdeps/arm/libm-test-ulps: Update.
26071
86f9568a
JM
26072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26073 <libm-alias-ldouble.h>.
26074 (asinhl): Define using libm_alias_ldouble.
26075 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26076 <libm-alias-ldouble.h>.
26077 (cbrtl): Define using libm_alias_ldouble.
26078 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26079 <libm-alias-ldouble.h>.
26080 (copysignl): Define using libm_alias_ldouble.
26081 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26082 <libm-alias-ldouble.h>.
26083 (cosl): Define using libm_alias_ldouble.
26084 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26085 <libm-alias-ldouble.h>.
26086 (erfl): Define using libm_alias_ldouble.
26087 (erfcl): Likewise.
26088 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26089 <libm-alias-ldouble.h>.
26090 (fmal): Define using libm_alias_ldouble.
26091 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26092 <libm-alias-ldouble.h>.
26093 (frexpl): Define using libm_alias_ldouble.
26094 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26095 libm_alias_ldouble.
26096 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26097 <libm-alias-ldouble.h>.
26098 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26099 libm_alias_ldouble.
26100 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26101 <libm-alias-ldouble.h>.
26102 (getpayloadl): Define using libm_alias_ldouble.
26103 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26104 <libm-alias-ldouble.h>.
26105 (llrintl): Define using libm_alias_ldouble.
26106 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26107 <libm-alias-ldouble.h>.
26108 (llroundl): Define using libm_alias_ldouble.
26109 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26110 <libm-alias-ldouble.h>.
26111 (lrintl): Define using libm_alias_ldouble.
26112 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26113 <libm-alias-ldouble.h>.
26114 (lroundl): Define using libm_alias_ldouble.
26115 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26116 <libm-alias-ldouble.h>.
26117 (modfl): Define using libm_alias_ldouble.
26118 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26119 <libm-alias-ldouble.h>.
26120 (nextupl): Define using libm_alias_ldouble.
26121 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26122 <libm-alias-ldouble.h>.
26123 (remquol): Define using libm_alias_ldouble.
26124 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26125 <libm-alias-ldouble.h>.
26126 (roundevenl): Define using libm_alias_ldouble.
26127 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26128 <libm-alias-ldouble.h>.
26129 (roundl): Define using libm_alias_ldouble.
26130 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26131 using libm_alias_ldouble.
26132 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26133 <libm-alias-ldouble.h>.
26134 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26135 <libm-alias-ldouble.h>.
26136 (setpayloadsigl): Define using libm_alias_ldouble.
26137 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26138 <libm-alias-ldouble.h>.
26139 (sincosl): Define using libm_alias_ldouble.
26140 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26141 <libm-alias-ldouble.h>.
26142 (sinl): Define using libm_alias_ldouble.
26143 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26144 <libm-alias-ldouble.h>.
26145 (tanhl): Define using libm_alias_ldouble.
26146 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26147 <libm-alias-ldouble.h>.
26148 (tanl): Define using libm_alias_ldouble.
26149 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26150 <libm-alias-ldouble.h>.
26151 (totalorderl): Define using libm_alias_ldouble.
26152 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26153 <libm-alias-ldouble.h>.
26154 (totalordermagl): Define using libm_alias_ldouble.
26155 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26156 libm_alias_ldouble.
26157 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26158 libm_alias_ldouble.
26159
9ec87fd2
SP
261602017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26161
dd5bc7f1
SP
26162 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26163 memmove_falkor.
26164 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26165 (__libc_ifunc_impl_list): Likewise.
26166 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26167 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26168
5bfb0404
SP
26169 * benchtests/bench-memmove-walk.c: New file.
26170 * benchtests/Makefile (string-benchset): Add it.
26171
36bb8edf
SP
26172 * benchtests/bench-memset-walk.c: New file.
26173 * benchtests/Makefile (string-benchset): Add it.
26174
9ec87fd2
SP
26175 * benchtests/bench-memcpy-walk.c: New file.
26176 * benchtests/Makefile (string-benchset): Add it.
26177
1e9522c6
FW
261782017-10-05 Florian Weimer <fweimer@redhat.com>
26179
26180 nscd: Eliminate compilation time dependency in the build output.
26181 * nscd/nscd_stat.c (STATDATA_VERSION)
26182 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26183 (STATDATA_VERSION_FULL): New macro definitions.
26184 (compilation): Remove.
26185 (struct statdata): Adjust version member.
26186 (send_stats): Set version from STATDATA_VERSION_FULL.
26187 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26188
644d3857
JM
261892017-10-05 Joseph Myers <joseph@codesourcery.com>
26190
26191 * configure.ac (--enable-add-ons): Remove option.
26192 (machine): Do not mention add-ons in comment.
26193 (LIBC_PRECONFIGURE): Likewise.
26194 (add_ons): Remove variable and sanity checks and logic to locate
26195 add-ons.
26196 (add_ons_automatic): Remove variable.
26197 (configured_add_ons): Likewise.
26198 (add_ons_sfx): Likewise.
26199 (add_ons_pfx): Likewise.
26200 (add_on_subdirs): Likewise.
26201 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26202 consideration of add-ons in Implies handling.
26203 (sysdeps_add_ons): Likewise.
26204 * configure: Regenerated.
26205 * libidn/configure.ac: Remove.
26206 * libidn/configure: Likewise.
26207 * sysdeps/unix/inet/configure.ac: New file.
26208 * sysdeps/unix/inet/configure: New generated file.
26209 * sysdeps/unix/inet/Subdirs: Add libidn.
26210 * Makeconfig (sysdeps-srcdirs): Remove variable.
26211 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26212 ($(common-objpfx)config.status): Do not depend on add-on files.
26213 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26214 comment.
26215 (all-subdirs): Do not include $(add-on-subdirs).
26216 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26217 * config.make.in (add-ons): Remove variable.
26218 (add-on-subdirs): Likewise.
26219 (sysdeps-add-ons): Likewise.
26220 * manual/Makefile (add-chapters): Remove.
26221 ($(objpfx)texis): Do not depend on $(add-chapters).
26222 (nonexamples): Do not handle $(add-chapters).
26223 (examples): Do not handle $(add-ons).
26224 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26225 libc-texinfo.sh.
26226 * manual/install.texi (Installation): Do not mention add-ons.
26227 (--enable-add-ons): Do not document configure option.
26228 * INSTALL: Regenerated.
26229 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26230 * manual/maint.texi (Hierarchy Conventions): Do not mention
26231 add-ons.
26232 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26233 --enable-add-ons.
26234 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26235 add-ons.
26236 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26237 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26238
19f82f35
AS
262392017-10-05 Andreas Schwab <schwab@suse.de>
26240
26241 [BZ #15142]
26242 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26243 (_IO_flush_all_lockp): Always lock list_all_lock.
26244 (_IO_flush_all_linebuffered): Likewise.
26245 (_IO_unbuffer_all): Likewise.
26246
91e7cf98
FW
262472017-10-05 Florian Weimer <fweimer@redhat.com>
26248
26249 [BZ #15436]
26250 Do not flush stdio streams on abort.
26251 * stdlib/abort.c (fflush): Remove macro definition.
26252 (abort): Remove stages related to stdio flushing.
26253
0c251257
FW
262542017-10-05 Florian Weimer <fweimer@redhat.com>
26255
26256 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26257
7ea59e3e
SL
262582017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26259
26260 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26261
84d0e6f0
FW
262622017-10-05 Florian Weimer <fweimer@redhat.com>
26263
26264 * support/support_format_hostent.c (support_format_hostent): Add
26265 more error information for NETDB_INTERNAL.
26266
ee417882
L
262672017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26268
26269 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26270 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26271 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26272 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26273 AC_DEFINE if multi-arch is enabled.
26274 * sysdeps/i386/configure: Regenerated.
26275
a67029ff
L
262762017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26277
26278 * Makeconfig (+link-static-before-libc): Use
26279 $(DEFAULT-LDFLAGS-$(@F)).
26280 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26281 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26282 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26283
5dba84b3
L
262842017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26285
26286 * elf/Makefile (tests): Add tst-main1.
26287 (modules-names): Add tst-main1mod.
26288 ($(objpfx)tst-main1): New.
26289 (CRT-tst-main1): Likewise.
26290 (LDFLAGS-tst-main1): Likewise.
26291 (LDLIBS-tst-main1): Likewise.
26292 (tst-main1mod.so-no-z-defs): Likewise.
26293 * elf/tst-main1.c: New file.
26294 * elf/tst-main1mod.c: Likewise.
26295
758f1bfa
L
262962017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26297
26298 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26299
7e16a5d1
JM
263002017-10-04 Joseph Myers <joseph@codesourcery.com>
26301
26302 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26303 (fma): Define using libm_alias_double.
26304 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26305 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26306 <math_ldbl_opt.h>.
26307 (fmal): Do not define as compat symbol here.
26308 * sysdeps/alpha/fpu/s_fma.c: New file.
26309
db4f87ba
SN
263102017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26311
26312 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26313
72d13ed1
JM
263142017-10-04 Joseph Myers <joseph@codesourcery.com>
26315
32d372d5
JM
26316 [BZ #22229]
26317 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26318 <math_ldbl_opt.h>
26319 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26320 and libc.
26321 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26322 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26323 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26324 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26326 Include <math_ldbl_opt.h>
26327 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26328 and libc.
26329 (compat_symbol): Undefine and redefine.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26331 <math_ldbl_opt.h>
26332 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26333 (compat_symbol): Undefine and redefine.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26335 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26336 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26337 GLIBC_2_1 for libm.
26338 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26339 GLIBC_2.0 copysignl symbol.
26340 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26341 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26342
72d13ed1
JM
26343 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26344
11c4f501
FW
263452017-10-04 Florian Weimer <fweimer@redhat.com>
26346
26347 * scripts/check-local-headers.sh: Ignore nspr4 header file
26348 directory in addition to nspr.
26349
57b4af19
GT
263502017-10-04 Guido Trentalancia <guido@trentalancia.net>
26351
26352 [BZ #17956]
26353 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26354 * configure: Regenerate.
26355 * crypt/Makefile (nss-cpp-flags): New variable.
26356 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26357 (CPPFLAGS-md5-crypt.c): Use it.
26358 * scripts/check-local-headers.sh: Ignore nspr header file
26359 directory.
26360
64d1e08e
AS
263612017-10-04 Andreas Schwab <schwab@suse.de>
26362
26363 * nis/Makefile (services): Remove compat.
26364 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26365 ($(objpfx)libnss_compat.so): Remove rule.
26366 * nis/Versions (libnss_compat): Remove.
26367 * nss/Makefile (services): Add compat.
26368 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26369 * nss/Versions (libnss_compat): Define.
26370 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26371 Don't include <rpc/types.h>. Replace bool_t by bool.
26372 * nss/nss_compat/compat-initgroups.c: Likewise.
26373 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26374 instead of <rpcsrv/ypclnt.h>.
26375 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26376 yp_get_default_domain.
26377 * nss/nss_compat/compat-pwd.c: Likewise.
26378 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26379 yp_get_default_domain.
26380 * nss/nss_compat/nisdomain.c: New file.
26381 * nss/nss_compat/nisdomain.h: Likewise.
26382
86c27ade
SN
263832017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26384
26385 [BZ #22244]
26386 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26387 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26388
8f8f8ef7
SN
263892017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26390
26391 [BZ #22243]
26392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26393 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26394
95577475
L
263952017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26396
26397 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26398 "movl main@GOTOFF(%ebx), %eax".
26399
02d2d892
L
264002017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26401
26402 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26403 allow undefined _DYNAMIC in PIE libc.a.
26404 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26405 Likewse.
26406
0c609d19
L
264072017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26408
26409 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26410 check _DYNAMIC.
26411
c34a19ed
L
264122017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26413
26414 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26415 check _DYNAMIC.
26416
cdd4155d
L
264172017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26418
26419 * math/test-math-iscanonical.cc (error): Replace bool with int.
26420
4699cb8b
JM
264212017-10-03 Joseph Myers <joseph@codesourcery.com>
26422
d8f619b3
JM
26423 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26424 (modf): Define using libm_alias_double, only if [!__modf].
26425 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26426 <libm-alias-double.h>.
26427 (modf): Define using libm_alias_double, only if [!__modf].
26428 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26429 compat symbol here.
26430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26431 (weak_alias): Do not undefine and redefine.
26432 (strong_alias): Likewise.
26433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26434 (weak_alias): Likewise.
26435 (strong_alias): Likewise.
26436
4699cb8b
JM
26437 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26438 (logb): Define using libm_alias_double, only if [!__logb].
26439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26440 <libm-alias-double.h>.
26441 (logb): Define using libm_alias_double, only if [!__logb].
26442 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26444 (weak_alias): Do not undefine and redefine.
26445 (strong_alias): Likewise.
26446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26447 (weak_alias): Likewise.
26448 (strong_alias): Likewise.
26449
bcc4e4bb
L
264502017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26451
26452 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26453 Check SHARED instead PIC.
26454
39793865
JM
264552017-10-03 Joseph Myers <joseph@codesourcery.com>
26456
7f1cbdf8
JM
26457 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26458 [!__fmaf] (fmaf): Define using libm_alias_float.
26459
39793865
JM
26460 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26461 (frexp): Define using libm_alias_double.
26462 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26463 <libm-alias-double.h>.
26464 (frexp): Define using libm_alias_double.
26465 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26466 compat symbol here.
26467
aa0235df
GG
264682017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26469
26470 [BZ #22235]
26471 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26472 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26473 (CFLAGS-test-math-iscanonical.cc): New variable.
26474 * math/test-math-iscanonical.cc: New file.
26475 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26476 Provide a C++ implementation based on function overloading,
26477 rather than using __MATH_TG, which uses C-only builtins.
26478 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26479 Likewise.
26480 * sysdeps/powerpc/powerpc64le/Makefile
26481 (CFLAGS-test-math-iscanonical.cc): New variable.
26482
a1132b5e
JM
264832017-10-03 Joseph Myers <joseph@codesourcery.com>
26484
26485 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26486 (ceil): Define using libm_alias_double.
26487 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26488 (floor): Define using libm_alias_double.
26489 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26490 <libm-alias-double.h>.
26491 (llround): Define using libm_alias_double.
26492 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26493 <libm-alias-double.h>.
26494 (lround): Define using libm_alias_double.
26495 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26496 <libm-alias-double.h>.
26497 (nearbyint): Define using libm_alias_double.
26498 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26499 <libm-alias-double.h>.
26500 (remquo): Define using libm_alias_double.
26501 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26502 (rint): Define using libm_alias_double.
26503 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26504 (round): Define using libm_alias_double.
26505 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26506 (trunc): Define using libm_alias_double.
26507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26508 <libm-alias-double.h>.
26509 (ceil): Define using libm_alias_double.
26510 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26511 <libm-alias-double.h>.
26512 (floor): Define using libm_alias_double.
26513 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26514 <libm-alias-double.h>.
26515 (llround): Define using libm_alias_double.
26516 [_LP64] (lround): Likewise.
26517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26518 <libm-alias-double.h>.
26519 [!_LP64] (lround): Define using libm_alias_double.
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26521 <libm-alias-double.h>.
26522 (nearbyint): Define using libm_alias_double.
26523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26524 <libm-alias-double.h>.
26525 (remquo): Define using libm_alias_double.
26526 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26527 <libm-alias-double.h>.
26528 (rint): Define using libm_alias_double.
26529 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26530 <libm-alias-double.h>.
26531 (round): Define using libm_alias_double.
26532 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26533 <libm-alias-double.h>.
26534 (trunc): Define using libm_alias_double.
26535 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26536 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26537 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26538 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26539 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26540 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26541 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26542 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26543 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26544
f275f64e
SN
265452017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26546
26547 * math/w_remainder.c: New file.
26548 * math/w_remainderf.c: New file.
26549 * math/w_remainderl.c: New file.
26550
b8818ab5
L
265512017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 * elf/rtld.c (BOOTSTRAP_MAP): New.
26554 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26555 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26556 Likewise.
26557 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26558 Likewise.
26559 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26560 Likewise.
26561
3d1870fa
ST
265622017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26563
26564 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26565 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26566 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26567 rtld_hidden_data_ver): Define to empty.
26568 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26569 __assert_perror_fail): Likewise.
26570 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26571 (__rewinddir): Likewise.
26572 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26573 (__profile_frequency): Likewise.
26574 * include/setjmp.h (__sigsetjmp): Likewise.
26575 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26576 __libc_sigaction): Likewise.
26577 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26578 not set hidden attribute.
26579 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26580 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26581 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26582 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26583 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26584 __fxstatat64): Likewise.
26585 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26586 (__uname): Likewise.
26587 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26588 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26589 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26590 (NO_RTLD_HIDDEN): Set.
26591 * sysdeps/mach/hurd/configure: Refresh.
26592 * config.h.in: Refresh.
26593
527cd19c
JM
265942017-10-02 Joseph Myers <joseph@codesourcery.com>
26595
38722448
JM
26596 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26597 (atan): Define using libm_alias_double.
26598 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26599 (tan): Define using libm_alias_double.
26600 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26601 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26602
527cd19c
JM
26603 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26604 define as weak alias of __atan. Do not define any aliases if
26605 [__atan].
26606 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26607 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26608 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26609 as weak alias of __tan. Do not define any aliases if [__tan].
26610 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26611 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26612 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26613 __atan.
26614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26615 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26616 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26617 and define as weak alias of __atan.
26618 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26619 __atan.
26620 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26621 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26622 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26623 define as weak alias of __tan.
26624
bdc5c592
SN
266252017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26626
26627 * math/w_lgamma.c: New file.
26628 * math/w_lgammaf.c: New file.
26629 * math/w_lgammal.c: New file.
26630
bd4430c2
SN
266312017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26632
26633 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26634 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26635 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26636 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26637 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26638 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26639 * sysdeps/i386/fpu/w_log2f.c: New file.
26640 * sysdeps/i386/fpu/w_logf.c: New file.
26641 * sysdeps/i386/fpu/w_powf.c: New file.
26642 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26643 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26644 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26645
f7a0b063
SN
266462017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26647 H.J. Lu <hongjiu.lu@intel.com>
26648
26649 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26650 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26651 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26652 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26654 the new expf code.
26655 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26656 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26657 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26658 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26659 * sysdeps/i386/fpu/w_exp2f.c: New file.
26660 * sysdeps/i386/fpu/w_expf.c: New file.
26661 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26662 * sysdeps/x86_64/fpu/w_expf.c: New file.
26663
72d3d281
SN
266642017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26665
26666 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26667 (log2f): Likewise.
26668 (powf): Likewise.
26669 * math/w_log2f.c: New file.
26670 * math/w_logf.c: New file.
26671 * math/w_powf.c: New file.
26672 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26673 * math/w_logf_compat.c (__logf_compat): Likewise.
26674 * math/w_powf_compat.c (__powf_compat): Likewise.
26675 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26676 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26677 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26678 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26679 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26680 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26681 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26682 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26683 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26684 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26685 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26686 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26687 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26688 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26689 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26691 Likewise.
26692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26693 Likewise.
26694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26695 Likewise.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26697 Likewise.
26698 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26699 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26700 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26701 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26702 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26704 Likewise.
26705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26706 Likewise.
26707 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26710
59ba2d2b
RS
267112017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26712
26713 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26714 (sysdep_routines): Add memrchr_power8.
26715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26716 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26717 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26718 New file.
26719 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26720 (memrchr): Add __memrchr_power8 to ifunc list.
26721 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26722
397286ea
L
267232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26724
26725 [BZ #18822]
26726 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26727 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26728 libc_hidden_def.
26729 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26730 (__posix_fallocate64_l64): Likewise.
26731
d0a4512b
L
267322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26733
26734 [BZ #18822]
26735 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26736 (__sched_setaffinity_new): Add libc_hidden_proto and
26737 libc_hidden_def.
26738
c0769f70
L
267392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26740
26741 [BZ #18822]
26742 * include/glob.h (__glob64): Add libc_hidden_proto.
26743 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26744 libc_hidden_def.
26745
0e7d5b6e
L
267462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26747
26748 [BZ #18822]
26749 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26750 attribute_hidden.
26751
bde06c87
L
267522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26753
26754 [BZ #18822]
26755 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26756
fa426590
L
267572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26758
26759 [BZ #18822]
26760 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26761 libc_hidden_def.
26762
2f8a05d8
L
267632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26764
26765 [BZ #18822]
26766 * csu/version.c (__libc_print_version): Add attribute_hidden.
26767
7bfd08ac
L
267682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26769
26770 [BZ #18822]
26771 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26772
0e1fd06c
L
267732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26774
26775 [BZ #18822]
26776 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26777
36e7ae1e
L
267782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26779
26780 [BZ #18822]
26781 * nscd/nscd_helper.c (__nis_hash): New prototype.
26782
87078544
L
267832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26784
26785 [BZ #18822]
26786 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26787 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26788 libc_hidden_def.
26789 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26790 * termios/tcgetattr.c (__tcgetattr): Likewise.
26791
dd3121df
L
267922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26793
26794 [BZ #18822]
26795 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26796 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26797 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26798 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26799 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26800
047d1a81
L
268012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26802
26803 [BZ #18822]
26804 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26805
fd331b11
L
268062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26807
26808 [BZ #18822]
26809 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26810 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26811
57f859bd
L
268122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26813
26814 [BZ #18822]
26815 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26816
d1903329
L
268172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26818
26819 [BZ #18822]
26820 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26821 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26822
b4744101
L
268232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 [BZ #18822]
26826 * include/ifreq.h: New file.
26827 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26828 (__ifreq): Likewise.
26829 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26830 (__ifreq): Likewise.
26831
43b7dfd1
L
268322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26833
26834 [BZ #18822]
26835 * include/idna.h: New file.
26836 * inet/getnameinfo.c: Include <idna.h> instead of
26837 <libidn/idna.h>.
26838 (__idna_to_unicode_lzlz): Removed.
26839 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26840 <libidn/idna.h>.
26841 (__idna_to_ascii_lz): Removed.
26842 (__idna_to_unicode_lzlz): Likewise.
26843
2c0cd8f8
L
268442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26845
26846 [BZ #18822]
26847 * include/plural-exp.h: New file.
26848 * intl/plural-exp.c: Include <plural-exp.h> instead of
26849 "plural-exp.h".
26850
8369d216
L
268512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26852
26853 [BZ #18822]
26854 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26855 "getsourcefilter.h".
26856 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26857 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26858 "getsourcefilter.h".
26859 (__get_sol): Removed.
26860
a0aef783
L
268612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26862
26863 [BZ #18822]
26864 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26865 to ...
26866 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26867
3ee8209b
L
268682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26869
26870 [BZ #18822]
26871 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26872 attribute_hidden.
26873
6036fc38
L
268742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26875
26876 [BZ #18822]
26877 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26878
fe84fed0
L
268792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26880
26881 [BZ #18822]
26882 * include/search.h (__tdestroy): Add libc_hidden_proto.
26883 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26884
048dd681
L
268852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 [BZ #18822]
26888 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26889
6e342af6
L
268902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26891
26892 [BZ #18822]
26893 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26894 attribute_hidden.
26895
6a088436
L
268962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 [BZ #18822]
26899 * include/signal.h (__kill): Add libc_hidden_proto.
26900 (__sigblock): Likewise.
26901 (__sigprocmask): Likewise.
26902 (__sigaltstack): Likewise.
26903 * signal/kill.c (__kill): Add libc_hidden_def.
26904 * signal/sigblock.c (__sigblock): Likewise.
26905 * signal/sigprocmask.c (__sigprocmask): Likewise.
26906 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26907 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26908 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26909 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26910 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26911 Likewise.
26912 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26913 Likewise.
26914 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26915 (__sigprocmask): Likewise.
26916 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26917 Likewise.
26918 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26919 (__sigprocmask): Likewise.
26920 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26921 Likewise.
26922
78cf1d74
L
269232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26924
26925 [BZ #18822]
26926 * include/string.h (__strsep): Add libc_hidden_proto.
26927 * string/strsep.c (__strsep): Add libc_hidden_def.
26928
85b35894
L
269292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 [BZ #18822]
26932 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26933 attribute_hidden.
26934 (__spawni): Likewise.
26935
225f7eec
L
269362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26937
26938 [BZ #18822]
26939 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26940 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26941 libc_hidden_def.
26942
372fe247
L
269432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26944
26945 [BZ #18822]
26946 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26947
9e5ee8b8
L
269482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26949
26950 [BZ #18822]
26951 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26952 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26953 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26954 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26955 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26956 Likewise.
26957 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26958 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26959
2ff16592
L
269602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26961
26962 [BZ #18822]
26963 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26964 (__dcigettext): Likewise.
26965
b5648377
L
269662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26967
26968 [BZ #18822]
26969 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26970 libc_hidden_proto.
26971 (__get_nprocs): Likewise.
26972 (__get_phys_pages): Likewise.
26973 (__get_avphys_pages): Likewise.
26974 (__get_child_max): Add attribute_hidden.
26975 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26976 (__get_nprocs): Likewise.
26977 (__get_phys_pages): Likewise.
26978 (__get_avphys_pages): Likewise.
26979 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26980 libc_hidden_def.
26981 (__get_nprocs): Likewise.
26982 (__get_phys_pages): Likewise.
26983 (__get_avphys_pages): Likewise.
26984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26985 libc_hidden_def.
26986 (__get_nprocs_conf): Likewise.
26987 (__get_phys_pages): Likewise.
26988 (__get_avphys_pages): Likewise.
26989
0389a6aa
L
269902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26991
26992 [BZ #18822]
26993 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26994 attribute_hidden.
26995 (__netlink_close): Likewise.
26996 (__netlink_free_handle): Likewise.
26997 (__netlink_request): Likewise.
26998
d48354d8
L
269992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27000
27001 [BZ #18822]
27002 * include/rpc/rpc.h (__rpc_thread_variables): Add
27003 attribute_hidden.
27004 (__rpc_thread_svc_cleanup): Likewise.
27005 (__rpc_thread_clnt_cleanup): Likewise.
27006 (__rpc_thread_key_cleanup): Likewise.
27007
d6daff12
L
270082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 [BZ #18822]
27011 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27012 (__writev): Likewise.
27013 * misc/readv.c (__readv): Add libc_hidden_def.
27014 * misc/writev.c (__writev): Likewise.
27015 * sysdeps/posix/readv.c (__readv): Likewise.
27016 * sysdeps/posix/writev.c (__writev): Likewise.
27017 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27018 (__readv): Likewise.
27019 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27020 (__writev): Likewise.
27021
b68f8620
L
270222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27023
27024 [BZ #18822]
27025 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27026 (__regcomp): Add libc_hidden_proto.
27027 (__regexec): Likewise.
27028 (__regfree): Likewise.
27029 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27030 (__regfree): Likewise.
27031 * posix/regexec.c (__regexec): Likewise.
27032
59c04e67
L
270332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27034
27035 [BZ #18822]
27036 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27037 (__getutent): Likewise.
27038 (__getutid): Likewise.
27039 (__getutline): Likewise.
27040 (__pututline): Likewise.
27041 (__getutent_r): Likewise.
27042 (__getutid_r): Likewise.
27043 (__getutline_r): Likewise.
27044 (__utmpname): Add attribute_hidden.
27045 (__setutent): Likewise.
27046 (__endutent): Likewise.
27047 * login/getutent.c (__getutent): Add libc_hidden_def.
27048 * login/getutent_r.c (__getutent_r): Likewise.
27049 (__pututline): Likewise.
27050 * login/getutid.c (__getutid): Likewise.
27051 * login/getutid_r.c (__getutid_r): Likewise.
27052 * login/getutline.c (__getutline): Likewise.
27053 * login/getutline_r.c (__getutline_r): Likewise.
27054 * login/updwtmp.c (__updwtmp): Likewise.
27055
4587a421
L
270562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27057
27058 [BZ #18822]
27059 * include/dirent.h (__opendir): Always add attribute_hidden.
27060 (__fdopendir): Likewise.
27061 (__closedir): Likewise.
27062 (__readdir): Likewise.
27063 (__readdir64): Add libc_hidden_proto.
27064 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27065 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27066 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27067 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27068 New alias.
27069
9635ce69
L
270702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27071
27072 [BZ #18822]
27073 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27074 * include/netdb.h (__gethostbyaddr_r): Likewise.
27075 (__gethostbyname_r): Likewise.
27076 (__gethostbyname2_r): Likewise.
27077 (__getnetbyaddr_r): Likewise.
27078 (__getnetbyname_r): Likewise.
27079 (__getservbyname_r): Likewise.
27080 (__getservbyport_r): Likewise.
27081 (__getprotobyname_r): Likewise.
27082 (__getprotobynumber_r): Likewise.
27083 (__getnetgrent_r): Likewise.
27084 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27085 (__getrpcbynumber_r): Likewise.
27086 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27087
2e0a6909
L
270882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27089
27090 [BZ #18822]
27091 * include/stdio.h (__fcloseall): Add attribute_hidden.
27092 (__getline): Likewise.
27093 (__path_search): Likewise.
27094 (__gen_tempname): Likewise.
27095 (__libc_message): Likewise.
27096 (__flockfile): Likewise.
27097 (__funlockfile): Likewise.
27098 (__fxprintf): Likewise.
27099 (__fxprintf_nocancel): Likewise.
27100
94fd682c
L
271012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27102
27103 [BZ #18822]
27104 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27105 (__sgetsgent_r): Likewise.
27106
e1b33bba
L
271072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27108
27109 [BZ #18822]
27110 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27111 (__statfs64): Likewise.
27112 (__fstatfs64): Likewise.
27113 * include/sys/statvfs.h (__statvfs64): Likewise.
27114 (__fstatvfs64): Likewise.
27115 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27116 (__statfs_filesize_max): Likewise.
27117 (__statfs_symlinks): Likewise.
27118 (__statfs_chown_restricted): Likewise.
27119
b0f56784
L
271202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27121
27122 [BZ #18822]
27123 * include/time.h (__tzstring): Add attribute_hidden.
27124 (__tzfile_read): Likewise.
27125 (__tzfile_compute): Likewise.
27126 (__tzfile_default): Likewise.
27127 (__tzset_parse_tz): Likewise.
27128 (__offtime): Likewise.
27129 (__asctime_r): Likewise.
27130 (__tzset): Likewise.
27131 (__tz_convert): Likewise.
27132 (__getdate_r): Likewise.
27133 (__getclktck): Likewise.
27134
a4338d99
L
271352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27136
27137 [BZ #18822]
27138 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27139 (__nscd_unmap): Likewise.
27140 (__nscd_cache_search): Likewise.
27141 (__nscd_get_nl_timestamp): Likewise.
27142 (__nscd_getpwnam_r): Likewise.
27143 (__nscd_getpwuid_r): Likewise.
27144 (__nscd_getgrnam_r): Likewise.
27145 (__nscd_getgrgid_r): Likewise.
27146 (__nscd_gethostbyname_r): Likewise.
27147 (__nscd_gethostbyname2_r): Likewise.
27148 (__nscd_gethostbyaddr_r): Likewise.
27149 (__nscd_getai): Likewise.
27150 (__nscd_getgrouplist): Likewise.
27151 (__nscd_getservbyname_r): Likewise.
27152 (__nscd_getservbyport_r): Likewise.
27153 (__nscd_innetgr): Likewise.
27154 (__nscd_setnetgrent): Likewise.
27155
a2ca1652
L
271562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27157
27158 [BZ #18822]
27159 * include/gmp.h: Declare internal functions only if _ISOMAC is
27160 undefined.
27161 (__mpn_extract_double): Add attribute_hidden.
27162 (__mpn_extract_long_double): Likewise.
27163 (__mpn_extract_float128): Likewise.
27164 (__mpn_construct_float): Likewise.
27165 (__mpn_construct_double): Likewise.
27166 (__mpn_construct_long_double): Likewise.
27167 (__mpn_construct_float128): Likewise.
27168 (mpn_add_1): Likewise.
27169 (mpn_addmul_1): Likewise.
27170 (mpn_add_n): Likewise.
27171 (mpn_cmp): Likewise.
27172 (mpn_divrem): Likewise.
27173 (mpn_lshift): Likewise.
27174 (mpn_mul): Likewise.
27175 (mpn_mul_1): Likewise.
27176 (mpn_rshift): Likewise.
27177 (mpn_sub_1): Likewise.
27178 (mpn_submul_1): Likewise.
27179 (mpn_sub_n): Likewise.
27180
44af8a32
L
271812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27182
27183 [BZ #18822]
27184 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27185 (__wcscat): Likewise.
27186 (__btowc): Likewise.
27187 (__wcrtomb): Likewise.
27188 (__mbsrtowcs): Likewise.
27189 (__wcsrtombs): Likewise.
27190 (__mbsnrtowcs): Likewise.
27191 (__wcsnrtombs): Likewise.
27192 (__wcsncpy): Likewise.
27193 (__wcpncpy): Likewise.
27194 (__wmemcpy): Likewise.
27195 (__wmempcpy): Likewise.
27196 (__wmemmove): Likewise.
27197 (__wcschrnul): Likewise.
27198 (__vfwscanf): Likewise.
27199 (__vswprintf): Likewise.
27200 (__fwprintf): Likewise.
27201 (__vfwprintf): Likewise.
27202
783cd767
L
272032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27204
27205 [BZ #18822]
27206 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27207 (__getgrgid_r): Likewise.
27208 (__getgrnam_r): Likewise.
27209 * include/pwd.h (__getpwuid_r): Likewise.
27210 (__getpwnam_r): Likewise.
27211 (__fgetpwent_r): Likewise.
27212 * include/shadow.h (__getspnam_r): Likewise.
27213 (__sgetspent_r): Likewise.
27214 (__fgetspent_r): Likewise.
27215
7ec4b39a
L
272162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27217
27218 [BZ #18822]
27219 * include/unistd.h (__access): Add attribute_hidden.
27220 (__lseek64): Likewise.
27221 (__libc_pread64): Likewise.
27222 (__pipe2): Likewise.
27223 (__sleep): Likewise.
27224 (__chdir): Likewise.
27225 (__fchdir): Likewise.
27226 (__getcwd): Likewise.
27227 (__rmdir): Likewise.
27228 (__execvpe): Likewise.
27229 (__execve): Likewise.
27230 (__setsid): Likewise.
27231 (__getuid): Likewise.
27232 (__geteuid): Likewise.
27233 (__getgid): Likewise.
27234 (__getegid): Likewise.
27235 (__getgroups): Likewise.
27236 (__group_member): Likewise.
27237 (__ttyname_r): Likewise.
27238 (__isatty): Likewise.
27239 (__readlink): Likewise.
27240 (__unlink): Likewise.
27241 (__gethostname): Likewise.
27242 (__profil): Likewise.
27243 (__getdtablesize): Likewise.
27244 (__brk): Likewise.
27245 (__ftruncate): Likewise.
27246 (__ftruncate64): Likewise.
27247
8345a760
L
272482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27249
27250 [BZ #18822]
27251 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27252 * argp/argp-fs-xinl.c: Likewise.
27253 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27254 * argp/argp-parse.c: Include <argp.h>.
27255 * argp/argp-xinl.c: Likewise.
27256 * include/argp-fmtstream.h: New file.
27257 * include/argp.h (__argp_error): Add attribute_hidden.
27258 (__argp_failure): Likewise.
27259 (__argp_input): Likewise.
27260 (__argp_state_help): Likewise.
27261
c26dd7c6
L
272622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27263
27264 [BZ #18822]
27265 * include/wchar.h (____wcstof_l_internal): New prototype.
27266 (____wcstod_l_internal): Likewise.
27267 (____wcstold_l_internal): Likewise.
27268 (____wcstol_l_internal): Likewise.
27269 (____wcstoul_l_internal): Likewise.
27270 (____wcstoll_l_internal): Likewise.
27271 (____wcstoull_l_internal): Likewise.
27272 (____wcstof128_l_internal): Likewise.
27273 * sysdeps/ieee754/float128/wcstof128.c
27274 (____wcstof128_l_internal): Removed.
27275 * sysdeps/ieee754/float128/wcstof128_l.c
27276 (____wcstof128_l_internal): Likewise.
27277 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27278 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27279 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27280 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27281 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27282 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27283 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27284 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27285 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27286 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27287
3aff5644
L
272882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27289
27290 [BZ #18822]
27291 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27292 instead of <sys/statvfs.h>.
27293 (__internal_statvfs): Removed.
27294 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27295 instead of <sys/statvfs.h>.
27296 (__internal_statvfs64): Removed.
27297 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27298 "internal_statvfs.h" instead of <sys/statvfs.h>.
27299 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27300 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27301 instead of <sys/statvfs.h>.
27302 (__internal_statvfs): Removed.
27303 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27304 instead of <sys/statvfs.h>.
27305 (__internal_statvfs64): Removed.
27306
8bcdb7e0
L
273072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27308
27309 [BZ #18822]
27310 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27311 (__gconv_close): Likewise.
27312 (__gconv): Likewise.
27313 (__gconv_find_transform): Likewise.
27314 (__gconv_lookup_cache): Likewise.
27315 (__gconv_compare_alias_cache): Likewise.
27316 (__gconv_load_cache): Likewise.
27317 (__gconv_get_path): Likewise.
27318 (__gconv_close_transform): Likewise.
27319 (__gconv_release_cache): Likewise.
27320 (__gconv_find_shlib): Likewise.
27321 (__gconv_release_shlib): Likewise.
27322 (__gconv_get_builtin_trans): Likewise.
27323 (__gconv_compare_alias): Likewise.
27324 * include/dlfcn.h (_dlerror_run): Likewise.
27325 * include/stdio.h (__fortify_fail_abort): Likewise.
27326 * include/time.h (__tz_compute): Likewise.
27327 (__strptime_internal): Likewise.
27328 * intl/gettextP.h (_nl_find_domain): Likewise.
27329 (_nl_load_domain): Likewise.
27330 (_nl_find_msg): Likewise.
27331 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27332 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27333 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27334 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27335 (__gai_find_request): Likewise.
27336 (__gai_remove_request): Likewise.
27337 (__gai_notify): Likewise.
27338 (__gai_notify_only): Likewise.
27339 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27340 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27341 (_dl_non_dynamic_init): Likewise.
27342 (_dl_aux_init): Likewise.
27343 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27344 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27345 Likewise.
27346 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27347 (__wcsmbs_clone_conv): Likewise.
27348 (__wcsmbs_named_conv): Likewise.
27349
8ed3b643
L
273502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27351
27352 [BZ #18822]
27353 * include/stdlib.h (__random): Add attribute_hidden.
27354 (__random_r): Likewise.
27355 (__srandom_r): Likewise.
27356 (__initstate_r): Likewise.
27357 (__setstate_r): Likewise.
27358 (__erand48_r): Likewise.
27359 (__nrand48_r): Likewise.
27360 (__jrand48_r): Likewise.
27361 (__srand48_r): Likewise.
27362 (__seed48_r): Likewise.
27363 (__lcong48_r): Likewise.
27364 (__drand48_iterate): Likewise.
27365 (__setenv): Likewise.
27366 (__unsetenv): Likewise.
27367 (__clearenv): Likewise.
27368 (__ptsname_r): Likewise.
27369 (__posix_openpt): Likewise.
27370 (__add_to_environ): Likewise.
27371 (__realpath): Add libc_hidden_proto.
27372 (__ecvt_r): Likewise.
27373 (__fcvt_r): Likewise.
27374 (__qecvt_r): Likewise.
27375 (__qfcvt_r): Likewise.
27376 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27377 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27378
ef9b6f73
L
273792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27380
27381 [BZ #18822]
27382 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27383 * include/time.h (__mktime_internal): Likewise.
27384 * libio/iolibio.h (__fopen_internal): Likewise.
27385
8da92e72
JDA
273862017-10-01 John David Anglin <danglin@gcc.gnu.org>
27387
27388 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27389 pointer in frame.
27390 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27391 Correct offset used to restore PIC register.
27392
388784cf
JDA
273932017-09-30 John David Anglin <danglin@gcc.gnu.org>
27394
27395 [BZ libc/22165]
27396 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27397 code to load address of __getcontext_ret when generating PIC code.
27398
2000067a
L
273992017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27400
27401 * elf/Makefile (tests-static-internal): Add
27402 tst-tls1-static-non-pie.
27403 (LDFLAGS-tst-tls1-static-non-pie): New.
27404 * elf/tst-tls1-static-non-pie.c: New file.
27405
1e2bffd0
JM
274062017-09-29 Joseph Myers <joseph@codesourcery.com>
27407
27408 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27409 (asinh): Define using libm_alias_double.
27410 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27411 (cbrt): Define using libm_alias_double.
27412 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27413 <libm-alias-double.h>.
27414 (copysign): Define using libm_alias_double.
27415 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27416 (erf): Define using libm_alias_double.
27417 (erfc): Likewise.
27418 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27419 (expm1): Define using libm_alias_double.
27420 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27421 (fabs): Define using libm_alias_double.
27422 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27423 libm_alias_double.
27424 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27425 <libm-alias-double.h>.
27426 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27427 libm_alias_double.
27428 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27429 <libm-alias-double.h>.
27430 (getpayload): Define using libm_alias_double.
27431 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27432 <libm-alias-double.h>.
27433 (llrint): Define using libm_alias_double.
27434 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27435 (lrint): Define using libm_alias_double.
27436 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27437 <libm-alias-double.h>.
27438 (nextup): Define using libm_alias_double.
27439 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27440 <libm-alias-double.h>.
27441 (roundeven): Define using libm_alias_double.
27442 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27443 libm_alias_double.
27444 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27445 <libm-alias-double.h>.
27446 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27447 using libm_alias_double.
27448 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27449 (cos): Define using libm_alias_double.
27450 (sin): Likewise.
27451 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27452 <libm-alias-double.h>.
27453 (sincos): Define using libm_alias_double.
27454 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27455 (tanh): Define using libm_alias_double.
27456 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27457 <libm-alias-double.h>.
27458 (totalorder): Define using libm_alias_double.
27459 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27460 <libm-alias-double.h>.
27461 (totalordermag): Define using libm_alias_double.
27462 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27463 libm_alias_double.
27464 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27465 libm_alias_double.
27466 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27467 <libm-alias-double.h>.
27468 (getpayload): Define using libm_alias_double.
27469 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27470 <libm-alias-double.h>.
27471 (roundeven): Define using libm_alias_double.
27472 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27473 <libm-alias-double.h>.
27474 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27475 <libm-alias-double.h>.
27476 (totalorder): Define using libm_alias_double.
27477 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27478 <libm-alias-double.h>.
27479 (totalordermag): Define using libm_alias_double.
27480 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27481 libc compat symbol here.
27482 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27483 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27484 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27485 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27486 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27487 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27488 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27489 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27490 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27491 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27492
8172aad9
L
274932017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27494
27495 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27496 _dl_relocate_static_pie instead of _dl_start to compute load
27497 address in static PIE. Return 0 if _DYNAMIC is undefined for
27498 static executable.
27499
54464e74
L
275002017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27501
27502 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27503 _DYNAMIC is undefined for static executable.
27504
f6c5e5bc
L
275052017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27506
27507 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27508
2f92505d
JM
275092017-09-29 Joseph Myers <joseph@codesourcery.com>
27510
27511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27512
bd8d53bb
WD
275132017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27514
27515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27516 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27517 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27518 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27519 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27520 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27521 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27522 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27524 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27525 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27526 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27527 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27528 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27529 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27530 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27531 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27532
fffb1507
WD
275332017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27534
27535 * math/bits/cmathcalls.h (cimag): Remove inline.
27536 (creal): Remove inline.
27537 (conj): Remove inline.
27538
4ea49f4c
SN
275392017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27540
27541 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27542 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27543 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27544 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27545 (issignalingf_inline): Likewise.
27546 (POWF_LOG2_TABLE_BITS): Likewise.
27547 (POWF_LOG2_POLY_ORDER): Likewise.
27548 (POWF_SCALE_BITS): Likewise.
27549 (POWF_SCALE): Likewise.
27550 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27551 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27552 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27553
875c76c7
SN
275542017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27555
27556 * math/Makefile (type-float-routines): Add e_log2f_data.
27557 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27558 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27559 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27560 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27561 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27562 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27563 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27564
90c42e40
SN
275652017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27566
27567 * math/Makefile (type-float-routines): Add e_logf_data.
27568 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27569 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27570 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27571 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27572 * sysdeps/i386/fpu/e_logf_data.c: New file.
27573 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27574 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27575
4088d8dd
L
275762017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27577
27578 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27579 undefined _DYNAMIC in PIE libc.a.
27580 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27581 Likewse.
27582
4d3693ec
WD
275832017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27584
27585 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27586 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27587 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27588 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27589 (__signbit): Remove.
27590 (__signbitl): Remove.
27591 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27592 (__signbit): Remove.
27593 (__signbitl): Remove.
27594 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27595 (__signbit): Remove.
27596 (__signbitl): Remove.
27597 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27598 (__signbit): Remove.
27599 (__signbitl): Remove.
27600 * sysdeps/tile/bits/mathinline.h: Delete file.
27601 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27602 (__signbit): Remove.
27603 (__signbitl): Remove.
27604
1e6d0723
WD
276052017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27606
27607 * math/math.h: Improve handling of C99 isgreater macros.
27608 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27609 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27610 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27611 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27612 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27613
b2f03cf3
SN
276142017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27615
27616 * sysdeps/aarch64/libm-test-ulps: Update.
27617
f124cb38
JM
276182017-09-28 Joseph Myers <joseph@codesourcery.com>
27619
27620 [BZ #22225]
27621 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27622 math_opt_barrier on argument when doing arithmetic on it.
27623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27624 Likewise. Use math_force_eval not math_opt_barrier after
27625 arithmetic.
27626 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27627 math_opt_barrier on argument when doing arithmetic on it.
27628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27629 Likewise.
27630
7edd0691
L
276312017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27632
27633 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27634 libc_hidden_def.
27635 (__freeifaddrs): Likewise.
27636
2c7bbfaf
ST
276372017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27638
27639 * include/dirent.h (__dirfd): New declaration.
27640 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27641 alias.
27642 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27643 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27644 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27645 * include/unistd.h (__revoke): New declaration.
27646 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27647 alias.
27648 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27649 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27650 revoke.
64a4af28
ST
27651 * include/dirent.h (__seekdir): New declaration.
27652 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27653 redefine as weak alias.
27654 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27655 of seekdir.
4009ddc6
ST
27656 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27657 and use libc_hidden_def on them.
27658 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27659 them.
27660 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27661 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27662 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27663
825adeee
L
276642017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27665
27666 [BZ #18822]
27667 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27668 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27669 (__dso_handle): Remove declaration.
27670 * dlfcn/tstatexit.c (__dso_handle): Removed.
27671 (main): Don't check __dso_handle.
27672 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27673 (main): Don't check __dso_handle.
27674 * include/dso_handle.h: New file.
27675 * malloc/mtrace.c: Include <dso_handle.h>.
27676 (mtrace): Pass __dso_handle directly.
27677 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27678 (__dso_handle): Remove declaration.
27679 (__pthread_atfork): Pass __dso_handle directly.
27680 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27681 (__dso_handle): Removed.
27682 * posix/wordexp-test.c: Include <dso_handle.h>.
27683 (__dso_handle): Remove declaration.
27684 (__app_register_atfork): Pass __dso_handle directly.
27685 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27686 (__dso_handle): Remove declaration.
27687 (at_quick_exit): Pass __dso_handle directly.
27688 * stdlib/atexit.c: Include <dso_handle.h>.
27689 (__dso_handle): Remove declaration.
27690 (atexit): Pass __dso_handle directly.
27691 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27692 (__dso_handle): Removed.
27693
bfb0deb3
JM
276942017-09-26 Joseph Myers <joseph@codesourcery.com>
27695
27696 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27697 using VDSO.
27698
cebcb9f8
AM
276992017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27700
27701 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27702 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27703 values to correct default value for given type.
27704
592d5c75
L
277052017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27706
27707 [BZ #22101]
27708 * elf/Makefile (tests): Add tst-debug1.
27709 ($(objpfx)tst-debug1): New.
27710 ($(objpfx)tst-debug1.out): Likewise.
27711 ($(objpfx)tst-debug1mod1.so): Likewise.
27712 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27713 with p_filesz == 0.
27714 * elf/tst-debug1.c: New file.
27715
2d9193f2
JM
277162017-09-26 Joseph Myers <joseph@codesourcery.com>
27717
27718 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27719 Define using __ifunc.
27720
4c5a7a02
TMQMF
277212017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27722
27723 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27724 exp2f() values.
27725
12ef66c4
JM
277262017-09-26 Joseph Myers <joseph@codesourcery.com>
27727
27728 [BZ #22156]
27729 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27730
44dade71
FW
277312017-09-26 Florian Weimer <fweimer@redhat.com>
27732
27733 * resolv/Makefile (tests-internal): Fix typo in comment.
27734
eaca16f1
FW
277352017-09-26 Florian Weimer <fweimer@redhat.com>
27736
27737 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27738
ccf970c7
AZ
277392017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27740
5f9f31ad
AZ
27741 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27742 Use an union instead of a max_align_t array for __space,
27743 so that __space is the same size on all platforms.
27744 * malloc/scratch_buffer_grow_preserve.c
27745 (__libc_scratch_buffer_grow_preserve): Likewise.
27746
ccf970c7
AZ
27747 [BZ #22183]
27748 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27749 version to 2.
27750 * posix/Makefile (routines): Add glob-lstat-compat and
27751 glob64-lstat-compat.
27752 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27753 * posix/glob-lstat-compat.c: New file.
27754 * posix/glob64-lstat-compat.c: Likewise.
27755 * posix/tst-glob_lstat_compat.c: Likewise.
27756 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27757 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27758 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27759 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27760 Likewise.
27761 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27762 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27763 * posix/glob.c (glob_lstat): New function.
27764 (glob): Rename to __glob and add versioned symbol to 2.27.
27765 (glob_in_dir): Use glob_lstat.
27766 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27767 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27768 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27769 2.27.
27770 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27771 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27772 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27773 gl_lstat on glob call.
27774 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27775 and glob64 symbols.
27776 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27777 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27778 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27779 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27780 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27781 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27783 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27785 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27786 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27787 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27789 Likewise.
27790 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27792 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27793 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27794 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27795 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27796 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27799 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27802
b4396163
L
278032017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 * configure.ac (AS): Require binutils 2.25 or later.
27806 * configure: Regenerated.
27807
8f834987
PP
278082017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27809
27810 [BZ #22207]
27811 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27812 VM size.
27813
3de93d19
DD
278142017-09-25 DJ Delorie <dj@redhat.com>
27815
27816 [BZ #22161]
27817 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27818 resetting timeout.
27819
9947638d
SL
278202017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27821
27822 * sysdeps/ieee754/dbl-64/sincos32.h
27823 [SINCCOS32_H]: Remove define.
27824 [SINCOS32_H]: Define.
27825
f5f0f526
SN
278262017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27827
27828 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27829 (exp2f): Likewise.
27830 * math/w_exp2f.c: New file.
27831 * math/w_expf.c: New file.
27832 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27833 * math/w_expf_compat.c (__expf_compat): Likewise.
27834 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27835 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27836 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27837 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27838 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27839 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27841 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27842 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27843 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27844 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27847 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27849 Likewise.
27850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27851 Likewise.
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27853 Likewise.
27854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27855 Likewise.
27856 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27857 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27858 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27859 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27860 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27862 Likewise.
27863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27864 Likewise.
27865 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27866 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27867 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27868
72aa6233
SN
278692017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27870
27871 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27872 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27873 (roundtoint, converttoint): Likewise.
27874 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27875 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27876 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27877 * sysdeps/ieee754/flt-32/math_config.h: New file.
27878 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27879 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27880 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27881 * sysdeps/i386/fpu/math_errf.c: New file.
27882 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27883 * sysdeps/ia64/fpu/math_errf.c: New file.
27884 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27885 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27886
5e6f3253
ST
278872017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27888
27889 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27890 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27891 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27892 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27893 to make sure that these symbols are defined.
b38a42a0
ST
27894 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27895 of <limits.h>
27896 (__need_NULL): Do not define.
27897 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27898 alignment.
27899 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27900 CMGROUP_MAX, cmsgcred): Do not define.
27901 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27902 NULL.
27903 * bits/socket.h: Likewise.
fcafcd16
ST
27904 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27905 __gettimeofday instead of gettimeofday.
27906 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27907 instead of settimeofday.
5e6f3253 27908
2f49ce7d
JM
279092017-09-22 Joseph Myers <joseph@codesourcery.com>
27910
27911 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27912 (asinhf): Define using libm_alias_float.
27913 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27914 (atanf): Define using libm_alias_float.
27915 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27916 (cbrtf): Define using libm_alias_float.
27917 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27918 (ceilf): Define using libm_alias_float.
27919 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27920 <libm-alias-float.h>.
27921 (copysignf): Define using libm_alias_float.
27922 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27923 (cosf): Define using libm_alias_float.
27924 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27925 (erff): Define using libm_alias_float.
27926 (erfcf): Likewise.
27927 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27928 (expm1f): Define using libm_alias_float.
27929 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27930 (fabsf): Define using libm_alias_float.
27931 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27932 (floorf): Define using libm_alias_float.
27933 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27934 (frexpf): Define using libm_alias_float.
27935 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27936 libm_alias_float.
27937 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27938 <libm-alias-float.h>.
27939 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27940 libm_alias_float.
27941 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27942 <libm-alias-float.h>.
27943 (getpayloadf): Define using libm_alias_float.
27944 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27945 <libm-alias-float.h>.
27946 (llrintf): Define using libm_alias_float.
27947 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27948 <libm-alias-float.h>.
27949 (llroundf): Define using libm_alias_float.
27950 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27951 (logbf): Define using libm_alias_float.
27952 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27953 (lrintf): Define using libm_alias_float.
27954 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27955 (lroundf): Define using libm_alias_float.
27956 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27957 (modff): Define using libm_alias_float.
27958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27959 <libm-alias-float.h>.
27960 (nearbyintf): Define using libm_alias_float.
27961 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27962 <libm-alias-float.h>.
27963 (nextafterf): Define using libm_alias_float.
27964 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27965 <libm-alias-float.h>.
27966 (nextupf): Define using libm_alias_float.
27967 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27968 <libm-alias-float.h>.
27969 (remquof): Define using libm_alias_float.
27970 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27971 (rintf): Define using libm_alias_float.
27972 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27973 <libm-alias-float.h>.
27974 (roundevenf): Define using libm_alias_float.
27975 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27976 (roundf): Define using libm_alias_float.
27977 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27978 using libm_alias_float.
27979 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27980 <libm-alias-float.h>.
27981 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27982 Define using libm_alias_float.
27983 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27984 <libm-alias-float.h>.
27985 (sincosf): Define using libm_alias_float.
27986 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27987 (sinf): Define using libm_alias_float.
27988 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27989 (tanf): Define using libm_alias_float.
27990 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27991 (tanhf): Define using libm_alias_float.
27992 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27993 <libm-alias-float.h>.
27994 (totalorderf): Define using libm_alias_float.
27995 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27996 <libm-alias-float.h>.
27997 (totalordermagf): Define using libm_alias_float.
27998 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27999 (truncf): Define using libm_alias_float.
28000 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28001 libm_alias_float.
28002 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28003 libm_alias_float.
28004
c5c4a626
GG
280052017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28006
28007 [BZ #22146]
28008 math/math.h: Let fpclassify use the builtin in C++ mode, even
28009 when optimazing for size.
28010
23947846
JM
280112017-09-22 Joseph Myers <joseph@codesourcery.com>
28012
28013 * csu/Makefile (generated): Do not add version-info.h.
28014 (before-compile): Likewise.
28015 (all-Banner-files): Remove variable.
28016 ($(objpfx)version-info.h): Remove rule.
28017 * csu/version.c (banner): Do not include "version-info.h".
28018 * libidn/Banner: Remove.
28019 * manual/contrib.texi (Simon Josefsson): New entry.
28020
9ac3c682
GG
280212017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28022
28023 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28024 Remove conditionals on LDBL_MANT_DIG.
28025 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28026 (__ieee754_lgammal_r): Likewise.
28027
d2f0ed09
GG
280282017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28029
28030 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28031 _Float128 and L().
28032 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28033 _Float128 and L(). Replace _Float128 with long double and L(x)
28034 with xL, throughout the file.
28035 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28036 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28037 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28039
c5c2e667
GG
280402017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28041
28042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28043 sysdeps/ieee754/ldbl-128ibm.
28044 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28045 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28046 of including it. Keep _Float128 and L() intact. These will be
28047 reviewed by a separate patch.
28048 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28049 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28050 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28052
e010deb2
GG
280532017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28054
28055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28056 (__finitef128): Define to __redirect___finitef128.
28057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28058 (__isinff128): Define to __redirect___isinff128.
28059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28060 (__isnanf128): Define to __redirect___isnanf128.
28061
ffa44804
GG
280622017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28063
28064 * sysdeps/powerpc/powerpc64le/Makefile
28065 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28066 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28067
e5e4d7cc
PP
280682017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28069 Carlos O'Donell <carlos@redhat.com>
28070
28071 [BZ #22180]
28072 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28073 * stdlib/test-dlclose-exit-race.c: New file.
28074 * stdlib/test-dlclose-exit-race-helper.c: New file.
28075 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28076
c10c5267
JM
280772017-09-21 Joseph Myers <joseph@codesourcery.com>
28078
28079 * crypt/Banner: Remove file.
28080 * nptl/Banner: Likewise.
28081 * resolv/Banner: Likewise.
28082 * soft-fp/Banner: Likewise.
28083 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28084 ($(objpfx)version.d): Remove dependency on banner.h.
28085 ($(objpfx)version.os): Likewise.
28086 * nptl/version.c (banner): Do not include banner.h.
28087 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28088 Jelinek and BIND code.
28089
1cc9e59a
PP
280902017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28091 Carlos O'Donell <carlos@redhat.com>
28092
28093 * support/xdlfcn.h: New file.
28094 * support/xdlfcn.c: New file.
28095 * support/Makefile (libsupport-routines): Add xdlfcn.
28096 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28097
ae8372d7
JM
280982017-09-20 Joseph Myers <joseph@codesourcery.com>
28099
28100 [BZ #20142]
28101 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28102 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28103 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28104 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28105 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28106 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28107 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28108 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28109
26e70aec
PP
281102017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28111 Ricky Zhou <rickyz@google.com>
28112 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28113
28114 [BZ #14333]
28115 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28116 Remove atomics.
28117 (__new_exitfn): Fail registration when we finished at_exit processing.
28118 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28119 * stdlib/on_exit.c (__on_exit): Likewise.
28120 * stdlib/exit.c (__exit_funcs_done): New variable.
28121 (__run_exit_handlers): Use __exit_funcs_lock.
28122 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28123 declarations.
28124 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28125 (test-cxa_atexit-race, test-on_exit-race): New tests.
28126 * stdlib/test-atexit-race-common.c: New file.
28127 * stdlib/test-atexit-race.c: New file.
28128 * stdlib/test-at_quick_exit-race.c: New file.
28129 * stdlib/test-cxa_atexit-race.c: New file.
28130 * stdlib/test-on_exit-race.c: New file.
28131
0525ce48
SN
281322017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28133
28134 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28135 * benchtests/exp2f-inputs: Copy of expf-inputs.
28136 * benchtests/log2f-inputs: Copy of logf-inputs.
28137
d82468d1
JM
281382017-09-19 Joseph Myers <joseph@codesourcery.com>
28139
28140 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28141 Explicitly take address of first element of array arguments in
28142 call to INLINE_SYSCALL.
28143
43ffc53a
AS
281442017-09-19 Andreas Schwab <schwab@suse.de>
28145
28146 [BZ #22134]
28147 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28148 execveat first.
28149 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28150 unimplemented.
28151 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28152 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28154 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28155 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28156 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28157 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28158 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28159 * posix/Makefile (tests): Add tst-fexecve.
28160 * posix/tst-fexecve.c: New file.
28161
a5dcc87e
WD
281622017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28163
28164 * benchtests/Makefile: Add logf benchmark.
28165 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28166
7024d544
WD
281672017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28168
28169 * benchtests/Makefile: Add expf benchmark.
28170 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28171
ca3a382e
WD
281722017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28173
28174 * csu/Makefile: Add -funwind-tables to libc-start.c.
28175 * debug/Makefile: Add -funwind-tables to backtrace.c.
28176 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28177 * sysdeps/arm/Makefile: Likewise.
28178 * sysdeps/i386/Makefile: Likewise.
28179 * sysdeps/m68k/Makefile: Likewise.
28180 * sysdeps/mips/Makefile: Likewise.
28181 * sysdeps/nios2/Makefile: Likewise.
28182 * sysdeps/sh/Makefile: Likewise.
28183 * sysdeps/sparc/Makefile: Likewise.
28184
eb375def
JM
281852017-09-19 Joseph Myers <joseph@codesourcery.com>
28186
28187 * benchtests/Makefile (bench-math): Add trunc and truncf.
28188 (CFLAGS-bench-trunc.c): New variable.
28189 (CFLAGS-bench-truncf.c): Likewise.
28190 * benchtests/trunc-inputs: New file.
28191 * benchtests/truncf-inputs: Likewise.
28192
bd17ba29
RS
281932017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28194
28195 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28196
92892fdb
JM
281972017-09-18 Joseph Myers <joseph@codesourcery.com>
28198
6d9b0b5a
JM
28199 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28200 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28201 redefine.
28202 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28203 (exp10l): Define as weak alias.
28204 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28205 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28206 and redefine.
28207 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28208 (remainderl): Define as weak alias.
28209
92892fdb
JM
28210 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28211 (fmal): Define using libm_alias_ldouble.
28212 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28213 (acoshl): Define using libm_alias_ldouble.
28214 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28215 (acosl): Define using libm_alias_ldouble.
28216 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28217 (asinl): Define using libm_alias_ldouble.
28218 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28219 (atan2l): Define using libm_alias_ldouble.
28220 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28221 (atanhl): Define using libm_alias_ldouble.
28222 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28223 (coshl): Define using libm_alias_ldouble.
28224 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28225 (exp10l): Define using libm_alias_ldouble.
28226 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28227 (exp2l): Define using libm_alias_ldouble.
28228 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28229 (expl): Define using libm_alias_ldouble.
28230 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28231 (fmodl): Define using libm_alias_ldouble.
28232 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28233 (hypotl): Define using libm_alias_ldouble.
28234 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28235 (j0l): Define using libm_alias_ldouble.
28236 (y0l): Likewise.
28237 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28238 (j1l): Define using libm_alias_ldouble.
28239 (y1l): Likewise.
28240 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28241 (jnl): Define using libm_alias_ldouble.
28242 (ynl): Likewise.
28243 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28244 (log10l): Define using libm_alias_ldouble.
28245 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28246 (log2l): Define using libm_alias_ldouble.
28247 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28248 (logl): Define using libm_alias_ldouble.
28249 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28250 (powl): Define using libm_alias_ldouble.
28251 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28252 (remainderl): Define using libm_alias_ldouble.
28253 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28254 (sinhl): Define using libm_alias_ldouble.
28255 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28256 (sqrtl): Define using libm_alias_ldouble.
28257 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28258 (tgammal): Define using libm_alias_ldouble.
28259 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28260 (exp10l): Do not use long_double_symbol here.
28261 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28262 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28263 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28264 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28265 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28266 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28267 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28268 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28269 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28270 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28271 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28272 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28273 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28274 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28275 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28276 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28277 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28278 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28279 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28280 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28281 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28282 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28283
6cd380dd
WB
282842017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28285
28286 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28287 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28288
1c6d89e9
ST
282892017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28290
28291 * io/read.c (read): Add libc_hidden_weak.
28292 * sysdeps/mach/hurd/read.c (read): Likewise.
28293 * io/write.c (write): Likewise.
28294 * sysdeps/mach/hurd/write.c (write): Likewise.
28295 * io/pread64.c (__pread64): Likewise.
28296 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28297 * posix/pread64.c (__pread64): Add libc_hidden_def.
28298
06b1de23
SP
282992017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28300
140647ea
SP
28301 * benchtests/scripts/compare_strings.py: New option -g.
28302 (draw_graph): Print a message that a graph is being generated.
28303 (process_results): Generate graph only if -g is passed.
28304 (main): Process option -g.
28305
5a6547b7
SP
28306 * benchtests/scripts/compare_strings.py (process_results):
28307 Better spacing for output.
28308
06b1de23
SP
28309 * benchtests/scripts/compare_strings.py: Use argparse.
28310 * benchtests/README: Document existence of compare_strings.py.
28311
c67a2328
JM
283122017-09-15 Joseph Myers <joseph@codesourcery.com>
28313
9ac44708
JM
28314 * math/s_fma.c: Include <libm-alias-double.h>.
28315 (fma): Define using libm_alias_double.
28316 * math/s_nextafter.c: Include <libm-alias-double.h>.
28317 (nextafter): Define using libm_alias_double.
28318 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28319 (acos): Define using libm_alias_double.
28320 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28321 (aocsh): Define using libm_alias_double.
28322 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28323 (asin): Define using libm_alias_double.
28324 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28325 (atan2): Define using libm_alias_double.
28326 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28327 (atanh): Define using libm_alias_double.
28328 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28329 (cosh): Define using libm_alias_double.
28330 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28331 (exp10): Define using libm_alias_double.
28332 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28333 (exp2): Define using libm_alias_double.
28334 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28335 (exp): Define using libm_alias_double.
28336 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28337 (fmod): Define using libm_alias_double.
28338 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28339 (hypot): Define using libm_alias_double.
28340 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28341 (j0): Define using libm_alias_double.
28342 (y0): Likewise.
28343 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28344 (j1): Define using libm_alias_double.
28345 (y1): Likewise.
28346 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28347 (jn): Define using libm_alias_double.
28348 (yn): Likewise.
28349 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28350 (log10): Define using libm_alias_double.
28351 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28352 (log2): Define using libm_alias_double.
28353 * math/w_log_compat.c: Include <libm-alias-double.h>.
28354 (log): Define using libm_alias_double.
28355 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28356 (pow): Define using libm_alias_double.
28357 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28358 (remainder): Define using libm_alias_double.
28359 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28360 (sinh): Define using libm_alias_double.
28361 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28362 (sqrt): Define using libm_alias_double.
28363 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28364 (tgamma): Define using libm_alias_double.
28365 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28366 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28367 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28368 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28369 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28370 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28371 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28372 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28373 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28374 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28375 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28376 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28377 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28378 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28379 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28380 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28381 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28382 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28383 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28384 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28385 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28386 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28387 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28388 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28389 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28390
c67a2328
JM
28391 * math/e_acoshl.c: Remove.
28392 * math/e_acosl.c: Likewise.
28393 * math/e_asinl.c: Likewise.
28394 * math/e_atan2l.c: Likewise.
28395 * math/e_atanhl.c: Likewise.
28396 * math/e_coshl.c: Likewise.
28397 * math/e_expl.c: Likewise.
28398 * math/e_fmodl.c: Likewise.
28399 * math/e_gammal_r.c: Likewise.
28400 * math/e_hypotl.c: Likewise.
28401 * math/e_j0l.c: Likewise.
28402 * math/e_j1l.c: Likewise.
28403 * math/e_jnl.c: Likewise.
28404 * math/e_lgammal_r.c: Likewise.
28405 * math/e_log10l.c: Likewise.
28406 * math/e_log2l.c: Likewise.
28407 * math/e_logl.c: Likewise.
28408 * math/e_powl.c: Likewise.
28409 * math/e_rem_pio2l.c: Likewise.
28410 * math/e_sinhl.c: Likewise.
28411 * math/e_sqrtf128.c: Likewise.
28412 * math/e_sqrtl.c: Likewise.
28413 * math/k_cosl.c: Likewise.
28414 * math/k_sinl.c: Likewise.
28415 * math/k_tanl.c: Likewise.
28416 * math/s_asinhl.c: Likewise.
28417 * math/s_atanl.c: Likewise.
28418 * math/s_cbrtl.c: Likewise.
28419 * math/s_erfl.c: Likewise.
28420 * math/s_expm1l.c: Likewise.
28421 * math/s_log1pl.c: Likewise.
28422 * math/s_tanhl.c: Likewise.
28423
61c45f25
TMQMF
284242017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28425
28426 [BZ #21745]
28427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28428 [$(subdir) = math] (sysdep_calls): New variable. Has the
28429 previous contents of sysdep_routines, but re-sorted..
28430 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28431 sysdep_calls.
28432 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28433 defined in sysdep_calls and replace by the respective m_* names.
28434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28435 (compat_symbol): Undefine to avoid duplicated compat symbols in
28436 libc.
28437
5bcdb315
JM
284382017-09-15 Joseph Myers <joseph@codesourcery.com>
28439
28440 * math/s_fmaf.c: Include <libm-alias-float.h>.
28441 (fmaf): Define using libm_alias_float.
28442 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28443 (acosf): Define using libm_alias_float.
28444 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28445 (acoshf): Define using libm_alias_float.
28446 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28447 (asinf): Define using libm_alias_float.
28448 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28449 (atan2f): Define using libm_alias_float.
28450 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28451 (atanhf): Define using libm_alias_float.
28452 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28453 (coshf): Define using libm_alias_float.
28454 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28455 (exp10f): Define using libm_alias_float.
28456 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28457 (fmodf): Define using libm_alias_float.
28458 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28459 (hypotf): Define using libm_alias_float.
28460 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28461 (j0f): Define using libm_alias_float.
28462 (y0f): Likewise.
28463 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28464 (j1f): Define using libm_alias_float.
28465 (y1f): Likewise.
28466 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28467 (jnf): Define using libm_alias_float.
28468 (ynf): Likewise.
28469 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28470 (log10f): Define using libm_alias_float.
28471 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28472 (log2f): Define using libm_alias_float.
28473 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28474 (logf): Define using libm_alias_float.
28475 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28476 (powf): Define using libm_alias_float.
28477 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28478 (remainderf): Define using libm_alias_float.
28479 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28480 (sinhf): Define using libm_alias_float.
28481 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28482 (sqrtf): Define using libm_alias_float.
28483 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28484 (tgammaf): Define using libm_alias_float.
28485
01f28812
JM
284862017-09-14 Joseph Myers <joseph@codesourcery.com>
28487
28488 * include/math.h (roundeven): Change hidden_proto call to
28489 __roundeven.
28490 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28491 alias.
28492 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28493 (y0): Rename to __y0 and define as weak alias.
28494 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28495 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28496 alias.
28497 (y0f): Rename to __y0f and define as weak alias.
28498 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28499 alias.
28500 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28501 (y1): Rename to __y1 and define as weak alias.
28502 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28503 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28504 alias.
28505 (y1f): Rename to __y1f and define as weak alias.
28506 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28507 alias.
28508 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28509 (yn): Rename to __yn and define as weak alias.
28510 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28511 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28512 alias.
28513 (ynf): Rename to __ynf and define as weak alias.
28514 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28515 (fromfp): Define as weak alias.
28516 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28517 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28518 (fromfpx): Define as weak alias.
28519 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28520 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28521 __getpayload and define as weak alias.
28522 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28523 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28524 __roundeven and define as weak alias.
28525 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28526 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28527 __setpayload.
28528 (setpayload): Define as weak alias.
28529 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28530 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28531 __setpayloadsig.
28532 (setpayloadsig): Define as weak alias.
28533 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28534 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28535 __totalorder and define as weak alias.
28536 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28537 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28538 to __totalordermag and define as weak alias.
28539 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28540 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28541 (ufromfp): Define as weak alias.
28542 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28543 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28544 __ufromfpx.
28545 (ufromfpx): Define as weak alias.
28546 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28547 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28548 Rename to __getpayload and define as weak alias.
28549 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28550 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28551 Rename to __roundeven and define as weak alias.
28552 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28553 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28554 Rename to __totalorder and define as weak alias.
28555 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28556 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28557 (totalordermag): Rename to __totalordermag and define as weak
28558 alias.
28559 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28560 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28561 macro.
28562 (__roundevenl): Likewise.
28563 (__totalorderl): Likewise.
28564 (__totalordermagl): Likewise
28565 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28566 __fromfpf128.
28567 (fromfpf128): Define as weak alias.
28568 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28569 __fromfpxf128.
28570 (fromfpxf128): Define as weak alias.
28571 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28572 __setpayloadf128.
28573 (setpayloadf128): Define as weak alias.
28574 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28575 __setpayloadsigf128.
28576 (setpayloadsigf128): Define as weak alias.
28577 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28578 __ufromfpf128.
28579 (ufromfpf128): Define as weak alias.
28580 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28581 __ufromfpxf128.
28582 (ufromfpxf128): Define as weak alias.
28583 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28584 (fromfpf): Define as weak alias.
28585 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28586 __fromfpxf.
28587 (fromfpxf): Define as weak alias.
28588 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28589 __getpayloadf and define as weak alias.
28590 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28591 __roundevenf and define as weak alias.
28592 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28593 __setpayloadf.
28594 (setpayloadf): Define as weak alias.
28595 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28596 __setpayloadsigf.
28597 (setpayloadsigf): Define as weak alias.
28598 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28599 __totalorderf and define as weak alias.
28600 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28601 Rename to __totalordermagf and define as weak alias.
28602 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28603 __ufromfpf.
28604 (ufromfpf): Define as weak alias.
28605 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28606 __ufromfpxf.
28607 (ufromfpxf): Define as weak alias.
28608 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28609 __fromfpl.
28610 (fromfpl): Define as weak alias.
28611 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28612 __fromfpxl.
28613 (fromfpxl): Define as weak alias.
28614 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28615 to __getpayloadl and define as weak alias.
28616 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28617 __roundevenl and define as weak alias.
28618 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28619 __setpayloadl.
28620 (setpayloadl): Define as weak alias.
28621 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28622 __setpayloadsigl.
28623 (setpayloadsigl): Define as weak alias.
28624 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28625 to __totalorderl and define as weak alias.
28626 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28627 Rename to __totalordermagl and define as weak alias.
28628 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28629 __ufromfpl.
28630 (ufromfpl): Define as weak alias.
28631 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28632 __ufromfpxl.
28633 (ufromfpxl): Define as weak alias.
28634 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28635 __fromfpl.
28636 (fromfpl): Define as weak alias.
28637 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28638 __fromfpxl.
28639 (fromfpxl): Define as weak alias.
28640 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28641 Rename to __getpayloadl and define as weak alias.
28642 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28643 to __roundevenl and define as weak alias. Call __roundeven
28644 instead of roundeven.
28645 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28646 __setpayloadl.
28647 (setpayloadl): Define as weak alias.
28648 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28649 __setpayloadsigl.
28650 (setpayloadsigl): Define as weak alias.
28651 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28652 Rename to __totalorderl and define as weak alias.
28653 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28654 Rename to __totalordermagl and define as weak alias.
28655 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28656 __ufromfpl.
28657 (ufromfpl): Define as weak alias.
28658 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28659 __ufromfpxl.
28660 (ufromfpxl): Define as weak alias.
28661 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28662 __fromfpl.
28663 (fromfpl): Define as weak alias.
28664 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28665 __fromfpxl.
28666 (fromfpxl): Define as weak alias.
28667 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28668 __getpayloadl and define as weak alias.
28669 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28670 __roundevenl and define as weak alias.
28671 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28672 __setpayloadl.
28673 (setpayloadl): Define as weak alias.
28674 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28675 __setpayloadsigl.
28676 (setpayloadsigl): Define as weak alias.
28677 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28678 __totalorderl and define as weak alias.
28679 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28680 Rename to __totalordermagl and define as weak alias.
28681 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28682 __ufromfpl.
28683 (ufromfpl): Define as weak alias.
28684 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28685 __ufromfpxl.
28686 (ufromfpxl): Define as weak alias.
28687
29c933fb
SP
286882017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28689
503c92c3
SP
28690 * benchtests/bench-string.h (realloc_bufs): New function.
28691 (test_init): Call it.
28692 * benchtests/bench-memset-large.c (do_test): Likewise.
28693 * benchtests/bench-memset.c (do_test): Likewise.
28694
29c933fb
SP
28695 * benchtests/bench-memset-large.c: Print output in JSON
28696 format.
28697 * benchtests/bench-memset.c: Likewise.
28698
799c8d69
MF
286992017-09-14 Mike FABIAN <mfabian@redhat.com>
28700
28701 [BZ #21084]
28702 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28703 * iconvdata/Makefile: Add IBM858.
28704 * iconvdata/gconv-modules: Likewise.
28705 * iconvdata/tst-tables.sh: Likewise.
28706 * iconvdata/ibm858.c: New file.
28707 * localedata/charmaps/IBM858: Likewise.
28708
c207f7ce 287092017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
28710
28711 [BZ #22023]
28712 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28713 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28714
f28a0926
AK
287152017-09-14 Mike FABIAN <mfabian@redhat.com>
28716
28717 [BZ #22112]
28718 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28719 and add tel_int_fmt.
28720
02093e62
JM
287212017-09-14 Joseph Myers <joseph@codesourcery.com>
28722
28723 * sysdeps/generic/libm-alias-float128.h: New file.
28724 * sysdeps/generic/math-type-macros-float128.h: Include
28725 <libm-alias-float128.h>.
28726 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28727
1aae75ef
JM
287282017-09-13 Joseph Myers <joseph@codesourcery.com>
28729
28730 * sysdeps/generic/libm-alias-ldouble.h: New file.
28731 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28732 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28733 * sysdeps/generic/math-type-macros-ldouble.h: Include
28734 <libm-alias-ldouble.h>.
28735 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28736 libm_alias_ldouble.
28737
bcea7ad6
SN
287382017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28739
28740 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28741 * math/w_exp_compat.c: ... here.
28742 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28743 * math/w_expf_compat.c: ... here.
28744 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28745 * math/w_expl_compat.c: ... here.
28746 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28747 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28748 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28749 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28750
0fc56478
JM
287512017-09-13 Joseph Myers <joseph@codesourcery.com>
28752
28753 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28754 redefine.
28755 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28756 macro.
28757 (ldexpl): Only define as compat symbol for libc, not libm.
28758 (scalbnl): Define as compat symbol for libc here.
28759 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28760 define for [IS_IN (libc)].
28761 (__ldexpl_2): Remove alias.
28762 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28763 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28764 name in long_double_symbol call.
28765 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28766 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28767 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28768 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28769 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28770 Remove macro.
28771 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28772 Define as compat symbol.
28773
3ca622e4
AZ
287742017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28775
28776 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28777 * sysdeps/unix/sysv/linux/alpha/Makefile
28778 [$(subdir) = csu] (sysdep_routines): Remove rule.
28779
620ff9ee
JM
287802017-09-13 Joseph Myers <joseph@codesourcery.com>
28781
28782 * sysdeps/generic/libm-alias-double.h: New file.
28783 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28784 * sysdeps/generic/math-type-macros-double.h: Include
28785 <libm-alias-double.h>.
28786 [declare_mgen_alias] (declare_mgen_alias): Define to use
28787 libm_alias_double.
28788 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28789 (M_LIBM_NEED_COMPAT): Remove macro.
28790 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28791 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28792 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28793 code.
28794 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28795 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28796 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28797 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28798 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28799 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28800 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28801 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28802 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28803 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28804 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28805 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28806 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28807 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28808 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28809 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28810 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28811 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28812 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28813 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28814 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28815 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28816 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28817 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28818 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28819 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28820 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28821 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28822 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28823 macro.
28824 (declare_mgen_alias): New macro.
28825 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28826 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28828 (M_LIBM_NEED_COMPAT): Remove macro.
28829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28830 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28831 <first-versions.h>.
28832 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28833 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28834
a891caff
JM
288352017-09-12 Joseph Myers <joseph@codesourcery.com>
28836
28837 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28838 (declare_mgen_alias_2): Remove.
28839 * sysdeps/generic/math-type-macros-double.h
28840 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28841 Likewise.
28842 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28843 alias.
28844 (ldexp): Define with declare_mgen_alias.
28845 (scalbn): Likewise.
28846
a1a78204
SE
288472017-09-12 Steve Ellcey <sellcey@cavium.com>
28848
28849 * grp/initgroups.c: Include config.h.
28850 (DEFAULT_CONFIG): New macro.
28851 (internal_getgrouplist): Use DEFAULT_CONFIG.
28852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28853 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28854 (DEFAULT_DEFCONFIG): New macro.
28855 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28856 * nss/grp-lookup.c: Include config.h
28857 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28858 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28859 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28860 * manual/nss.texi: Update default values section.
28861
ef8adeb0
L
288622017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 [BZ #21967]
28865 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28866 New.
28867 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28868 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28869 Handle MathVec_Prefer_No_AVX512.
28870 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28871 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28872 is set.
28873
a166531f
ST
288742017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28875
28876 * posix/sched_primax.c (__sched_get_priority_max): Add
28877 libc_hidden_def.
28878 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28879 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28880 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28881 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28882 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28883 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28884 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28885 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28886 Add aliases.
28887
4b7d1efb
JM
288882017-09-11 Joseph Myers <joseph@codesourcery.com>
28889
28890 * sysdeps/generic/libm-alias-float.h: New file.
28891 * sysdeps/generic/math-type-macros-float.h: Include
28892 <libm-alias-float.h>.
28893 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28894
45ff3463
L
288952017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 [BZ #22093]
28898 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28899 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28900 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28901 (HWCAP_IMPORTANT): Likewise.
28902 (HWCAP_X86_64): New enum.
28903 (HWCAP_X86_AVX512_1): Updated.
28904 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28905 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28906 (modules-names): Add x86_64/tst-x86_64mod-1.
28907 (LDFLAGS-tst-x86_64mod-1.so): New.
28908 ($(objpfx)tst-x86_64-1): Likewise.
28909 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28910 (tst-x86_64-1-clean): Likewise.
28911 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28912 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28913
891abfd3
SP
289142017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28915
28916 * po/sv.po: Update translations.
28917 * po/fr.po: Likewise.
28918
00c3da43
ST
289192017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28920
28921 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28922 seconds.
3bdfd9fb
ST
28923 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28924 seconds.
65b22ebc 28925 * elf/rtld-Rules: Fix $(error) use.
00c3da43 28926
96480903
MF
289272017-09-09 Mike FABIAN <mfabian@redhat.com>
28928
28929 [BZ #14925]
28930 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28931 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28932 * localedata/locales/bn_BD: “Bengali” was still used in some
28933 comments. Change it to “Bangla”.
28934
4c03a696
MT
289352017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28936
28937 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28938
9c9ec581
SE
289392017-09-08 Steve Ellcey <sellcey@cavium.com>
28940
28941 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28942 thunderx2t99p1 to list of cpu names.
28943 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28944 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28945
f00bce74
SE
289462017-09-08 Steve Ellcey <sellcey@cavium.com>
28947
28948 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28949 Use strcmp instead of tunable_is_name.
28950
27342d17
JM
289512017-09-08 Joseph Myers <joseph@codesourcery.com>
28952
af1b7c8c
JM
28953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28954 (F_GET_RW_HINT): New macro.
28955 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28956 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28957 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28958 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28959 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28960 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28961 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28962 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28963 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28964
27342d17
JM
28965 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28966 (F_ADD_SEALS): New macro.
28967 [__USE_GNU] (F_GET_SEALS): Likewise.
28968 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28969 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28970 [__USE_GNU] (F_SEAL_GROW): Likewise.
28971 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28972
c66c9082
AZ
289732017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28974
07b4f49d
AZ
28975 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28976 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28977 * posix/glob_internal.h (__glob_pattern_type):
28978 * posix/glob.c (glob):
28979 * posix/glob_pattern_p.c (__glob_pattern_p):
28980 Use them.
28981
116f1c64
AZ
28982 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28983 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28984 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28985 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28986 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28988 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28989 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28990 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28991 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28992 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28993 * sysdeps/wordsize-64/glob.c: Likewise.
28994 * sysdeps/wordsize-64/glob64.c: Likewise.
28995 * sysdeps/wordsize-64/globfree.c: Likewise.
28996 * sysdeps/wordsize-64/globfree64.c: Likewise.
28997 * sysdeps/unix/sysv/linux/glob.c: New file.
28998 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28999 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29000 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29001 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29002 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29003 adds !GLOB_NO_OLD_VERSION as an extra condition.
29004 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29005 using relative path instead of absolute one.
29006 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29007 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29008 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29009 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29010 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29011 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29012
ffca8901
AZ
29013 [BZ #1062]
29014 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29015 (glob): Use the same scratch buffer for both getlogin_r and
29016 getpwnam_r. Don’t require preallocation of the login name. This
29017 simplifies storage allocation, and corrects the handling of
29018 long login names.
29019
5a79f975
AZ
29020 [BZ #1062]
29021 * posix/glob.c (glob): Port recent patches to platforms
29022 lacking getpwnam_r.
29023 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29024 returns an error number rather than setting errno.
29025
e00f2425
AZ
29026 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29027 instead of GCC extension.
29028 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29029 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29030 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29031
5554304f
AZ
29032 [BZ #866]
29033 [BZ #1062]
29034 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29035 * posix/bug-glob1.c: Remove file.
29036 * posix/tst-glob_symlinks.c: New file.
29037 * posix/glob.c (__lstat64): New macro.
29038 (is_dir): New function.
29039 (glob, glob_in_dir): Match symlinks even if they are dangling.
29040 (link_stat, link_exists_p): Remove. All uses removed.
29041
686f2ea1
AZ
29042 [BZ #1062]
29043 [BZ #19971]
29044 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29045 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29046 All uses removed.
29047
c66c9082 29048 [BZ #1062]
914c9994 29049 CVE-2017-15671
c66c9082
AZ
29050 * posix/Makefile (routines): Add globfree, globfree64, and
29051 glob_pattern_p.
29052 * posix/flexmember.h: New file.
29053 * posix/glob_internal.h: Likewise.
29054 * posix/glob_pattern_p.c: Likewise.
29055 * posix/globfree.c: Likewise.
29056 * posix/globfree64.c: Likewise.
29057 * sysdeps/gnu/globfree64.c: Likewise.
29058 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29059 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29060 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29061 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29063 * sysdeps/wordsize-64/globfree.c: Likewise.
29064 * sysdeps/wordsize-64/globfree64.c: Likewise.
29065 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29066 [NDEBUG): Remove comments.
29067 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29068 (dirent_type): New type. Use uint_fast8_t not
29069 uint8_t, as C99 does not require uint8_t.
29070 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29071 (struct readdir_result): Use dirent_type. Do not define skip_entry
29072 unless it is needed; this saves a byte on platforms lacking d_ino.
29073 (readdir_result_type, readdir_result_skip_entry):
29074 New functions, replacing ...
29075 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29076 these functions, which were removed. This makes the callers
29077 easier to read. All callers changed.
29078 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29079 (size_add_wrapv, glob_use_alloca): New static functions.
29080 (glob, glob_in_dir): Check for size_t overflow in several places,
29081 and fix some size_t checks that were not quite right.
29082 Remove old code using SHELL since Bash no longer
29083 uses this.
29084 (glob, prefix_array): Separate MS code better.
29085 (glob_in_dir): Remove old Amiga and VMS code.
29086 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29087 separate files.
29088 (glob_in_dir): Do not rely on undefined behavior in accessing
29089 struct members beyond their bounds. Use a flexible array member
29090 instead
29091 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29092 0/1. Caller changed.
29093 (glob): Fix memory leaks.
29094 * posix/glob64 (globfree64): Move to separate file.
29095 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29096 (globfree64): Remove hidden alias.
29097 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29098 oldglob.
29099 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29100 separate file.
29101 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29102 define.
29103 Move compat code to separate file.
29104 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29105 separate file.
29106
78bfa877
L
291072017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29108
29109 * resolv/tst-resolv-qtypes.c (domain): Changed to
29110 "const char domain[] =".
29111
05f0011f
JM
291122017-09-07 Joseph Myers <joseph@codesourcery.com>
29113
85bec0f2
JM
29114 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29115 version to 3.1.6.
29116
5c23ee6e
JM
29117 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29118 (TCP_MD5SIG_EXT): Likewise.
29119 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29120 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29121 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29122
05f0011f
JM
29123 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29124
7c9c5be9
MF
291252017-09-07 Mike FABIAN <mfabian@redhat.com>
29126
29127 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29128
c207f7ce 291292017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
29130
29131 [BZ #22100]
29132 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29133
507fe027
ST
291342017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29135
29136 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29137 before assuming that the file is empty. Avoid testing buffer content
29138 when nread == 0.
29139
65687ac7
AZ
291402017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29141
7bbbb4b9 29142 [BZ #18858]
65687ac7
AZ
29143 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29144 Remove define.
29145 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29146 Likewise.
29147 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29148 Likewise.
29149 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29150 Likewise.
29151 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29152 Likewise.
29153 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29154 Likewise.
29155 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29156 Likewise.
29157
ab5ac271
FW
291582017-09-06 Florian Weimer <fweimer@redhat.com>
29159
29160 * malloc/dynarray_emplace_enlarge.c
29161 (__libc_dynarray_emplace_enlarge): Add missing else.
29162
a8304730
FW
291632017-09-06 Florian Weimer <fweimer@redhat.com>
29164
29165 [BZ #22096]
29166 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29167 case of failure to obtain the global conf object.
29168
5670c4ab
FW
291692017-09-06 Florian Weimer <fweimer@redhat.com>
29170
29171 [BZ #22095]
29172 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29173 dynarray allocation failure.
29174
c77eb969
FW
291752017-09-06 Florian Weimer <fweimer@redhat.com>
29176
29177 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29178 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29179 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29180 New functions.
29181 (response): Call them. Add 'p', '6' flag processing.
29182 (test_reverse): New function.
29183 (test_get2_any): Call it.
29184 (test_no_inet6): Add 'p' test.
29185 (test_inet6): Likewise.
29186
5e9c4d17
FW
291872017-09-06 Florian Weimer <fweimer@redhat.com>
29188
29189 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29190 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29191 the QNAME.
29192 (test_gai): Adjust query names. Add additional tests.
29193 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29194 test_get2. Adjust query names. Add additional tests.
29195 (test_no_inet6): New function, extracted from threadfunc.
29196 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29197 Add additional tests.
29198
2ae5be04
MF
291992017-09-06 Mike FABIAN <mfabian@redhat.com>
29200
29201 [BZ #22070]
29202 * localedata/unicode-gen/utf8_gen.py: Set the width for
29203 characters with Prepended_Concatenation_Mark property to 1
29204 * localedata/charmaps/UTF-8: Updated using the improved script.
29205
af83ed5c
MF
292062017-09-06 Mike FABIAN <mfabian@redhat.com>
29207
29208 [BZ #21750]
29209 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29210 use the range notation for all ranges of neighbouring characters
29211 with the same width.
29212
4f3647e4
JM
292132017-09-05 Joseph Myers <joseph@codesourcery.com>
29214
29215 * sysdeps/generic/math-type-macros-double.h: Include
29216 <math-svid-compat.h>.
29217 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29218 * sysdeps/generic/math-type-macros-float.h: Include
29219 <math-svid-compat.h>.
29220 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29221 * sysdeps/generic/math-type-macros-ldouble.h: Include
29222 <math-svid-compat.h>.
29223 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29224 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29225 condition.
29226 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29227 * math/w_acosf_compat.c: Likewise.
29228 * math/w_acosh_compat.c: Likewise.
29229 * math/w_acoshf_compat.c: Likewise.
29230 * math/w_acoshl_compat.c: Likewise.
29231 * math/w_acosl_compat.c: Likewise.
29232 * math/w_asin_compat.c: Likewise.
29233 * math/w_asinf_compat.c: Likewise.
29234 * math/w_asinl_compat.c: Likewise.
29235 * math/w_atan2_compat.c: Likewise.
29236 * math/w_atan2f_compat.c: Likewise.
29237 * math/w_atan2l_compat.c: Likewise.
29238 * math/w_atanh_compat.c: Likewise.
29239 * math/w_atanhf_compat.c: Likewise.
29240 * math/w_atanhl_compat.c: Likewise.
29241 * math/w_cosh_compat.c: Likewise.
29242 * math/w_coshf_compat.c: Likewise.
29243 * math/w_coshl_compat.c: Likewise.
29244 * math/w_exp10_compat.c: Likewise.
29245 * math/w_exp10f_compat.c: Likewise.
29246 * math/w_exp10l_compat.c: Likewise.
29247 * math/w_exp2_compat.c: Likewise.
29248 * math/w_exp2f_compat.c: Likewise.
29249 * math/w_exp2l_compat.c: Likewise.
29250 * math/w_fmod_compat.c: Likewise.
29251 * math/w_fmodf_compat.c: Likewise.
29252 * math/w_fmodl_compat.c: Likewise.
29253 * math/w_hypot_compat.c: Likewise.
29254 * math/w_hypotf_compat.c: Likewise.
29255 * math/w_hypotl_compat.c: Likewise.
29256 * math/w_j0_compat.c: Likewise.
29257 * math/w_j0f_compat.c: Likewise.
29258 * math/w_j0l_compat.c: Likewise.
29259 * math/w_j1_compat.c: Likewise.
29260 * math/w_j1f_compat.c: Likewise.
29261 * math/w_j1l_compat.c: Likewise.
29262 * math/w_jn_compat.c: Likewise.
29263 * math/w_jnf_compat.c: Likewise.
29264 * math/w_jnl_compat.c: Likewise.
29265 * math/w_lgamma_r_compat.c: Likewise.
29266 * math/w_lgammaf_r_compat.c: Likewise.
29267 * math/w_lgammal_r_compat.c: Likewise.
29268 * math/w_log10_compat.c: Likewise.
29269 * math/w_log10f_compat.c: Likewise.
29270 * math/w_log10l_compat.c: Likewise.
29271 * math/w_log2_compat.c: Likewise.
29272 * math/w_log2f_compat.c: Likewise.
29273 * math/w_log2l_compat.c: Likewise.
29274 * math/w_log_compat.c: Likewise.
29275 * math/w_logf_compat.c: Likewise.
29276 * math/w_logl_compat.c: Likewise.
29277 * math/w_pow_compat.c: Likewise.
29278 * math/w_powf_compat.c: Likewise.
29279 * math/w_powl_compat.c: Likewise.
29280 * math/w_remainder_compat.c: Likewise.
29281 * math/w_remainderf_compat.c: Likewise.
29282 * math/w_remainderl_compat.c: Likewise.
29283 * math/w_sinh_compat.c: Likewise.
29284 * math/w_sinhf_compat.c: Likewise.
29285 * math/w_sinhl_compat.c: Likewise.
29286 * math/w_sqrt_compat.c: Likewise.
29287 * math/w_sqrtf_compat.c: Likewise.
29288 * math/w_sqrtl_compat.c: Likewise.
29289 * math/w_tgamma_compat.c: Likewise.
29290 * math/w_tgammaf_compat.c: Likewise.
29291 * math/w_tgammal_compat.c: Likewise.
29292 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29293 [LIBM_SVID_COMPAT].
29294 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29295 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29296 [LIBM_SVID_COMPAT].
29297 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29298 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29299 [LIBM_SVID_COMPAT].
29300 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29301 * sysdeps/i386/fpu/w_sqrt.c: New file.
29302 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29303 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29304 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29305 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29306 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29307 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29308 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29309 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29310 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29311 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29312 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29313 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29314 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29315 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29316 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29317 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29318 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29319 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29320 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29321 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29322 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29323 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29324 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29325 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29326 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29327 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29328 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29329 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29330 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29331 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29332 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29333 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29334 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29335 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29336 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29337 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29338 * sysdeps/ia64/fpu/w_log.c: Likewise.
29339 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29340 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29341 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29342 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29343 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29344 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29345 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29346 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29347 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29348 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29349 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29350 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29351 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29352 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29353 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29354 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29355 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29356 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29357 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29358 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29359 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29360 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29361 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29363 [LIBM_SVID_COMPAT].
29364 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29365 * sysdeps/ieee754/k_standard.c: Likewise.
29366 * sysdeps/ieee754/k_standardf.c: Likewise.
29367 * sysdeps/ieee754/k_standardl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29369 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29371 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29372 long_double_symbol call on [LIBM_SVID_COMPAT].
29373 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29374 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29375 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29376 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29377 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29378 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29379 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29380 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29381 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29382 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29383 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29384 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29385 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29386 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29387 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29388 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29389 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29390 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29391 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29392 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29393 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29394 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29395
05b38d64
SE
293962017-09-05 Steve Ellcey <sellcey@cavium.com>
29397
29398 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29399 * malloc/tst-mallocstate.c: Convert from test-skeleton
29400 to test-driver. Ifdef code using TEST_COMPAT macro.
29401 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29402 * math/test-matherr.c: Likewise.
29403
99d67918
JM
294042017-09-05 Joseph Myers <joseph@codesourcery.com>
29405
29406 [BZ #22086]
29407 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29408 comparing word with byte-swapped constant.
29409
c207f7ce 294102017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
29411
29412 [BZ #20498]
29413 * locale/iso-639.def: add Miskito.
29414 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29415 * localedata/locales/miq_NI: New file.
29416
0a587a8a
L
294172017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29418
29419 [BZ #18822]
29420 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29421 (__mkdir): Likewise.
29422 * io/chmod.c (__chmod): Add libc_hidden_def.
29423 * io/mkdir.c (__mkdir): Likewise.
29424 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29425 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29426 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29427 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29428
f3a129b8
JM
294292017-09-04 Joseph Myers <joseph@codesourcery.com>
29430
1650e192
JM
29431 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29432 version to 4.13.
29433
f3a129b8
JM
29434 [BZ #22082]
29435 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29436 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29437
b38042f5
FW
294382017-09-04 Florian Weimer <fweimer@redhat.com>
29439
29440 * math/math.h: Issue warning if log is defined.
29441
059b6404
JM
294422017-09-04 Joseph Myers <joseph@codesourcery.com>
29443
29444 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29445 kernel version to 4.13.
29446
b794e16b
ST
294472017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29448
29449 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
29450 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29451 parameter.
01969395
ST
29452 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29453 just <bits/types.h>.
dd2b31de 29454 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 29455 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 29456 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 29457 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
29458 * misc/preadv2.c: Include <errno.h>.
29459 * misc/preadv64v2.c: Include <errno.h>.
29460 * misc/pwritev2.c: Include <errno.h>.
29461 * misc/pwritev64v2.c: Include <errno.h>.
29462 * sysdeps/posix/preadv2.c: Include <errno.h>.
29463 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29464 Fix <unistd.h> inclusion.
29465 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29466 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
29467 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29468 __strtoul_internal): New functions.
127e7773
ST
29469 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29470 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
29471 * sysdeps/mach/hurd/i386/Makefile
29472 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29473 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29474 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
29475 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29476 __feraiseexcept_renamed to feraiseexcept instead of
29477 __GI_feraiseexcept.
56bf5497 29478 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 29479 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
29480 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29481 RWF_NOWAIT): Define to 0 if undefined already.
29482 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29483 boils down to 0.
6547ec0a
ST
29484 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29485 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29486
5a80d39d
JM
294872017-09-01 Joseph Myers <joseph@codesourcery.com>
29488
29489 * manual/math.texi (pow10): Do not document.
29490 (pow10f): Likewise.
29491 (pow10l): Likewise.
29492 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29493 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29494 * math/libm-test-exp10.inc (pow10_test): Remove.
29495 (do_test): Do not call pow10.
29496 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29497 [NO_LONG_DOUBLE] (pow10l): Likewise.
29498 * math/w_exp10f_compat.c (pow10f): Likewise.
29499 * math/w_exp10l_compat.c (pow10l): Likewise.
29500 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29501 (pow10): Make into compat symbol.
29502 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29503 (pow10f): Make into compat symbol.
29504 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29505 (pow10l): Make into compat symbol.
29506 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29507 pow10.
29508 (CFLAGS-nldbl-pow10.c): Remove variable..
29509 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29510 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29511 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29512 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29513 Undefine and redefine.
29514 (pow10l): Make into compat symbol.
29515 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29516 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29517 * sysdeps/arm/libm-test-ulps: Likewise.
29518 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29519 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29520 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29521 * sysdeps/microblaze/libm-test-ulps: Likewise.
29522 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29523 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29524 * sysdeps/nios2/libm-test-ulps: Likewise.
29525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29526 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29527 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29528 * sysdeps/sh/libm-test-ulps: Likewise.
29529 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29530 * sysdeps/tile/libm-test-ulps: Likewise.
29531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29532
3824fc38
PP
295332017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29534
29535 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29536
b3008279
L
295372017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29538
29539 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29540 "../ChangeLog.old/ChangeLog.8".
29541 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29542 "../ChangeLog.old/ChangeLog.14".
29543
136fa185
L
295442017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29545
29546 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29547 Threads Library.
29548
c18d50a2
JM
295492017-09-01 Joseph Myers <joseph@codesourcery.com>
29550
29551 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29552
bedbd859
L
295532017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29554
29555 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29556 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29557
50c66c7a
PP
295582017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29559
29560 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29561 32 atexit handlers.
29562
a617bd11
ZW
295632017-09-01 Zack Weinberg <zackw@panix.com>
29564
29565 * math/math.h (HUGE_VAL): Improve commentary.
29566
e0d2eb5a
AZ
295672017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29568 Andreas Schwab <schwab@suse.de>
29569
29570 [BZ #21530]
29571 * include/stdio.h (__gen_tempfd): New function.
29572 * stdio-common/Makefile (routines): Add gentempfd.
29573 * stdio-common/gentempfd.c: New file.
29574 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29575 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29576 unnamed file first.
29577
f4a6be25
FW
295782017-09-01 Florian Weimer <fweimer@redhat.com>
29579
29580 [BZ #21915]
29581 [BZ #21922]
29582 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29583 result to determine success or failure, not the errno value.
29584 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29585 (tst-nss-files-hosts-erange): Link with -ldl.
29586 * nss/tst-nss-files-hosts-erange.c: New file.
29587 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29588 (do_test): Add NO_DATA tests.
29589 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29590 (do_test): Call it.
29591
5f8340f5
FW
295922017-09-01 Florian Weimer <fweimer@redhat.com>
29593
29594 [BZ #21922]
29595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29596 coming from gethostbyname2_r.
29597
65329bd2
FW
295982017-09-01 Florian Weimer <fweimer@redhat.com>
29599
29600 * support/namespace.h (struct support_chroot_configuration): Add
29601 hosts, host_conf.
29602 (struct support_chroot): Add path_hosts, path_host_conf.
29603 * support/support_chroot.c (write_file): New function.
29604 (support_chroot_create): Call it to process /etc/resolv.conf,
29605 /etc/hosts, /etc/host.conf.
29606 (support_chroot_free): Update.
29607
a2881ef0
FW
296082017-09-01 Florian Weimer <fweimer@redhat.com>
29609
29610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29611 status indicates it is set.
29612
ad816a5e
FW
296132017-09-01 Florian Weimer <fweimer@redhat.com>
29614
63b52889 29615 [BZ #20532]
ad816a5e
FW
29616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29617 function lookup failures more reliable.
29618
53250a21
FW
296192017-09-01 Florian Weimer <fweimer@redhat.com>
29620
29621 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29622 (getcanonname): Likewise.
29623 (gaih_inet): Likewise.
29624
924b121c
FW
296252017-09-01 Florian Weimer <fweimer@redhat.com>
29626
29627 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29628 (getcanonname): Likewise.
29629 (gaih_inet): Likewise.
29630
d9ff799a
SE
296312017-08-31 Steve Ellcey <sellcey@cavium.com>
29632 Richard Henderson <rth@twiddle.net>
29633
29634 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29635 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29636 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29637 (IREG_SIZE, OREG_SIZE): New macros.
29638 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29639 (IREG_SIZE, OREG_SIZE): New macros.
29640 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29641 (IREG_SIZE): New macro.
29642 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29643 (IREG_SIZE): New macro.
29644 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29645 New includes.
29646 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29647 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29648 (__CONCATX): Handle exceptions correctly on large values that may
29649 set FE_INVALID.
29650 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29651 Initialize if not already set.
29652 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29653
102dde84
AZ
296542017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29655
29656 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29657 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29658 Likewise.
29659 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29660 Likewise.
29661 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29662 Likewise.
29663 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29664 Likewise.
29665 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29666 Likewise.
29667 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29668 Likewise.
29669 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29670 Likewise.
29671 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29672 (NO_CANCELLATION): Likewise.
29673 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29674 Likewise.
29675 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29676 Likewise.
29677 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29678 Likewise.
29679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29680 (NO_CANCELLATION): Likewise.
29681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29682 (NO_CANCELLATION): Likewise.
29683 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29684 Likewise
29685 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29686 Likewise.
29687 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29688 Likewise.
29689 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29690 Likewise.
29691 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29692 hidden prototype.
29693 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29694 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29695
9eee633b
SE
296962017-08-31 Steve Ellcey <sellcey@cavium.com>
29697
29698 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29699 in resolver call.
29700
65284eb7
FW
297012017-08-31 Florian Weimer <fweimer@redhat.com>
29702
29703 * include/libc-symbols.h (internal_function): Remove.
29704
41ad5ca6
FW
297052017-08-31 Florian Weimer <fweimer@redhat.com>
29706
29707 * stdlib/fmtmsg.c (internal_addseverity): Remove
29708 internal_function.
29709
2fa6d086
FW
297102017-08-31 Florian Weimer <fweimer@redhat.com>
29711
29712 * stdio-common/printf_fp.c (group_number): Remove
29713 internal_function.
29714 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29715
b41bd5bc
FW
297162017-08-31 Florian Weimer <fweimer@redhat.com>
29717
29718 * posix/fnmatch.c (internal_function): Remove definition.
29719 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29720 * posix/regcomp.c (peek_token, init_word_char)
29721 (duplicate_node_closure, fetch_token, peek_token)
29722 (peek_token_bracket, build_range_exp, build_collating_symbol):
29723 Likewise.
29724 * posix/regex_internal.c (re_string_construct_common)
29725 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29726 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29727 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29728 (re_string_translate_buffer, re_string_reconstruct)
29729 (re_string_peek_byte_case, re_string_fetch_byte_case)
29730 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29731 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29732 (re_node_set_add_intersect, re_node_set_init_union)
29733 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29734 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29735 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29736 (re_acquire_state_context): Likewise.
29737 * posix/regex_internal.h (internal_function): Remove definition.
29738 (re_string_realloc_buffers, build_wcs_buffer)
29739 (build_wcs_upper_buffer, build_upper_buffer)
29740 (re_string_translate_buffer, re_string_context_at)
29741 (re_string_char_size_at, re_string_wchar_at)
29742 (re_string_elem_size_at): Likewise.
29743 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29744 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29745 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29746 (re_search_internal, re_search_2_stub, re_search_stub)
29747 (re_copy_regs, prune_impossible_nodes, check_matching)
29748 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29749 (free_fail_stack_return, sift_states_iter_mb)
29750 (sift_states_backward, build_sifted_states)
29751 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29752 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29753 (check_subexp_limits, sift_states_bkref, merge_state_array)
29754 (find_recover_state, transit_state, merge_state_with_log)
29755 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29756 (transit_state_mb, transit_state_bkref, get_subexp)
29757 (get_subexp_sub, find_subexp_node, check_arrival)
29758 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29759 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29760 (check_node_accept_bytes, find_collation_sequence_value)
29761 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29762 (acquire_init_state_context, check_halt_node_context)
29763 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29764 (sub_epsilon_src_nodes): Likewise.
29765 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29766 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29767 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29768 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29769 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29770 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29771 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29772 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29773 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29774 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29775 (PREADV): Likewise.
29776 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29777 (PREADV): Likewise.
29778 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29779 (PWRITEV): Likewise.
29780 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29781 (PWRITEV): Likewise.
29782 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29783 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29784
83b09837
FW
297852017-08-31 Florian Weimer <fweimer@redhat.com>
29786
29787 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29788 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29789 Remove internal_function.
29790 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29791 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29792 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29793 (__deallocate_stack, __libc_pthread_init)
29794 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29795 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29796 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29797 Likewise.
29798 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29799 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29800 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29801 Likewise.
29802 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29803 (__pthread_mutex_unlock_usercnt): Likewise.
29804
116ac301
FW
298052017-08-31 Florian Weimer <fweimer@redhat.com>
29806
29807 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29808 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29809 (fts_safe_changedir): Remove internal_function.
29810 * io/ftw.c (internal_function): Remove definition.
29811 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29812
9da93bd7
FW
298132017-08-31 Florian Weimer <fweimer@redhat.com>
29814
29815 * inet/deadline.c (__deadline_current_time)
29816 (__deadline_from_timeval, __deadline_to_ms): Remove
29817 internal_function.
29818 * inet/getnameinfo.c (nrl_domainname): Likewise.
29819 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29820 * inet/inet6_option.c (add_pad): Likewise.
29821 * inet/net-internal.h (__deadline_current_time)
29822 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29823 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29824 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29825 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29826
a60eca2e
JM
298272017-08-31 Joseph Myers <joseph@codesourcery.com>
29828
c0c49d60
JM
29829 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29830 include <bits/nan.h>.
29831 * math/Makefile (headers): Remove bits/nan.h.
29832 * bits/nan.h: Remove.
29833 * sysdeps/ieee754/bits/nan.h: Likewise.
29834 * sysdeps/mips/bits/nan.h: Likewise.
29835
5ef1b213
JM
29836 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29837 not include <bits/inf.h>.
29838 * math/Makefile (headers): Remove bits/inf.h.
29839 * bits/inf.h: Remove.
29840 * sysdeps/ieee754/bits/inf.h: Likewise.
29841
a60eca2e
JM
29842 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29843 bits/huge_vall.h or bits/huge_val_flt128.h.
29844 (HUGE_VAL): Define directly here.
29845 [__USE_ISOC99] (HUGE_VALF): Likewise.
29846 [__USE_ISOC99] (HUGE_VALL): Likewise.
29847 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29848 (HUGE_VAL_F128): Likewise.
29849 * math/Makefile (headers): Remove bits/huge_val.h,
29850 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29851 * bits/huge_val.h: Remove.
29852 * bits/huge_val_flt128.h: Likewise.
29853 * bits/huge_valf.h: Likewise.
29854 * bits/huge_vall.h: Likewise.
29855 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29856 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29857 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29858 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29859 * sysdeps/sh/bits/huge_val.h: Likewise.
29860 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29861 * sysdeps/x86/bits/huge_vall.h: Likewise.
29862
17e00cc6
FW
298632017-08-31 Florian Weimer <fweimer@redhat.com>
29864
29865 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29866 internal_function.
29867 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29868 Likewise.
29869 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29870 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29871 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29872 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29875 * elf/dl-libc.c (dlerror_run): Likewise.
29876 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29877 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29878 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29879 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29880 Likewise.
29881 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29882 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29883 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29884 * elf/dl-profile.c (_dl_start_profile): Likewise.
29885 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29886 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29887 Likewise.
29888 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29889 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29890 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29891 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29892 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29893 (_dl_allocate_tls_storage): Likewise.
29894 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29895 (_dl_check_all_versions): Likewise.
29896 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29897 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29898 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29899 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29900 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29901 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29902 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29903 internal_function from __dl_start.
29904 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29905 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29906 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29907 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29908 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29909 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29910 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29911 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29912 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29913 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29914 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29915 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29916 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29917 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29918 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29919 Likewise.
29920 (struct rtld_global_ro): Remove internal_function from the
29921 _dl_lookup_symbol_x member.
29922 (_dl_symbol_value): Remove. No longer defined anywhere.
29923 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29924 internal_function.
29925 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29926 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29927 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29928 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29929 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29930 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29931 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29932 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29933 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29934 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29935 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29936 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29937
8d2f9410
FW
299382017-08-31 Florian Weimer <fweimer@redhat.com>
29939
29940 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29941 Remove internal_function.
29942 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29943 Likewise.
29944 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29945 Likewise.
29946
86e4919f
FW
299472017-08-31 Florian Weimer <fweimer@redhat.com>
29948
29949 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29950 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29951 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29952
59bd52b0
FW
299532017-08-31 Florian Weimer <fweimer@redhat.com>
29954
29955 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29956 (__gai_enqueue_request): Remove internal_function.
29957 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29958 (__gai_remove_request, __gai_notify, __gai_notify_only)
29959 (__gai_sigqueue): Likewise.
29960 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29961 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29962 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29963 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29964 Likewise.
29965
fc3d9497
FW
299662017-08-31 Florian Weimer <fweimer@redhat.com>
29967
29968 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29969 * include/dirent.h (__opendirat, __getdents, __getdents64)
29970 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29971 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29972 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29973 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29974 Likewise.
29975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29976
18c54fac
FW
299772017-08-31 Florian Weimer <fweimer@redhat.com>
29978
29979 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29980 internal_function.
29981 (GETCWD_RETURN_TYPE): Likewise.
29982
7e01f080
FW
299832017-08-31 Florian Weimer <fweimer@redhat.com>
29984
29985 * include/time.h (__tz_compute, __strptime_internal): Remove
29986 internal_function.
29987 * time/strptime_l.c (__strptime_internal): Likewise.
29988 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29989
d7ccc6c9
FW
299902017-08-31 Florian Weimer <fweimer@redhat.com>
29991
29992 * iconv/gconv.c (__gconv): Remove internal_function.
29993 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29994 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29995 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29996 (__gconv_release_cache): Likewise.
29997 * iconv/gconv_close.c (__gconv_close): Likewise.
29998 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29999 (read_conf_file, __gconv_get_path): Likewise.
30000 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30001 (__gconv_release_step, gen_steps, increment_counter)
30002 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30003 (__gconv_close_transform, free_modules_db): Likewise.
30004 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30005 Likewise.
30006 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30007 (__gconv_find_transform, __gconv_lookup_cache)
30008 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30009 (__gconv_close_transform, __gconv_release_cache)
30010 (__gconv_loaded_object, __gconv_release_shlib)
30011 (__gconv_compare_alias): Likewise.
30012 * iconv/gconv_open.c (__gconv_open): Likewise.
30013 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30014 * iconv/iconvconfig.c (add_module): Likewise.
30015 * intl/dcigettext.c (plural_lookup, guess_category_value)
30016 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30017 * intl/eval-plural.h (plural_eval): Likewise.
30018 * intl/finddomain.c (_nl_find_domain): Likewise.
30019 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30020 (_nl_load_domain, _nl_find_msg): Likewise.
30021 (internal_function): Remove definition.
30022 * intl/loadinfo.h (internal_function): Likewise.
30023 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30024 internal_function.
30025 * intl/localealias.c (internal_function): Remove definition.
30026 (read_alias_file): Remove internal_function.
30027 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30028 * intl/plural-exp.h (internal_function): Remove definition.
30029 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30030 internal_function.
30031 * intl/plural.c: Regenerate.
30032 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30033 * locale/coll-lookup.c (__collidx_table_lookup)
30034 (__collseq_table_lookup): Likewise.
30035 * locale/coll-lookup.h (__collidx_table_lookup)
30036 (__collseq_table_lookup): Likewise.
30037 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30038 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30039 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30040 (_nl_unload_locale): Likewise.
30041 * locale/localeinfo.h (struct __locale_data): Remove
30042 internal_function from cleanup member.
30043 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30044 (_nl_remove_locale, _nl_load_locale_from_archive)
30045 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30046 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30047 (_nl_cleanup_time): Remove internal_function.
30048 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30049 (_nl_parse_alt_digit): Likewise.
30050 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30051 (_nl_select_era_entry): Likewise.
30052 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30053 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30054 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
30055 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30056 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 30057
dab0eece
FW
300582017-08-31 Florian Weimer <fweimer@redhat.com>
30059
30060 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30061 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30062 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30063 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30064 Likewise.
30065 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30066 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30067 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30068 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30069 Likewise.
30070 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30071
ab5bf7cf
FW
300722017-08-31 Florian Weimer <fweimer@redhat.com>
30073
30074 * misc/getttyent.c (skip, value): Remove internal_function.
30075 * misc/syslog.c (openlog_internal): Likewise.
30076 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30077
75b3047e
FW
300782017-08-31 Florian Weimer <fweimer@redhat.com>
30079
30080 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30081 (__nss_rewrite_field): Remove internal_function.
30082 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30083 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30084 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30085 * nss/nsswitch.c (nss_parse_file, nss_getline)
30086 (nss_parse_service_list, nss_new_service): Likewise.
30087 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30088 * nss/valid_field.c (__nss_valid_field): Likewise.
30089 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30090
0c71122c
FW
300912017-08-31 Florian Weimer <fweimer@redhat.com>
30092
30093 * malloc/arena.c (__malloc_fork_lock_parent)
30094 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30095 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30096 internal_function from defintions.
30097 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30098 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30099 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30100 internal_function from declarations.
30101 * malloc/malloc.c (internal_function): Do not define.
30102 (mem2mem_check): Remove internal_function from declaration.
30103 (munmap_chunk, mremap_chunk): Remove internal_function.
30104 * malloc/mtrace.c (tr_where): Likewise.
30105
ca4ec803
FW
301062017-08-31 Florian Weimer <fweimer@redhat.com>
30107
30108 * include/rpc/pmap_clnt.h (__get_socket): Remove
30109 internal_function.
30110 * sunrpc/auth_des.c (synchronize): Likewise.
30111 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30112 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30113 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30114 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30115 (key_call): Likewise.
30116 * sunrpc/pm_getport.c (__get_socket): Likewise.
30117 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30118 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30119 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30120 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30121 (invalidate): Likewise.
30122 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30123 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30124 (set_input_fragment, get_input_bytes): Likewise.
30125
24cffce7
FW
301262017-08-31 Florian Weimer <fweimer@redhat.com>
30127
30128 * malloc/malloc.c (_int_free): Remove locked variable and related
30129 asserts.
30130
ecd0747d
L
301312017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30132
30133 [BZ #22051]
30134 * Makerules (build-module-helper-objlist): Filter out
30135 $(elf-objpfx)sofini.os.
30136 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30137 needed.
30138
5f0704b6
FW
301392017-08-31 Florian Weimer <fweimer@redhat.com>
30140
30141 * libio/fcloseall.c: Assume weak_alias is defined.
30142 * libio/feof.c: Likewise.
30143 * libio/fileno.c: Likewise.
30144 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30145 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30146 definitions.
30147 (_IO_file_open): Call __open directly.
30148 (_IO_new_file_sync): Assume ESPIPE is defined.
30149 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30150 (_IO_new_file_write): Call __write directly.
30151 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30152 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30153 * libio/genops.c: Assume _LIBC is defined.
30154 (save_for_backup): Remove internal_function.
30155 * libio/getc.c: Assume weak_alias is defined.
30156 * libio/getwc.c: Likewise.
30157 * libio/iofclose.c: Assume _LIBC is defined.
30158 * libio/iofdopen.c: Likewise.
30159 (_IO_fcntl): Remove macro definition.
30160 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30161 Call __fcntl directly.
30162 * libio/iofflush.c: Assume weak_alias is defined.
30163 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30164 defined.
30165 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30166 * libio/iofgets.c: Likewise.
30167 * libio/iofopen.c: Assume _LIBC is defined.
30168 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30169 * libio/iofputs.c: Assume weak_alias is defined.
30170 * libio/iofread.c: Likewise.
30171 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30172 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30173 * libio/ioftell.c: Assume weak_alias is defined.
30174 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30175 * libio/iofwide.c: Assume _LIBC is defined.
30176 (_IO_fwide): Drop SHARED conditional because it is implied by
30177 SHLIB_COMPAT.
30178 * libio/iofwrite.c: Assume weak_alias is defined.
30179 * libio/iogetdelim.c: Likewise.
30180 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30181 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30182 (_IO_getwline): Call __wmemcpy directly.
30183 * libio/iopopen.c: Assume _LIBC is defined.
30184 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30185 (_IO_close): Remove macro definitions.
30186 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30187 _exit directly.
30188 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30189 directly.
30190 * libio/ioputs.c: Assume weak_alias is defined.
30191 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30192 * libio/iosetbuffer.c: Assume weak_alias is defined.
30193 * libio/iosetvbuf.c: Likewise.
30194 * libio/ioungetc.c: Likewise.
30195 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30196 libc_hidden_def, libc_hidden_weak, NULL are defined.
30197 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30198 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30199 defined.
30200 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30201 definitions.
30202 (_IO_old_file_init_internal): Drop SHARED conditional because it
30203 is implied by SHLIB_COMPAT.
30204 (_IO_old_file_fopen): Call __open directly.
30205 (_IO_old_file_sync): Assume ESPIPE is defined.
30206 (_IO_old_file_write): Call __write directly.
30207 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30208 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30209 Call __fcntl directly.
30210 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30211 (_IO_old_fgetpos): Assume EIO is defined.
30212 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30213 (_IO_old_fgetpos64): Assume EIO is defined.
30214 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30215 (_IO_old_fsetpos): Assume EIO is defined.
30216 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30217 (_IO_old_fsetpos64): Assume EIO is defined.
30218 * libio/oldiopopen.c: Assume _LIBC is defined.
30219 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30220 (_IO_close): Remove macro definitions.
30221 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30222 directly.
30223 (_IO_old_proc_close): Call __close, __waitpid directly.
30224 * libio/put.c: Assume weak_alias is defined.
30225 * libio/stdfiles.c: Assume _LIBC is defined.
30226 * libio/stdio.c: Likewise.
30227 * libio/wfileops.c: Likewise.
30228 (_IO_wfile_sync): Assume ESPIPE is defined.
30229 * libio/wgenops.c: Assume _LIBC is defined.
30230 (save_for_wbackup): Remove internal_function.
30231
5129873a
FW
302322017-08-31 Florian Weimer <fweimer@redhat.com>
30233
30234 * malloc/malloc.c (top_check): Change return type to void. Remove
30235 internal_function.
30236 * malloc/hooks.c (top_check): Likewise.
30237 (malloc_check, realloc_check, memalign_check): Adjust.
30238
4fa9b3bf
JM
302392017-08-30 Joseph Myers <joseph@codesourcery.com>
30240
30241 [BZ #21457]
30242 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30243 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30244 sigcontext and namespace requirements.
30245 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30246 * sysdeps/m68k/sys/ucontext.h: Likewise.
30247 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30248 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30249 <bits/sigcontext.h>.
30250 (__ctx): Define earlier.
30251 (mcontext_t): Define structure contents rather than using struct
30252 sigcontext.
30253 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30254 __glibc_reserved1 instead of __reserved.
30255 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30256 <bits/sigcontext.h>.
30257 (__ctx): Define earlier.
30258 (mcontext_t): Define structure contents rather than using struct
30259 sigcontext.
30260 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30261 mcontext_t instead of struct sigcontext.
30262 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30263 <bits/sigcontext.h>.
30264 (__ctx): Define earlier.
30265 (mcontext_t): Define structure contents rather than using struct
30266 sigcontext.
30267 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30268 <bits/sigcontext.h>.
30269 (__ctx): Define earlier.
30270 (mcontext_t): Define structure contents rather than using struct
30271 sigcontext.
30272 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30273 mcontext_t instead of struct sigcontext.
30274 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30275 mcontext_t instead of struct sigcontext.
30276 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30277 <bits/sigcontext.h>.
30278 (__ctx): New macro.
30279 (struct __ia64_fpreg_mcontext): New type.
30280 (mcontext_t): Define structure contents rather than using struct
30281 sigcontext.
30282 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30283 (uc_sigmask): Define using __ctx.
30284 (uc_stack): Likewise.
30285 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30286 <bits/sigcontext.h>.
30287 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30288 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30289 <bits/sigcontext.h>.
30290 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30291 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30292 <bits/sigcontext.h>.
30293 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30294 <bits/sigcontext.h>.
30295 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30296 <bits/sigcontext.h>.
30297 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30298 <bits/sigcontext.h>.
30299 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30300 <bits/sigcontext.h>.
30301 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30302 <bits/sigcontext.h>.
30303 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30304 <bits/sigcontext.h>.
30305 (__ctx): Define earlier.
30306 (mcontext_t): Define structure contents rather than using struct
30307 sigcontext.
30308 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30309 <bits/sigcontext.h>. Include <bits/types.h>.
30310 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30311 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30312 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30313 (test-xfail-UNIX98/signal.h/conform): Likewise.
30314 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30315 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30316 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30317 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30318 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30319 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30320 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30321 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30322 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30323
5898f454
FW
303242017-08-30 Florian Weimer <fweimer@redhat.com>
30325
30326 * malloc/dynarray_emplace_enlarge.c
30327 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30328 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30329 * malloc/tst-dynarray.c (test_long_overflow): New function.
30330 (do_test): Call it.
30331
a9da0bb2
FW
303322017-08-30 Florian Weimer <fweimer@redhat.com>
30333
30334 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30335 (set_arena_corrupt): Remove definitions.
30336 (mtrim): Do not check for corrupt arena.
30337 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30338 Likewise.
30339
ac3ed168
FW
303402017-08-30 Florian Weimer <fweimer@redhat.com>
30341
30342 [BZ #21754]
30343 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30344 check_action.
30345 (ptmalloc_init): Do not set or use check_action.
30346 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30347 call to malloc_printerr. Remove return statement.
30348 (free_check): Likewise. Remove arena unlock.
30349 (top_check): Update comment. Adjust call to malloc_printerr.
30350 Remove heap repair code.
30351 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30352 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30353 (sysmalloc): Adjust call to malloc_printerr.
30354 (munmap_chunk, __libc_realloc): Likewise. Remove return
30355 statement.
30356 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30357 Remove errout label and corresponding gotos.
30358 (_int_free): Likewise. Remove arena unlock.
30359 (do_set_mallopt_check): Do not set check_action.
30360 (malloc_printerr): Adjust parameter list. Do not mark arena as
30361 corrupt.
30362 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30363 comment.
30364 * manual/probes.texi (Memory Allocation Probes): Remove
30365 memory_mallopt_check_action.
30366
44bcba80
SE
303672017-08-30 Steve Ellcey <sellcey@cavium.com>
30368
30369 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30370 Use pointer to uint64_t instead of long int for sp.
30371
ec2c1fce
FW
303722017-08-30 Florian Weimer <fweimer@redhat.com>
30373
30374 [BZ #21754]
30375 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30376 without printing a backtrace. Do not leak any information in the
30377 error message.
30378 * manual/memory.texi (Heap Consistency Checking): Update.
30379 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30380
9ce673b6
FW
303812017-08-30 Florian Weimer <fweimer@redhat.com>
30382
30383 Do not scale NPTL tests with available number of CPUs.
30384 * nptl/tst-cond16.c (count): Set to constant value of 8.
30385 * nptl/tst-cond18.c (count): Likewise.
30386
2f1aef19
JM
303872017-08-29 Joseph Myers <joseph@codesourcery.com>
30388
30389 [BZ #22035]
30390 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30391 Define to take a second argument that is a macro that
30392 concatentates a suffix, not the suffix itself.
30393 (__CONCAT_d): New macro.
30394 (__CONCAT_f): Likewise.
30395 (__CONCAT_l): Likewise.
30396
8325b477
PP
303972017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30398
30399 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30400 by child.
30401
319cbbf6
AZ
304022017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30403 Aurelien Jarno <aurelien@aurel32.net>
30404 Maciej W. Rozycki <macro@imgtec.com>
30405
30406 [BZ #21956]
30407 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30408 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30409 `mips16-syscall6' and `mips16-syscall7'.
30410 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30411 (CFLAGS-mips16-syscall7.c): Remove.
30412 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30413 Remove `__mips16_syscall5', `__mips16_syscall6' and
30414 `__mips16_syscall7'.
30415 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30416 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30417 `__mips_syscall_return'.
30418 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30419 (__mips16_syscall1): Likewise.
30420 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30421 (__mips16_syscall2): Likewise.
30422 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30423 (__mips16_syscall3): Likewise.
30424 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30425 (__mips16_syscall4): Likewise.
30426 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30427 Remove.
30428 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30429 Remove.
30430 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30431 Remove.
30432 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30433 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30434 `__mips16_syscall5'. Remove prototype.
30435 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30436 `__mips16_syscall6'. Remove prototype.
30437 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30438 `__mips16_syscall7'. Remove prototype.
30439 (__nomips16, __mips16_syscall_return): Move to...
30440 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30441 (__nomips16, __mips_syscall_return): ... here.
30442 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30443 `__mips16_syscall_return' to `__mips_syscall_return'.
30444 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30445 `internal_syscall##nr'.
30446 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30447 `internal_syscall##nr'.
30448 (FORCE_FRAME_POINTER): Remove.
30449 (__mips_syscall5): New prototype.
30450 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30451 (__mips_syscall6): New prototype.
30452 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30453 (__mips_syscall7): New prototype.
30454 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30455 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30456 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30457 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30458 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30459 (sysdep_routines): Add libc-do-syscall.
30460 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30461 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30462
01b87c65
AZ
304632017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30464
30465 [BZ #21672]
30466 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30467 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30468 (advise_stack_range): New function.
30469 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30470 stack non required to advise_stack_range at allocatestack.c
30471
16f138a4
SN
304722017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30473
30474 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30475
251bccfa
FW
304762017-08-29 Florian Weimer <fweimer@redhat.com>
30477
30478 [BZ #22026]
30479 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30480 __end_fct. Mangle __end_fct after setting it to NULL.
30481 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30482 (modules-names, modules-names-tests): Add
30483 tst-gconv-init-failure-mod.
30484 (gconv-modules): New target.
30485 (tst-gconv-init-failure-mod.so): Link against libsupport.
30486 (tst-gconv-init-failure): Depend on gconv-modules,
30487 tst-gconv-init-failure-mod.so.
30488 * iconv/tst-gconv-init-failure-mod.c: New file.
30489 * iconv/tst-gconv-init-failure.c: Likewise.
30490 * iconv/test-gconv-modules: Likewise.
30491
e7c18b9d
FW
304922017-08-29 Florian Weimer <fweimer@redhat.com>
30493
30494 [BZ #22025]
30495 * iconv/gconv_db.c (free_derivation): Remove redundant
30496 parentheses.
30497 (gen_steps): Unconditionally mangle __btowc_fct after
30498 initialization.
30499 (increment_counter): Likewise. Do not call init_fct for internal
30500 modules.
30501
7daada03
JM
305022017-08-29 Joseph Myers <joseph@codesourcery.com>
30503
30504 [BZ #22028]
30505 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30506 (_MSUF_): Remove macro.
30507 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30508 Likewise.
30509 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30510 (__REDIRFROM_X): New macro.
30511 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30512 Likewise.
30513 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30514 (__REDIRTO_X): Likewise.
30515 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30516 arguments.
30517 (__MATH_REDIRCALL_2): Likewise.
30518 (__MATH_REDIRCALL_INTERNAL): Likewise.
30519 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30520 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30521 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30522 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30523 * math/test-finite-macros.c: New file.
30524 * math/Makefile (tests): Add test-finite-macros.
30525 (CFLAGS-test-finite-macros.c): New variable.
30526
1cf1232c
PF
305272017-08-29 Patsy Franklin <pfrankli@redhat.com>
30528 Jeff Law <law@redhat.com>
30529
30530 [BZ #22025]
30531 Mangle NULL pointers in iconv/gconv.
30532 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30533 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30534 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30535 is non-NULL before demangling the end_fct. Check for NULL
30536 end_fct after demangling.
30537 (__gconv_release_step): Demangle the end_fct before checking
30538 it for NULL. Remove assert on __shlibc_handle != NULL.
30539 (gen_steps): Don't check btowc_fct for NULL before mangling.
30540 Demangle init_fct before checking for NULL.
30541 (increment_counter): Likewise.
30542 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30543 end_fct for NULL before mangling.
30544 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30545 for NULL.
30546
c207f7ce 305472017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30548
30549 [BZ #21971]
30550 * locale/iso-639.def: add Morisyen.
30551
42496114
GG
305522017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30553
30554 [BZ #21930]
30555 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30556 (iszero): New C++ implementation that does not use
30557 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30558 signaling nans are enabled, since __builtin_types_compatible_p
30559 is a C-only feature.
30560 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30561 defined, include ieee754_float128.h for access to the union and
30562 member ieee854_float128.ieee.
30563 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30564 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30565 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30566 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30567 options of test-math-zero on powerpc64le.
30568
5e2bc4ff
L
305692017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30570
30571 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30572 Change double to float.
30573
a48c0fb4
JM
305742017-08-28 Joseph Myers <joseph@codesourcery.com>
30575
30576 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30577 unconditional.
30578 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30579 conditional code; define contents only for [LIBM_SVID_COMPAT].
30580
ee17d4e9
FW
305812017-08-28 Florian Weimer <fweimer@redhat.com>
30582
30583 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30584 (abi-lp64_be-options): Remove.
30585 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30586 (abi-hard-options): Likewise.
30587 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30588 (abi-o32_hard-options, abi-o32_soft_2008-options)
30589 (abi-o32_hard_2008-options, abi-n32_soft-options)
30590 (abi-n32_hard-options, abi-n32_soft_2008-options)
30591 (abi-n32_hard_2008-options, abi-n64_soft-options)
30592 (abi-n64_hard-options, abi-n64_soft_2008-options)
30593 (abi-n64_hard_2008-options): Likewise.
30594 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30595 (abi-64-v1-options, abi-64-v2-options): Likewise.
30596 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30597 (abi-64-options): Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30599 (abi-64-options): Likewise.
30600 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30601 (abi-64-options): Likewise.
30602 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30603 (abi-64-options, abi-x32-options): Likewise.
30604
2dba5ce7
FW
306052017-08-28 Florian Weimer <fweimer@redhat.com>
30606
30607 Store supported list of SYS_* system calls in the source tree.
30608 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30609 (bits/syscall.h): Generate from list file.
30610 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30611 [$(subdir) = misc] (tests): Add tst-syscall-list.
30612 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30613 [$(subdir) = misc] (tst-syscall-list-macros.list)
30614 [$(subdir) = misc] (tst-syscall-list-nr.list)
30615 (tst-syscall-list-sys.list): Helper targets for new
30616 tst-syscall-list test.
30617 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30618 tst-syscall-list.sh.
30619 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30620 target. Do not include bits/syscall.d.
30621 [$(subdir) = misc] (generated): Do not update.
30622 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30623 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30624 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30625 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30626
5f3b183d
PP
306272017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30628
30629 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30630 (tst-cxa_atexit, tst-on_exit): Likewise.
30631 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30632 tst-cxa_atexit, and tst-on_exit.
30633 * stdlib/tst-atexit-common.c: New file.
30634 * stdlib/tst-atexit.c: New file.
30635 * stdlib/tst-at_quick_exit.c: New file.
30636 * stdlib/tst-cxa_atexit.c: New file.
30637 * stdlib/tst-on_exit.c: New file.
30638
2ef8d469
ST
306392017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30640
30641 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30642 * mach/stack_chk_fail_local.c: New file.
30643 * hurd/stack_chk_fail_local.c: New file.
30644 * mach/Machrules ($(interface-library)-routines): Add
30645 stack_chk_fail_local.
99ee4d26
ST
30646 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30647 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30648 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30649 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30650 * hurd/Makefile (CFLAGS-hurdstartup.o,
30651 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30652
7ab70c98
L
306532017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30654
30655 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30656 (index_cpu_*, index_arch_*): Removed.
30657
39e7a5a6
SN
306582017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30659
30660 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30661 Use uint64_t instead of unsigned long.
30662
bba5c930
JM
306632017-08-25 Joseph Myers <joseph@codesourcery.com>
30664
a6ccdb08
JM
30665 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30666 [__HAVE_DISTINCT_FLOAT128].
30667
23761119
JM
30668 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30669 of <bits/math-finite.h>.
30670 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30671 inclusion of <bits/math-finite.h>.
30672 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30673 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30674 __NO_LONG_DOUBLE_MATH].
30675 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30676 (__MATH_REDIRCALL_2): Likewise.
30677 (__MATH_REDIRCALL_INTERNAL): Likewise.
30678 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30679 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30680 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30681
bba5c930
JM
30682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30683 Remove file.
30684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30685 Likewise.
30686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30687 Likewise.
30688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30689 Likewise.
30690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30691 Likewise.
30692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30693 Likewise.
30694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30695 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30696 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30697 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30699 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30700 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30701 w_sqrtf_compat-ppc32.
30702
3d7b66f6
GG
307032017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30704
30705 * math/math.h [defined __cplusplus] (issignaling): In the long
30706 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30707 is not defined. Call __issignaling, otherwise.
30708
ebd6f007
AZ
307092017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30710
30711 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30712 syscall definitions and replace __builtin_expect with __glibc_likely.
30713 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30714 syscall.
30715 (SYSCALL_CANCELLABLE): Removedefinition
30716 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30717 definition.
30718 (PSEUDO_END): Likewise.
30719 [IS_IN (libpthread)] (CENABLE): Likewise.
30720 [IS_IN (libpthread)] (CDISABLE): Likewise.
30721 [IS_IN (libc)] (CENABLE): Likewise.
30722 [IS_IN (libc)] (CENABLE): Likewise.
30723 [IS_IN (librt)] (CDISABLE): Likewise.
30724 [IS_IN (librt)] (CDISABLE): Likewise.
30725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30726 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30727 definition.
30728 (PSEUDO_END): Likewise.
30729 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30730 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30731 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30732 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30733 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30734 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30735 (CENABLE): Likewise.
30736 (CDISABLE): Likewise.
30737 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30738 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30739 defintion.
30740 (PSEUDO_END): Likewise.
30741 [IS_IN (libpthread)] (CENABLE): Likewise.
30742 [IS_IN (libpthread)] (CDISABLE): Likewise.
30743 [IS_IN (libc)] (CENABLE): Likewise.
30744 [IS_IN (libc)] (CENABLE): Likewise.
30745 [IS_IN (librt)] (CDISABLE): Likewise.
30746 [IS_IN (librt)] (CDISABLE): Likewise.
30747 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30748 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30749 definition.
30750 (PSEUDO_END): Likewise.
30751 [IS_IN (libpthread)] (CENABLE): Likewise.
30752 [IS_IN (libpthread)] (CDISABLE): Likewise.
30753 [IS_IN (libc)] (CENABLE): Likewise.
30754 [IS_IN (libc)] (CENABLE): Likewise.
30755 [IS_IN (librt)] (CDISABLE): Likewise.
30756 [IS_IN (librt)] (CDISABLE): Likewise.
30757 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30758 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30759 definition.
30760 (PSEUDO_END): Likewise.
30761 [IS_IN (libpthread)] (CENABLE): Likewise.
30762 [IS_IN (libpthread)] (CDISABLE): Likewise.
30763 [IS_IN (libc)] (CENABLE): Likewise.
30764 [IS_IN (libc)] (CENABLE): Likewise.
30765 [IS_IN (librt)] (CDISABLE): Likewise.
30766 [IS_IN (librt)] (CDISABLE): Likewise.
30767 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30768 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30769 definition.
30770 (PSEUDO_END): Likewise.
30771 [IS_IN (libpthread)] (CENABLE): Likewise.
30772 [IS_IN (libpthread)] (CDISABLE): Likewise.
30773 [IS_IN (libc)] (CENABLE): Likewise.
30774 [IS_IN (libc)] (CENABLE): Likewise.
30775 [IS_IN (librt)] (CDISABLE): Likewise.
30776 [IS_IN (librt)] (CDISABLE): Likewise.
30777 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30778 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30779 definition.
30780 (PSEUDO_END): Likewise.
30781 [IS_IN (libpthread)] (CENABLE): Likewise.
30782 [IS_IN (libpthread)] (CDISABLE): Likewise.
30783 [IS_IN (libc)] (CENABLE): Likewise.
30784 [IS_IN (libc)] (CENABLE): Likewise.
30785 [IS_IN (librt)] (CDISABLE): Likewise.
30786 [IS_IN (librt)] (CDISABLE): Likewise.
30787 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30788 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30789 definition.
30790 (PSEUDO_END): Likewise.
30791 [IS_IN (libpthread)] (CENABLE): Likewise.
30792 [IS_IN (libpthread)] (CDISABLE): Likewise.
30793 [IS_IN (libc)] (CENABLE): Likewise.
30794 [IS_IN (libc)] (CENABLE): Likewise.
30795 [IS_IN (librt)] (CDISABLE): Likewise.
30796 [IS_IN (librt)] (CDISABLE): Likewise.
30797 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30798 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30799 Remove definition.
30800 (PSEUDO_END): Likewise.
30801 [IS_IN (libpthread)] (CENABLE): Likewise.
30802 [IS_IN (libpthread)] (CDISABLE): Likewise.
30803 [IS_IN (libc)] (CENABLE): Likewise.
30804 [IS_IN (libc)] (CENABLE): Likewise.
30805 [IS_IN (librt)] (CDISABLE): Likewise.
30806 [IS_IN (librt)] (CDISABLE): Likewise.
30807 (SINGLE_THREAD_P): Likewise.
30808 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30809 definition.
30810 (PSEUDO_END): Likewise.
30811 [IS_IN (libpthread)] (CENABLE): Likewise.
30812 [IS_IN (libpthread)] (CDISABLE): Likewise.
30813 [IS_IN (libc)] (CENABLE): Likewise.
30814 [IS_IN (libc)] (CENABLE): Likewise.
30815 [IS_IN (librt)] (CDISABLE): Likewise.
30816 [IS_IN (librt)] (CDISABLE): Likewise.
30817 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30818 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30819 definition.
30820 (PSEUDO_END): Likewise.
30821 [IS_IN (libpthread)] (CENABLE): Likewise.
30822 [IS_IN (libpthread)] (CDISABLE): Likewise.
30823 [IS_IN (libc)] (CENABLE): Likewise.
30824 [IS_IN (libc)] (CENABLE): Likewise.
30825 [IS_IN (librt)] (CDISABLE): Likewise.
30826 [IS_IN (librt)] (CDISABLE): Likewise.
30827 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30828 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30829 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30830 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30832 definition.
30833 (PSEUDO_END): Likewise.
30834 [IS_IN (libpthread)] (CENABLE): Likewise.
30835 [IS_IN (libpthread)] (CDISABLE): Likewise.
30836 [IS_IN (libc)] (CENABLE): Likewise.
30837 [IS_IN (libc)] (CENABLE): Likewise.
30838 [IS_IN (librt)] (CDISABLE): Likewise.
30839 [IS_IN (librt)] (CDISABLE): Likewise.
30840 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30842 definition.
30843 (PSEUDO_END): Likewise.
30844 [IS_IN (libpthread)] (CENABLE): Likewise.
30845 [IS_IN (libpthread)] (CDISABLE): Likewise.
30846 [IS_IN (libc)] (CENABLE): Likewise.
30847 [IS_IN (libc)] (CENABLE): Likewise.
30848 [IS_IN (librt)] (CDISABLE): Likewise.
30849 [IS_IN (librt)] (CDISABLE): Likewise.
30850 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30851 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30852 definition.
30853 (PSEUDO_END): Likewise.
30854 [IS_IN (libpthread)] (CENABLE): Likewise.
30855 [IS_IN (libpthread)] (CDISABLE): Likewise.
30856 [IS_IN (libc)] (CENABLE): Likewise.
30857 [IS_IN (libc)] (CENABLE): Likewise.
30858 [IS_IN (librt)] (CDISABLE): Likewise.
30859 [IS_IN (librt)] (CDISABLE): Likewise.
30860 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30863 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30864 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30865 definition.
30866 (PSEUDO_END): Likewise.
30867 [IS_IN (libpthread)] (CENABLE): Likewise.
30868 [IS_IN (libpthread)] (CDISABLE): Likewise.
30869 [IS_IN (libc)] (CENABLE): Likewise.
30870 [IS_IN (libc)] (CENABLE): Likewise.
30871 [IS_IN (librt)] (CDISABLE): Likewise.
30872 [IS_IN (librt)] (CDISABLE): Likewise.
30873 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30874 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30875 definition.
30876 (PSEUDO_END): Likewise.
30877 [IS_IN (libpthread)] (CENABLE): Likewise.
30878 [IS_IN (libpthread)] (CDISABLE): Likewise.
30879 [IS_IN (libc)] (CENABLE): Likewise.
30880 [IS_IN (libc)] (CENABLE): Likewise.
30881 [IS_IN (librt)] (CDISABLE): Likewise.
30882 [IS_IN (librt)] (CDISABLE): Likewise.
30883 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30884
8aa48656
SN
308852017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30886
30887 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30888
fcaaca41
L
308892017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30890
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30892
376b40a2
L
308932017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30894
30895 [BZ #21982]
30896 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30897 middle and outer with size_t instead of int. Repleace %d and
30898 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30899 "MAX (outer, nchars - 64)" to support unsigned outer and
30900 nchars. Also exit loop when outer == 0.
30901
2b0b9a1c
AZ
309022017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30903
30904 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30905 * include/signal.h (__sigsuspend_nocancel): Likewise.
30906 * include/time.h (__nanosleep_nocancel): Likewise.
30907 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30908 * login/utmp_file.c: Include non cancellable syscall header.
30909 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30910 prototype.
30911
b9eaca8f
L
309122017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30913
30914 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30915 .byte sequences with AVX512F instructions.
30916 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30917 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30918 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30920 Likewise.
30921 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30922 Likewise.
30923
5a706f64
SE
309242017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30925 Steve Ellcey <sellcey@cavium.com>
30926
30927 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30928 Use PTR_REG macro in cmp instruction.
30929
b513da7e
GG
309302017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30931
30932 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30933 Change the return type of the ifunc resolver to match the return
30934 type of the target function.
30935
78ca091c
AZ
309362017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30937
b70b6026
AZ
30938 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30939 (preadv64): Likewise.
30940 (pwrite64(: Likewise.
30941 (pwritev64): Likewise.
30942
78ca091c
AZ
30943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30944 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30945 (LOAD_ARGS_0): Likewise.
30946 (LOAD_ARGS_1): Likewise.
30947 (LOAD_ARGS_2): Likewise.
30948 (LOAD_ARGS_3): Likewise.
30949 (LOAD_ARGS_4): Likewise.
30950 (LOAD_ARGS_5): Likewise.
30951 (LOAD_ARGS_6): Likewise.
30952 (LOAD_REGS_0): Likewise.
30953 (LOAD_REGS_1): Likewise.
30954 (LOAD_REGS_2): Likewise.
30955 (LOAD_REGS_3): Likewise.
30956 (LOAD_REGS_4): Likewise.
30957 (LOAD_REGS_5): Likewise.
30958 (LOAD_REGS_6): Likewise.
30959 (ASM_ARGS_0): Likewise.
30960 (ASM_ARGS_1): Likewise.
30961 (ASM_ARGS_2): Likewise.
30962 (ASM_ARGS_3): Likewise.
30963 (ASM_ARGS_4): Likewise.
30964 (ASM_ARGS_5): Likewise.
30965 (ASM_ARGS_6): Likewise.
30966 (LOAD_ARGS_TYPES_1): Likewise.
30967 (LOAD_ARGS_TYPES_2): Likewise.
30968 (LOAD_ARGS_TYPES_3): Likewise.
30969 (LOAD_ARGS_TYPES_4): Likewise.
30970 (LOAD_ARGS_TYPES_5): Likewise.
30971 (LOAD_ARGS_TYPES_6): Likewise.
30972 (LOAD_REGS_TYPES_1): Likewise.
30973 (LOAD_REGS_TYPES_2): Likewise.
30974 (LOAD_REGS_TYPES_3): Likewise.
30975 (LOAD_REGS_TYPES_4): Likewise.
30976 (LOAD_REGS_TYPES_5): Likewise.
30977 (LOAD_REGS_TYPES_6): Likewise.
30978 (TYPEFY): New define.
30979 (ARGIFY): Likewise.
30980 (internal_syscall0): Likewise.
30981 (internal_syscall1): Likewise.
30982 (internal_syscall2): Likewise.
30983 (internal_syscall3): Likewise.
30984 (internal_syscall4): Likewise.
30985 (internal_syscall5): Likewise.
30986 (internal_syscall6): Likewise.
30987 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30988 (INTERNAL_SYSCALL_NCS): Remove define.
30989 (internal_syscall1): Add define.
30990
453a493d
GG
309912017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30992
30993 * math/w_remainder_compat.c: Remove duplicate inclusion of
30994 math-svid-compat.h.
30995 * math/w_remainderf_compat.c: Likewise.
30996 * math/w_remainderl_compat.c: Likewise.
30997
f2f048a5
GG
309982017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30999
31000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31001
d9bef9c0
JM
310022017-08-22 Joseph Myers <joseph@codesourcery.com>
31003
31004 [BZ #21684]
31005 * math/tgmath.h (__floating_type): Simplify definitions.
31006 (__real_integer_type): New macro.
31007 (__complex_integer_type): Likewise.
31008 (__expr_is_real): Likewise.
31009 (__tgmath_real_type_sub): Update comment to describe handling of
31010 complex types.
31011 (__tgmath_complex_type_sub): New macro.
31012 (__tgmath_complex_type): Likewise.
31013 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31014 (__TGMATH_CF128): Use __expr_is_real.
31015 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31016 __expr_is_real.
31017 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31018 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31019 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31020 integer types.
31021
08d6eb46
AZ
310222017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31023
988f991b
AZ
31024 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31025 macro.
31026 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31027 alias.
31028 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31029 Likewise.
31030
6f33fd04
AZ
31031 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31032 nanosleep_not_cancel with __nanosleep_nocancel.
31033 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31034 (__nanosleep_nocancel): New macro.
31035 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31036 function.
31037 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31038 macro.
31039 (__nanosleep_nocancel): New prototype.
31040
08d6eb46
AZ
31041 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31042 pause_not_cancel with __pause_nocancel.
31043 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31044 (__pause_nocancel): New macro.
31045 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31046 macro.
31047 (__pause_nocancel): New prototype.
31048 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31049
ee4e992e
MS
310502017-08-22 Martin Sebor <msebor@redhat.com>
31051
31052 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31053 to return a pointer to the same type as the target function.
31054
20962acb
L
310552017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31056
31057 [BZ #18822]
31058 [BZ #21986]
31059 * include/printf.h (__printf_fphex): Add attribute_hidden.
31060 (__guess_grouping): New prototype.
31061 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31062 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31063 libc_hidden_proto and libc_hidden_def.
31064 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31065 (__vstrfmon_l): Remove the third argument passed to
31066 __guess_grouping.
31067
a16e8bc0
GG
310682017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31069
31070 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31071 definition for issignaling that does not rely on __MATH_TG,
31072 since __MATH_TG uses __builtin_types_compatible_p, which is only
31073 available in C mode.
31074 (CFLAGS-test-math-issignaling.cc): New variable.
31075 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31076 * math/test-math-issignaling.cc: New test for C++ implementation
31077 of type-generic issignaling.
31078 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31079 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31080 options of test-math-issignaling on powerpc64le.
31081
8d2ec553
L
310822017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31083
31084 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31085 building libc.a.
31086 (hidden_proto): Likewise.
31087 (hidden_tls_proto): Likewise.
31088 (__hidden_proto): Likewise.
31089
a4d57b79
FW
310902017-08-22 Florian Weimer <fweimer@redhat.com>
31091
31092 math: Statically link tests of internal functionality.
31093 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31094 atest-exp2.
31095 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31096 (gmp-objs): Remove assignment.
31097 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31098
75dfe623
JM
310992017-08-22 Joseph Myers <joseph@codesourcery.com>
31100
80f91666
JM
31101 [BZ #21987]
31102 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31103 and copy to ...
31104 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31105 ... here.
31106 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31107 ... and here.
31108
75dfe623
JM
31109 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31110 variable definitions above inclusion of ../Rules.
31111
ea99fcd0
JM
311122017-08-21 Joseph Myers <joseph@codesourcery.com>
31113
31114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31115 case calling __builtin_unreachable.
31116
19926de9
AZ
311172017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31118
a8410a5f
AZ
31119 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31120 __waitpid_nocancel.
31121 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31122 (__waitpid_nocancel): New macro.
31123 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31124 macro.
31125 (__waitpid_nocancel): Replace macro with a function.
31126 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31127 function.
31128
7369800c
AZ
31129 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31130 __fcntl_nocancel.
31131 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31132 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31133
19926de9
AZ
31134 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31135 __writev_nocancel_nostatus.
31136 (write_call_graph): Likewise.
31137 (write_bb_counts): Likewise.
31138 * resolv/herror.c (herror): Likewise.
31139 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31140 macro.
31141 (__writev_nocancel_nostatus): New macro.
31142 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31143 Remove macro.
31144 (__writev_nocancel_nostatus): New function.
31145
813378e9
JM
311462017-08-21 Joseph Myers <joseph@codesourcery.com>
31147
df1deda6
JM
31148 Revert:
31149 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31150
31151 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31152 building libc.a.
31153 (hidden_proto): Likewise.
31154 (hidden_tls_proto): Likewise.
31155 (__hidden_proto): Likewise.
31156
831bbd55
JM
31157 [BZ #21973]
31158 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31159 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31161 Likewise.
31162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31163 Likewise.
31164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31165 Likewise.
31166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31167 Likewise.
31168 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31170 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31171 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31172 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31173 GLIBC_2.0 sqrtl symbol.
31174
813378e9
JM
31175 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31176 [__USE_MISC] (_LIB_VERSION): Likewise.
31177 [__USE_MISC] (struct exception): Likewise.
31178 [__USE_MISC] (matherr): Likewise.
31179 [__USE_MISC] (DOMAIN): Likewise.
31180 [__USE_MISC] (SING): Likewise.
31181 [__USE_MISC] (OVERFLOW): Likewise.
31182 [__USE_MISC] (UNDERFLOW): Likewise.
31183 [__USE_MISC] (TLOSS): Likewise.
31184 [__USE_MISC] (PLOSS): Likewise.
31185 [__USE_MISC] (HUGE): Likewise.
31186 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31187 * math/math-svid-compat.h: New file.
31188 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31189 and matherrl.
31190 * include/math.h [!_ISOMAC] (__matherr): Remove.
31191 * manual/arith.texi (FP Exceptions): Do not document matherr.
31192 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31193 (tests-internal): New variable.
31194 (install-lib): Do not add libieee.a.
31195 (non-lib.a): Likewise.
31196 (extra-objs): Do not add libieee.a and ieee-math.o.
31197 (CPPFLAGS-s_lib_version.c): Remove variable.
31198 ($(objpfx)libieee.a): Remove rule.
31199 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31200 * math/ieee-math.c: Remove.
31201 * math/libm-test-support.c (matherr): Remove.
31202 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31203 and license notices. Include <math-svid-compat.h> and
31204 <shlib-compat.h>.
31205 (matherr): Undefine as macro. Use compat_symbol_reference.
31206 (_LIB_VERSION): Likewise.
31207 * math/test-matherr-2.c: New file.
31208 * math/test-matherr-3.c: Likewise.
31209 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31210 declaration.
31211 (__kernel_standard_f): Likewise.
31212 (__kernel_standard_l): Likewise.
31213 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31214 <math_private.h>. Include <math-svid-compat.h>.
31215 (_LIB_VERSION): Undefine as macro.
31216 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31217 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31218 [LIBM_SVID_COMPAT], use compat_symbol.
31219 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31220 <math_private.h>. Include <math-svid-compat.h>.
31221 (matherr): Undefine as macro.
31222 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31223 compat_symbol.
31224 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31225 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31226 compat_symbol_reference.
31227 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31228 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31229 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31230 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31231 (MATHERR_D): Remove declaration.
31232 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31233 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31234 [LIBM_BUILD] (pmatherrf): Likewise.
31235 [LIBM_BUILD] (pmatherr): Likewise.
31236 [LIBM_BUILD] (pmatherrl): Likewise.
31237 (DOMAIN): Likewise.
31238 (SING): Likewise.
31239 (OVERFLOW): Likewise.
31240 (UNDERFLOW): Likewise.
31241 (TLOSS): Likewise.
31242 (PLOSS): Likewise.
31243 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31244 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31245 compat_symbol.
31246 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31247 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31248 compat_symbol.
31249 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31250 * math/w_acos_compat.c: Likewise.
31251 * math/w_acosf_compat.c: Likewise.
31252 * math/w_acosh_compat.c: Likewise.
31253 * math/w_acoshf_compat.c: Likewise.
31254 * math/w_acoshl_compat.c: Likewise.
31255 * math/w_acosl_compat.c: Likewise.
31256 * math/w_asin_compat.c: Likewise.
31257 * math/w_asinf_compat.c: Likewise.
31258 * math/w_asinl_compat.c: Likewise.
31259 * math/w_atan2_compat.c: Likewise.
31260 * math/w_atan2f_compat.c: Likewise.
31261 * math/w_atan2l_compat.c: Likewise.
31262 * math/w_atanh_compat.c: Likewise.
31263 * math/w_atanhf_compat.c: Likewise.
31264 * math/w_atanhl_compat.c: Likewise.
31265 * math/w_cosh_compat.c: Likewise.
31266 * math/w_coshf_compat.c: Likewise.
31267 * math/w_coshl_compat.c: Likewise.
31268 * math/w_exp10_compat.c: Likewise.
31269 * math/w_exp10f_compat.c: Likewise.
31270 * math/w_exp10l_compat.c: Likewise.
31271 * math/w_exp2_compat.c: Likewise.
31272 * math/w_exp2f_compat.c: Likewise.
31273 * math/w_exp2l_compat.c: Likewise.
31274 * math/w_fmod_compat.c: Likewise.
31275 * math/w_fmodf_compat.c: Likewise.
31276 * math/w_fmodl_compat.c: Likewise.
31277 * math/w_hypot_compat.c: Likewise.
31278 * math/w_hypotf_compat.c: Likewise.
31279 * math/w_hypotl_compat.c: Likewise.
31280 * math/w_j0_compat.c: Likewise.
31281 * math/w_j0f_compat.c: Likewise.
31282 * math/w_j0l_compat.c: Likewise.
31283 * math/w_j1_compat.c: Likewise.
31284 * math/w_j1f_compat.c: Likewise.
31285 * math/w_j1l_compat.c: Likewise.
31286 * math/w_jn_compat.c: Likewise.
31287 * math/w_jnf_compat.c: Likewise.
31288 * math/w_jnl_compat.c: Likewise.
31289 * math/w_lgamma_main.c: Likewise.
31290 * math/w_lgamma_r_compat.c: Likewise.
31291 * math/w_lgammaf_main.c: Likewise.
31292 * math/w_lgammaf_r_compat.c: Likewise.
31293 * math/w_lgammal_main.c: Likewise.
31294 * math/w_lgammal_r_compat.c: Likewise.
31295 * math/w_log10_compat.c: Likewise.
31296 * math/w_log10f_compat.c: Likewise.
31297 * math/w_log10l_compat.c: Likewise.
31298 * math/w_log2_compat.c: Likewise.
31299 * math/w_log2f_compat.c: Likewise.
31300 * math/w_log2l_compat.c: Likewise.
31301 * math/w_log_compat.c: Likewise.
31302 * math/w_logf_compat.c: Likewise.
31303 * math/w_logl_compat.c: Likewise.
31304 * math/w_pow_compat.c: Likewise.
31305 * math/w_powf_compat.c: Likewise.
31306 * math/w_powl_compat.c: Likewise.
31307 * math/w_remainder_compat.c: Likewise.
31308 * math/w_remainderf_compat.c: Likewise.
31309 * math/w_remainderl_compat.c: Likewise.
31310 * math/w_scalb_compat.c: Likewise.
31311 * math/w_scalbf_compat.c: Likewise.
31312 * math/w_scalbl_compat.c: Likewise.
31313 * math/w_sinh_compat.c: Likewise.
31314 * math/w_sinhf_compat.c: Likewise.
31315 * math/w_sinhl_compat.c: Likewise.
31316 * math/w_sqrt_compat.c: Likewise.
31317 * math/w_sqrtf_compat.c: Likewise.
31318 * math/w_sqrtl_compat.c: Likewise.
31319 * math/w_tgamma_compat.c: Likewise.
31320 * math/w_tgammaf_compat.c: Likewise.
31321 * math/w_tgammal_compat.c: Likewise.
31322 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31323 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31324 * sysdeps/ieee754/k_standard.c: Likewise.
31325 * sysdeps/ieee754/k_standardf.c: Likewise.
31326 * sysdeps/ieee754/k_standardl.c: Likewise.
31327 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31328 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31329 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31331 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31332 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31334 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31335 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31337 Likewise.
31338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31339 Likewise.
31340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31342 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31343 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31344
4504783c
FW
313452017-08-21 Florian Weimer <fweimer@redhat.com>
31346
31347 [BZ #21864]
31348 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31349 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31350 Move before inclusion of ../Rules.
31351
b5889d25
FW
313522017-08-21 Florian Weimer <fweimer@redhat.com>
31353
31354 [BZ #21972]
31355 * assert/assert.h (assert): Use static_cast (bool) for C++.
31356 Use the ternary operator in the warning branch for GNU C.
31357 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31358 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31359 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31360 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31361 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31362
41e673c1
L
313632017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31364
31365 [BZ #18822]
31366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31367 (__syscall_clock_gettime): Add attribute_hidden.
31368 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31369 (__start_context): Likewise.
31370
568ff429
L
313712017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31372
31373 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31374 building libc.a.
31375 (hidden_proto): Likewise.
31376 (hidden_tls_proto): Likewise.
31377 (__hidden_proto): Likewise.
31378
7c41b4a1
L
313792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31380
31381 * include/libc-symbols.h (attribute_hidden): Enable hidden
31382 visibility in libc.a compiled with PIE.
31383
483d7068
L
313842017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31385
31386 [BZ #18822]
31387 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31388 Add attribute_hidden.
31389
313902017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31391
31392 [BZ #21864]
31393 * Makerules (all-nonlib): Add $(others-extras).
31394 * catgets/Makefile (others-extras): New.
31395 * elf/Makefile (others-extras): Likewise.
31396 * nss/Makefile (others-extras): Likewise.
31397
54e4b8f2
L
313982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31399
31400 [BZ #18822]
31401 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31402 * elf/dl-open.c: Include <libc-internal.h>.
31403 (__libc_multiple_libcs): Removed.
31404 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31405 <hp-timing.h>.
31406 * include/libc-internal.h (__libc_multiple_libcs): New.
31407 * misc/sbrk.c: Include <libc-internal.h>.
31408 (__libc_multiple_libcs): Removed.
31409
1dbbb1ec
L
314102017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31411
31412 [BZ #18822]
31413 * grp/initgroups.c (__nss_group_database): Removed.
31414 (__nss_initgroups_database): Likewise.
31415 * nscd/gai.c (__nss_hosts_database): Likewise.
31416 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31417 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31418 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31419 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31420 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31421 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31422 attribute_hidden.
31423 * nss/nsswitch.c (__nss_database_custom): Define only if
31424 USE_NSCD is defined.
31425 (__nss_configure_lookup): Use __nss_database_custom only if
31426 USE_NSCD is defined.
31427 * nss/nsswitch.h (__nss_database_custom): Declare only if
31428 USE_NSCD is defined. Add attribute_hidden.
31429 (__nss_setent): Add attribute_hidden.
31430 (__nss_endent): Likewise.
31431 (__nss_getent_r): Likewise.
31432 (__nss_getent): Likewise.
31433 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31434
2585d7b8
L
314352017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31436
31437 [BZ #18822]
31438 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31439 libc_hidden_proto and libc_hidden_def.
31440
c8dfa99c
L
314412017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31442
31443 [BZ #18822]
31444 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31445 Add libc_hidden_proto.
31446 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31447 Add libc_hidden_def.
31448
7ed87317
L
314492017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31450
31451 [BZ #21974]
31452 * gmon/Makefile (routines): Remove bb_init_func and
31453 bb_exit_func.
31454 (elide-routines.os): Removed.
9476b904
L
31455 * gmon/bb_exit_func.c: Likewise.
31456 * gmon/bb_init_func.c: Likewise.
7ed87317
L
31457 * include/sys/gmon.h (__bb): Likewise.
31458 (__bb_init_func): Likewise.
31459 (__bb_exit_func): Likewise.
91695eb1 31460 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 31461
94e6ba15
L
314622017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31463
31464 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31465 * include/setjmp.h (____longjmp_chk): Here. Add
31466 attribute_hidden.
31467
7550717e
L
314682017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31469
31470 [BZ #18822]
31471 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31472 attribute_hidden.
31473 (__strspn_sse2): Likewise.
31474
0bb2fabc
AZ
314752017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31476
c181840c
AZ
31477 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31478 (close_not_cancel_no_status): Likewise.
31479 (__close_nocancel): New macro.
31480 (__close_nocancel_nostatus): Likewise.
31481 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31482 macro.
31483 (close_not_cancel): Likewise.
31484 (close_not_cancel_no_status): Likewise.
31485 (__close_nocancel): New prototype.
31486 (__close_nocancel_nostatus): New function.
31487 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31488 * catgets/open_catalog.c (__open_catalog): Replace
31489 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31490 * gmon/gmon.c (write_gmon): Likewise.
31491 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31492 * intl/loadmsgcat.c (close): Likewise.
31493 * io/ftw.c (open_dir_stream): Likewise.
31494 (ftw_startup): Likewise.
31495 * libio/fileops.c (_IO_file_open): Likewise.
31496 (_IO_file_close_mmap): Likewise.
31497 (_IO_file_close): Likewise.
31498 * libio/iopopen.c (_IO_dup2): Likewise.
31499 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31500 * locale/loadlocale.c (_nl_load_locale): Likewise.
31501 * login/utmp_file.c (pututline_file): Likewise.
31502 (endutent_file): Likewise.
31503 * misc/daemon.c (daemon): Likewise.
31504 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31505 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31506 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31507 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31509 * nscd/nscd_helper.c (open_socket): Likewise.
31510 (__nscd_open_socket): Likewise.
31511 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31512 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31513 (__nscd_innetgr): Likewise.
31514 * nss/nss_db/db-open.c (internal_setent): Likewise.
31515 * resolv/res-close.c (__res_iclose): Likewise.
31516 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31517 * sysdeps/posix/closedir.c (__closedir): Likewise.
31518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31519 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31520 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31521 (opendir_tail): Likewise.
31522 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31523 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31524 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31525 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31526 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31527 (gethostid): Likewise.
31528 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31530 Likewise.
31531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31532 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31533 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31534 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31535 Likewise.
31536 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31537 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31538 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31539 Likewise.
31540 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31541 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31542 Likewise.
31543 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31544 Likewise.
31545 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31546 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31547 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31548 __close_nocancel.
31549
0bb2fabc
AZ
31550 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31551 (openat_not_cancel_3): Likewise.
31552 (openat64_not_cancel_3): Likewise).
31553 (openat_not_cancel_3): Likewise).
31554 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31555 macro.
31556 (openat_not_cancel_3): Likewise.
31557 (openat64_not_cancel): Likewise.
31558 (openat64_not_cancel_3): Likewise.
31559 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31560 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31561 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31562 __open{64}_nocancel.
31563 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31564 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31565 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31566
65a086db
L
315672017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31568
31569 [BZ #18822]
31570 * include/argz.h (__argz_create_sep): New function prototype.
31571 (__argz_append): Likewise.
31572 (__argz_add): Likewise.
31573 (__argz_add_sep): Likewise.
31574 (__argz_delete): Likewise.
31575 (__argz_insert): Likewise.
31576 (__argz_replace): Likewise.
31577 * string/argz.h (__argz_create_sep): Removed.
31578 (__argz_append): Likewise.
31579 (__argz_add): Likewise.
31580 (__argz_add_sep): Likewise.
31581 (__argz_delete): Likewise.
31582 (__argz_insert): Likewise.
31583 (__argz_replace): Likewise.
31584
62753d2c
L
315852017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31586
31587 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31588 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31589 (GNU_PROPERTY_STACK_SIZE): Likewie.
31590 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31591 (GNU_PROPERTY_LOPROC): Likewise.
31592 (GNU_PROPERTY_HIPROC): Likewise.
31593 (GNU_PROPERTY_LOUSER): Likewise.
31594 (GNU_PROPERTY_HIUSER): Likewise.
31595 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31596 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31597 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31598 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31599 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31600 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31601 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31602 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31603 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31604 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31605 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31606 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31607 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31608 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31609 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31610 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31611 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31612 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31613 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31614 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31615 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31616 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31617 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31618
6913ad65
GG
316192017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31620
31621 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31622 in C++ mode.
31623
47a67213
GG
316242017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31625
31626 [BZ #21930]
31627 * math/math.h (isinf): Check if in C or C++ mode before using
31628 __builtin_types_compatible_p, since this is a C mode feature.
31629
a748eb31
AZ
316302017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31631
c647fb88
AZ
31632 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31633 (__write_nocancel): New macro.
31634 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31635 Rewrite as a function prototype.
31636 (write_not_cancel): Remove macro.
31637 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31638 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31639 (write_gmon): Likewise.
31640 * libio/fileops.c (_IO_new_file_write): Likewise.
31641 * login/utmp_file.c (pututline_file): Likewise.
31642 (updwtmp_file): Likewise.
31643 * stdio-common/psiginfo.c (psiginfo): Likewise.
31644 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31645 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31646 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31647 Likewise.
31648 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31649 Likewise.
31650
a748eb31
AZ
31651 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31652 (__read_nocancel): New macro.
31653 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31654 __read_nocancel.
31655 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31656 macro.
31657 (__read_nocancel): New prototype.
31658 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31659 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31660 with __read_nocancel.
31661 * intl/loadmsgcat.c (read): Likewise.
31662 * libio/fileops.c (_IO_file_read): Likewise.
31663 * locale/loadlocale.c (_nl_load_locale): Likewise.
31664 * login/utmp_file.c (getutent_r_file): Likewise.
31665 (internal_getut_r): Likewise.
31666 (getutline_r_file): Likewise.
31667 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31668 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31669 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31671 Likewise.
31672 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31673 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31674 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31675 Likewise.
31676 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31677 Likewise.
31678 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31679 Likewise.
31680 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31681 Likewise.
31682 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31683
098b9dd4
L
316842017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31685
31686 [BZ #21966]
31687 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31688 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31689 usable.
31690
a3fe6a20
DD
316912017-08-17 DJ Delorie <dj@redhat.com>
31692
31693 * bug17079.c: Update to new test harness.
31694 * test-digits-dots.c: Likewise.
31695 * test-netdb.c: Likewise.
31696 * tst-field.c: Likewise.
31697 * tst-nss-getpwent.c: Likewise.
31698 * tst-nss-static.c: Likewise.
31699 * tst-nss-test1.c: Likewise.
31700 * tst-nss-test2.c: Likewise.
31701 * tst-nss-test3.c: Likewise.
31702 * tst-nss-test4.c: Likewise.
31703 * tst-nss-test5.c: Likewise.
31704
c2284574
AZ
317052017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31706
31707 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31708 (open_not_cancel_2): Likewise.
31709 (open_nocancel): New macro.
31710 (open64_nocancel): Likewise.
31711 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31712 (open_not_cancel_2): Likewise.
31713 (__open_nocancel): New prototype.
31714 (__open64_nocancel): Likewise.
31715 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31716 __open_nocancel.
31717 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31718 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31719 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31720 with __open_nocancel.
31721 * csu/check_fds.c (check_one_fd): Likewise.
31722 * gmon/gmon.c (write_gmon): Likewise.
31723 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31724 * intl/loadmsgcat.c (open): Likewise.
31725 * libio/fileops.c (_IO_file_open): Likewise.
31726 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31727 * locale/loadlocale.c (_nl_load_locale): Likewise.
31728 * login/utmp_file.c (setutent_file): Likewise.
31729 * misc/daemon.c (daemon): Likewise.
31730 * nss/nss_db/db-open.c (internal_setent): Likewise.
31731 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31732 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31733 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31734 (__opendir): Likewise.
31735 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31736 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31737 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31738 (gethostid): Likewise.
31739 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31740 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31741 Likewise.
31742 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31743 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31744 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31745 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31746 Likewise.
31747 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31748 Likewise.
31749 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31750 Likewise.
31751 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31752 Likewise.
31753 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31754 Likewise.
31755 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31756 Likewise.
31757 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31758 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31759
d4505b89
WD
317602017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31761
31762 * benchtests/bench-skeleton.c (main): Add support for
31763 latency benchmarking.
31764 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31765
34d6a3cb
L
317662017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31767
31768 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31769 the startup object.
31770
038d1caf
FW
317712017-08-17 Florian Weimer <fweimer@redhat.com>
31772
31773 * include/sys/socket.h (__opensock): Remove internal_function.
31774 * socket/opensock.c (__opensock): Likewise.
31775 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31776
67f0aff0
JM
317772017-08-16 Joseph Myers <joseph@codesourcery.com>
31778
31779 [BZ #21944]
31780 * signal/bits/types/__sigval_t.h: New file.
31781 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31782 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31783 and define sigval_t using __sigval_t.
31784 * include/bits/types/__sigval_t.h: New file.
31785 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31786 instead of <bits/types/__sigval_t.h>.
31787 (struct sigevent): Use __sigval_t instead of sigval_t.
31788 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31789 instead of <bits/types/__sigval_t.h>.
31790 (siginfo_t): Use __sigval_t instead of sigval_t.
31791 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31792 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31793 (struct sigevent): Use __sigval_t instead of sigval_t.
31794 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31795 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31796 (siginfo_t): Use __sigval_t instead of sigval_t.
31797 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31798
87e7bf4d
L
317992017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31800
31801 * NEWS: Remove "[Add new features here]" for 2.27.
31802
5047057f
JM
318032017-08-16 Joseph Myers <joseph@codesourcery.com>
31804
31805 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31806 libc.so.
31807
20c7b195
L
318082017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31809
31810 * NEWS: Mention x86-64 FMA optimization.
31811
24a2e658
L
318122017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31813
31814 [BZ #21912]
31815 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31816 Add e_expf-fma.
31817 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31818 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31819 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31820
eedca977
AS
318212017-08-16 Andreas Schwab <schwab@suse.de>
31822
403143e1
FW
31823 [BZ #16750]
31824 CVE-2009-5064
eedca977
AS
31825 * elf/ldd.bash.in: Never run file directly.
31826
f59f7adb
L
318272017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31828
31829 [BZ #21955]
31830 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31831 (L(SP_INF_0)): Likewise.
31832
6b11a6ad
FW
318332017-08-15 Florian Weimer <fweimer@redhat.com>
31834
31835 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31836 run-built-tests.
31837
bbf5c438
FW
318382017-08-15 Florian Weimer <fweimer@redhat.com>
31839
31840 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31841 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31842 BROKEN_THREAD_SIGNALS code.
31843 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31844 request_list): Remove caller_pid member used for
31845 BROKEN_THREAD_SIGNALS.
31846 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31847 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31848 Remove BROKEN_THREAD_SIGNALS support.
31849 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31850 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31851
6014c65d
FW
318522017-08-15 Florian Weimer <fweimer@redhat.com>
31853
31854 * gmon/Makefile (tests): Add tst-gmon.
31855 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31856 Set.
31857 (tests-special): Add tst-gmon-prof.out.
31858 (tst-gmon.out): Depend on clean-tst-gmon-data.
31859 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31860 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31861 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31862 startup object.
31863 * aclocal.m4 (GPROF): Set and substitute.
31864 * config.amke.in (GPROF): Set.
31865 * configure: Regenerate.
31866
ee72219a
GR
318672017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31868
31869 * elf/elf.h A (NT_PPC_TAR): New macro.
31870 (NT_PPC_PPR): Likewise.
31871 (NT_PPC_DSCR): Likewise.
31872 (NT_PPC_EBB): Likewise.
31873 (NT_PPC_PMU): Likewise.
31874 (NT_PPC_TM_CGPR): Likewise.
31875 (NT_PPC_TM_CFPR): Likewise.
31876 (NT_PPC_TM_CVMX): Likewise.
31877 (NT_PPC_TM_CVSX): Likewise.
31878 (NT_PPC_TM_SPR): Likewise.
31879 (NT_PPC_TM_CTAR): Likewise.
31880 (NT_PPC_TM_CPPR): Likewise.
31881 (NT_PPC_TM_CDSCR): Likewise.
31882
4ebf934e
FW
318832017-08-15 Florian Weimer <fweimer@redhat.com>
31884
31885 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31886 regparm (2) instead of internal_function.
31887 (_MCOUNT_DECL): Adjust.
31888
e9f57484
SL
318892017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31890
31891 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31892 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31893
88ff4d55
JM
318942017-08-14 Joseph Myers <joseph@codesourcery.com>
31895
31896 * conform/data/sys/wait.h-data (si_value): Do not expect for
31897 XPG42.
31898
c88ffc23
FW
318992017-08-14 Florian Weimer <fweimer@redhat.com>
31900
31901 [BZ #21962]
31902 NSS: Create stubs for accidentally exported lookup functions.
31903 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31904 Remove declaration.
31905 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31906 (ether_hostton): Call __nss_ethers_lookup2 instead.
31907 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31908 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31909 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31910 (setup): Call __nss_netgroup_lookup2 instead.
31911 * nss/Makefile (routines): Add compat-lookup.
31912 * nss/Versions (GLIBC_2.27): Add symbol version.
31913 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31914 (DB_COMPAT_FCT): Remove.
31915 * nss/compat-lookup.c: New file.
31916 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31917 from databases.def.
31918 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31919 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31920 (netname2user): Call __nss_publickey_lookup2 instead.
31921 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31922 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31923 instead.
31924
35a29136 319252017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
31926 Sergei Trofimovich <slyfox@inbox.ru>
31927
31928 [BZ #21908]
31929 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31930 Rename to MMAP2_PAGE_UNIT.
31931 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31932 __OFF_T_MATCHES_OFF64_T is not defined.
31933 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31934 uint64_t.
31935 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31936 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31937
fbdc1e3e
FW
319382017-08-14 Florian Weimer <fweimer@redhat.com>
31939
31940 i386: Do not set internal_function.
31941 * config.h.in (USE_REGPARMS, internal_function): Remove.
31942 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31943 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31944
b3f85fd2
FW
319452017-08-14 Florian Weimer <fweimer@redhat.com>
31946
31947 * elf/dl-init.c (_dl_init): Remove internal_function.
31948 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31949 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31950
630bf491
FW
319512017-08-14 Florian Weimer <fweimer@redhat.com>
31952
31953 * elf/rtld.c (_dl_start): Remove internal_function.
31954 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31955 _dl_start.
31956
9fa7449b
FW
319572017-08-14 Florian Weimer <fweimer@redhat.com>
31958
31959 * elf/dl-fini.c (_dl_fini): Remove internal_function
31960 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31961
73322d5f
L
319622017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31963
d863cd71 31964 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
31965 (bit_cpu_SHSTK): Likewise.
31966 (index_cpu_IBT): Likewise.
31967 (index_cpu_SHSTK): Likewise.
31968 (reg_IBT): Likewise.
31969 (reg_SHSTK): Likewise.
31970 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31971 Handle index_cpu_IBT and index_cpu_SHSTK.
31972
dbc303ef
MF
319732017-08-14 Mike FABIAN <mfabian@redhat.com>
31974
31975 [BZ #19982]
31976 * po/fr.po: Fix spelling mistake.
31977
3012cfb0
FW
319782017-08-13 Florian Weimer <fweimer@redhat.com>
31979
31980 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31981 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31982 (_dl_catch_error, _dl_receive_error): Likewise.
31983 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31984 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31985 (_dl_deallocate_tls): Likewise.
31986 * include/dlfcn.h (_dl_addr): Likewise.
31987 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31988 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31989 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31990 Likewise.
31991
52bcdf26
FW
319922017-08-13 Florian Weimer <fweimer@redhat.com>
31993
31994 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31995 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31996 internal_function.
31997 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31998
e1d2ae8d
FW
319992017-08-13 Florian Weimer <fweimer@redhat.com>
32000
32001 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32002 internal_function.
32003 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32004 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32005 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32006 internal_function from _dl_make_stack_executable_hook member.
32007 (_dl_make_stack_executable): Remove internal_function.
32008 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32009 Likewise.
32010 * sysdeps/unix/sysv/linux/dl-execstack.c
32011 (_dl_make_stack_executable): Likewise.
32012
c4ce0382
FW
320132017-08-13 Florian Weimer <fweimer@redhat.com>
32014
32015 * sysdeps/unix/sysv/linux/netlinkaccess.h
32016 (__netlink_assert_response): Remove internal_function.
32017 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32018 (__netlink_assert_response): Likewise.
32019
c4d767f7
FW
320202017-08-13 Florian Weimer <fweimer@redhat.com>
32021
32022 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32023 internal_function.
32024 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32025
b2297409
FW
320262017-08-13 Florian Weimer <fweimer@redhat.com>
32027
32028 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32029 internal_function.
32030 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32031 * inet/netgroup.h (__internal_setnetgrent)
32032 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32033 * inet/getnetgrent_r.c (__internal_setnetgrent)
32034 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32035 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32036 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32037 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32038 * nss/nsswitch.h (db_lookup_function): Likewise.
32039
1b0bfc69
FW
320402017-08-13 Florian Weimer <fweimer@redhat.com>
32041
32042 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32043 Remove internal_function.
32044 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32045 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32046 message argument on the stack.
32047 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32048 Likeweise.
32049
a6bd8722
MF
320502017-08-12 Mike FABIAN <mfabian@redhat.com>
32051
32052 Adapt test case data to the changes in the thousands
32053 separators.
32054
32055 [BZ #20756]
32056 * localedata/tst-langinfo.sh: Adapt test case data.
32057 * stdlib/tst-strfmon_l.c: Likewise.
32058 * stdlib/tst-strtod4.c: Likewise.
32059 * stdlib/tst-strtod5i.c: Likewise.
32060
8b2c63e4
FW
320612017-08-11 Florian Weimer <fweimer@redhat.com>
32062
32063 [BZ #21242]
32064 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32065 Suppress pedantic warning resulting from statement expression.
32066 (__ASSERT_FUNCTION): Add missing __extension__.
32067
61c98291
SP
320682017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32069
86c6519e
SP
32070 * benchtests/bench-memmove-large.c: Print output in JSON
32071 format.
32072 * benchtests/bench-memmove.c: Likewise.
32073
61c98291
SP
32074 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32075 * benchtests/bench-memchr.c (do_one_test): Likewise.
32076 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32077 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32078 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32079 * benchtests/bench-memmove.c (do_one_test): Likewise.
32080 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32081 * benchtests/bench-memset.c (do_one_test): Likewise.
32082 * benchtests/bench-string.h (test_init): Remove memsets.
32083
925733a9
RJ
320842017-08-10 Rical Jasan <ricaljasan@pacific.net>
32085
32086 * manual/lang.texi
32087 (Computing the Width of an Integer Data Type): Rename section to
32088 "Width of an Integer Type". Remove inaccurate statement regarding
32089 lack of C language facilities for determining width of integer
32090 types, and reorder content to improve flow and context of
32091 discussion.
32092
4fcdfbfc
RJ
320932017-08-10 Rical Jasan <ricaljasan@pacific.net>
32094
32095 * lang.texi (va_copy): Change standard from ISO to C99.
32096 (__va_copy): Add standard and header annotation.
32097 Update description for clarity of origins and current use.
32098
4d98ace9
GG
320992017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32100
32101 [BZ #21941]
32102 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32103 xssqrtqp requires operands to be in Vector Registers
32104 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32105 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32106 (__ieee754_sqrtf128): Likewise.
32107
92236903
WD
321082017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32109
32110 * sysdeps/aarch64/memcmp.S (memcmp):
32111 Rewrite of optimized memcmp.
32112
2449ae7b
FW
321132017-08-10 Florian Weimer <fweimer@redhat.com>
32114
32115 Introduce ld.so exceptions.
32116 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32117 (_dl_exception_create, _dl_exception_create_format)
32118 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32119 (_dl_catch_exception): Declare.
32120 (_dl_catch_error): Update comment.
32121 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32122 errstring, malloced members with exception member.
32123 (_dl_out_of_memory): Remove.
32124 (fatal_error): New function, extracted from _dl_signal_error.
32125 (_dl_signal_exception, _dl_signal_cexception): New functions.
32126 (_dl_signal_error): Call _dl_exception_create to allocate an
32127 exception object.
32128 (_dl_catch_exception): New function, based on _dl_catch_error.
32129 (_dl_catch_error): Implement using _dl_catch_exception.
32130 * elf/dl-exception.c: New file.
32131 * elf/Makefile (dl-routines): Add dl-exception.
32132 (elide-routines.os): Likewise.
32133 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32134 _dl_exception_create_format, _dl_exception_free.
32135 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32136 _dl_signal_exception.
32137 * elf/dl-lookup.c (make_string): Remove.
32138 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32139 _dl_signal_cexception, _dl_exception_free.
32140 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32141 _dl_signal_exception.
32142 * elf/dl-sym.c (do_sym): Likewise.
32143 * elf/dl-version.c (make_string): Remove.
32144 (match_symbol): Use _dl_exception_create_format,
32145 _dl_signal_cexception, _dl_exception_free.
32146 (_dl_check_map_versions): Likewise.
32147 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32148 _dl_catch_exception.
32149 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32150 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32151 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32152 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32153 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32154 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32155 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32156 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32157 Likewise.
32158 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32160 (ld.so): Likewise.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32162 (ld.so): Likewise.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32164 Likewise.
32165 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32166 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32167 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32168 Likewise.
32169 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32170 Likewise.
32171 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32172
f87cc2bf
FW
321732017-08-10 Florian Weimer <fweimer@redhat.com>
32174
32175 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32176 attribute_hidden, internal_function.
32177 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32178 internal_function.
32179
eac43cbb
FW
321802017-08-10 Florian Weimer <fweimer@redhat.com>
32181
32182 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32183 function which calls __builtin_unreachable.
32184
bd80111e
MF
321852017-08-10 Mike FABIAN <mfabian@redhat.com>
32186
32187 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32188 Indian monetary formatting
32189 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32190 test cases.
32191
60e2846e
DL
321922017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32193
68dc02d1
DL
32194 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32195 Fix typo in comment.
32196
60e2846e
DL
32197 [BZ #21928]
32198 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32199 PTRACE_SEIZE_DEVEL): Remove.
32200 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32201 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32202 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32203 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32204 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32205
3d452dab
JM
322062017-08-09 Joseph Myers <joseph@codesourcery.com>
32207
24d9f53a
JM
32208 * posix/bits/types.h (__qaddr_t): Remove.
32209
3d452dab
JM
32210 [BZ #21457]
32211 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32212 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32213 __glibc_reserved1.
32214 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32215 (ucontext_t): Use __ctx with uc_flags.
32216 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32217 (__ctxt): Likewise.
32218 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32219 __glibc_reserved1.
32220 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32221 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32222 __glibc_reserved1.
32223 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32224 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32225 __glibc_reserved1.
32226 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32227 macro.
32228 (ucontext_t): Use __ctx with uc_flags.
32229 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32230 (ucontext_t): Use __ctx with uc_flags.
32231 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32232 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32233 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32234 (ucontext_t): Use __ctx with uc_flags.
32235 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32236 undefine further down.
32237 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32238 __glibc_reserved1.
32239 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32240 undefine further down.
32241 (ucontext_t): Use __ctx with uc_flags.
32242 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32243 undefine further down.
32244 (ucontext_t): Use __ctx with uc_flags.
32245 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32246 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32247 Rename uc_pad to __glibc_reserved1.
32248 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32249 undefine further down.
32250 (ucontext_t): Use __ctx with uc_flags.
32251 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32252 further down.
32253 (ucontext_t): Use __ctx with uc_flags.
32254 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32255 __ctx with uc_flags.
32256 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32257 (ucontext_t): Use __ctx with uc_flags.
32258 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32259 __ctx with uc_flags.
32260
30161498
FW
322612017-08-09 Florian Weimer <fweimer@redhat.com>
32262
32263 [BZ #21932]
32264 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32265 before early return.
32266
5797b410
AS
322672017-08-09 Andreas Schwab <schwab@suse.de>
32268
139237a4 32269 [BZ #21041]
5797b410
AS
32270 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32271 renamed alias.
32272
139237a4 32273 [BZ #21041]
40c06a3d
AS
32274 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32275 tst-compat-forwarder.
32276 (modules-names): Add tst-compat-forwarder-mod.
32277 ($(objpfx)tst-compat-forwarder): Depend on
32278 $(objpfx)tst-compat-forwarder-mod.so.
32279 * nptl/tst-compat-forwarder.c: New file.
32280 * nptl/tst-compat-forwarder-mod.c: New file.
32281
36ada5f6
SP
322822017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32283
0e02b510
SP
32284 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32285 comments.
32286
36ada5f6
SP
32287 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32288 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32289 memcpy_falkor.
32290 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32291 Bump.
32292 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32293 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32294 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32295 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32296 Add falkor.
32297 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32298 New macro.
32299
9995c839
AZ
323002017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32301
32302 [BZ #759]
32303 * manual/setjmp.texi (getcontex): Document uc_stack value
32304 compatibility differences.
32305
f17a4233
JM
323062017-08-08 Joseph Myers <joseph@codesourcery.com>
32307
32308 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32309 (old_malloc_hook): Likewise.
32310 (old_memalign_hook): Likewise.
32311 (old_realloc_hook): Likewise.
32312 (struct hdr): Likewise.
32313 (flood): Likewise.
32314 (freehook): Likewise.
32315 (mallochook): Likewise.
32316 (memalignhook): Likewise.
32317 (reallochook): Likewise.
32318 (mprobe): Likewise.
32319 * malloc/mtrace.c (mallwatch): Likewise.
32320 (tr_old_free_hook): Likewise.
32321 (tr_old_malloc_hook): Likewise.
32322 (tr_old_realloc_hook): Likewise.
32323 (tr_old_memalign_hook): Likewise.
32324 (tr_where): Likewise.
32325 (lock_and_info): Likewise.
32326 (tr_freehook): Likewise.
32327 (tr_mallochook): Likewise.
32328 (tr_reallochook): Likewise.
32329 (tr_memalignhook): Likewise.
32330 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32331 * misc/mmap.c (__mmap): Likewise.
32332 * misc/mmap64.c (__mmap64): Likewise.
32333 * misc/mprotect.c (__mprotect): Likewise.
32334 * misc/msync.c (msync): Likewise.
32335 * misc/munmap.c (__munmap): Likewise.
32336 * posix/posix_madvise.c (posix_madvise): Likewise.
32337 * socket/send.c (__send): Likewise.
32338 * socket/sendto.c (__sendto): Likewise.
32339 * socket/setsockopt.c (__setsockopt): Likewise.
32340 * string/memcmp.c (__ptr_t): Remove macro.
32341 (MEMCMP): Use void * instead of ptr_t.
32342 * string/memrchr.c (__ptr_t): Remove macro.
32343 (__memrchr): Use void * instead of ptr_t.
32344 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32345 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32346 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32347 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32348 * sysdeps/mach/msync.c (msync): Likewise.
32349 * sysdeps/mach/munmap.c (__munmap): Likewise.
32350 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32351 Likewise.
32352 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32353 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32354 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32355 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32356 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32357 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32358 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32359 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32360 Likewise.
32361 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32362 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32363 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32364 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32365 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32366 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32367 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32368 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32370 Likewise.
32371 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32372 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32373 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32374 (MEMCMP): Use void * instead of ptr_t.
32375 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32376 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32377
0df595b2
FW
323782017-08-08 Florian Weimer <fweimer@redhat.com>
32379
32380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32381 return statement.
32382
086df229
L
323832017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32384
32385 [BZ #21913]
32386 * csu/libc-tls.c: Include <startup.h> first.
32387 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32388 * elf/dl-tunables.c: Include <startup.h> first.
32389 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32390 * sysdeps/generic/startup.h: New file.
32391 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32392 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32393 (I386_USE_SYSENTER): New. Defined to 0.
32394
fc5ad702
AS
323952017-08-08 Andreas Schwab <schwab@suse.de>
32396
32397 [BZ #21041]
32398 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32399 * nptl/pt-system.c (system): Likewise.
32400
852d6312
AZ
324012017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32402
32403 [BZ #21780]
32404 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32405 EOPNOTSUPP.
32406 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32407 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32408 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32409 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32410 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32411 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32412 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32413
8b164787
JM
324142017-08-07 Joseph Myers <joseph@codesourcery.com>
32415
cd65836b
JM
32416 [BZ #21899]
32417 * bits/sigaction.h (struct sigaction): Define sa_handler and
32418 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32419 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32420 [__USE_XOPEN_EXTENDED].
32421 (SA_RESTART): Likewise.
32422 (SA_NODEFER): Likewise.
32423 (SA_RESETHAND): Likewise.
32424 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32425 (struct sigaction): Define sa_handler and sa_sigaction using union
32426 also for [__USE_XOPEN_EXTENDED].
32427 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32428 [__USE_XOPEN_EXTENDED].
32429 (SA_RESTART): Likewise.
32430 (SA_NODEFER): Likewise.
32431 (SA_RESETHAND): Likewise.
32432 * sysdeps/unix/sysv/linux/bits/sigaction.h
32433 (struct sigaction): Define sa_handler and sa_sigaction using union
32434 also for [__USE_XOPEN_EXTENDED].
32435 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32436 [__USE_XOPEN_EXTENDED].
32437 (SA_RESTART): Likewise.
32438 (SA_NODEFER): Likewise.
32439 (SA_RESETHAND): Likewise.
32440 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32441 (struct sigaction): Define sa_handler and sa_sigaction using union
32442 also for [__USE_XOPEN_EXTENDED].
32443 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32444 [__USE_XOPEN_EXTENDED].
32445 (SA_RESTART): Likewise.
32446 (SA_NODEFER): Likewise.
32447 (SA_RESETHAND): Likewise.
32448 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32449 (struct sigaction): Define sa_handler and sa_sigaction using union
32450 also for [__USE_XOPEN_EXTENDED].
32451 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32452 [__USE_XOPEN_EXTENDED].
32453 (SA_RESTART): Likewise.
32454 (SA_NODEFER): Likewise.
32455 (SA_RESETHAND): Likewise.
32456 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32457 (struct sigaction): Define sa_handler and sa_sigaction using union
32458 also for [__USE_XOPEN_EXTENDED].
32459 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32460 [__USE_XOPEN_EXTENDED].
32461 (SA_RESTART): Likewise.
32462 (SA_NODEFER): Likewise.
32463 (SA_RESETHAND): Likewise.
32464 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32465 (struct sigaction): Define sa_handler and sa_sigaction using union
32466 also for [__USE_XOPEN_EXTENDED].
32467 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32468 [__USE_XOPEN_EXTENDED].
32469 (SA_RESTART): Likewise.
32470 (SA_NODEFER): Likewise.
32471 (SA_RESETHAND): Likewise.
32472 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32473 (struct sigaction): Define sa_handler and sa_sigaction using union
32474 also for [__USE_XOPEN_EXTENDED].
32475 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32476 [__USE_XOPEN_EXTENDED].
32477 (SA_RESTART): Likewise.
32478 (SA_NODEFER): Likewise. Define directly rather than as alias.
32479 (SA_RESETHAND): Likewise.
32480 (SA_INTERRUPT): Define only for [__USE_MISC].
32481 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32482 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32483 [__USE_MISC].
32484 (SA_STACK): Define only for [__USE_MISC].
32485 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32486 (struct sigaction): Define sa_handler and sa_sigaction using union
32487 also for [__USE_XOPEN_EXTENDED].
32488 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32489 [__USE_XOPEN_EXTENDED].
32490 (SA_RESTART): Likewise.
32491 (SA_NODEFER): Likewise.
32492 (SA_RESETHAND): Likewise.
32493 (SA_NOPTRACE): Define only for [__USE_MISC].
32494
d9fee042
JM
32495 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32496 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32497 (struct catalog_info): Likewise.
32498 * inet/htontest.c (lo): Likewise.
32499 (foo): Likewise.
32500 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32501 * inet/inet_net.c (inet_network): Likewise.
32502 * inet/inet_netof.c (inet_netof): Likewise.
32503 * inet/rcmd.c (__ivaliduser): Likewise.
32504 (iruserok): Likewise.
32505 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32506 * locale/programs/locale-spec.c (locale_special): Likewise.
32507 * nis/nis_findserv.c (struct findserv_req): Likewise.
32508 (__nis_findfastest_with_timeout): Likewise.
32509 * nss/test-netdb.c (test_network): Likewise.
32510 * resolv/inet_neta.c (inet_neta): Likewise.
32511 * resolv/ns_date.c (ns_datetosecs): Likewise.
32512 (SECS_PER_DAY): Likewise.
32513 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32514 Likewise.
32515 * resolv/res_comp.c (__putlong): Likewise.
32516 (__putshort): Likewise.
32517 (_getlong): Likewise.
32518 (_getshort): Likewise.
32519 * resolv/res_debug.c (p_time): Likewise.
32520 (precsize_ntoa): Likewise.
32521 (precsize_aton): Likewise.
32522 (latlon2ul): Likewise.
32523 (loc_aton): Likewise.
32524 (loc_ntoa): Likewise.
32525 * resolv/res_hconf.c (struct netaddr): Likewise.
32526 (_res_hconf_reorder_addrs): Likewise.
32527 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32528 (clnttcp_control): Likewise.
32529 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32530 (clntudp_control): Likewise.
32531 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32532 (clntunix_control): Likewise.
32533 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32534 * sunrpc/rpc/auth.h (union des_block): Likewise.
32535 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32536 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32537 (xdrrec_create): Likewise.
32538 (xdrrec_endofrecord): Likewise.
32539 (flush_out): Likewise.
32540 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32541 (xdrstdio_putlong): Likewise.
32542 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32543 Likewise.
32544
8b164787
JM
32545 * misc/sys/cdefs.h (__long_double_t): Remove.
32546 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32547 instead of __long_double_t,
32548 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32549
7ee38e60
SP
325502017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32551
dd3e86ad
SP
32552 * benchtests/scripts/compare_strings.py: Avoid display error when
32553 running on a text terminal.
32554
b115e819
SP
32555 * benchtests/scripts/compare_strings.py (main): Add an
32556 optional -base option.
32557 (process_results): New argument base_func.
32558
7ee38e60
SP
32559 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32560 hardcoding memcpy.
32561 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32562 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32563
d5afb385
AS
325642017-08-07 Andreas Schwab <schwab@suse.de>
32565
32566 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32567 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32568 * intl/Makefile ($(objpfx)tst-gettext.out)
32569 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32570 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32571 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32572 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32573 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32574 * posix/Makefile ($(objpfx)globtest.out)
32575 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32576 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32577 ($(objpfx)tst-printf.out): Likewise.
32578 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32579 ($(objpfx)tst-setcontext3.out): Likewise.
32580
57a72fa3
L
325812017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32582
32583 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32584 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32585 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32586 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32587 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32588 and mptan-fma.
32589 (CFLAGS-doasin-fma.c): New.
32590 (CFLAGS-dosincos-fma.c): Likewise.
32591 (CFLAGS-e_asin-fma.c): Likewise.
32592 (CFLAGS-e_atan2-fma.c): Likewise.
32593 (CFLAGS-e_exp-fma.c): Likewise.
32594 (CFLAGS-e_log-fma.c): Likewise.
32595 (CFLAGS-e_pow-fma.c): Likewise.
32596 (CFLAGS-halfulp-fma.c): Likewise.
32597 (CFLAGS-mpa-fma.c): Likewise.
32598 (CFLAGS-mpatan-fma.c): Likewise.
32599 (CFLAGS-mpatan2-fma.c): Likewise.
32600 (CFLAGS-mpexp-fma.c): Likewise.
32601 (CFLAGS-mplog-fma.c): Likewise.
32602 (CFLAGS-mpsqrt-fma.c): Likewise.
32603 (CFLAGS-mptan-fma.c): Likewise.
32604 (CFLAGS-s_atan-fma.c): Likewise.
32605 (CFLAGS-sincos32-fma.c): Likewise.
32606 (CFLAGS-slowexp-fma.c): Likewise.
32607 (CFLAGS-slowpow-fma.c): Likewise.
32608 (CFLAGS-s_sin-fma.c): Likewise.
32609 (CFLAGS-s_tan-fma.c): Likewise.
32610 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32611 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32612 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32613 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32614 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32615 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32616 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32617 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32618 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32619 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32620 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32621 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32622 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32623 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32624 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32626 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32628 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32629 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32630 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32631 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32632 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32641
219dd320
JM
326422017-08-04 Joseph Myers <joseph@codesourcery.com>
32643
32644 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32645 (min_of_type_f): New macro.
32646 (min_of_type_): Likewise.
32647 (min_of_type_l): Likewise.
32648 (min_of_type_f128): Likewise.
32649 (min_of_type): Define using __MATH_TG and taking an expression
32650 argument.
32651 (math_check_force_underflow): Pass expression instead of type to
32652 min_of_type.
32653 (math_check_force_underflow_nonneg): Likewise.
32654
64d4dea6
L
326552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32656
32657 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32658 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32659 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32660
973da22a
L
326612017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32662
32663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32664 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32665 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32666 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32667 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32668 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32669 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32670 memmove_chk-nonshared and memset_chk-nonshared
32671 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32672 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32673 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32674 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32675 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32676 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32677 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32678 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32679 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32680 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32681 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32682 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32683 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32684 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32685 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32686 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32687 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32688 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32689 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32690 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32691 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32692 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32693 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32694 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32695 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32696 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32697 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32698 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32699 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32700 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32701 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32702 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32703 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32704 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32705 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32706 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32707 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32708 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32709 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32710 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32711 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32712 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32713 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32714 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32715 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32716 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32717 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32718 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32719 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32720 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32721 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32722 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32723 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32724 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32725 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32726 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32727 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32728 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32729 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32730 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32731 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32732 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32733 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32734 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32735 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32736 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32737 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32738 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32739 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32740 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32741 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32742 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32743 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32744 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32745 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32746 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32747 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32748 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32749 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32750 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32751 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32752 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32753 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32754 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32755 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32756 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32757 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32758 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32759 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32761 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32762 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32763 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32765 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32766 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32767 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32768 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32769 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32770 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32771 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32772 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32773 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32774 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32775 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32776 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32777 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32778 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32779
8537e0f6
L
327802017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32783 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32784 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32785 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32786 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32787 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32788 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32789 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32790 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32791 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32792 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32793 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32794 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32795 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32796 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32797 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32798 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32799 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32800 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32801 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32802 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32803 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32804 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32805 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32806 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32807 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32808 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32809 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32810 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32811 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32812 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32813 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32815 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32816 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32817 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32818 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32820 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32821 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32822 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32823 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32825 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32828 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32830 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32841 ...
32842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32843 Don't include <sysdep.h> nor <init-arch.h>.
32844 (_ZGVbN2v_cos): Removed.
32845 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32846 ...
32847 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32848 Don't include <sysdep.h> nor <init-arch.h>.
32849 (_ZGVdN4v_cos): Removed.
32850 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32851 ...
32852 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32853 Don't include <sysdep.h> nor <init-arch.h>.
32854 (_ZGVeN8v_cos): Removed.
32855 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32856 ...
32857 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32858 Don't include <sysdep.h> nor <init-arch.h>.
32859 (_ZGVbN2v_exp): Removed.
32860 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32861 ...
32862 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32863 Don't include <sysdep.h> nor <init-arch.h>.
32864 (_ZGVdN4v_exp): Removed.
32865 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32866 ...
32867 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32868 Don't include <sysdep.h> nor <init-arch.h>.
32869 (_ZGVeN8v_exp): Removed.
32870 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32871 ...
32872 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32873 Don't include <sysdep.h> nor <init-arch.h>.
32874 (_ZGVbN2v_log): Removed.
32875 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32876 ...
32877 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32878 Don't include <sysdep.h> nor <init-arch.h>.
32879 (_ZGVdN4v_log): Removed.
32880 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32881 ...
32882 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32883 Don't include <sysdep.h> nor <init-arch.h>.
32884 (_ZGVeN8v_log): Removed.
32885 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32886 ...
32887 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32888 Don't include <sysdep.h> nor <init-arch.h>.
32889 (_ZGVbN2vv_pow): Removed.
32890 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32891 ...
32892 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32893 Don't include <sysdep.h> nor <init-arch.h>.
32894 (_ZGVdN4vv_pow): Removed.
32895 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32896 ...
32897 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32898 Don't include <sysdep.h> nor <init-arch.h>.
32899 (_ZGVeN8vv_pow): Removed.
32900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32901 ...
32902 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32903 Don't include <sysdep.h> nor <init-arch.h>.
32904 (_ZGVbN2v_sin): Removed.
32905 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32906 ...
32907 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32908 Don't include <sysdep.h> nor <init-arch.h>.
32909 (_ZGVbN4v_sin): Removed.
32910 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32911 ...
32912 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32913 Don't include <sysdep.h> nor <init-arch.h>.
32914 (_ZGVbN8v_sin): Removed.
32915 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32916 ...
32917 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32918 Don't include <sysdep.h> nor <init-arch.h>.
32919 (_ZGVbN2vvv_sincos): Removed.
32920 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32921 ...
32922 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32923 Don't include <sysdep.h> nor <init-arch.h>.
32924 (_ZGVdN4vvv_sincos): Removed.
32925 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32926 ...
32927 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32928 Don't include <sysdep.h> nor <init-arch.h>.
32929 (_ZGVeN8vvv_sincos): Removed.
32930 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32931 ...
32932 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32933 Don't include <sysdep.h> nor <init-arch.h>.
32934 (_ZGVeN16v_cosf): Removed.
32935 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32936 ...
32937 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32938 Don't include <sysdep.h> nor <init-arch.h>.
32939 (_ZGVbN4v_cosf): Removed.
32940 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32941 ...
32942 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32943 Don't include <sysdep.h> nor <init-arch.h>.
32944 (_ZGVdN8v_cosf): Removed.
32945 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32946 ...
32947 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32948 Don't include <sysdep.h> nor <init-arch.h>.
32949 (_ZGVeN16v_expf): Removed.
32950 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32951 ...
32952 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32953 Don't include <sysdep.h> nor <init-arch.h>.
32954 (_ZGVbN4v_expf): Removed.
32955 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32956 ...
32957 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32958 Don't include <sysdep.h> nor <init-arch.h>.
32959 (_ZGVdN8v_expf): Removed.
32960 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32961 ...
32962 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32963 Don't include <sysdep.h> nor <init-arch.h>.
32964 (_ZGVeN16v_logf): Removed.
32965 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32966 ...
32967 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32968 Don't include <sysdep.h> nor <init-arch.h>.
32969 (_ZGVbN4v_logf): Removed.
32970 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32971 ...
32972 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32973 Don't include <sysdep.h> nor <init-arch.h>.
32974 (_ZGVdN8v_logf): Removed.
32975 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32976 ...
32977 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32978 Don't include <sysdep.h> nor <init-arch.h>.
32979 (_ZGVeN16vv_powf): Removed.
32980 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32981 ...
32982 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32983 Don't include <sysdep.h> nor <init-arch.h>.
32984 (_ZGVbN4vv_powf): Removed.
32985 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32986 ...
32987 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32988 Don't include <sysdep.h> nor <init-arch.h>.
32989 (_ZGVdN8vv_powf): Removed.
32990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32991 ...
32992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32993 Don't include <sysdep.h> nor <init-arch.h>.
32994 (_ZGVeN16vvv_sincosf): Removed.
32995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32996 ...
32997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32998 Don't include <sysdep.h> nor <init-arch.h>.
32999 (_ZGVbN4vvv_sincosf): Removed.
33000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33001 ...
33002 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33003 Don't include <sysdep.h> nor <init-arch.h>.
33004 (_ZGVdN8vvv_sincosf): Removed.
33005 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33006 ...
33007 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33008 Don't include <sysdep.h> nor <init-arch.h>.
33009 (_ZGVeN16v_sinf): Removed.
33010 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33011 ...
33012 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33013 Don't include <sysdep.h> nor <init-arch.h>.
33014 (_ZGVbN4v_sinf): Removed.
33015 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33016 ...
33017 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33018 Don't include <sysdep.h> nor <init-arch.h>.
33019 (_ZGVdN8v_sinf): Removed.
33020
10a87ca4
L
330212017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33024 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33025 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33026 s_rint-sse4_1 and s_rintf-sse4_1.
33027 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33028 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33029 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33030 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33031 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33032 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33033 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33034 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33035 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33036 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33037 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33038 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33039 (__ceil): Removed.
33040 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33041 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33042 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33043 (__ceilf): Removed.
33044 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33045 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33046 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33047 (__floor): Removed.
33048 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33049 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33050 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33051 (__floorf): Removed.
33052 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33053 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33054 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33055 (__nearbyint): Removed.
33056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33057 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33058 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33059 (__nearbyintf): Removed.
33060 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33061 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33062 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33063 (__rint): Removed.
33064 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33065 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33066 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33067 (__rintf): Removed.
33068
1e8e527d
L
330692017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33070
33071 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33072 SHARED. Avoid dynamic relocation against main in static PIE.
33073
e13daad7
L
330742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33075
33076 [BZ #21815]
33077 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33078 (LDFLAGS-tst-prelink): Likewise.
33079
627c69c8
L
330802017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33081
33082 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33083 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33084 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33085 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33086 (INTERNAL_SYSCALL_NCS): Likewise.
33087 (LOADARGS_1): Likewise.
33088 (LOADARGS_5): Likewise.
33089 (RESTOREARGS_1): Likewise.
33090 (RESTOREARGS_5): Likewise.
33091
fc11ff8d
L
330922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33093
33094 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33095 (MEMPCPY_SYMBOL): Likewise.
33096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33097 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33099 in libc.a.
33100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33101 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33102 Likewise.
33103 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33104 (__hidden_ver1): Don't use in libc.a.
33105 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33106 (__mempcpy): Don't create a weak alias in libc.a.
33107 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33108 libc.a.
33109 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33110 (__hidden_ver1): Don't use in libc.a.
33111
19f1a11e
L
331122017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33113
33114 * config.make.in (have-insert): New.
33115 * configure.ac (libc_cv_insert): New. Set to yes if linker
33116 supports INSERT in linker script.
33117 (AC_SUBST(libc_cv_insert): New.
33118 * configure: Regenerated.
33119 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33120 if $(have-insert) == yes.
33121
3093fd5e
L
331222017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33123
33124 * elf/Makefile (tests): Add vismain only if
33125 $(have-protected-data) == yes.
33126 (tests-pie): Likewise.
33127
d2cf37c0
L
331282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33129
33130 [BZ #21871]
33131 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33132 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33133
c8a0e6ec
L
331342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33135
33136 [BZ #21790]
33137 * sysdeps/i386/i586/memset.S
33138 (__memset_zero_constant_len_parameter): Removed.
33139 * sysdeps/i386/i686/memset.S
33140 (__memset_zero_constant_len_parameter): Likewise.
33141 * sysdeps/i386/i686/multiarch/memset_chk.S
33142 (__memset_zero_constant_len_parameter): Likewise.
33143 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33144 Likewise.
33145
2b34e271
AJ
331462017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33147
33148 * stdlib/getentropy.c (getentropy): Change return type to int.
33149
144bdab0
AJ
331502017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33151
33152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33153
24ab7723
JM
331542017-08-03 Joseph Myers <joseph@codesourcery.com>
33155
33156 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33157 u_intN_t.
33158 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33159 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33160 Likewise.
33161 (ieee_float_shape_type): Likewise.
33162 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33163 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33164 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33165 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33166 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33167 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33168 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33169 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33170 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33171 Likewise.
33172 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33173 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33174 (__ieee754_yn): Likewise.
33175 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33176 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33177 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33178 Likewise.
33179 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33180 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33181 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33182 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33183 (__erfc): Likewise.
33184 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33185 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33186 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33187 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33188 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33189 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33190 Likewise.
33191 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33192 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33193 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33194 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33195 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33196 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33197 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33198 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33199 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33200 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33201 (__issignaling): Likewise.
33202 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33203 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33204 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33205 Likewise.
33206 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33207 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33208 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33209 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33210 Likewise.
33211 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33212 Likewise.
33213 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33214 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33215 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33216 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33217 (__erfcf): Likewise.
33218 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33219 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33220 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33221 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33222 Likewise.
33223 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33224 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33225 Likewise.
33226 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33227 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33228 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33229 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33230 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33231 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33232 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33233 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33234 Likewise.
33235 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33236 Likewise.
33237 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33238 Likewise.
33239 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33241 Likewise.
33242 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33243 Likewise.
33244 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33245 (__ieee754_ynl): Likewise.
33246 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33247 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33248 Likewise.
33249 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33250 Likewise.
33251 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33252 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33253 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33254 Likewise.
33255 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33256 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33257 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33258 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33259 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33260 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33261 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33262 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33263 Likewise.
33264 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33265 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33266 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33267 Likewise.
33268 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33269 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33270 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33271 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33272 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33274 Likewise.
33275 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33276 Likewise.
33277 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33278 Likewise.
33279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33280 Likewise.
33281 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33282 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33283 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33284 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33285 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33286 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33288 Likewise.
33289 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33290 Likewise.
33291 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33293 Likewise.
33294 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33295 (__ieee754_remainderl): Likewise.
33296 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33298 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33300 Likewise.
33301 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33303 Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33305 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33306 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33307 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33308 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33309 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33310 Likewise.
33311 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33312 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33313 (__ieee754_y0l): Likewise.
33314 (pzero): Likewise.
33315 (qzero): Likewise.
33316 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33317 (__ieee754_y1l): Likewise.
33318 (pone): Likewise.
33319 (qone): Likewise.
33320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33321 (__ieee754_ynl): Likewise.
33322 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33323 (__ieee754_lgammal_r): Likewise.
33324 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33325 Likewise.
33326 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33327 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33328 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33329 (__erfcl): Likewise.
33330 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33331 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33332 Likewise.
33333 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33334 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33335 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33336 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33337 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33338 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33339 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33340 Likewise.
33341 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33342 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33343 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33344 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33345 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33346 Likewise.
33347 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33348 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33349 Likewise.
33350 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33351 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33352 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33353 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33354 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33355
964263bb
FW
333562017-08-03 Florian Weimer <fweimer@redhat.com>
33357
33358 [BZ #21885]
33359 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33360 on memory allocation failure.
33361
e98c925f
AM
333622017-08-03 Alan Modra <amodra@gmail.com>
33363
33364 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33365 tst-tlsopt-powerpc.c with function name change and no test harness.
33366 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33367 Call tls_get_addr_opt_test.
33368 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33369 (modules-names): Add mod-tlsopt-powerpc.
33370 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33371 (tst-tlsopt-powerpc): Depend on .so.
33372 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33373 define. Expand use in TLS_GD and TLS_LD.
33374
8ee1abdb
ST
333752017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33376
33377 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33378 function.
3da5756e 33379 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 33380
42df8d59
JM
333812017-08-02 Joseph Myers <joseph@codesourcery.com>
33382
33383 [BZ #21686]
33384 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33385 comparing size with that of double.
33386 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33387 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33388 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33389 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33390 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33391 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33392 unsigned __int128 types.
33393
b7f95f49
SE
333942017-08-02 Steve Ellcey <sellcey@cavium.com>
33395
33396 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33397 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33398 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33399 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33400 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33401
5b736bc9
L
334022017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33403
33404 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33405
dfc93c41
L
334062017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33407
33408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33409 of SHARED.
33410 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33411 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33413 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33414 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33416 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33417
2fee621d
JM
334182017-08-02 Joseph Myers <joseph@codesourcery.com>
33419
33420 [BZ #21685]
33421 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33422 bit-field expressions passed to sizeof or typeof.
33423 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33424 (__TGMATH_F128): Likewise.
33425 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33426 (__TGMATH_CF128): Likewise.
33427 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33428 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33429 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33430 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33431 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33432 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33433 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33434 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33435 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33436 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33437 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33438 (__TGMATH_UNARY_IMAG): Likewise.
33439 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33440 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33441 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33442 type.
33443 (define_vars_for_type): Handle bit_field type specially.
33444 (Tests.__init__): Declare structure with bit-field element.
33445
b358255f
L
334462017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33447
33448 [BZ #21791]
33449 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33450 (MEMCPY_CHK): Define only if SHARED is defined.
33451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33452 Likewise.
33453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33454 Likewise.
edf66db1
SP
33455
33456See ChangeLog.18 for earlier changes.