]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
y2038: Introduce struct __timespec64 - new internal glibc type
[thirdparty/glibc.git] / ChangeLog
CommitLineData
464cd3a9
LM
12019-09-26 Lukasz Majewski <lukma@denx.de>
2
3 * include/time.h: Add struct __timespec64 definition
4
8b45cac0
SP
52019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
6
7 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
8 from codecs.
9
bacd3227
AZ
102019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11
b2b3b759
AZ
12 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
13 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
14
bacd3227
AZ
15 * sysdeps/unix/sysv/linux/Makefile
16 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
17 CFLAGS-tst-sigcontext-get_pc.c.
18
5d245b5f
AF
192019-09-24 Alistair Francis <alistair.francis@wdc.com>
20
21 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
22
eb502f72
AS
232019-09-24 Andreas Schwab <schwab@suse.de>
24
25 * sysdeps/unix/sysv/linux/arm/sysdep.h
26 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
27 not "__vdso_gettimeofday".
28 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
29 "__vdso_clock_gettime".
30 * sysdeps/unix/sysv/linux/mips/sysdep.h
31 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
32 not "__vdso_gettimeofday".
33 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
34 "__vdso_clock_gettime".
35
f1c56cdf 362019-09-19 Paul A. Clarke <pc@us.ibm.com>
eb502f72 37
f1c56cdf
PC
38 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
39 (__fe_mffscrn): New.
40 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
41 Do not clear enable bits, remove obsolete code, use
42 fegetenv_and_set_rn.
43 (libc_feresetround_ppc): Remove obsolete code, use
44 fegetenv_and_set_rn.
45
64fab363
SL
462019-09-19 Stefan Liebler <stli@linux.ibm.com>
47
48 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
49
73d9051d
SL
502019-09-19 Stefan Liebler <stli@linux.ibm.com>
51
52 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
53 (_HP_TIMING_S390_H): Define.
54
2dd8d4a7
JM
552019-09-18 Joseph Myers <joseph@codesourcery.com>
56
0f02b6cf
JM
57 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
58 version to 5.3.
59 (clone3): New syscall.
60 (pidfd_open): Likewise.
61
2dd8d4a7
JM
62 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
63 version to 5.3.
64
2b680878
SL
652019-09-18 Stefan Liebler <stli@linux.ibm.com>
66
67 * sysdeps/s390/hp-timing.h: New file.
68
8cacbcf4
JM
692019-09-18 Joseph Myers <joseph@codesourcery.com>
70
71 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
72 <linux/sched.h>.
73 (CLONE_VM): New macro.
74 (CLONE_VFORK): Likewise.
75
2f9046fb
SL
762019-09-18 Stefan Liebler <stli@linux.ibm.com>
77
78 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
79 Rearrange subprocesses.
80 (pldd_process): New function.
81 * support/Makefile (libsupport-routines): Add support_ptrace.
82 * support/xptrace.h: New file.
83 * support/support_ptrace.c: Likewise.
84
b8386c28
AZ
852019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
86
87accae3
AZ
87 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
88
7c3eed78
AZ
89 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
90 (INTERNAL_VSYSCALL_CALL): Remove.
91 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
92 (INTERNAL_VSYSCALL_CALL): Likewise.
93 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
94 (INTERNAL_VSYSCALL_CALL): Likewise.
95 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
96 New macro.
97
986a5064
AZ
98 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
99 defined.
100 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
101 (__get_timebase_freq): Remove use of
102 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
103 (get_timebase_freq_fallback): New symbol.
104 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
105 HAVE_GETTIMEOFDAY_VSYSCALL.
106 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
107 HAVE_TIME_VSYSCALL.
108 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
109 implementation.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
111 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
112 powerpc64.
113 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
114 * .../sysv/linux/powerpc/powerpc64/sysdep.h
115 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
116 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
117 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
118
b8a7c7da
AZ
119 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
120 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
121 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
122 Likewise.
123 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
124 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
125 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
126 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
127 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
128 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
129 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
130 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
131 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
132 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
133 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
134 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
135 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
136 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
137 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
139 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
140 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
141 name.
142 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
143 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
144 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
145 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
146 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
147 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
148 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
149 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
150 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
151 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
152 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
153 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
154 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
155 HAVE_GETCPU_VSYSCALL): Likewise.
156 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
157 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
158 HAVE_GETCPU_VSYSCALL): Likewise.
159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
160 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
162 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
163 HAVE_GETCPU_VSYSCALL): Likewise.
164 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
165 invalid names if architecture does not define them.
166 (get_vdso_mangle_symbol): New symbol.
167 * sysdeps/unix/sysv/linux/init-first.c: New file.
168 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
169 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
170 clock_gettime, clock_getres, getcpu, time): Remove declaration.
171 (__libc_vdso_platform_setup_arch): Likewise and use
172 get_vdso_mangle_symbol to setup vDSO symbols.
173 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
174 attribute_hidden.
175 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
176 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
177 definition.
178
b8386c28
AZ
179 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
180 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
181 Use get_vdso_symbol instead of _dl_vdso_vsym.
182 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
183 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
184 (__lookup_riscv_flush_icache): Likewise.
185 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
186 Likewise.
187 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
189 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
190 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
191 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
192 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
194 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
195 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
196 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
197 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
198 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
199 Define.
200 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
201 Likewise.
202 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
203 Likewise.
204 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
205 Likewise.
206 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
207 Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
209 Likewise.
210 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
211 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
212 definition.
213 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
214 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
215 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
216 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
218 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
220 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
222 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
223 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
224 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
225 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
226 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
227 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
228 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
229 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
230 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
231 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
232 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
233 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
234 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
235 (get_vdso_symbol): New function.
236
b881217f
CLT
2372019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
238
239 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
240 position of string null termination.
241
1a656609
AJ
2422019-09-14 Aurelien Jarno <aurelien@aurel32.net>
243
244 [BZ #24986]
245 * sysdeps/unix/alpha/getegid.S: Move to ...
246 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
247 * sysdeps/unix/alpha/geteuid.S: Move to ...
248 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
249 * sysdeps/unix/alpha/getppid.S: Move to ...
250 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
251
3f02b772
PE
2522019-09-09 Paul Eggert <eggert@cs.ucla.edu>
253
02d35f06
PE
254 Fix http: URL in 'configure'
255 * configure.ac: Add URL to AC_INIT so that it generates an
256 https: URL instead of an http: URL.
257 * configure: Regenerate.
258
3f02b772
PE
259 Regenerate charmap-kw.h, locfile-kw.h
260 This propagates the recent http->https URL changes.
261 Since I used gperf 3.1 to regenerate, this is also a minor
262 internal-to-localedef API change.
263 URL problem reported by Joseph Myers in:
264 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
265 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
266 Regenerate with gperf 3.1.
267 * locale/programs/linereader.h (kw_hash_fct_t):
268 * locale/programs/repertoire.c (repertoiremap_hash):
269 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
270
de18a706
FW
2712019-09-05 Florian Weimer <fweimer@redhat.com>
272
273 [BZ #24962]
274 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
275 (_nl_category_names_get): New function.
276 * intl/dcigettext.c (category_to_name): Call it.
277 * locale/findlocale.c (_nl_find_locale): Likewise.
278 * intl/loadlocale.c (_nl_load_locale): Likewise.
279 * locale/newlocale.c (__newlocale): Likewise.
280 * locale/setlocale.c (_nl_category_names): Adjust definition.
281 (_nl_category_name_idxs): Likewise.
282 (new_composite_name): Call _nl_category_names_get.
283 (setlocale): Likewise.
284
ab41100b
GG
2852019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
286
287 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
288 const attribute with pure attribute.
289
a26918cf
LM
2902019-09-04 Lukasz Majewski <lukma@denx.de>
291
292 * sysdeps/unix/sysv/linux/kernel-features.h
293 (__ASSUME_TIME64_SYSCALLS): New macro.
294
7b5af2d8
ZW
2952019-09-04 Zack Weinberg <zackw@panix.com>
296
297 [BZ #24959]
298 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
299 * rt/clock_getres.c: Move to time/clock_getres.c.
300 * rt/clock_gettime.c: Move to time/clock_gettime.c.
301 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
302 * rt/clock_settime.c: Move to time/clock_settime.c.
303 * rt/tst-clock.c: Move to time/tst-clock.c.
304 * rt/tst-clock2.c: Move to time/tst-clock2.c.
305 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
306 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
307 * rt/clock-compat.c: Delete file.
308
309 * time/clock_getcpuclockid.c
310 * time/clock_getres.c
311 * time/clock_gettime.c
312 * time/clock_nanosleep.c
313 * time/clock_settime.c
314 * sysdeps/posix/clock_getres.c
315 * sysdeps/unix/clock_gettime.c
316 * sysdeps/unix/clock_nanosleep.c
317 * sysdeps/unix/clock_settime.c
318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
319 * sysdeps/unix/sysv/linux/clock_getres.c
320 * sysdeps/unix/sysv/linux/clock_gettime.c
321 * sysdeps/unix/sysv/linux/clock_nanosleep.c
322 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
323 defined by this file with default symbol version GLIBC_2_17,
324 and optionally a compatibility alias at symbol version GLIBC_2_2.
325 * include/time.h: Remove internal prototypes for clock_getres,
326 clock_nanosleep, and clock_getcpuclockid.
327
328 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
329 Remove unused function realtime_gettime.
330
331 * rt/Makefile (clock-routines, routines): Remove variable.
332 (librt-routines): Remove clock-compat.
333 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
334 and tst-cpuclock1.
335 * time/Makefile (routines): Add clock_getres, clock_gettime,
336 clock_settime, clock_getcpuclockid, and clock_nanosleep.
337 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
338 and tst-cpuclock1.
339
340 * rt/Versions (libc): Remove entire stanza.
341 (librt GLIBC_2.2): Remove all clock_* functions.
342 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
343 Add clock_getres, clock_gettime, clock_settime,
344 clock_getcpuclockid, and clock_nanosleep.
345 (libc GLIBC_PRIVATE): Add __clock_gettime.
346
347 * sysdeps/mach/hurd/i386/librt.abilist
348 * sysdeps/unix/sysv/linux/alpha/librt.abilist
349 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
350 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
351 * sysdeps/unix/sysv/linux/hppa/librt.abilist
352 * sysdeps/unix/sysv/linux/i386/librt.abilist
353 * sysdeps/unix/sysv/linux/ia64/librt.abilist
354 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
355 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
356 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
357 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
358 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
359 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
362 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
363 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
364 * sysdeps/unix/sysv/linux/sh/librt.abilist
365 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
366 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
367 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
368 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
369 Remove entries for clock_getres, clock_gettime, clock_settime,
370 clock_getcpuclockid, and clock_nanosleep.
371
372 * sysdeps/mach/hurd/i386/libc.abilist
373 * sysdeps/unix/sysv/linux/alpha/libc.abilist
374 * sysdeps/unix/sysv/linux/arm/libc.abilist
375 * sysdeps/unix/sysv/linux/hppa/libc.abilist
376 * sysdeps/unix/sysv/linux/i386/libc.abilist
377 * sysdeps/unix/sysv/linux/ia64/libc.abilist
378 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
379 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
380 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
381 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
382 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
383 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
388 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
389 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
390 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
391 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
392 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
393 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
395 Add another set of entries for clock_getres, clock_gettime,
396 clock_settime, clock_getcpuclockid, and clock_nanosleep at
397 whatever version GLIBC_2.2 maps to.
398
b5367a08
AJ
3992019-09-03 Aurelien Jarno <aurelien@aurel32.net>
400
401 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
402
1471fa55
FW
4032019-09-03 Florian Weimer <fweimer@redhat.com>
404
405 [BZ #24950]
406 * locale/programs/charmap.h (struct charseq): Turn bytes into a
407 flexible array member.
408 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
409 replace.
410
9a1e7257
FW
4112019-09-02 Florian Weimer <fweimer@redhat.com>
412
413 * misc/tst-mntent-autofs.c: New file.
414 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
415
08b7e998
IK
4162019-09-02 Ian Kent <ikent@redhat.com>
417
418 Use autofs "ignore" mount hint in getmntent_r/getmntent.
419 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
420 getmntent_r.
421 (__getmntent_r): Call it. Filter out autofs entries with an
422 "ignore" mount option.
423
3c05dd79
WD
4242019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
425
426 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
427 (generic_memcpy): Include generic C memcpy.
428 * benchtests/bench-memmove.c (simple_memmove): Remove.
429 (generic_memmove): Include generic C memmove.
430 * benchtests/bench-memset.c (simple_memset): Remove.
431 (generic_memset): Include generic C memset.
432 * benchtests/bench-memset-large.c (simple_memset): Remove.
433 (generic_memset): Include generic C memset.
434 * benchtests/bench-memset-walk.c (simple_memset): Remove.
435 (generic_memset): Include generic C memset.
436 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
437 * string/memset.c (MEMSET): Likewise.
438 * sysdeps/x86_64/memcopy.h: Remove empty file.
439
9743c627
FW
4402019-08-30 Florian Weimer <fweimer@redhat.com>
441
442 nptl: Move pthread_attr_getinheritsched implementation into libc.
443 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
444 (libpthread-routines): Remove pthread_attr_getinheritsched.
445 * nptl/Versions (libpthread GLIBC_2.0): Remove
446 pthread_attr_getinheritsched.
447 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
448 * nptl/nptl-init.c (pthread_functions): Remove initializer for
449 ptr_pthread_attr_getinheritsched.
450 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
451 Remove ptr_pthread_attr_getinheritsched member.
452 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
453 Remove pthread_attr_getinheritsched.
454 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
455 Likewise.
456 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
457 Likewise.
458 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
459 Likewise.
460 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
461 Likewise.
462 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
463 Likewise.
464 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
465 Likewise.
466 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
467 Likewise.
468 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
469 (GLIBC_2.4): Likewise.
470 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
471 (GLIBC_2.0): Likewise.
472 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
473 (GLIBC_2.18): Likewise.
474 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
475 (GLIBC_2.18): Likewise.
476 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
477 (GLIBC_2.0): Likewise.
478 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
479 (GLIBC_2.0): Likewise.
480 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
481 Likewise.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
483 (GLIBC_2.0): Likewise.
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
485 (GLIBC_2.3): Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
487 (GLIBC_2.17): Likewise.
488 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
489 (GLIBC_2.27): Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
491 (GLIBC_2.0): Likewise.
492 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
493 (GLIBC_2.2): Likewise.
494 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
495 Likewise.
496 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
497 Likewise.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
499 (GLIBC_2.0): Likewise.
500 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
501 (GLIBC_2.2): Likewise.
502 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
503 (GLIBC_2.2.5): Likewise.
504 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
505 (GLIBC_2.16): Likewise.
506
90f0f97c
ST
5072019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
508
90f0f97c
ST
509 * sysdeps/mach/hurd/getcwd.c
510 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
511 slash if we got an unknown root directory. (__getcwd): Do not fail with
512 EGRATUITOUS if we got an unknown root directory.
d76d187c
ST
513 * hurd/hurdselect.c (SELECT_ERROR): New macro.
514 (_hurd_select):
515 - Add `error' field to `d' structures array.
516 - If a poll descriptor is bogus, set EBADF, but continue with a zero
517 timeout.
518 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
519 EBADF there is any bit set above _hurd_dtablesize.
520 - Do not request io_select on bogus descriptors (SELECT_ERROR).
521 - On io_select request error, record the error.
522 - On io_select bogus reply, use EIO error code.
523 - On io_select bogus or error reply, record the error.
524 - Do not destroy reply port for bogus FDs.
525 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
526 EBADF case, or else POLLERR.
527 - On error, make select simulated readiness.
90f0f97c 528
c9536b7b
ST
529 [BZ #19903]
530 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
531 as __vm_allocate.
532
a644a4b2
ST
533 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
534 unlocks SS and returns to the saved PC.
535 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
536 thread stack instead of the saved PC.
537
90f0f97c 5382019-08-30 Richard Braun <rbraun@sceen.net>
4b068090
RB
539
540 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
541 timeout.
f0e84494 542 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
c3010778
RB
543 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
544 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
545 <limits.h>.
546 (_hurd_select): Replace the call to __io_select with either
547 __io_select_request or __io_select_timeout_request, depending on the
548 timeout. Count the number of ready descriptors (replies for which at
549 least one type bit is set). Implement the timeout locally when there is
550 no file descriptor.
4b068090 551
23c1c256
MS
5522019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
553
554 * elf/dl-addr.c (determine_info): Calculate the symbol index
555 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
556 * elf/dl-lookup.c (do_lookup_x): Ditto.
557 (_dl_setup_hash): Initialize MIPS xhash translation table.
558 * elf/elf.h (SHT_MIPS_XHASH): New define.
559 (DT_MIPS_XHASH): New define.
560 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
561 define.
562 (ELF_MACHINE_HASH_SYMIDX): Ditto.
563 (ELF_MACHINE_XHASH_SETUP): Ditto.
564 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
565 define.
566 (ELF_MACHINE_HASH_SYMIDX): Ditto.
567 (ELF_MACHINE_XHASH_SETUP): Ditto.
568 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
569 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
570 version.
571 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
572
1673ba87
AZ
5732019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
574
605f3817
AZ
575 * sysdeps/sh/preconfigure.ac: New file.
576 * sysdeps/sh/preconfigure: Regenerate.
577 * sysdeps/sh/be/sh3/Implies: New file.
578 * sysdeps/sh/be/sh4/Implies: Likewise.
579 * sysdeps/sh/le/sh3/Implies: Likewise.
580 * sysdeps/sh/le/sh4/Implies: Likewise.
581 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
582 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
583 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
584 sysdeps/unix/sysv/linux/sh/le/*.abilist.
585 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
586
c7fca8d4
AZ
587 * sysdeps/microblaze/preconfigure.ac: New file.
588 * sysdeps/microblaze/preconfigure: Regenerate.
589 * sysdeps/microblaze/be/implies: New file.
590 * sysdeps/microblaze/le/implies: Likewise.
591 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
592 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
593 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
594 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
595 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
596
1673ba87
AZ
597 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
598 * sysdeps/arm/preconfigure: Regenerate.
599 * sysdeps/arm/be/Implies: New file.
600 * sysdeps/arm/be/armv6/Implies: Likewise.
601 * sysdeps/arm/be/armv6t2/Implies: Likewise.
602 * sysdeps/arm/be/armv7/Implies: Likewise.
603 * sysdeps/arm/le/Implies: Likewise.
604 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
605 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
606 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
607 sysdeps/unix/sysv/linux/arm/le/*.abilist.
608 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
609
a22a582e
PE
6102019-08-27 Paul Eggert <eggert@cs.ucla.edu>
611
612 Fix posix/tst-regex by using UTF-8 and own test input
613 Problem reported by Stefan Liebler in:
614 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
615 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
616 (do_test, test_expr): Adjust to the fact that this source file,
617 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
618 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
619 so that it is now UTF-8.
620
0b3c9e57 6212019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 622
0b3c9e57
PC
623 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
624 (fegetenv_status): Generate 'mffsl' unconditionally.
625
fec2bd2c 6262019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 627
fec2bd2c
PC
628 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
629 FPSCR read.
630 (_FPU_MASK_ALL): Delete.
631
e9052126 6322019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 633
e9052126
PC
634 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
635 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
636 if possible.
637 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
638 with simpler required steps, set fewer FPSCR bits if possible.
639
3c1766ea 6402019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 641
3c1766ea
PC
642 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
643 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
644 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
645 weight access to FPSCR; remove unnecessary second FPSCR read and
646 validate.
647 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
648 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
649 access to FPSCR; Use macros in fenv_libc.h in favor of local.
650
cd7ce12a 6512019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 652
cd7ce12a
PC
653 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
654 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
655 (fenv_exceptions_to_reg): New.
656 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
657 operation with call to fenv_exceptions_to_reg().
658 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
659
35ffd20d
FW
6602019-08-28 Florian Weimer <fweimer@redhat.com>
661
662 * misc/mntent.c (struct mntent_buffer): Define.
663 (mntent_buffer): Adjust type to void *.
664 (allocate): Adjust for allocate_once.
665 (deallocate): New function.
666 (getmntent): Call allocate_once.
667
ffced383
FW
6682019-08-28 Florian Weimer <fweimer@redhat.com>
669
670 nptl: Move pthread_attr_setdetachstate implementation into libc.
671 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
672 (libpthread-routines): Remove pthread_attr_setdetachstate.
673 * nptl/Versions (libpthread GLIBC_2.0): Remove
674 pthread_attr_setdetachstate.
675 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
676 * nptl/nptl-init.c (pthread_functions): Remove initializer for
677 ptr_pthread_attr_setdetachstate.
678 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
679 Remove ptr_pthread_attr_setdetachstate member.
680 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
681 Remove pthread_attr_setdetachstate.
682 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
683 Likewise.
684 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
685 Likewise.
686 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
687 Likewise.
688 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
689 Likewise.
690 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
691 Likewise.
692 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
693 Likewise.
694 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
695 (GLIBC_2.4): Likewise.
696 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
697 (GLIBC_2.0): Likewise.
698 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
699 (GLIBC_2.18): Likewise.
700 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
701 (GLIBC_2.0): Likewise.
702 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
703 (GLIBC_2.0): Likewise.
704 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
705 Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
707 (GLIBC_2.0): Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
709 (GLIBC_2.3): Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
711 (GLIBC_2.17): Likewise.
712 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
713 (GLIBC_2.27): Likewise.
714 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
715 (GLIBC_2.0): Likewise.
716 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
717 (GLIBC_2.2): Likewise.
718 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
719 Likewise.
720 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
721 (GLIBC_2.0): Likewise.
722 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
723 (GLIBC_2.2): Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
725 (GLIBC_2.2.5): Likewise.
726 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
727 (GLIBC_2.16): Likewise.
728
61d3db42
FW
7292019-08-28 Florian Weimer <fweimer@redhat.com>
730
731 [BZ #24902]
732 * login/Makefile (tests): Add tst-pututxline-lockfail.
733 (tst-pututxline-lockfail): Link with -lpthread.
734 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
735 (__libc_getutid_r): Adjust.
736 (__libc_pututline): Likewise. Check for file_offset == -1.
737 * login/tst-pututxline-lockfail.c: New file.
738
3a9d025f
SL
7392019-08-28 Stefan Liebler <stli@linux.ibm.com>
740
741 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
742 * posix/tst-regex.input: New file.
743
edd8d70b
MS
7442019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
745
746 [BZ #24916]
747 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
748 tst-undefined-weak.
749 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
750 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
751 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
752 * sysdeps/mips/tst-undefined-weak.c: Likewise.
753 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
754 Increment highest valid ABIVERSION value.
755
33bc9efd
DM
7562019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
757
758 * sysdeps/unix/sysv/linux/mips/Makefile
759 (test-xfail-check-execstack):
760 Move under mips-has-gnustack != yes.
761 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
762 Apply -Wa,-execstack if mips-force-execstack == yes.
763 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
764 * sysdeps/unix/sysv/linux/mips/configure.ac
765 (mips-force-execstack): New var.
766 Set to yes for hard-float builds with minimum_kernel < 4.8.0
767 or minimum_kernel not set at all.
768 (mips-has-gnustack): New var.
769 Use value of libc_cv_as_noexecstack
770 if mips-force-execstack != yes, otherwise set to no.
771
a43565ac
AZ
7722019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
773 Florian Weimer <fweimer@redhat.com>
774
08d57105
AZ
775 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
776 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
777 Make a compat_symbol.
778 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
779 (__profil_counter_global): Likewise.
780
a43565ac
AZ
781 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
782 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
783 uintptr_t.
784 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
785 sigcontext_get_pc and return aligned cast to uintptr_t.
786 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
787 * sysdeps/posix/profil.c (profil_count): Change PC argument to
788 uintptr_t.
789 (__profil): Use SA_SIGINFO.
790 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
791 uintptr_t.
792 (__sprofil): Use SA_SIGINFO.
793 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
794 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
795 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
796 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
797 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
798 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
799 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
800 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
801 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
802 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
803 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
804 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
805 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
806 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
807 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
808 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
809 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
810 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
811 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
812 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
813 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
814 GET_PC, __sigaction, sigaction): Remove defines.
815 (sigcontext_get_pc): New function.
816 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
817 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
818 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
819 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
820 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
821 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
822 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
823 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
824 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
825 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
826 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
828 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
829 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
830 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
831 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
833 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
834 Handle CTX argument as ucontext_t.
835 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
836 Likewise.
837 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
838 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
839 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
840 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
841 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
842 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
843 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
845 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
846 tst-sigcontextinfo-get_pc.
847 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
848 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
849
624c109b
AZ
8502019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
851
852 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
853 definition.
854
ab74d59f 8552019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
c0fd3244
RL
856
857 [BZ #24682]
858 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
859 * localedata/locales/ug_CN (first_weekday): Likewise.
860 * localedata/locales/zh_CN (first_weekday): Likewise.
861
c8c8160c
GR
8622019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
863
864 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
865 field name in mcontext_t struct.
866
c737ef0d
JM
8672019-08-22 Joseph Myers <joseph@codesourcery.com>
868
42f527c8
JM
869 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
870 unsupported with libidn2 before 2.0.5.
871 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
872
c737ef0d
JM
873 * manual/time.texi (strftime): Document %Ob and %OB as C2X
874 features.
875
8a80ee5e
PE
8762019-08-21 Paul Eggert <eggert@cs.ucla.edu>
877
f615e3fc
PE
878 Remove dead regex code
879 * posix/regex_internal.c (re_node_set_insert):
880 Remove unnecessary assignment. Reported by Tim Rühsen in:
881 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
882
8a80ee5e
PE
883 Fix bad pointer / leak in regex code
884 This was found by Coverity (CID 1484201). [BZ#24844]
885 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
886 pointer and/or memory leak when storage is exhausted.
887
1baae4aa
ZW
8882019-08-21 Zack Weinberg <zackw@panix.com>
889
890 * misc/syslog.c (__vsyslog_internal)
891 * time/getdate.c (__getdate_r)
892 * time/tst_wcsftime.c (main):
893 Use return value of time, not its argument.
894
895 * string/strfry.c (strfry)
896 * sysdeps/mach/sleep.c (__sleep):
897 Remove unnecessary casts of NULL in calls to time.
898
f9fabc1b
JM
8992019-08-21 Joseph Myers <joseph@codesourcery.com>
900
901 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
902 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
903 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
904 (__TGMATH_2_NARROW_F): Likewise.
905 (__TGMATH_2_NARROW_D): New macro.
906 (__TGMATH_2_NARROW_F16): Likewise.
907 (__TGMATH_2_NARROW_F32): Likewise.
908 (__TGMATH_2_NARROW_F64): Likewise.
909 (__TGMATH_2_NARROW_F32X): Likewise.
910 (__TGMATH_2_NARROW_F64X): Likewise.
911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
913 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
914 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
915 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
916 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
917 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
918 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
919 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
920 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
921 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
922 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
923 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
924 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
925 Likewise.
926 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
927 Likewise.
928 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
929 Likewise.
930 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
931 Likewise.
932 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
933 Likewise.
934 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
935 Likewise.
936 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
937 Likewise.
938 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
939 Likewise.
940 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
941 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
942 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
943 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
944 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
945 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
946 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
947 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
948 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
949 Likewise.
950 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
951 Likewise.
952 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
953 Likewise.
954 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
955 Likewise.
956 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
957 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
958 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
959 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
960 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
961 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
962 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
963 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
964 * math/gen-tgmath-tests.py (Type): Add members
965 non_standard_real_argument_types_list, long_double_type,
966 complex_float64_type and float32x_ext_type.
967 (Type.__init__): Set the new members.
968 (Type.floating_type): Add new argument floatn.
969 (Type.real_floating_type): Likewise.
970 (Type.can_combine_types): Likewise.
971 (Type.combine_types): Likewise.
972 (Type.init_types): Create internal Float32x_ext type.
973 (Tests.__init__): Define Float32x_ext in generated C code.
974 (Tests.add_tests): Handle narrowing functions.
975 (Tests.add_all_tests): Likewise.
976 (Tests.tests_text): Allow variation in mant_dig for narrowing
977 functions with compilers before GCC 8.
978 * math/Makefile (tgmath3-narrow-types): New variable.
979 (tgmath3-narrow-macros): Likewise.
980 (tgmath3-macros): Add $(tgmath3-narrow-macros).
981
b7297184
AS
9822019-08-20 Andreas Schwab <schwab@suse.de>
983
984 * sysdeps/i386/fpu/libm-test-ulps: Update.
985
d34d4c80
CD
9862019-08-19 Carlos O'Donell <carlos@redhat.com>
987
988 * nscd/nscd.conf: Add warning and comment about shared option.
989
4b7c7417
CD
9902019-08-19 Carlos O'Donell <carlos@redhat.com>
991
992 * nss/nsswitch.conf: Expand comments, and simplify defaults.
993 * manual/nss.texi (NSS Basics): List all known databases.
994 (Services in the NSS configuration): Mention automount.
995
a289ea09
FW
9962019-08-19 Florian Weimer <fweimer@redhat.com>
997
998 Do not print backtraces on fatal errors.
999 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1000 (__fortify_fail_abort): Remove definition.
1001 (__fortify_fail): Call __libc_message directly.
1002 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1003 (__stack_chk_fail): Call __fortify_fail instead of
1004 __fortify_fail_abort.
1005 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1006 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1007 definitions.
1008 (__libc_message): Do not handle do_backtrace. Do not call
1009 BEFORE_ABORT.
1010 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1011 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1012 (before_abort): Remove definitions.
1013
1d714fd9
FW
10142019-08-16 Florian Weimer <fweimer@redhat.com>
1015
1016 nptl: Move pthread_attr_getdetachstate implementation into libc.
1017 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1018 (libpthread-routines): Remove pthread_attr_getdetachstate.
1019 * nptl/Versions (libpthread GLIBC_2.0): Remove
1020 pthread_attr_getdetachstate.
1021 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1022 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1023 ptr_pthread_attr_getdetachstate.
1024 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1025 Remove ptr_pthread_attr_getdetachstate member.
1026 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1027 Remove pthread_attr_getdetachstate.
1028 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1029 Likewise.
1030 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1031 Likewise.
1032 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1033 Likewise.
1034 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1037 Likewise.
1038 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1039 Likewise.
1040 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1041 (GLIBC_2.4): Likewise.
1042 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1043 (GLIBC_2.0): Likewise.
1044 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1045 (GLIBC_2.18): Likewise.
1046 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1047 (GLIBC_2.0): Likewise.
1048 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1049 (GLIBC_2.0): Likewise.
1050 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1051 Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1053 (GLIBC_2.0): Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1055 (GLIBC_2.3): Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1057 (GLIBC_2.17): Likewise.
1058 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1059 (GLIBC_2.27): Likewise.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1061 (GLIBC_2.0): Likewise.
1062 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1063 (GLIBC_2.2): Likewise.
1064 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1065 Likewise.
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1067 (GLIBC_2.0): Likewise.
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1069 (GLIBC_2.2): Likewise.
1070 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1071 (GLIBC_2.2.5): Likewise.
1072 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1073 (GLIBC_2.16): Likewise.
1074
4745f4c1
JM
10752019-08-16 Joseph Myers <joseph@codesourcery.com>
1076
1077 * math/libm-test-compat_totalorder.inc (do_test)
1078 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1079 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1080 * math/libm-test-compat_totalordermag.inc (do_test)
1081 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1082
a635d756
FW
10832019-08-15 Florian Weimer <fweimer@redhat.com>
1084
1085 nptl: Move pthread_attr_init implementation into libc.
1086 * nptl/Makefile (routines): Add pthread_attr_init.
1087 (libpthread-routines): Remove pthread_attr_init.
1088 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1089 (libpthread GLIBC_2.0): Likewise.
1090 * nptl/pthread_attr_init.c: Check for libc compat version instead
1091 of libpthread compat version.
1092 * nptl/forward.c (__pthread_attr_init_2_0)
1093 (__pthread_attr_init_2_1): Remove definitions.
1094 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1095 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1096 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1097 Remove members ptr___pthread_attr_init_2_0,
1098 ptr___pthread_attr_init_2_1.
1099 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1100 Remove pthread_attr_init.
1101 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1102 Likewise.
1103 (GLIBC_2.1): Likewise.
1104 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1105 Likewise.
1106 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1107 Likewise.
1108 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1109 Likewise.
1110 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1111 Likewise.
1112 (GLIBC_2.1): Likewise.
1113 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1114 Likewise.
1115 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1116 (GLIBC_2.4): Likewise.
1117 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1118 (GLIBC_2.0): Likewise.
1119 (GLIBC_2.1): Likewise.
1120 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1121 (GLIBC_2.18): Likewise.
1122 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1123 (GLIBC_2.0): Likewise.
1124 (GLIBC_2.1): Likewise.
1125 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1126 (GLIBC_2.0): Likewise.
1127 (GLIBC_2.1): Likewise.
1128 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1129 Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1131 (GLIBC_2.0): Likewise.
1132 (GLIBC_2.1): Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1134 (GLIBC_2.3): Likewise.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1136 (GLIBC_2.17): Likewise.
1137 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1138 (GLIBC_2.27): Likewise.
1139 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1140 (GLIBC_2.0): Likewise.
1141 (GLIBC_2.1): Likewise.
1142 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1143 (GLIBC_2.2): Likewise.
1144 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1145 Likewise.
1146 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1147 (GLIBC_2.0): Likewise.
1148 (GLIBC_2.1): Likewise.
1149 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1150 (GLIBC_2.2): Likewise.
1151 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1152 (GLIBC_2.2.5): Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1154 (GLIBC_2.16): Likewise.
1155
23d2e5fa
FW
11562019-08-15 Florian Weimer <fweimer@redhat.com>
1157
1158 [BZ #24900]
1159 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1160 new object in __RTLD_OPENEXEC mode (except for the origin).
1161 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1162 check for the error message.
1163 (do_test): Call it. Add check using relative path.
1164 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1165 (tst-dlopen-aout-container): Link with libpthread.
1166 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1167
42760d76
JM
11682019-08-15 Joseph Myers <joseph@codesourcery.com>
1169
1170 * math/bits/mathcalls.h
1171 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1172 (totalorder): Take pointer arguments.
1173 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1174 (totalordermag): Likewise.
1175 * manual/arith.texi (totalorder): Likewise.
1176 (totalorderf): Likewise.
1177 (totalorderl): Likewise.
1178 (totalorderfN): Likewise.
1179 (totalorderfNx): Likewise.
1180 (totalordermag): Likewise.
1181 (totalordermagf): Likewise.
1182 (totalordermagl): Likewise.
1183 (totalordermagfN): Likewise.
1184 (totalordermagfNx): Likewise.
1185 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1186 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1187 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1188 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1189 totalorderl, totalordermag, totalordermagf, totalordermagl,
1190 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1191 totalordermagf64, totalordermagf32x, totalorderf64x,
1192 totalordermagf64x, totalorderf128 and totalordermagf128.
1193 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1194 and compat_totalordermag.
1195 (libm-test-funcs-compat): New variable.
1196 (libm-tests-compat): Likewise.
1197 (tests): Do not include compat tests.
1198 (tests-internal): Add compat tests.
1199 ($(foreach t,$(libm-tests-base),
1200 $(objpfx)$(t)-compat_totalorder.o)): Depend
1201 on $(objpfx)libm-test-totalorder.c.
1202 ($(foreach t,$(libm-tests-base),
1203 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1204 $(objpfx)libm-test-totalordermag.c.
1205 (tgmath3-macros): Remove totalorder and totalordermag.
1206 * math/libm-test-compat_totalorder.inc: New file.
1207 * math/libm-test-compat_totalordermag.inc: Likewise.
1208 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1209 (RUN_TEST_fpfp_b): New macro.
1210 (RUN_TEST_LOOP_fpfp_b): Likewise.
1211 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1212 TEST_fpfp_b.
1213 (totalorder_test): Condition on [!COMPAT_TEST].
1214 (do_test): Likewise.
1215 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1216 TEST_fpfp_b.
1217 (totalordermag_test): Condition on [!COMPAT_TEST].
1218 (do_test): Likewise.
1219 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1220 totalorder and totalordermag.
1221 * math/test-tgmath.c (NCALLS): Change to 132.
1222 (F(compile_test)): Do not call totalorder or totalordermag.
1223 (F(totalorder)): Remove.
1224 (F(totalordermag)): Likewise.
1225 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1226 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1227 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1228 SJSTR_HELPER.
1229 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1230 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1231 [!_ISOMAC] (TEST_ALIGN): Likewise.
1232 [!_ISOMAC] (TEST_OFFSET): Likewise.
1233 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1234 and <first-versions.h>.
1235 (__totalorder): Take pointer arguments. Add symbol versions and
1236 compat symbols.
1237 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1238 <shlib-compat.h> and <first-versions.h>.
1239 (__totalordermag): Take pointer arguments. Add symbol versions
1240 and compat symbols.
1241 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1242 <shlib-compat.h> and <first-versions.h>.
1243 (__totalorder): Take pointer arguments. Add symbol versions and
1244 compat symbols.
1245 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1246 <shlib-compat.h> and <first-versions.h>.
1247 (__totalordermag): Take pointer arguments. Add symbol versions
1248 and compat symbols.
1249 * sysdeps/ieee754/float128/float128_private.h
1250 (__totalorder_compatl): New macro.
1251 (__totalordermag_compatl): Likewise.
1252 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1253 and <first-versions.h>.
1254 (__totalorderf): Take pointer arguments. Add symbol versions and
1255 compat symbols.
1256 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1257 <shlib-compat.h> and <first-versions.h>.
1258 (__totalordermagf): Take pointer arguments. Add symbol versions
1259 and compat symbols.
1260 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1261 <shlib-compat.h> and <first-versions.h>.
1262 (__totalorderl): Take pointer arguments. Add symbol versions and
1263 compat symbols.
1264 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1265 <shlib-compat.h> and <first-versions.h>.
1266 (__totalordermagl): Take pointer arguments. Add symbol versions
1267 and compat symbols.
1268 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1269 <shlib-compat.h>.
1270 (__totalorderl): Take pointer arguments. Add symbol versions and
1271 compat symbols.
1272 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1273 <shlib-compat.h>.
1274 (__totalordermagl): Take pointer arguments. Add symbol versions
1275 and compat symbols.
1276 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1277 <shlib-compat.h> and <first-versions.h>.
1278 (__totalorderl): Take pointer arguments. Add symbol versions and
1279 compat symbols.
1280 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1281 <shlib-compat.h> and <first-versions.h>.
1282 (__totalordermagl): Take pointer arguments. Add symbol versions
1283 and compat symbols.
1284 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1285 pointer arguments.
1286 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1287 Likewise.
1288 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1289 (do_test): Update calls to totalorderl and totalordermagl.
1290 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1291 Update calls to totalorderl and totalordermagl.
1292 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1293 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1294 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1295 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1302 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1303 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1304 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1305 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1309 Likewise.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1311 Likewise.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1313 Likewise.
1314 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1315 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1316 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1317 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1322
c2adefba
FW
13232019-08-15 Florian Weimer <fweimer@redhat.com>
1324
1325 [BZ #24899]
1326 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1327 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1328 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1329 Likewise.
1330 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1331 __attribute_nonstring__ to ut_id.
1332 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1333 Likewise.
1334
0d5b2917
FW
13352019-08-15 Florian Weimer <fweimer@redhat.com>
1336
1337 [BZ #24880]
1338 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1339 (file_locking_unlock): Likewise.
1340
628598be
FW
13412019-08-15 Florian Weimer <fweimer@redhat.com>
1342
1343 [BZ #24879]
1344 login: Disarm timer after utmp lock acquisition.
1345 * login/utmp_file.c (struct file_locking): Remove.
1346 (try_file_lock): Adjust.
1347 (file_lock_restore): Remove function.
1348 (__libc_getutent_r): .
1349 (internal_getut_r): Likewise.
1350 (__libc_getutline_r): Likewise.
1351 (__libc_pututline): Likewise.
1352 (__libc_updwtmp): Likewise.
1353
17e13474
FW
13542019-08-15 Florian Weimer <fweimer@redhat.com>
1355
1356 nptl: Remove pthread_self compatibility symbol from libpthread.
1357 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1358 pthread_equal.
1359 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1360 * nptl/compat-pthread_self.c: Remove file.
1361 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1362 Remove pthread_self.
1363 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1364 Likewise.
1365 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1366 Likewise.
1367 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1368 Likewise.
1369 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1370 Likewise.
1371 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1372 Likewise.
1373 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1374 (GLIBC_2.4): Likewise.
1375 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1376 (GLIBC_2.0): Likewise.
1377 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1378 (GLIBC_2.18): Likewise.
1379 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1380 (GLIBC_2.0): Likewise.
1381 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1382 (GLIBC_2.0): Likewise.
1383 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1384 Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1386 (GLIBC_2.0): Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1388 (GLIBC_2.3): Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1390 (GLIBC_2.17): Likewise.
1391 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1392 (GLIBC_2.0): Likewise.
1393 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1394 (GLIBC_2.2): Likewise.
1395 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1396 Likewise.
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1398 (GLIBC_2.0): Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1400 (GLIBC_2.2): Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1402 (GLIBC_2.2.5): Likewise.
1403 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1404 (GLIBC_2.16): Likewise.
1405
fa57c301
FW
14062019-08-15 Florian Weimer <fweimer@redhat.com>
1407
1408 nptl: Move pthread_attr_destroy implementation into libc.
1409 * nptl/Makefile (routines): Add pthread_attr_destroy.
1410 (libpthread-routines): Remove pthread_attr_destroy.
1411 * nptl/Versions (libpthread GLIBC_2.0): Remove
1412 pthread_attr_destroy.
1413 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1414 libc compat version instead of libpthread compat version.
1415 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1416 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1417 ptr_pthread_attr_destroy.
1418 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1419 Remove ptr_pthread_attr_destroy member.
1420 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1421 Remove pthread_attr_destroy.
1422 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1423 Likewise.
1424 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1431 Likewise.
1432 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1435 (GLIBC_2.4): Likewise.
1436 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1437 (GLIBC_2.0): Likewise.
1438 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1439 (GLIBC_2.18): Likewise.
1440 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1441 (GLIBC_2.0): Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1443 (GLIBC_2.0): Likewise.
1444 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1445 Likewise.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1447 (GLIBC_2.0): Likewise.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1449 (GLIBC_2.3): Likewise.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1451 (GLIBC_2.17): Likewise.
1452 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1453 (GLIBC_2.27): Likewise.
1454 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1455 (GLIBC_2.0): Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1457 (GLIBC_2.2): Likewise.
1458 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1459 Likewise.
1460 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1461 (GLIBC_2.0): Likewise.
1462 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1463 (GLIBC_2.2): Likewise.
1464 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1465 (GLIBC_2.2.5): Likewise.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1467 (GLIBC_2.16): Likewise.
1468
56e09811
AS
14692019-08-15 Andreas Schwab <schwab@suse.de>
1470
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1472
f9769a23
FW
14732019-08-15 Florian Weimer <fweimer@redhat.com>
1474
1475 * malloc/Makefile (tests): Only add tst-mxfast for
1476 $(have-tunables).
1477 * malloc/tst-mxfast.c: Fix copyright year.
1478 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1479 assert for checks.
1480
341da5b4
FW
14812019-08-15 Florian Weimer <fweimer@redhat.com>
1482
1483 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1484 descriptor.
1485 * login/Makefile (tests): Add tst-updwtmpx.
1486 * login/tst-updwtmpx.c: New file.
1487
dda373b0
FW
14882019-08-15 Florian Weimer <fweimer@redhat.com>
1489
1490 nptl: Move pthread_equal implementation into libc.
1491 * nptl/Makefile (routines): Add pthread_equal.
1492 * nptl/forward.c (pthread_equal): Remove definition.
1493 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1494 ptr_pthread_equal.
1495 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1496 Remove ptr_pthread_equal member.
1497 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1498 Remove pthread_equal.
1499 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1500 Likewise.
1501 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1502 Likewise.
1503 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1504 Likewise.
1505 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1506 Likewise.
1507 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1508 Likewise.
1509 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1510 Likewise.
1511 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1512 (GLIBC_2.4): Likewise.
1513 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1514 (GLIBC_2.0): Likewise.
1515 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1516 (GLIBC_2.18): Likewise.
1517 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1518 (GLIBC_2.0): Likewise.
1519 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1520 (GLIBC_2.0): Likewise.
1521 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1522 Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1524 (GLIBC_2.0): Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1526 (GLIBC_2.3): Likewise.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1528 (GLIBC_2.17): Likewise.
1529 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1530 (GLIBC_2.27): Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1532 (GLIBC_2.0): Likewise.
1533 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1534 (GLIBC_2.2): Likewise.
1535 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1536 Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1538 (GLIBC_2.0): Likewise.
1539 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1540 (GLIBC_2.2): Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1542 (GLIBC_2.2.5): Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1544 (GLIBC_2.16): Likewise.
1545
c54d8649
FW
15462019-08-14 Florian Weimer <fweimer@redhat.com>
1547
1548 * support/support_descriptors.c: Include <support/descriptors.h>.
1549
b68fabfb
FX
15502019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1551
1552 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1553 Disable DC ZVA code if this macro is defined as zero.
1554 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1555 Change to zero to disable using DC ZVA.
1556
c3ce62cc
JM
15572019-08-13 Joseph Myers <joseph@codesourcery.com>
1558
1559 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1560 Update comment.
1561 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1562 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1563 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1564 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1565 Likewise.
1566
5a3afa97
FW
15672019-08-13 Florian Weimer <fweimer@redhat.com>
1568
1569 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1570 Remove macros.
1571 (struct file_locking): New.
1572 (try_file_lock, file_unlock, file_lock_restore): New functions.
1573 (__libc_getutent_r): Use the new functions.
1574 (internal_getut_r): Likewise.
1575 (__libc_getutline_r): Likewise.
1576 (__libc_pututline): Likewise.
1577 (__libc_updwtmp): Likewise.
1578
777d75fb
JM
15792019-08-13 Joseph Myers <joseph@codesourcery.com>
1580
0175c9e9
JM
1581 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1582 comment.
1583 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1584 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1585 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1586 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1587 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1588 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1589 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1590 Likewise.
1591 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1592 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1593 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1594 Likewise.
1595 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1596 Likewise.
1597 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1598 Likewise.
1599 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1600 Likewise.
1601 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1602 Likewise.
1603 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1604 Likewise.
1605 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1606 Likewise.
1607 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1608 (IEC_60559_BFP_EXT)]: Likewise.
1609 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1610 Likewise.
1611 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1612 Likewise.
1613 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1614 Likewise.
1615 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1616 Likewise.
1617 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1618 Likewise.
1619 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1620 Likewise.
1621 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1622 Likewise.
1623 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1624 Likewise.
1625 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1626 Likewise, except for totalorder, totalordermag, getpayload,
1627 setpayload and setpayloadsig.
1628 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1629 except for totalorder and totalordermag.
1630
a8c2fa98
JM
1631 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1632 (strdup): Likewise.
1633 (strndup): Likewise.
1634
777d75fb
JM
1635 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1636 Undefine and define to 1 if [_GNU_SOURCE].
1637 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1638 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1639 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1640 (__USE_ISOC99): Likewise.
1641 (__USE_ISOC95): Likewise.
1642 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1643
a33b817f
FW
16442019-08-13 Florian Weimer <fweimer@redhat.com>
1645
1646 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1647 are always true.
1648 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1649 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1650 * login/getutmpx.c (getutmpx): Likewise.
1651 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1652 true.
1653 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1654 _HAVE_UT_TV are always true.
1655 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1656 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1657 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1658 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1659 are always true.
1660 (internal_getut_r): _HAVE_UT_TYPE is always true.
1661 (__libc_pututline): Likewise.
1662 * login/programs/utmpdump.c (print_entry): Assume that
1663 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1664 _HAVE_UT_TV are always true.
1665 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1666 _HAVE_UT_ID are always true.
1667 * sysdeps/gnu/bits/utmp.h: Move to ...
1668 * bits/utmp.h: ... here, replacing the old file.
1669
9b9670fc
FW
16702019-08-12 Florian Weimer <fweimer@redhat.com>
1671
1672 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1673 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1674 not set.
1675 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1676 (do_test): Open the executable using an absolute path. Print
1677 error message to standard output.
1678
c48d92b4
DD
16792019-08-09 DJ Delorie <dj@redhat.com>
1680
1681 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1682 * manual/tunables.texi: Document it.
1683 * malloc/malloc.c (do_set_mxfast): New.
1684 (__libc_mallopt): Call it.
1685 * malloc/arena.c: Add mxfast tunable.
1686 * malloc/tst-mxfast.c: New.
1687 * malloc/Makefile: Add it.
1688
b6d2c447
NH
16892019-08-08 Niklas Hambüchen <mail@nh2.me>
1690 Carlos O'Donell <carlos@redhat.com>
1691
1692 [BZ #24026]
1693 * malloc/malloc.c (__malloc_info): Account for top chunk.
1694
a02cd8e4
JM
16952019-08-07 Joseph Myers <joseph@codesourcery.com>
1696
1697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1698 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1699
d8b97803
JM
17002019-08-06 Joseph Myers <joseph@codesourcery.com>
1701
1702 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1703
8d454abe
SL
17042019-07-02 Stefan Liebler <stli@linux.ibm.com>
1705
1706 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1707
98013846
JM
17082019-08-05 Joseph Myers <joseph@codesourcery.com>
1709
1710 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1711 New macro.
1712
503fc587
AZ
17132019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1714
d665367f
AZ
1715 [BZ #19767]
1716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1717 Remove definition.
1718 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1719 Likewise.
1720 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1721 Likewise.
1722 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1723 Likewise.
1724 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1725 (ALWAYS_USE_VSYSCALL): Likewise.
1726 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1727 (ALWAYS_USE_VSYSCALL): Likewise.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1729 (ALWAYS_USE_VSYSCALL): Likewise.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1731 (ALWAYS_USE_VSYSCALL): Likewise.
1732 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1733 Likewise.
1734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1735 (ALWAYS_USE_VSYSCALL): Likewise.
1736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1737 (ALWAYS_USE_VSYSCALL): Likewise.
1738 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1739 Likewise.
1740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1743 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1744 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1745 USE_VSYSCALL): Remove defitions.
1746
c9c1a413
AZ
1747 [BZ #19767]
1748 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1749 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1751 Define.
1752
27a0914e 1753 [BZ #19767]
5e855c89
AZ
1754 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1755 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1756 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1757 (ALWAYS_USE_VSYSCALL): Define.
1758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1759 (ALWAYS_USE_VSYSCALL): Likewise.
1760
1761 [BZ #19767]
27a0914e
AZ
1762 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1763 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1764 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1765 Define.
1766
503fc587
AZ
1767 * sysdeps/sh/libm-test-ulps: Update.
1768
1a7fe2eb
FW
17692019-08-05 Florian Weimer <fweimer@redhat.com>
1770
1771 [BZ #23518]
1772 * login/uptmp-private.h (struct ufuncs): Remove definition.
1773 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1774 (__libc_utmp_jump_table): Remove declarations.
1775 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1776 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1777 (__libc_updwtmp): Declare.
1778 * login/getutent_r.c (__libc_utmp_unknown_functions)
1779 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1780 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1781 (endutent_unknown): Remove definitions.
1782 (__setutent): Call __libc_setutent.
1783 (__getutent_r): Call __libc_getutent_r.
1784 (__pututline): Call __libc_pututline.
1785 (__endutent): Call __libc_endutent.
1786 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1787 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1788 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1789 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1790 (__libc_setutent): Rename from stetutent_file. Drop static.
1791 (maybe_setutent): New function.
1792 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1793 Check for initialization.
1794 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1795 Check for initialization.
1796 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1797 Check for initialization.
1798 (__libc_pututline): Rename from pututline_file. Drop static.
1799 Check for initialization.
1800 (__libc_endutent): Rename from endutent_file. Drop static. Check
1801 for initialization.
1802 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1803 * login/utmpname.c (__utmpname): Call __libc_endutent.
1804 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1805 __libc_getutlien_r, __libc_endutent.
1806 * manual/users.texi (Who Logged In, Manipulating the Database):
1807 Adjust.
1808
ab74d59f 18092019-08-05 Alexandra Hájková <ahajkova@redhat.com>
a6c1ce77
AH
1810
1811 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1812
c7a26cba
JM
18132019-08-02 Joseph Myers <joseph@codesourcery.com>
1814
9c37bde5
JM
1815 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1816
c7a26cba
JM
1817 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1818 kernel version number to 5.2.
1819
066020c5
RFF
18202019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1821
1822 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1823 mnemonics and set .machine power8.
1824 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1825 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1826 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1827 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1828 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1829 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1830 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1831 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1832 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1833 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1834
3175dcc1
AZ
18352019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1836
1837 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1838
b0f6679b
FW
18392019-08-01 Florian Weimer <fweimer@redhat.com>
1840
1841 [BZ #24867]
1842 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1843 whitespace.
1844
e1df30fb
AZ
18452019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1846
1847 [BZ #15813]
1848 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1849 attempt.
1850
e7124906
CD
18512019-08-01 Carlos O'Donell <carlos@redhat.com>
1852
0a8262a1
CD
1853 * version.h (RELEASE): Set to "stable".
1854 (VERSION): Set to "2.30".
1855 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1856
e7124906
CD
1857 * manual/install.texi: Update component versions.
1858 * INSTALL: Regenerate.
1859 * NEWS: Update.
1860
cc3bf319
CD
18612019-07-31 Carlos O'Donell <carlos@redhat.com>
1862
1863 * po/be.po: Update translations.
1864 * po/bg.po: Likewise.
1865 * po/ca.po: Likewise.
1866 * po/cs.po: Likewise.
1867 * po/da.po: Likewise.
1868 * po/de.po: Likewise.
1869 * po/el.po: Likewise.
1870 * po/eo.po: Likewise.
1871 * po/es.po: Likewise.
1872 * po/fi.po: Likewise.
1873 * po/fr.po: Likewise.
1874 * po/gl.po: Likewise.
1875 * po/hr.po: Likewise.
1876 * po/hu.po: Likewise.
1877 * po/ia.po: Likewise.
1878 * po/id.po: Likewise.
1879 * po/it.po: Likewise.
1880 * po/ja.po: Likewise.
1881 * po/ko.po: Likewise.
1882 * po/lt.po: Likewise.
1883 * po/nb.po: Likewise.
1884 * po/nl.po: Likewise.
1885 * po/pl.po: Likewise.
1886 * po/pt_BR.po: Likewise.
1887 * po/ru.po: Likewise.
1888 * po/rw.po: Likewise.
1889 * po/sk.po: Likewise.
1890 * po/sl.po: Likewise.
1891 * po/sv.po: Likewise.
1892 * po/tr.po: Likewise.
1893 * po/uk.po: Likewise.
1894 * po/vi.po: Likewise.
1895 * po/zh_CN.po: Likewise.
1896 * po/zh_TW.po: Likewise.
1897
0bfddfc9
FW
18982019-07-31 Florian Weimer <fweimer@redhat.com>
1899
1900 [BZ #24583]
1901 [BZ #24677]
1902 iconv, libio: Revert reference counting changes.
1903 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1904 free the steps array.
1905 * libio/Makefile (tests): Remove tst-wfile-gconv.
1906 (tests-container): Do not add tst-wfile-ascii.
1907 (tst-wfile-gconv-ENV): Do not set.
1908 (generated): Do not add tst-wfile-gconv.mtrace,
1909 tst-wfile-gconv.check.
1910 [($run-built-tests)] (tests-special): Do not add
1911 tst-wfile-gconv-mem.out.
1912 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1913 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1914 instead of __wcsmbs_clone_conv.
1915 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1916 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1917
c86b8e75
JM
19182019-07-30 Joseph Myers <joseph@codesourcery.com>
1919
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1921 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1922
8a814e20
FW
19232019-07-30 Florian Weimer <fweimer@redhat.com>
1924
1925 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1926 type to uintptr_t. Update comment.
1927 (check_stack_top): Adjust.
1928
b8b3d5a1
FW
19292019-07-29 Florian Weimer <fweimer@redhat.com>
1930
1931 Linux: Move declaration of getdents64 to <dirent.h>.
1932 * bits/dirent_ext.h: New file.
1933 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1934 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1935 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1936 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1937 declaration.
1938 * manual/filesys.texi (Low-level Directory Access): Update header
1939 to dirent.h.
1940
354e4c1a
TMQMF
19412019-07-29 DJ Delorie <dj@redhat.com>
1942 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1943
1944 [BZ #24794]
1945 * Makeconfig (all-subdirs): Improved source comments.
1946 * Makefile (testroot.pristine/install.stamp): Pass
1947 subdirs='$(sorted-subdirs)' to make install.
1948
50ce3eae
FW
19492019-07-25 Florian Weimer <fweimer@redhat.com>
1950
1951 [BZ #24677]
1952 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1953 counter before freeing array.
1954
7e681561
L
19552019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 [BZ #24603]
1958 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1959 works.
1960 * sysdeps/x86_64/configure: Regenerated.
1961 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1962 to -mprefer-vector-width=128 if supported.
1963
82c664ed
FW
19642019-07-24 Florian Weimer <fweimer@redhat.com>
1965
1966 * scripts/build-many-glibcs.py (Context.checkout): Default to
1967 Linux 5.2.
1968
7854ebf8
FW
19692019-07-24 Florian Weimer <fweimer@redhat.com>
1970
1971 [BZ #24532]
1972 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1973 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1974 (sysdep_headers): Add bits/socket-constants.h.
1975 (tests-special): Add tst-socket-consts.out.
1976 (tst-socket-consts.out): New target.
1977 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1978 around <asm/unistd.h>.
1979 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1980 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1981 <asm/socket.h>.
1982 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1983 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1984 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1985 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1986 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1987 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1988 Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1990
95da14da
TMQMF
19912019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1992
35e038c1
TMQMF
1993 [BZ #24794]
1994 * Makefile (testroot.pristine/install.stamp): Pass
1995 subdirs='$(all-subdirs)' to make install.
1996
95da14da
TMQMF
1997 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1998 the same arguments used in all tests.
1999
dcf36bca
SN
20002019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2001
2002 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2003
c7e4b684
EK
20042019-07-20 Egor Kobylkin <egor@kobylkin.com>
2005
2006 [BZ #2872]
2007 * locale/C-translit.h.in: Add Cyrillic transliteration.
2008
1f7097d0
FW
20092019-07-19 Florian Weimer <fweimer@redhat.com>
2010
2011 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2012 from Linux 5.2.
2013 (fsconfig): Add system call name.
2014 (fsmount): Likewise.
2015 (fsopen): Likewise.
2016 (fspick): Likewise.
2017 (move_mount): Likewise.
2018 (open_tree): Likewise.
2019
3556658c
CD
20202019-07-18 Carlos O'Donell <carlos@redhat.com>
2021
2022 * po/libc.pot: Regenerate.
2023
4a8f6d31
MC
20242019-07-18 Mike Crowe <mac@mcrowe.com>
2025
2ab9ad57
AZ
2026 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2027 functions recently added to sysdeps/nptl/pthread.h:
2028 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2029 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2030
4a8f6d31
MC
2031 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2032 pthread_cond_clockwait forwarding functions. There are no internal
2033 users, so it is unnecessary to expose these functions in libc.so.
2034 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2035 unnecessary ptr___pthread_cond_clockwait member.
2036 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2037 removed member.
2038
ab74d59f 20392019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9208c3b8
RL
2040
2041 [BZ #21897]
2042 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2043 begin with an uppercase letter now.
2044 (abmon): Likewise.
2045 (mon): Update from CLDR, reword February from "Kudo" to
2046 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2047 and August from "Liiqen" to "Leqeeni".
2048 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2049 April from "Agda Baxisso" to "Agda Baxis" and August from
2050 "Leqeeni" to "Liiqen".
2051 * localedata/locales/aa_ER@saaho (mon): Likewise.
2052 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2053 abbreviated February from "Kud" to "Nah".
2054 (mon): Update from CLDR, reword February from "Kudo" to
2055 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2056
ab74d59f 20572019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
fba6d4bb
RL
2058
2059 [BZ #23996]
2060 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2061
3cc7c9c5
P
20622019-07-17 PanderMusubi <pander@users.sourceforge.net>
2063
2064 [BZ #23996]
2065 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2066 name_mrs, name_miss, and name_ms.
2067 * localedata/locales/nl_NL (LC_NAME): Likewise.
2068
cce7b6a5
DZ
20692019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2070
2071 [BZ #24200]
2072 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2073 * localedata/locales/en_IE (first_weekday): Likewise.
2074
99d01ffc
MC
20752019-07-12 Mike Crowe <mac@mcrowe.com>
2076
1ff1373b
MC
2077 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2078 that is only useful if futex_supports_exact_relative_timeouts ()
2079 returns false.
2080 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2081 Likewise.
2082 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2083 timeouts potentially being imprecise since it's no longer true.
2084 Remove declaration of futex_supports_exact_relative_timeouts.
2085 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2086 of futex_supports_exact_relative_timeouts.
2087
65dd7e9c
MC
2088 * NEWS: Mention recently-added pthread_cond_clockwait,
2089 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2090 sem_clockwait functions.
2091
9d20e22e
MC
2092 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2093 works like pthread_mutex_timedlock but takes a clockid parameter to
2094 measure the abstime parameter against.
2095 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2096 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2097 * nptl/pthread_mutex_timedlock.c
2098 (__pthread_mutex_clocklock_common): Rename from
2099 __pthread_mutex_timedlock and add clockid parameter. Pass this
2100 parameter to lll_clocklock and lll_clocklock_elision in place of
2101 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2102 LIBC_PROBE and validate clockid parameter before calling
2103 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2104 implementation to add LIBC_PROBE and calls
2105 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2106 clockid.
2107 * nptl/Makefile: Add tst-mutex11.c.
2108 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2109 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2110 clockid parameters to pthread_mutex_clocklock.
2111 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2112 clockid parameter to indicate which clock to be used. Call
2113 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2114 (do_test): Call do_test_clock to separately test
2115 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2116 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2117 * nptl/tst-mutex9.c: Likewise.
2118 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2119 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2120 Likewise.
2121 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2122 Likewise.
2123 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2124 Likewise.
2125 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2126 Likewise.
2127 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2128 Likewise.
2129 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2132 Likewise.
2133 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2134 (GLIBC_2.30): Likewise.
2135 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2136 (GLIBC_2.30): Likewise.
2137 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2138 (GLIBC_2.30): Likewise.
2139 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2140 (GLIBC_2.30): Likewise.
2141 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2142 (GLIBC_2.30): Likewise.
2143 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2144 Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2146 (GLIBC_2.30): Likewise.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2148 (GLIBC_2.30): Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2150 (GLIBC_2.30): Likewise.
2151 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2152 (GLIBC_2.30): Likewise.
2153 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2154 (GLIBC_2.30): Likewise.
2155 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2156 (GLIBC_2.30): Likewise.
2157 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2158 Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2160 (GLIBC_2.30): Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2162 (GLIBC_2.30): Likewise.
2163 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2164 (GLIBC_2.30): Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2166 (GLIBC_2.30): Likewise.
2167
59213094
MC
2168 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2169 parameter to indicate the clock that the abstime parameter should
2170 be measured against in preparation for adding
2171 pthread_mutex_clocklock.
2172 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2173 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2174 from __lll_timedlock and add clockid parameter.
2175 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2176 Likewise.
2177 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2178 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2179 rather than __gettimeofday so that clockid can be used. This means
2180 that conversion from struct timeval is no longer required.
2181 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2182 Likewise.
2183 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2184 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2185 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2186 from lll_timedlock_elision, add clockid parameter and use
2187 meaningful names for other parameters. (__pthread_mutex_timedlock):
2188 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2189 lll_clocklock_elision.
2190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2191 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2192 clockid parameter. (__lll_clocklock_elision): Rename from
2193 __lll_timedlock_elision and add clockid parameter.
2194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2195 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2197 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2198 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2199 (LLL_LOCK): Likewise.
2200 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2201 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2202
e996fa72
MC
2203 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2204 pthread_rwlock_clockwrlock which behave like
2205 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2206 respectively, except they always measure abstime against the
2207 supplied clockid. The functions currently support CLOCK_REALTIME
2208 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2209 specified.
2210 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2211 pthread_wrlock_clockwrlock.
2212 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2213 pthread_rwlock_clockwrlock.c.
2214 * nptl/pthread_rwlock_clockrdlock.c: Implement
2215 pthread_rwlock_clockrdlock.
2216 * nptl/pthread_rwlock_clockwrlock.c: Implement
2217 pthread_rwlock_clockwrlock.
2218 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2219 clockid parameter and verify that it indicates a supported clock on
2220 entry so that we fail even if it doesn't end up being used. Pass
2221 that clock on to futex_abstimed_wait when necessary.
2222 (__pthread_rwlock_wrlock_full): Likewise.
2223 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2224 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2225 be used because there's no timeout.
2226 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2227 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2228 be used because there is no timeout.
2229 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2230 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2231 uses that clock.
2232 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2233 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2234 uses that clock.
2235 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2236 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2237 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2238 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2239 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2240 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2241 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2242 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2243 (GLIBC_2.30): Likewise.
2244 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2245 (GLIBC_2.30): Likewise.
2246 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2247 (GLIBC_2.30): Likewise.
2248 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2249 (GLIBC_2.30): Likewise.
2250 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2251 (GLIBC_2.30): Likewise.
2252 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2254 (GLIBC_2.30): Likewise.
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2256 (GLIBC_2.30): Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2258 (GLIBC_2.30): Likewise.
2259 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2260 (GLIBC_2.30): Likewise.
2261 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2262 (GLIBC_2.30): Likewise.
2263 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2264 (GLIBC_2.30): Likewise.
2265 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2266 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2267 (GLIBC_2.30): Likewise.
2268 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2269 (GLIBC_2.30): Likewise.
2270 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2271 (GLIBC_2.30): Likewise.
2272 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2273 (GLIBC_2.30): Likewise.
2274 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2275 pthread_rwlock_clockwrlock timeout tests to match the existing
2276 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2277 * nptl/tst-rwlock14.c (do_test): Likewise.
2278 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2279 ancillary output throughout. (tf): Accept thread_args structure so
2280 that rwlock, a clockid and function name can be passed to the
2281 thread. (do_test_clock): Rename from do_test. Accept clockid
2282 parameter to specify test clock. Use the magic clockid value of
2283 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2284 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2285 specified clockid to pthread_rwlock_clockrdlock and
2286 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2287 (do_test): Call do_test_clock to test each clockid in turn.
2288 * nptl/tst-rwlock7.c: Likewise.
2289 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2290 thread_args structure so that the (now int) thread number, the
2291 clockid and the function name can be passed to the thread.
2292 (do_test_clock): Renamed from do_test. Pass the necessary
2293 thread_args when creating the reader and writer threads. Use
2294 xpthread_create and xpthread_join.
2295 (do_test): Call do_test_clock to test each clockid in turn.
2296 * manual/threads.texi: Add documentation for
2297 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2298
600b4be4
MC
2299 nptl: pthread_rwlock: Move timeout validation into _full functions
2300 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2301 Check validity of abstime parameter.
2302 (__pthread_rwlock_rwlock_full): Likewise.
2303 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2304 Remove check for validity of abstime parameter.
2305 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2306 Likewise.
2307
afe4de7d
MC
2308 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2309 like pthread_cond_timedwait except it always measures abstime
2310 against the supplied clockid.
2311 * nptl/Makefile: Add tst-cond26 and tst-cond27
2312 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2313 * sysdeps/nptl/pthread.h: Likewise
2314 * nptl/forward.c: Add __pthread_cond_clockwait
2315 * nptl/forward.c: Likewise
2316 * nptl/pthreadP.h: Likewise
2317 * sysdeps/nptl/pthread-functions.h: Likewise
2318 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2319 clockid parameter and comment describing why we don't need to check
2320 its value. Use that value when calling
2321 futex_abstimed_wait_cancelable rather than reading the clock from
2322 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2323 (__pthread_cond_timedwait): Read clock from flags and pass it to
2324 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2325 function with weak alias from pthread_cond_clockwait.
2326 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2327 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2328 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2329 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2330 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2331 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2332 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2333 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2334 (GLIBC_2.30): Likewise.
2335 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2336 (GLIBC_2.30): Likewise.
2337 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2338 (GLIBC_2.30): Likewise.
2339 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2340 (GLIBC_2.30): Likewise.
2341 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2342 (GLIBC_2.30): Likewise.
2343 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2345 (GLIBC_2.30): Likewise.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2347 (GLIBC_2.30): Likewise.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2349 (GLIBC_2.30): Likewise.
2350 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2351 (GLIBC_2.30): Likewise.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2353 (GLIBC_2.30): Likewise.
2354 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2355 (GLIBC_2.30): Likewise.
2356 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2357 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2358 (GLIBC_2.30): Likewise.
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2360 (GLIBC_2.30): Likewise.
2361 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2362 (GLIBC_2.30): Likewise.
2363 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2364 (GLIBC_2.30): Likewise.
2365 * nptl/tst-cond11.c (run_test): Support testing
2366 pthread_cond_clockwait too by using a special magic
2367 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2368 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2369 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2370 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2371 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2372 clocks to pthread_cond_clockwait.
2373 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2374 struct timespec and pthread_cond_clockwait.
2375 * manual/threads.texi: Document pthread_cond_clockwait.
2376
6615f779
MC
2377 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2378 sem_timedwait, but measures abstime against the specified clock.
2379 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2380 clockid parameters to indicate the clock which abstime should be
2381 measured against.
2382 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2383 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2384 __new_sem_wait_slow.
2385 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2386 on sem_timedwait.c.
2387 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2388 sem_clockwait.c to match those used for sem_timedwait.c.
2389 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2390 * nptl/Versions (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2392 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2394 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2395 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2396 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2397 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2398 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2399 (GLIBC_2.30): Likewise.
2400 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2401 (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2403 (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2405 (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2407 (GLIBC_2.30): Likewise.
2408 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2410 (GLIBC_2.30): Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2412 (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2414 (GLIBC_2.30): Likewise.
2415 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2416 (GLIBC_2.30): Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2418 (GLIBC_2.30): Likewise.
2419 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2420 (GLIBC_2.30): Likewise.
2421 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2423 (GLIBC_2.30): Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2425 (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2427 (GLIBC_2.30): Likewise.
2428 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2429 (GLIBC_2.30): Likewise.
2430 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2431 sem_clockwait.
2432 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2433 tests to also test sem_clockwait.
2434 * manual/threads.texi: Document sem_clockwait.
2435
99d01ffc
MC
2436 nptl: Add clockid parameter to futex timed wait calls
2437 * sysdeps/nptl/lowlevellock-futex.h,
2438 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2439 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2440 takes a clockid rather than a special clockbit.
2441 * sysdeps/nptl/lowlevellock-futex.h: Add
2442 lll_futex_supported_clockid so that client functions can check
2443 whether their clockid parameter is valid even if they don't
2444 ultimately end up calling lll_futex_clock_wait_bitset.
2445 * sysdeps/nptl/futex-internal.h,
2446 sysdeps/unix/sysv/linux/futex-internal.h
2447 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2448 clockid_t parameter to indicate which clock the absolute time
2449 passed should be measured against. Pass that clockid onto
2450 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2451 returning -EINVAL.
2452 * sysdeps/nptl/futex-internal.h,
2453 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2454 futex_abstimed_supported_clockid so that client functions can check
2455 whether their clockid parameter is valid even if they don't
2456 ultimately end up calling futex_abstimed_wait.
2457 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2458 code to calculate relative timeout for
2459 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2460 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2461 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2462 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2463 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2464 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2465 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2466
a008c76b
AZ
24672019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2468
2469 [BZ #24699]
2470 * posix/tst-mmap-offset.c: Mention BZ #24699.
2471 (do_test_bz21270): Rename to do_test_large_offset and use
2472 mmap64_maximum_offset to check for maximum expected offset value.
2473 * sysdeps/generic/mmap_info.h: New file.
2474 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2475 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2476 __NR_mmap2 is used.
2477
99135114
DD
24782019-07-10 DJ Delorie <dj@redhat.com>
2479 Sergei Trofimovich <slyfox@inbox.ru>
2480
2481 [BZ #24696]
2482 [BZ #24695]
2483 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2484 mappings.
2485 * nss/tst-nss-db-endgrent.c: New.
2486 * nss/tst-nss-db-endgrent.root: New.
2487 * nss/tst-nss-db-endpwent.c: New.
2488 * nss/tst-nss-db-endpwent.root: New.
2489 * nss/Makefile: Add new tests.
2490 * support/links-dso-program-c.c: Add selinux dependency.
2491 * support/links-dso-program.cc: Add selinux dependency.
2492 * support/Makefile: Build those with -lselinux if enabled.
2493
30ba0375
SN
24942019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2495
2496 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2497 DT_AARCH64_VARIANT_PCS check.
2498 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2499 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2500 variant_pcs.
2501
32b8188a
AS
25022019-07-10 Andreas Schwab <schwab@suse.de>
2503
2504 [BZ #23352]
2505 * malloc/malloc.h (__malloc_check_init): Don't declare.
2506 * include/malloc.h (__malloc_check_init): Likewise.
2507 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2508 * manual/memory.texi (__malloc_check_init): Don't mention it.
2509
7901d4ee
MH
25102019-07-10 Mao Han <han_mao@c-sky.com>
2511
2512 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2513
b5232c9f 25142019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 2515
b5232c9f
PC
2516 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2517 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2518
6ba205b2
DD
25192019-07-08 DJ Delorie <dj@redhat.com>
2520
2521 [BZ #23501]
2522 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2523 * io/tst-ftw-lnk.c: New test.
2524 * io/Makefile: Run it.
2525
f215dbbd
AZ
25262019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2527
6ea21bfe
AZ
2528 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2529 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2530 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2531 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2532 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2533 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2535 Adjust implementation path.
2536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2537 Adjust implementation path.
2538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2539 Adjust implementation path.
2540 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2541 (libm-sysdep_routines): Add s_log* objects.
2542 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2543 CFLAGS-s_logb-power7.c): New fule.
2544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2545 to ...
2546 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2547 ... here.
2548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2549 to ...
2550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2551 ... here.
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2553 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2555 to ...
2556 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2557 ... here.
2558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2559 to ...
2560 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2561 ... here.
2562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2563 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2565 to ...
2566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2567 ... here.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2569 to ...
2570 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2571 ... here.
2572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2573 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2576 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2577 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2578
105f2ed3
AZ
2579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2580 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2581 powerpc32 integer 0 converting to -0.
2582
0cccd37f
AZ
2583 * benchtests/Makefile (bench-math): Add logb.
2584 * benchtests/logb-inputs: New file.
2585 * benchtests/logbf-inputs: New file.
2586
931c616e
AZ
2587 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2588 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2589 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2590 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2592 Adjust include.
2593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2594 Likewise.
2595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2596 sysdep_routines): Add s_modf* objects.
2597 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2598 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2600 to ...
2601 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2602 ... here.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2604 to ...
2605 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2606 ... here.
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2608 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2610 to ...
2611 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2612 ... here.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2614 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2615 ... here.
2616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2617 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2618
69461d98
AZ
2619 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2620 twoM500, twoM600, two60factor, pdnum): Remove.
2621 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2622 (__ieee754_hypot): Replace static variables with inline definition,
2623 remove ununsed branches.
2624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2625 (libm-sysdep_routines): Remove e_hypot-* objects.
2626 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2627 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2628 file.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2634
f215dbbd
AZ
2635 * benchtests/Makefile (bench-math): Add hypot.
2636 * benchtests/hypot-inputs: New file.
2637
97274b18
VC
26382019-07-08 Vincent Chen <vincentc@andestech.com>
2639
2640 * sysdeps/unix/sysv/linux/dl-vdso.h
2641 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2642
484b7af3
AS
26432019-07-04 Andreas Schwab <schwab@suse.de>
2644
2645 [BZ #24484]
2646 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2647
2b8a3c86
SN
26482019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2649
2650 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2651 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2652 * sysdeps/aarch64/sys/ifunc.h: New file.
2653 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2654 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2655
41d6f74e
FW
26562019-07-01 Florian Weimer <fweimer@redhat.com>
2657
2658 [BZ #20188]
2659 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2660 Replace __vfork with __libpthread_version_placeholder for
2661 GLIBC_2.1.2.
2662 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2663 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2664 libpthread-compat.
2665 * nptl/pt-vfork.c: Remove file.
2666 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2667 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2668 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2669 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2670 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2671 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2672 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2673 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2674 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2675 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2676 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2677 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2679 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2680 Remove vfork, __vfork.
2681 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2682 Remove vfork.
2683 (GLIBC_2.1.2): Replace __vfork with
2684 __libpthread_version_placeholder.
2685 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2686 Remove vfork, __vfork.
2687 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2688 Likewise.
2689 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2690 Remove vfork.
2691 (GLIBC_2.1.2): Replace __vfork with
2692 __libpthread_version_placeholder.
2693 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2694 Remove vfork.
2695 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2696 (GLIBC_2.4): Remove vfork, __vfork.
2697 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2698 (GLIBC_2.0): Remove vfork.
2699 (GLIBC_2.1.2): Replace __vfork with
2700 __libpthread_version_placeholder.
2701 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2702 (GLIBC_2.18): Remove vfork, __vfork.
2703 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2704 (GLIBC_2.0): Remove vfork.
2705 (GLIBC_2.2): Remove __vfork.
2706 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2707 (GLIBC_2.2): Remove vfork, __vfork.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2709 (GLIBC_2.0): Remove vfork.
2710 (GLIBC_2.1.2): Replace __vfork with
2711 __libpthread_version_placeholder.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2713 (GLIBC_2.3): Remove vfork, __vfork.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2715 (GLIBC_2.17): Likewise.
2716 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2717 (GLIBC_2.0): Remove vfork.
2718 (GLIBC_2.1.2): Replace __vfork with
2719 __libpthread_version_placeholder.
2720 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2721 (GLIBC_2.2): Remove vfork, __vfork.
2722 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2723 Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2725 (GLIBC_2.0): Remove vfork.
2726 (GLIBC_2.1.2): Replace __vfork with
2727 __libpthread_version_placeholder.
2728 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2729 (GLIBC_2.2): Remove vfork, __vfork.
2730 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2731 (GLIBC_2.2.5): Likewise.
2732 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2733 (GLIBC_2.16): Likewise.
2734 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2735 Remove __errno_location.
2736
27cec9ae
FW
27372019-07-02 Florian Weimer <fweimer@redhat.com>
2738
2739 [BZ #24757]
2740 * malloc/Depend: Add nptl and htl, due to potential indirect
2741 libpthread dependency of memusagestat.
2742
d1bc2cbb
SL
27432019-07-02 Stefan Liebler <stli@linux.ibm.com>
2744
2745 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2746 warning.
2747
72edea80
FW
27482019-07-01 Florian Weimer <fweimer@redhat.com>
2749
2750 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2751 variant for arm-linux-gnueabi.
2752
d0093c5c
L
27532019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2754
2755 [BZ #24259]
2756 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2757 relocation.
2758 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2759 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2760 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2761 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2762 and tst-cet-legacy-mod-6c.
2763 (CFLAGS-tst-cet-legacy-5a.c): New.
2764 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2765 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2766 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2767 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2768 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2769 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2770 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2771 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2772 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2773 ($(objpfx)tst-cet-legacy-5a): Likewise.
2774 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2775 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2776 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2777 ($(objpfx)tst-cet-legacy-5b): Likewise.
2778 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2779 (tst-cet-legacy-5b-ENV): Likewise.
2780 ($(objpfx)tst-cet-legacy-6a): Likewise.
2781 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2782 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2783 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2784 ($(objpfx)tst-cet-legacy-6b): Likewise.
2785 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2786 (tst-cet-legacy-6b-ENV): Likewise.
2787 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2788 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2789 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2790 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2791 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2792 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2793 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2794 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2795 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2796 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2797 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2798 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2799 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2800 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2801
3db85a98
PC
28022019-06-30 Paul A. Clarke <pc@us.ibm.com>
2803
2804 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2805 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2806 (__fegetround_ISA300) New.
2807 (__fegetround_ISA2) New.
2808 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2809 (_FPU_MFFS): Move implementation...
2810 (_FPU_GETCW): Here.
2811 (_FPU_MFFSL): Move implementation....
2812 (_FPU_GET_RC_ISA300): Here. New.
2813 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2814 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2815 (fegetenv_status): New.
2816 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2817 instead of fegetenv_register().
2818 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2819
d0645912
WD
28202019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2821
2822 * benchtests/bench-math-inlines.c: Increase iterations.
2823 * benchtests/bench-memcmp.c: Likewise.
2824 * benchtests/bench-rawmemchr.c: Likewise.
2825 * benchtests/bench-strcmp.c: Likewise.
2826 * benchtests/bench-strcpy_chk.c: Likewise.
2827 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2828 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2829 (INNER_LOOP_ITERS_SMALL): Likewise.
2830 * benchtests/bench-strncat.c: Increase iterations.
2831 * benchtests/bench-strncmp.c: Increase iterations.
2832 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2833 * benchtests/bench-strrchr.c: Increase iterations.
2834 * benchtests/bench-strstr.c: Keep iterations unchanged.
2835 * benchtests/bench-strtod.c: Increase iterations.
2836
afe23eb0
AY
28372019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2838
2839 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2840 with INNER_LOOP_ITERS_LARGE.
2841 * benchtests/bench-memchr.c: Likewise.
2842 * benchtests/bench-rawmemchr.c: Likewise.
2843 * benchtests/bench-strcat.c: Likewise.
2844 * benchtests/bench-strchr.c: Likewise.
2845 * benchtests/bench-string.h: Likewise.
2846 * benchtests/bench-strlen.c: Likewise.
2847 * benchtests/bench-strncpy.c: Likewise.
2848 * benchtests/bench-strnlen.c: Likewise.
2849
507f55c0
FW
28502019-06-28 Florian Weimer <fweimer@redhat.com>
2851
2852 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2853 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2854 entire allocated memory range.
2855
589787f8
TK
28562019-06-28 Tobias Klauser <tklauser@distanz.ch>
2857
2858 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2859 (prepare_version_base): New helper inline function.
2860 (prepare_version): New macro replacing PREPARE_VERSION.
2861 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2862
f0b2132b
FW
28632019-06-28 Florian Weimer <fweimer@redhat.com>
2864
2865 [BZ #24741]
2866 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2867 mismatch in a versioned symbol reference.
2868 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2869 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2870 tst-sonamemove-dlopen.
2871 (module-names): Add tst-sonamemove-linkmod1,
2872 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2873 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2874 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2875 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2876 (tst-sonamemove-runmod1.so): Link against
2877 tst-sonamemove-runmod2.so.
2878 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2879 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2880 tst-sonamemove-runmod2.so.
2881 (tst-sonamemove-dlopen): Link with -ldl.
2882 (tst-sonamemove-dlopen.out): Likewise.
2883 * elf/tst-sonamemove-link.c: New file.
2884 * elf/tst-sonamemove-dlopen.c: Likewise.
2885 * elf/tst-sonamemove-linkmod1.c: Likewise.
2886 * elf/tst-sonamemove-linkmod1.map: Likewise.
2887 * elf/tst-sonamemove-runmod1.c: Likewise.
2888 * elf/tst-sonamemove-runmod1.map: Likewise.
2889 * elf/tst-sonamemove-runmod2.c: Likewise.
2890 * elf/tst-sonamemove-runmod2.map: Likewise.
2891
17432d71
FW
28922019-06-28 Florian Weimer <fweimer@redhat.com>
2893
2894 * support/xdlfcn.h (xdlvsym): Declare function.
2895 * support/xdlfcn.c (xdlvsym): Define funciton.
2896
5a659ccc
FW
28972019-06-28 Florian Weimer <fweimer@redhat.com>
2898
2899 [BZ #24744]
2900 io: Remove the copy_file_range emulation.
2901 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2902 not define and call copy_file_range_compat.
2903 * io/Makefile (tests-static, tests-internal): Do not add
2904 tst-copy_file_range-compat.
2905 * io/copy_file_range-compat.c: Remove file.
2906 * io/copy_file_range.c (copy_file_range): Define as stub.
2907 * io/tst-copy_file_range-compat.c: Remove file.
2908 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2909 (typical_sizes): Update comment. Remove 16K sizes.
2910 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2911 Remove variables.
2912 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2913 (delayed_write_failure_beginning, delayed_write_failure_end)
2914 (cross_device_failure, enospc_failure_1, enospc_failure)
2915 (oappend_failure): Remove functions.
2916 (tests): Adjust test case list.
2917 (do_test): Remove file system search code. Check for ENOSYS from
2918 copy_file_range. Do not free xdevfile.
2919 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2920 copy_file_range. Do not document the EXDEV error, which future
2921 kernels may not report. Update the wording to reflect that
2922 further errors are possible.
2923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2924 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2925 not undefine.
2926 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2927 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2928 Likewise.
2929 * sysdeps/unix/sysv/linux/kernel-features.h
2930 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2931 Remove definition.
2932 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2933 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2934 not undefine.
2935 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2936 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2937 Likewise.
2938
1626f499
GG
29392019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2940
2941 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2942 used as a mask for the mode argument of __vfprintf_internal.
2943 * stdio-common/printf-parse.h (printf_arg): New union member:
2944 pa_float128.
2945 * stdio-common/vfprintf-internal.c
2946 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2947 (PARSE_FLOAT_VA_ARG): Likewise.
2948 (SETUP_FLOAT128_INFO): Likewise.
2949 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2950 SETUP_FLOAT128_INFO.
2951 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2952 floating-point value to the new union member, pa_float128.
2953 (printf_positional): Zero-initialize args_value[cnt] with memset.
2954
a620bd79
FW
29552019-06-27 Florian Weimer <fweimer@redhat.com>
2956
2957 [BZ #24740]
2958 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2959 buffer size if necessary.
2960 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2961 Likewise.
2962 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2963 New function.
2964 (large_buffer_checks): Likewise.
2965 (do_test): Call large_buffer_checks.
2966
d039da1c
L
29672019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2970 * sysdeps/x86/dl-lookupcfg.h: Here.
2971 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2972
9d5d214e
AZ
29732019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2974
aa32f5bf
AZ
2975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2976 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2978 file.
2979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2982 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2983 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2984
9d5d214e
AZ
2985 * sysdeps/powerpc/powerpc32/fpu/Makefile
2986 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2987 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2988 and fctidz optimization.
2989 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2990 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2992 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2993 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2994 CFLAGS-s_lround-power5+.c): New rule.
2995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2996 New file.
2997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2998 Likewise.
2999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3000 Likewise.
3001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3002 Likewise.
3003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3004 Likewise.
3005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3006 Remove file.
3007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3008 Likewise.
3009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3010 Likewise.
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3012 Likewise.
3013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3014 Likewise.
3015 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3018 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3021 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3022
a63b96fb
VC
30232019-06-26 Vincent Chen <vincentc@andestech.com>
3024
3025 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3026 specific system calls, fp_udfiex_crtl and udftrap.
3027
c78b3f55
SL
30282019-06-26 Stefan Liebler <stli@linux.ibm.com>
3029
3030 * nptl/tst-eintr1.c (tf1): Add return statement.
3031 (do_test): Remove unused th variable.
3032
9e6a7d9c
SL
30332019-06-26 Stefan Liebler <stli@linux.ibm.com>
3034
3035 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3036 Return error if get_character fails.
3037
c89e669a
SL
30382019-06-25 Stefan Liebler <stli@linux.ibm.com>
3039
3040 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3041
ab74d59f 30422019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
a55541fd
RL
3043
3044 [BZ #24652]
3045 * localedata/locales/szl_PL (day): Use the correct Unicode
3046 sequences instead of non-ASCII characters.
3047
2bd81b60
GK
30482019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3049
3050 [BZ #24652]
3051 * localedata/locales/szl_PL (abday): Spelling corrections.
3052 (day): Likewise.
3053 (abmon): Likewise.
3054 (mon): Rename to...
3055 (alt_mon): This, then apply spelling corrections.
3056 (mon): New entry, month names in the genitive case.
3057
ab74d59f 30582019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
fefa2179
RL
3059
3060 [BZ #23831]
3061 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3062 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3063 (thousands_sep): Likewise.
3064 (grouping): Set to 3;3.
3065
85c748f9
TK
30662019-06-21 Tobias Klauser <tklauser@distanz.ch>
3067
3068 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3069 PREPARE_VERSION_KNOWN.
3070 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3071 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3072 define.
3073 (VDSO_HASH_LINUX_2_6_39): Likewise.
3074 (VDSO_NAME_LINUX_4_9): Likewise.
3075 (VDSO_HASH_LINUX_4_9): Likewise.
3076 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3077 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3078 (_libc_vdso_platform_setup): Likewise.
3079 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3080 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3081 Likewise.
3082 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3083 Likewise.
3084
db13e32c
MC
30852019-06-20 Mike Crowe <mac@mcrowe.com>
3086
ce5b73a7
MC
3087 * nptl/eintr.c: Use libsupport.
3088 * nptl/tst-eintr1.c: Likewise.
3089 * nptl/tst-eintr2.c: Likewise.
3090 * nptl/tst-eintr3.c: Likewise.
3091 * nptl/tst-eintr4.c: Likewise.
3092 * nptl/tst-eintr5.c: Likewise.
3093 * nptl/tst-mutex-errorcheck.c: Likewise.
3094 * nptl/tst-mutex5.c: Likewise.
3095
8bf225d5
MC
3096 * support/test-driver.h: Add verbose_printf macro.
3097
db13e32c
MC
3098 * support/xtime.h: Add xclock_now() helper function.
3099
21cc130b
DL
31002019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3101 Florian Weimer <fweimer@redhat.com>
3102
3103 [BZ #24228]
3104 * libio/genops.c (_IO_unbuffer_all)
3105 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3106 buffers and access _IO_FILE_complete members of legacy libio streams.
3107 * libio/tst-bz24228.c: New file.
3108 * libio/tst-bz24228.map: Likewise.
3109 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3110 [build-shared] (generated): Add tst-bz24228.mtrace and
3111 tst-bz24228.check.
3112 [run-built-tests && build-shared] (tests-special): Add
3113 $(objpfx)tst-bz24228-mem.out.
3114 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3115 ($(objpfx)tst-bz24228-mem.out): New rule.
3116
49bc41b6
PC
31172019-06-19 Paul A. Clarke <pc@us.ibm.com>
3118
3119 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3120 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3121 (__FPU_MFFSL): Likewise.
3122 (_FPU_SETCW): Likewise.
3123
335c1007
SS
31242019-06-19 Stan Shebs <stanshebs@google.com>
3125 Raoni Fassina Firmino <raoni@linux.ibm.com>
3126
3127 [BZ #24640]
3128 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3129 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3130 static-linking version.
3131 * sysdeps/unix/sysv/linux/powerpc/Makefile
3132 (tests-static): Add test-gettimebasefreq-static.
3133 (tests): Likewise.
3134 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3135 New file.
3136
ab74d59f 31372019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
f59a54ab
RL
3138
3139 [BZ #24614]
3140 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3141 between the currency symbol and the minus sign).
3142 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3143
f0c5a803
SL
31442019-06-19 Stefan Liebler <stli@linux.ibm.com>
3145
3146 [BZ #24556]
3147 * string/test-strcasestr.c (check_result): Add NULL check.
3148 * nss/tst-field.c (check_rewrite): Likewise.
3149 * benchtests/bench-strstr.c (do_one_test): Likewise.
3150 * string/test-strstr.c (check_result): Likewise.
3151 * argp/argp-test.c (popt): Increase size of buf to 12.
3152 * benchtests/bench-malloc-simple.c (bench):
3153 Do not initialize tests array out of bounds.
3154
fabf5e49
FW
31552019-06-19 Florian Weimer <fweimer@redhat.com>
3156
3157 [BZ #24166]
3158 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3159 dls_serpath field.
3160
2c75b545
FW
31612019-06-18 Florian Weimer <fweimer@redhat.com>
3162
3163 [BZ #24323]
3164 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3165 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3166 fail when called from dlopen.
3167 * elf/Makefile [have-fpie && build-shared] (tests): Add
3168 tst-dlopen-pie.
3169 (tst-dlopen-pie): Link with -ldl.
3170 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3171 * elf/tst-dlopen-pie.c (do_test): New file.
3172
ab74d59f 31732019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
02d8b5ab
RL
3174
3175 [BZ #24614]
3176 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3177 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3178 between the currency symbol and the minus sign).
3179 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3180 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3181
78049de0
AZ
31822019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3183
112a0ae1
AZ
3184 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3185 sysdep-rtld-routines): Remove rules.
3186 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3187 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3188 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3189 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3190 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3191 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3192 vDSO path for SHARED.
3193 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3194 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3195 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3196 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3197 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3198 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3199
dee07df1
AZ
3200 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3201 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3202 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3203 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3204 CFLAGS-s_llround-power5+.c): New rule.
3205 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3206 New file.
3207 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3208 Likewise.
3209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3210 Likewise.
3211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3212 Likewise.
3213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3214 Likewise.
3215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3216 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3221 * sysdeps/powerpc/powerpc64/fpu/Makefile
3222 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3224 (libm-sysdep_routines): Remove s_llround-* objects.
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3226 file.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3228 Likewise.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3230 Likewise.
3231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3232 Likewise.
3233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3234 Likewise.
3235 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3236 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3237 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3238 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3239 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3240 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3241 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3242 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3243 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3245 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3246 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3247 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3249
2166283f
AZ
3250 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3251 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3252 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3253 * sysdeps/powerpc/powerpc32/fpu/Makefile
3254 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3255 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3256 optimization.
3257 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3258 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3259 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3261 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3262 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3263 CFLAGS-s_lrint-ppc32.c): New rule.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3265 Remove file.
3266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3267 Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3269 Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3271 Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3273 Likewise.
3274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3275 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3276 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3279 New file.
3280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3281 Likewise.
3282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3283 Likewise.
3284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3285 Likewise.
3286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3287 Likewise.
3288
78049de0
AZ
3289 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3290 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3291 s_llrint-ppc64.
3292 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3293 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3294 file.
3295 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3296 Likewise.
3297 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3298 Likewise.
3299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3300 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3302 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3305 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3306 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3308 (libm-sysdep_routines): Remove s_llrint-* objects.
3309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3310 file.
3311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3312 Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3314 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3315 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3316 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3317 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3318 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3319 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3321 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3323
48c3c123
FW
33242019-06-14 Florian Weimer <fweimer@redhat.com>
3325
3326 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3327 argument to __glibc_has_include to inhibit macro expansion.
3328
8d141877
FW
33292019-06-14 Florian Weimer <fweimer@redhat.com>
3330
3331 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3332 function-like macro, so that __has_include can inhibit expansion
3333 of its argument.
3334
a26e2e9f
JM
33352019-06-13 Joseph Myers <joseph@codesourcery.com>
3336
cf274686
JM
3337 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3338 New macro.
3339
a26e2e9f
JM
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3341 Allow memset in libc.so.
3342
82bc69c0
SN
33432019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3344
3345 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3346 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3347 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3348 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3349 symbols at load time.
3350 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3351
55f82d32
SN
33522019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3353
3354 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3355 (DT_AARCH64_VARIANT_PCS): Define.
3356
21bd039b
AZ
33572019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3358
11926960
AZ
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3360 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3361 objects.
3362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3363 Remove file.
3364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3365 Likewise.
3366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3368 Likewise.
3369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3370 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3371 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3373 Remove s_finite* objects.
3374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3380 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3381 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3383 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3384
a7218676
AZ
3385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3386 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3387
6427a6ac
AZ
3388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3389 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3390 objects.
3391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3392 Remove file.
3393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3394 Likewise.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3397 Likewise.
3398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3399 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3400 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3402 Remove s_isinf* and s_isinf* objects.
3403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3409 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3410 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3412 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3413
a8c590f7
AZ
3414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3415 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3416
2666f963
AZ
3417 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3418 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3421 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3422 s_isnanf-* objects.
3423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3424 Remove file
3425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3426 Likewise.
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3428 Likewise.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3430 Likewise.
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3433 Likewise.
3434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3435 Likewise.
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3437 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3438 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3439 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3440 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3441 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3442 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3444 Remove s_isnan-* and s_isnanf-* objects.
3445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3448 Likewise.
3449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3454 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3456 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3457 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3458 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3459 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3462
197dbda1
AZ
3463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3464 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3465
2731a326
AZ
3466 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3467 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3468 CFLAGS-bench-isfinite.c): New rule.
3469 * benchtests/isnan-input: New file.
3470 * benchtests/isinf-input: New file.
3471 * benchtests/isfinite-input: New file.
3472
e41d66e4
AZ
3473 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3474 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3475 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3476 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3478 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3479 s_copysign-ppc32.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3481 Remove file.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3483 Likewise.
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3485 Likewise.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3487 Likewise.
3488 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3489 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3491 Remove s_copysign-power6 s_copysign-ppc64.
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3493 Remove file.
3494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3495 Likewise.
3496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3498 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3501 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3502
21bd039b
AZ
3503 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3504 round_to_integer_float, round_mode): Add RINT handling.
3505 (reset_fenv_mode): New symbol.
3506 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3507 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3508 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3509 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3510 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3511 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3512
cfa61144
FW
35132019-06-12 Florian Weimer <fweimer@redhat.com>
3514
3515 [BZ #24632]
3516 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3517 * libio/freopen.c (freopen): Use it.
3518
744e8296
FW
35192019-06-12 Florian Weimer <fweimer@redhat.com>
3520
3521 Linux: Deprecate sysctl.
3522 * include/sysctl.h (__sysctl): Remove declaration.
3523 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3524 check.
3525 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3526 (sysctl): Add deprecation attribute.
3527 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3528 directly, to avoid the deprecation warning. Do not include
3529 <string.h>.
3530 (__sysctl): Remove hidden alias.
3531
5dad6ffb
FW
35322019-06-12 Florian Weimer <fweimer@redhat.com>
3533
3534 Linux: Use kernel headers for statx definitions if available.
3535 * include/bits/statx-generic.h: New file.
3536 * include/bits/types/struct_statx.h: Likewise.
3537 * include/bits/types/struct_statx_timestamp.h: Likewise.
3538 * io/Makefile (headers): Add bits/statx-generic.h.
3539 * io/bits/statx-generic.h: New file. Partly copied from
3540 io/bits/statx.h.
3541 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3542 define original_statx.
3543 * io/bits/types/struct_statx.h: Likewise.
3544 * io/bits/types/struct_statx_timestamp.h: Likewise.
3545 (statx_generic): Use original_statx.
3546 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3547 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3548
4e75c2a4
FW
35492019-06-12 Florian Weimer <fweimer@redhat.com>
3550
3551 * misc/sys/cdefs.h (__glibc_has_include): Define.
3552
680942b0
WD
35532019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3554
3555 * string/memmem.c (__memmem): Rewrite to improve performance.
3556
5e0a7ecb
WD
35572019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3558
3559 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3560 warning.
3561 (two_way_long_needle): Block inlining.
3562 * string/strstr.c (strstr2): Add new function.
3563 (strstr3): Likewise.
3564 (STRSTR): Completely rewrite strstr to improve performance.
3565
80b2bfb5
WD
35662019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3567
3568 * benchtests/bench-strstr.c (test_hard_needle): New function.
3569
e6e24243
JM
35702019-06-10 Joseph Myers <joseph@codesourcery.com>
3571
3572 * malloc/tst-calloc.c: Include <libc-diag.h>.
3573 (null_test): Ignore -Wunused-result around calls to calloc.
3574 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3575 (do_test): Ignore -Wunused-result around call to malloc.
3576
51ea67d5
FW
35772019-06-07 Florian Weimer <fweimer@redhat.com>
3578
3579 Linux: Add getdents64 system call.
3580 * include/dirnent.h (getdents): Add comment and change buffer
3581 argument type to void *.
3582 (getdents64): Likewise. Add hidden prototype.
3583 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3584 getdents64.
3585 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3586 Add tst-getdents64.
3587 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3588 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3589 argument type to void *.
3590 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3591 Add hidden definition and getdents64 alias.
3592 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3593 Likewise.
3594 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3595 * manual/filesys.texi (Accessing Directories): Add Low-level
3596 Directory Access node reference.
3597 (Opening a Directory): Cross-reference it.
3598 (Low-level Directory Access): New node.
3599 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3600 getdents64.
3601 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3604 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3605 Likewise.
3606 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3611 Likewise.
3612 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3613 Likewise.
3614 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3615 Likewise.
3616 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3617 Likewise.
3618 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3619 (GLIBC_2.30): Likewise.
3620 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3621 (GLIBC_2.30): Likewise.
3622 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3623 (GLIBC_2.30): Likewise.
3624 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3625 (GLIBC_2.30): Likewise.
3626 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3629 (GLIBC_2.30): Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3631 (GLIBC_2.30): Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3633 (GLIBC_2.30): Likewise.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3635 (GLIBC_2.30): Likewise.
3636 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3639 Likewise.
3640 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3641 Likewise.
3642 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3644 Likewise.
3645 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3646 Likewise.
3647 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3648 Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3650 Likewise.
3651
de751ebc
PC
36522019-06-06 Paul A. Clarke <pc@us.ibm.com>
3653
3654 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3655 (__FPU_MFFS): New.
3656 (__FPU_MFFSL): New.
3657 (_FPU_GET_RC): New.
3658 (_FPU_GETCW): Use __FPU_MFFS().
3659 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3660
28dd3939
FW
36612019-06-06 Florian Weimer <fweimer@redhat.com>
3662
3663 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3664 internal GCC preprocessor identifier __has_include__.
3665
0158473d
PC
36662019-06-05 Paul A. Clarke <pc@us.ibm.com>
3667
3668 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3669 with call to equivalent function.
3670
e863dbf6
FW
36712019-06-04 Florian Weimer <fweimer@redhat.com>
3672
3673 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3674 (do_release_shlib): Adjust for __twalk_r.
3675 (__gconv_release_shlib): Call __twalk_r.
3676
4802be92
AS
36772019-06-04 Andreas Schwab <schwab@suse.de>
3678
3679 [BZ #18830]
3680 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3681 no irreversible characters occurred.
3682 * iconv/gconv_simple.c (internal_ucs4_loop)
3683 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3684 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3685 (ucs4_internal_loop_single, internal_ucs4le_loop)
3686 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3687 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3688 (ucs4le_internal_loop_single): Add const to outend.
3689 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3690 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3691 * iconv/Makefile (tests): Add tst-iconv7.
3692 * iconv/tst-iconv7.c: New file.
3693
dc91a19e
JM
36942019-06-03 Joseph Myers <joseph@codesourcery.com>
3695
3696 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3697
6a1a9a49 36982019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
3699
3700 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3701 * sysdeps/unix/sysv/linux/arm/Makefile
3702 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3703 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3704 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3705 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3706 compatibility symbols.
3707
0bb8f8c7
FW
37082019-05-31 Florian Weimer <fweimer@redhat.com>
3709
3710 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3711 system calls for the arm architecture: breakpoint, get_tls,
3712 set_tls, usr26, usr32.
3713
9250e661
GG
37142019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3715
3716 * sysdeps/powerpc/Makefile
3717 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3718 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3719 Declare '.machine power7' to get support for ldbrx.
3720 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3721 directive based on the directory of the file.
3722 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3723 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3724 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3725 '.machine' directive.
3726 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3727 (VADDUQM_V7_V8): Remove.
3728 (__STRCASECMP): Replace macros with actual instructions.
3729 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3730 '.machine' directive.
3731 (VCLZD_V8_v7): Remove.
3732 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3733
fbd6c928
AZ
37342019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3735
3736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3737 Remove file.
3738 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3739
e47308c9
AZ
37402019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3741
3742 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3743 NEARBYINT handling.
3744 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3745 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3750
157cda1f 37512019-05-28 mansayk <6688000@gmail.com>
3752
3753 [BZ #24370]
3754 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3755
182a3746 37562019-05-28 mansayk <6688000@gmail.com>
3757
3758 [BZ #24369]
3759 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3760 (abmon): Likewise, but remove the trailing dots.
3761
c6df1ce3
JM
37622019-05-28 Joseph Myers <joseph@codesourcery.com>
3763
3764 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3765
85188d82
FW
37662019-05-27 Florian Weimer <fweimer@redhat.com>
3767
3768 * nptl/nptl-init.c: Add comment.
3769
5c23c821
FW
37702019-05-24 Florian Weimer <fweimer@redhat.com>
3771
3772 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3773 struct in_addr/struct in6_addr alignment.
3774
bee1f2c4
JM
37752019-05-23 Joseph Myers <joseph@codesourcery.com>
3776
3777 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3778 (F_SEAL_FUTURE_WRITE): New macro.
3779
ab74d59f 37802019-05-23 Alexandra Hájková <ahajkova@redhat.com>
481c30cb
AH
3781
3782 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3783 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3784 * elf/tst-ldconfig_aux-cache.root: New directory.
3785 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3786 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3787 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3788
cb755eed
ZW
37892019-05-22 Zack Weinberg <zackw@panix.com>
3790
3791 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3792 host type.
3793 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3794 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3795
3796 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3799 Delete.
3800
3801 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3802 Issue an #error if used with a compiler in SPE-float mode.
3803 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3804 * sysdeps/powerpc/powerpc32/setjmp_common.S
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3811 Remove code to preserve SPE register state.
3812
3813 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3814 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3815 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3816 Remove __SPE__ ifndefs.
3817
46ae0732
WD
38182019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3819
3820 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3821 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3822 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3823 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3824 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3825 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3826 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3827 (INNER_LOOP_ITERS_MEDIUM): New define.
3828 (INNER_LOOP_ITERS_SMALL): New define.
3829 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3830 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3831 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3832 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3833 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3834
e6855a3b 38352019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
3836
3837 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3838 New define.
3839 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3840 (SEMTIMEDOP_IPC_ARGS): Likewise.
3841
c9c15ac3
FW
38422019-05-21 Florian Weimer <fweimer@redhat.com>
3843
3844 [BZ #24584]
3845 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3846 before updating __counter field and release it afterwards. Add
3847 overflow check.
3848 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3849 requirement for __counter member.
3850
7e740ab2
FW
38512019-05-21 Florian Weimer <fweimer@redhat.com>
3852
3853 [BZ #24583]
3854 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3855 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3856 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3857 instead of __gconv_release_step.
3858 * libio/Makefile (tests): Add tst-wfile-gconv.
3859 (tests-container): Add tst-wfile-ascii.
3860 (tst-wfile-gconv-ENV): Enable mtrace.
3861 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3862 (tests-special): Add tst-wfile-gconv-mem.out.
3863 (tst-wfile-gconv.out): Depend on locales.
3864 (tst-wfile-gconv-mem.out): Add mtrace rule.
3865 * libio/tst-wfile-ascii.c: New file.
3866 * libio/tst-wfile-gconv.c: Likewise.
3867
09e1b0e3
FW
38682019-05-20 Florian Weimer <fweimer@redhat.com>
3869
3870 [BZ #24588]
3871 libio: Remove codecvt vtable.
3872 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3873 __libio_codecvt.
3874 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3875 __libio_codecvt_encoding.
3876 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3877 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3878 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3879 * libio/iofwide.c (__libio_codecvt): Remove variable.
3880 (_IO_fwide): Do not copy __libio_codecvt.
3881 (__libio_codecvt_out): Rename from do_out and export.
3882 (do_unshift): Remove function.
3883 (__libio_codecvt_in): Rename from do_in and export.
3884 (__libio_codecvt_encoding): Rename from do_encoding and export.
3885 (do_always_noconv): Remove function.
3886 (__libio_codecvt_length): Rename from do_length and export.
3887 (do_max_length): Remove function.
3888 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3889 to libioP.h.
3890 (struct _IO_codecvt): Remove fields __codecvt_destr,
3891 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3892 __codecvt_do_encoding, __codecvt_do_always_noconv,
3893 __codecvt_do_length, __codecvt_do_max_length.
3894 * libio/libioP.h (enum __codecvt_result): Define; moved from
3895 libio.h.
3896 (__libio_codecvt_out, __libio_codecvt_in)
3897 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3898 functions.
3899 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3900 (_IO_wfile_underflow): Call __libio_codecvt_in.
3901 (_IO_wfile_underflow): Likewise.
3902 (_IO_wfile_underflow_mmap): Likewise.
3903 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3904 __libio_codecvt_length.
3905 (adjust_wide_data): Call __libio_codecvt_encoding,
3906 __libio_codecvt_in.
3907 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3908 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3909 __libio_codecvt_length.
3910
75c51570
FW
39112019-05-20 Florian Weimer <fweimer@redhat.com>
3912
3913 * support/support.h (support_sbindir_prefix): Declare.
3914 (support_install_rootsbindir): Update comment.
3915 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3916 * support/support_paths.c (support_sbindir_prefix): Define.
3917
ff6bec7d
MC
39182019-05-20 Mike Crowe <mac@mcrowe.com>
3919
b62bb3bc
MC
3920 * support/timespec.c: Add backslash to correct newline in failure
3921 message.
3922
ff6bec7d
MC
3923 * support/timespec.h: Correct confusing comment.
3924
dfba907f
AZ
39252019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3926
236c18e5
AZ
3927 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3928 define.
3929 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3930 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3931 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3932 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3933
dfba907f
AZ
3934 [BZ #24570]
3935 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3936 usage.
3937
13886008
JM
39382019-05-20 Joseph Myers <joseph@codesourcery.com>
3939
3940 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3941 (NT_ARM_PACG_KEYS): Likewise.
3942
1f50f2ad
WD
39432019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3944
3945 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3946 (tcache_put): Remove redundant assert.
3947 (tcache_get): Remove redundant asserts.
3948 (__libc_malloc): Check tcache count is not zero.
3949 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3950
fef7c63c
FW
39512019-05-17 Florian Weimer <fweimer@redhat.com>
3952
3953 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3954
5f161b23
JM
39552019-05-16 Joseph Myers <joseph@codesourcery.com>
3956
3957 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3958 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3959 0x050100].
3960 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3963 (__ASSUME_STATX): Likewise.
3964
ec255a97
FW
39652019-05-16 Florian Weimer <fweimer@redhat.com>
3966
3967 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3968 flags argument.
3969 (LINE_PARSER): Do not map IPv4 addresses.
3970 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3971 to parse_line.
3972 (_nss_nis_gethostent_r): Always pass AF_INET to
3973 internal_nis_gethostent_r.
3974 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3975 to parse_line.
3976 (_nss_nis_gethostbyname2_r): Adjust call to
3977 internal_nis_gethostent_r.
3978 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3979 call to internal_nis_gethostent_r.
3980 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3981 from parse_line.
3982 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3983 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3984 Remove flags argument. Do not map IPv4 addresses.
3985 (internal_nisplus_gethostent_r): Adjust call to
3986 _nss_nisplus_parse_hostent.
3987 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3988 to _nss_nisplus_parse_hostent.
3989 (_nss_nisplus_gethostbyname2_r): Adjust call to
3990 internal_gethostbyname2_r.
3991 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3992 Adjust call to internal_gethostbyname2_r.
3993 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3994 _nss_nisplus_parse_hostent.
3995 (_nss_nisplus_gethostbyname4_r): Adjust call to
3996 internal_gethostbyname2_r.
3997
9c02d078
FW
39982019-05-16 Florian Weimer <fweimer@redhat.com>
3999
4000 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4001 Remove flags.
4002 (LINE_PARSER): Remove address mapping.
4003 (EXTRA_ARGS_VALUE): Remove flags argument.
4004 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4005 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4006 gethostbyname3_multi.
4007 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4008 _nss_files_gethostbyname3_r.
4009 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4010
85b0e1e8
FW
40112019-05-16 Florian Weimer <fweimer@redhat.com>
4012
4013 * support/support_test_compare_blob.c (report_blob): Report
4014 incorrect NULL blobs.
4015
11b451c8
MW
40162019-05-15 Mark Wielaard <mark@klomp.org>
4017
4018 [BZ# 24476]
4019 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4020 __libc_once_get (once) and static_buf == NULL.
4021 (__dlerror): Check we have a valid key, set result to static_buf
4022 otherwise.
4023
32ff3975
AS
40242019-05-15 Andreas Schwab <schwab@suse.de>
4025
4026 [BZ #20568]
4027 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4028 __codecvt_do_length.
4029 * libio/Makefile (tests): Add tst-wfile-sync.
4030 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4031 * libio/tst-wfile-sync.c: New file.
4032 * libio/tst-wfile-sync.input: New file.
4033
a9368c34
FW
40342019-05-15 Florian Weimer <fweimer@redhat.com>
4035
4036 nss: Turn __nss_database_lookup into a compatibility symbol.
4037 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4038 __nss_database_lookup.
4039 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4040 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4041 __nss_database_lookup.
4042 (__nss_next): Move to …
4043 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4044 unconditionally.
4045 (__nss_database_lookup): New function.
4046 * nss/Versions (GLIBC_2.0): Update comment.
4047 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4048 * grp/initgroups.c (internal_getgrouplist): Call
4049 __nss_database_lookup2 instead of __nss_database_lookup.
4050 * nscd/aicache.c (addhstaiX): Likewise.
4051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4052 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4053 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4054 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4055 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4056 Likewise.
4057 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4058 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4060
ab74d59f 40612019-05-15 Alexandra Hájková <ahajkova@redhat.com>
32ff3975 4062
d50f0918
AH
4063 * support/support.h (support_install_rootsbindir): New variable.
4064 * support/support_paths.c: Likewise.
4065 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4066
7ac6fad9
FW
40672019-05-15 Florian Weimer <fweimer@redhat.com>
4068
4069 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4070 * iconv/gconv_int.h (__gconv_transliterate): … here.
4071 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4072 * iconv/skeleton.c: Likewise.
4073
04b261bd
FW
40742019-05-14 Florian Weimer <fweimer@redhat.com>
4075
4076 Linux: Add the tgkill function.
4077 * bits/signal_ext.h: New file.
4078 * manual/signal.texi (Signaling Another Process): Document tgkill.
4079 * signal/Makefile (headers): Add bits/signal_ext.h.
4080 * signal/signal.h: Include <bits/signal_ext.h>.
4081 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4082 (tst-tgkill): Link with libpthread.
4083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4084 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4085 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4086 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4087 tgkill.
4088 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4089 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4090 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4097 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4098 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4099 Likewise.
4100 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4101 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4102 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4104 Likewise.
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4106 Likewise.
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4108 Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4110 Likewise.
4111 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4112 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4113 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4114 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4116 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4117 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4119
6807f47b
CD
41202019-05-14 Carlos O'Donell <carlos@redhat.com>
4121
4122 * manual/search.texi (Tree Search Function): Adjust twalk_r
4123 documentation.
4124
fdb8a0be
AZ
41252019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4126
da2b83ef
AZ
4127 [BZ #24544]
4128 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4129 pre-defined value.
4130
c7ac9caa
AZ
4131 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4132 * support/support.h (support_bindir_prefix): New variable.
4133 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4134
91f043ae
AZ
4135 * config.make.in (bindir): New variable.
4136
c50e1c26
AZ
4137 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4138 (lll_trylock): Call __lll_trylock.
4139 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4140 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4141 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4142 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4143 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4144 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4147 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4148 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4149 lowlevellock-futex.h.
4150
959aff9f
AZ
4151 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4152 initialization for LLL_LOCK_INITIALIZER different than 0.
4153 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4154 Assume LLL_LOCK_INITIALIZER being 0.
4155 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4156 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4157 Likewise.
4158 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4159 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4160
d7e4c642
AZ
4161 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4162 Optimize futex call and add systemtap probe.
4163
fdb8a0be
AZ
4164 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4165 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4166 __libc_disable_asynccancel, __librt_enable_asynccancel,
4167 __libc_disable_asynccancel, __librt_enable_asynccancel,
4168 __librt_disable_asynccancel): Move to ...
4169 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4170 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4171 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4172 * sysdeps/generic/single-thread.h: New file.
4173 * sysdeps/unix/sysdep.h: Include single-thread.h.
4174 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4175 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4176
f6efec90
MF
41772019-05-08 Mike FABIAN <mfabian@redhat.com>
4178
4179 [BZ #24535]
4180 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4181 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4182 Unicode 12.1.0.
4183 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4184 * localedata/unicode-gen/PropList.txt: Likewise.
4185 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4186 * localedata/charmaps/UTF-8: Regenerate.
4187 * localedata/locales/i18n_ctype: Likewise.
4188 * localedata/locales/tr_TR: Likewise.
4189 * localedata/locales/translit_circle: Likewise.
4190 * localedata/locales/translit_cjk_compat: Likewise.
4191 * localedata/locales/translit_combining: Likewise.
4192 * localedata/locales/translit_compat: Likewise.
4193 * localedata/locales/translit_font: Likewise.
4194 * localedata/locales/translit_fraction: Likewise.
4195
5ad533e8
WD
41962019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4197
4198 [BZ #24531]
4199 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4200 (do_set_tcache_count): Only update if count is small enough.
4201 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4202
4aee85f9
FW
42032019-05-10 Florian Weimer <fweimer@redhat.com>
4204
4205 * nptl/sem_close.c (struct walk_closure): Define.
4206 (walker): Adjust for __twalk_r.
4207 (sem_close): Call __twalk_r.
4208
eb669ff5
AZ
42092019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4210
4211 * support/timespec.c (test_timespec_before_impl,
4212 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4213 insted of long int.
4214
51983996
MC
42152019-05-09 Mike Crowe <mac@mcrowe.com>
4216
44ac6ee9
MC
4217 * nptl/tst-abstime.c: Use libsupport.
4218
495514ee
MC
4219 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4220 small bug where only tv.tv_usec was checked which could cause an
4221 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4222 than a second.
4223
4224 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4225 libsupport.
4226
40d0816f
MC
4227 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4228 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4229
d8e0b901
MC
4230 * nptl/tst-cond11.c: Use libsupport.
4231
51983996
MC
4232 * support/timespec.h: New file. Provide timespec helper functions
4233 along with macros in the style of those in check.h.
4234 * support/timespec.c: New file. Implement check functions declared
4235 in support/timespec.h.
4236 * support/timespec-add.c: New file from gnulib containing
4237 timespec_add implementation that handles overflow.
4238 * support/timespec-sub.c: New file from gnulib containing
4239 timespec_sub implementation that handles overflow.
4240 * support/README: Mention timespec.h.
4241
18aa51ee
SN
42422019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4243
4244 [BZ #24537]
4245 * nptl/Makefile: Move tst-eintr1 to xtests.
4246
252296c6
AZ
42472019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4248
ae45cf84
AZ
4249 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4250 TRUNC handling.
4251 (round_mode): Add definition for TRUNC.
4252 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4253 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4254 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4255 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4256 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4257 Likewise.
4258 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4259 Likewise.
4260 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4261 Likewise.
4262 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4263 Likewise.
4264 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4265 file.
4266 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4267 Likewise.
4268 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4269 Likewise.
4270 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4271 Likewise.
4272 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4273 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4274 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4275 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4276 s_truncf-power5+, and s_truncf-ppc64.
4277 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4278 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4279 file.
4280 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4282 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4283 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4284 file.
4285 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4286 Likewise.
4287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4288 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4290 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4291 s_truncf-power5+, and s_truncf-ppc64.
4292 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4293 file.
4294 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4295 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4296 Likewise.
4297 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4298 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4299 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4300 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4301 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4302
a1cb1888
AZ
4303 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4304 ROUND handling.
4305 (round_mode): Add definition for ROUND.
4306 (round_to_integer_float): Likewise.
4307 * sysdeps/powerpc/fpu/s_round.c: New file.
4308 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4309 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4310 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4311 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4312 Likewise.
4313 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4314 Likewise.
4315 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4316 Likewise.
4317 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4318 Likewise.
4319 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4320 file.
4321 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4322 Likewise.
4323 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4324 Likewise.
4325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4326 Likewise.
4327 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4328 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4329 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4330 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4331 s_roundf-power5+, and s_roundf-ppc64.
4332 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4333 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4334 file.
4335 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4337 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4338 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4339 file.
4340 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4341 Likewise.
4342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4343 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4345 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4346 s_roundf-power5+, and s_roundf-ppc64.
4347 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4348 file.
4349 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4350 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4351 Likewise.
4352 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4353 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4354 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4355 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4356 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4357
252296c6
AZ
4358 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4359 Add FLOOR option.
4360 (round_mode): Add definition for FLOOR.
4361 * sysdeps/powerpc/fpu/s_floor.c: New file.
4362 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4363 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4364 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4366 Remove file.
4367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4368 Likewise
4369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4370 Likewise.
4371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4372 Likewise.
4373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4374 New file.
4375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4376 Likewise.
4377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4378 Likewise.
4379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4380 Likewise.
4381 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4382 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4383 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4384 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4385 s_floorf-power5+, and s_floorf-ppc64.
4386 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4387 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4388 file.
4389 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4391 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4392 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4393 file.
4394 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4395 Likewise.
4396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4397 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4399 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4400 s_floorf-power5+, and s_floorf-ppc64.
4401 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4402 file.
4403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4404 file.
4405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4406 Likewise.
4407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4408 Likewise.
4409 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4412 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4413
33647a72
MC
44142019-05-08 Mike Crowe <mac@mcrowe.com>
4415
4416 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4417 clock_gettime wrapper for use in tests that fails the test rather
4418 than returning failure.
4419
4420 * support/xtime.h: New file to declare xclock_gettime.
4421
4422 * support/Makefile: Add xclock_gettime.c.
4423
4424 * support/README: Mention xtime.h.
4425
b2f601ba
FW
44262019-05-08 Florian Weimer <fweimer@redhat.com>
4427
4428 malloc/tst-mallocfork2: Use process-shared barriers.
4429 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4430 (signal_count, sigusr1_sender_pid): Remove.
4431 (iterations): Define constant.
4432 (shared): New variable.
4433 (sigusr1_received): Update comment.
4434 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4435 (signal_sender): Optional use barriers to avoid sending signals
4436 during irrelevant times.
4437 (do_it): Initialize variable shared. Use xfork for error
4438 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4439 the iteration count, independent of signal delivery. Check for
4440 deadlocks in fork. Introduce barriers for reducing signal
4441 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4442 replaced by the barriers. Count signals during fork/free/malloc
4443 and report them.
4444 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4445
c4a392cf
JM
44462019-05-07 Joseph Myers <joseph@codesourcery.com>
4447
7621676f
JM
4448 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4449 version to 5.1.
4450 (clock_adjtime64) New syscall.
4451 (clock_getres_time64) Likewise.
4452 (clock_gettime64) Likewise.
4453 (clock_nanosleep_time64) Likewise.
4454 (clock_settime64) Likewise.
4455 (futex_time64) Likewise.
4456 (io_pgetevents_time64) Likewise.
4457 (io_uring_enter) Likewise.
4458 (io_uring_register) Likewise.
4459 (io_uring_setup) Likewise.
4460 (mq_timedreceive_time64) Likewise.
4461 (mq_timedsend_time64) Likewise.
4462 (pidfd_send_signal) Likewise.
4463 (ppoll_time64) Likewise.
4464 (pselect6_time64) Likewise.
4465 (recvmmsg_time64) Likewise.
4466 (rt_sigtimedwait_time64) Likewise.
4467 (sched_rr_get_interval_time64) Likewise.
4468 (semtimedop_time64) Likewise.
4469 (timer_gettime64) Likewise.
4470 (timer_settime64) Likewise.
4471 (timerfd_gettime64) Likewise.
4472 (timerfd_settime64) Likewise.
4473 (utimensat_time64) Likewise.
4474
c4a392cf
JM
4475 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4476 version to 9 branch.
4477
32e902a9
AY
44782019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4479
4480 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4481 __memmove_thunderx2 to the list of implementations
4482 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4483 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4484 (__memmove_thunderx2): Rewritten using SIMD ld/st
4485 (__memcpy_thunderx2): Fixed handling overlapping cases.
4486 Used ldp/stp instead of ldr/str if possible. Made loops
4487 tails branchless.
4488
ac3da35d
FW
44892019-05-03 Florian Weimer <fweimer@redhat.com>
4490
4491 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4492
b2af6fb2
AZ
44932019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4494
7dfde28a 4495 [BZ #24506]
b2af6fb2
AZ
4496 * elf/tst-pldd.c (in_str_list): New function.
4497 (do_test): Add default names for ld and libc as one option.
4498
7b807a35
FW
44992019-05-02 Florian Weimer <fweimer@redhat.com>
4500
4501 misc: Add twalk_r function.
4502 * include/search.h (__twalk_r): Declare.
4503 * manual/examples/twalk.c: New file.
4504 * manual/search.texi (Tree Search Function): Document twalk_r.
4505 * misc/Versions (2.30): Export twalk_r.
4506 (GLIBC_PRIVATE): Export __twalk_r.
4507 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4508 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4509 (twalk_r): Add weak alias.
4510 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4511 (walk_trace): New variable.
4512 (struct twalk_with_twalk_r_closure): Define.
4513 (twalk_with_twalk_r_action): New function.
4514 (twalk_with_twalk_r): Likewise.
4515 (walk_action): Call walk_trace_add.
4516 (walk_tree_with): Rename from walk_tree. Add walk argument.
4517 (walk_tree): New function.
4518 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4519 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4520 Likewise.
4521 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4522 Likewise.
4523 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4524 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4525 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4526 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4527 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4528 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4529 Likewise.
4530 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4531 Likewise.
4532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4533 Likewise.
4534 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4535 (GLIBC_2.30): Likewise.
4536 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4537 (GLIBC_2.30): Likewise.
4538 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4539 (GLIBC_2.30): Likewise.
4540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4541 (GLIBC_2.30): Likewise.
4542 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4543 Likewise.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4545 (GLIBC_2.30): Likewise.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4547 (GLIBC_2.30): Likewise.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4549 (GLIBC_2.30): Likewise.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4551 (GLIBC_2.30): Likewise.
4552 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4553 Likewise.
4554 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4555 Likewise.
4556 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4557 Likewise.
4558 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4560 Likewise.
4561 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4562 Likewise.
4563 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4564 Likewise.
4565 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4566 Likewise.
4567
20aa5819
PE
45682019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4569
4570 Make mktime etc. compatible with __time64_t
4571 Keep these functions compatible with Gnulib while adding
4572 __time64_t support. The basic idea is to move private API
4573 declarations from include/time.h to time/mktime-internal.h, since
4574 the former file cannot easily be shared with Gnulib whereas the
4575 latter can.
4576 Also, do some other minor cleanup while in the neighborhood.
4577 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4578 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4579 since Gnulib needs it.
4580 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4581 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4582 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4583 (in_time_t_range): New static function.
4584 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4585 so that glibc users are not tempted to use __time64_t.
4586 * time/mktime-internal.h: Rewrite so that it does both glibc
4587 and Gnulib work. Include time.h if not _LIBC.
4588 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4589 (__time64_t): New type or macro, moved here from
4590 posix/bits/types.h.
4591 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4592 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4593 from include/time.h.
4594 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4595 New macros, taken from GNulib.
4596 (__mktime_internal): New prototype, moved here from include/time.h.
4597 * time/mktime.c (mktime_min, mktime_max, convert_time)
4598 (ranged_convert, __mktime_internal, __mktime64):
4599 * time/timegm.c (__timegm64):
4600 Use __time64_t, not time_t.
4601 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4602 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4603 Rename from mktime.
4604 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4605 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4606 for libc_hidden_def.
4607 Include errno.h.
4608 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4609 Rename from timegm.
4610 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4611
87c266d7
MR
46122019-04-30 Maciej W. Rozycki <macro@wdc.com>
4613
4614 [BZ #19444]
4615 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4616 from `-Wmaybe-uninitialized'.
4617 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4618
c4c0848b
AZ
46192019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4620
6cac323c
AZ
4621 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4622 function.
4623 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4624 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4625 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4626 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4627 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4629 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4631 Remove file.
4632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4633 Likewise.
4634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4635 Likewise.
4636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4637 Likewise.
4638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4639 New file.
4640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4641 Likewise.
4642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4643 Likewise.
4644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4645 Likewise.
4646 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4648 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4649 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4650 Likewise.
4651 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4652 Likewise.
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4654 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4655 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4656 file.
4657 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4658 Likewise.
4659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4661 * here.
4662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4663 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4664 s_ceilf-power5+, and s_ceilf-ppc64.
4665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4666 file.
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4670 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4674
c4c0848b
AZ
4675 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4676 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4677 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4678
f492fc99
YD
46792019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4680
4681 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4682 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4683 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4684 (sem_getvalue): Likewise.
4685
c57afec0
FW
46862019-04-26 Florian Weimer <fweimer@redhat.com>
4687
4688 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4689 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4690
a8ff215e
FW
46912019-04-26 Florian Weimer <fweimer@redhat.com>
4692
4693 Makeconfig: Move -Wl,-rpath-link options before library references.
4694 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4695 (link-libc): Remove $(link-libc-rpath-link).
4696
46972019-04-25 Florian Weimer <fweimer@redhat.com>
4698
4699 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4700 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4701 (+link-static-before-libc): Remove $(CC).
4702 (+link-static, +link-static-tests): Add $(CC).
4703 (+link-before-libc): Remove $(CC).
4704 (+link, +link-pie, +link-pie-printers): Add $(CC).
4705
e30fb31c
FW
47062019-04-26 Florian Weimer <fweimer@redhat.com>
4707
4708 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4709 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4710 (+link-static-before-libc): Remove $(CC).
4711 (+link-static, +link-static-tests): Add $(CC).
4712 (+link-before-libc): Remove $(CC).
4713 (+link, +link-pie, +link-pie-printers): Add $(CC).
4714
deacca00
DA
47152019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4716
4717 [BZ#24484]
4718 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4719
b5ffdc48
FW
47202019-04-25 Florian Weimer <fweimer@redhat.com>
4721
4722 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4723 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4724 (bench-link-targets): New variable.
4725 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4726
94a4e9e4
FW
47272019-04-25 Florian Weimer <fweimer@redhat.com>
4728
4729 Also enable BIND_NOW for programs if --enable-bind-now.
4730 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4731 (+link-pie): Use $(link-extra-flags).
4732 (+link-static): Likewise.
4733 [! $(build-pie-default)] (+link): Likewise.
4734 * manual/install.texi (Configuring and compiling): Update
4735 --enable-bind-now description.
4736 * INSTALL: Regenerated.
4737
fe92a91f
WD
47382019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4739
4740 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4741 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4742
f9b645b4
MF
47432019-04-24 Mike Frysinger <vapier@gentoo.org>
4744
4745 [BZ #18465]
4746 * malloc/Makefile (others): Add memusagestat.
4747 ($(objpfx)memusagestat): Delete rule.
4748 (LDLIBS-memusagestat): New variable.
4749
439bf534
FW
47502019-04-24 Florian Weimer <fweimer@redhat.com>
4751
4752 * locale/Makefile (tests-special): Guard setting by
4753 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4754 to run while cross-compiling.
4755
1a4c2735
AZ
47562019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4757
4758 [BZ #18035]
4759 * elf/Makefile (tests-container): Add tst-pldd.
4760 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4761 (E(find_maps)): Avoid use alloca, use default read file operations
4762 instead of explicit LFS names, and fix infinite loop.
4763 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4764 (get_process_info): Use _Static_assert instead of assert, use default
4765 directory operations instead of explicit LFS names, and free some
4766 leadek pointers.
4767 * elf/tst-pldd.c: New file.
4768
2d398aa2
L
47692019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4770
4771 * malloc/arena.c (do_set_mallopt_check): Removed.
4772
e485b2b6
FW
47732019-04-23 Florian Weimer <fweimer@redhat.com>
4774
4775 locale: Add LOCPATH diagnostics to the locale program.
4776 * locale/programs/locale.c (setlocale_failed): New variable.
4777 (try_setlocale): New function.
4778 (quote_string): Likewise.
4779 (setlocale_diagnostics): Likewise.
4780 (main): Call try_setlocale instead of setlocale. Call
4781 setlocale_diagnostics.
4782 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4783 (tst-locale-locpath.out): New target.
4784 * locale/tst-locale-locpath.sh: New file.
4785
25f7a3c9
AZ
47862019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4787
4788 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4789 to 2.30 notes.
4790
9bf8e29c
AZ
47912019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792
4793 [BZ #23741]
4794 * malloc/hooks.c (malloc_check, realloc_check): Use
4795 __builtin_add_overflow on overflow check and adapt to
4796 checked_request2size change.
4797 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4798 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4799 allocation size to PTRDIFF_MAX.
4800 (REQUEST_OUT_OF_RANGE): Remove macro.
4801 (checked_request2size): Change to inline function and limit maximum
4802 requested size to PTRDIFF_MAX.
4803 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4804 maximum allocation size to PTRDIFF_MAX.
4805 (_mid_memalign): Use _int_memalign call for overflow check.
4806 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4807 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4808 limit maximum requested size to PTRDIFF_MAX.
4809 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4810 valloc, pvalloc): Add __attribute_alloc_size__.
4811 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4812 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4813 larger than PTRDIFF_MAX.
4814 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4815 around tests of malloc with negative sizes.
4816 * malloc/tst-posix_memalign.c (do_test): Likewise.
4817 * malloc/tst-pvalloc.c (do_test): Likewise.
4818 * malloc/tst-valloc.c (do_test): Likewise.
4819 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4820 with resulting size allocation larger than PTRDIFF_MAX with
4821 reallocarray_nowarn.
4822 (reallocarray_nowarn): New function.
4823 * NEWS: Mention the malloc function semantic change.
4824
0e169691
AZ
48252019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4826
52faba65
AZ
4827 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4828 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4829
3a16dd78
AZ
4830 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4831 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4832 * sysdeps/powerpc/fpu/s_fma.c: New file.
4833 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4834
1dac8bd6
AZ
4835 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4836 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4837
a3ae315a
AZ
4838 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4839 the magic flag store.
4840 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4841 Likewise.
4842 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4843 Likewise.
4844 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4845 Remove rt_sigreturn call.
4846
ffe8a9a8
AZ
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4848 Remove rt_sigreturn call.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4850 Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4853
0e169691
AZ
4854 * support/Makefile (libsupport-routines): Add support_subprocess,
4855 xposix_spawn, xposix_spawn_file_actions_addclose, and
4856 xposix_spawn_file_actions_adddup2.
4857 (tst-support_capture_subprocess-ARGS): New rule.
4858 * support/capture_subprocess.h (support_capture_subprogram): New
4859 prototype.
4860 * support/support_capture_subprocess.c (support_capture_subprocess):
4861 Refactor to use support_subprocess and support_capture_poll.
4862 (support_capture_subprogram): New function.
4863 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4864 str_to_write_mode, test_common, parse_int, handle_restart,
4865 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4866 (do_test): Add support_capture_subprogram tests.
4867 * support/subprocess.h: New file.
4868 * support/support_subprocess.c: Likewise.
4869 * support/xposix_spawn.c: Likewise.
4870 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4871 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4872 * support/xspawn.h: Likewise.
4873
bae8cf0e
MG
48742019-04-17 Mike Gerow <gerow@google.com>
4875
4876 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4877 groups limit.
4878
e3f454ba
FW
48792019-04-11 Florian Weimer <fweimer@redhat.com>
4880
4881 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4882 domain with empty string.
4883 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4884
32d85c11
FW
48852019-04-11 Florian Weimer <fweimer@redhat.com>
4886
4887 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4888 comment.
4889 (alloc_buffer_next): Change return type to non-const. Update
4890 comment.
4891
221710af
FW
48922019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4893
4894 * manual/time.texi (Formatting Calendar Time): Add missing percent
4895 sign to conversion specifier.
4896
e621246e
CD
48972019-04-09 Carlos O'Donell <carlos@redhat.com>
4898 Kwok Cheung Yeung <kcy@codesourcery.com>
4899
4900 [BZ #16573]
4901 * malloc/mtrace.c: Define prototypes for all hooks.
4902 (set_default_hooks): New function.
4903 (set_trace_hooks): Likewise.
4904 (save_default_hooks): Likewise.
4905 (tr_freehook): Use new s*_hooks functions.
4906 (tr_mallochook): Likewise.
4907 (tr_reallochook): Likewise.
4908 (tr_memalignhook): Likewise.
4909 (mtrace): Likewise.
4910 (muntrace): Likewise.
4911
648279f4
WD
49122019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4913
4914 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4915 (generic_stpcpy): New function.
4916 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4917 (generic_stpncpy): New function.
4918 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4919 (generic_strcat): New function.
4920 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4921 (generic_strcpy): New function.
4922 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4923 (STUPID_STRNCAT): Remove function.
4924 (generic_strncat): New function.
4925 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4926 (STUPID_STRNCPY): Remove function.
4927 (generic_strncpy): New function.
4928 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4929 (generic_strnlen): New function.
4930 (memchr_strnlen): New function.
4931 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4932 (memchr_strlen): Likewise.
4933
93eebae5
WD
49342019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4935
4936 * benchtests/bench-strstr.c (input): Add realistic input text.
4937 (stupid_strstr): Remove function.
4938 (basic_strstr): Add function.
4939 (twoway_strstr): Add function.
4940 (do_one_test): Add result checking.
4941 (do_test): Use new input text. Remove accidental early matches.
4942 (test_main): Improve range of tests, reduce unaligned cases.
4943
a173d09f
WD
49442019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4945
4946 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4947 (basic_memmem): Add function.
4948 (twoway_memmem): Add function.
4949
6103c0a8
WD
49502019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4951
4952 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4953 * benchtests/bench-malloc-thread.c: Likewise.
4954 * benchtests/bench-skeleton.c: Likewise.
4955 * benchtests/bench-strtod.c: Likewise.
4956 * benchtests/bench-timing.h: Likewise.
4957
33322186
FW
49582019-04-08 Florian Weimer <fweimer@redhat.com>
4959
4960 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4961 definitions.
4962 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4963 RES_INSECURE2 security checks.
4964 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4965 RES_INSECURE2 handling.
4966
3f8b44be
FW
49672019-04-08 Florian Weimer <fweimer@redhat.com>
4968
4969 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4970 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4971 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4972 GETHOSTBYNAME.
4973 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4974 (tests-internal): Update justification for tst-resolv-res_init,
4975 tst-resolv-res_init-thread.
4976 (tst-res_use_inet6): Remove target.
4977 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4978 * resolv/res_debug.c (p_option): Remove "inet6" support.
4979 * resolv/res_init.c (res_setoptions): Likewise.
4980 * resolv/res_use_inet6.h: Remove file.
4981 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4982 definition.
4983 (res_use_inet6): Always return false.
4984 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4985 * resolv/resolv_context.h: Adjust file comment.
4986 (struct resolv_context): Update comment on __next field.
4987 (__resolv_context_put): Update comment.
4988 * resolv/tst-res_use_inet6.c: Remove file.
4989 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4990 "inet6" support.
4991 (test_cases): Adjust test case.
4992 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4993 (thread_byname2_af_inet6): Use old byname_inet6 code.
4994 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4995 (gai): Remove do_inet6 argument.
4996 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4997 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4998 (thread_gai_unspec_inet6): Remove functions.
4999 (do_test): Adjust thread_funcs.
5000 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5001 RES_USE_INET6 flag.
5002 (gaih_inet): Do not disable RES_USE_INET6 flag.
5003
6b5c8607 50042019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
5005
5006 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5007 and remove redundant code.
5008
e3fd0b0e
AZ
50092019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5010
f82ed45d
AZ
5011 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5012 New rule.
5013 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5015 Likewise.
5016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5017 Likewise.
5018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5019 Likewise.
5020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5022 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5023 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5027 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5028 wcsrchr-power7.
5029 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5032 Remove wcsrchr optimizations.
5033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5034
662c2cc4
AZ
5035 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5036 the loop unroll.
5037
421e3005
AZ
5038 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5039 New rule.
5040 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5042 Likewise.
5043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5044 Likewise.
5045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5046 Likewise.
5047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5049 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5050 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5051 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5052 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5054 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5055 wcschr-power7.
5056 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5059 Remove wcschr optimizations.
5060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5061
7ba0100c
AZ
5062 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5063 the loop unroll.
5064
447a1306
AZ
5065 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5066 New rule.
5067 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5069 Likewise.
5070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5071 Likewise.
5072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5073 Likewise.
5074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5075 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5079 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5081 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5082 wcscpy-power7.
5083 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5086 Remove wcscpy optimizations.
5087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5088
e3fd0b0e
AZ
5089 * include/loop_unroll.h: New file.
5090 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5091 besides generic implementation.
5092
8260f236
DD
50932019-04-03 DJ Delorie <dj@redhat.com>
5094
5095 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5096 snprintf truncating output.
5097
0bd545ee
DD
50982019-04-02 DJ Delorie <dj@redhat.com>
5099
5100 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5101 warning.
5102
466afec3
TS
51032019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5104
5105 [BZ #22964]
5106 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5107 era.
5108 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5109 (mkreftable): Add rules for the new Japanese era and the new dates.
5110
2f1d6155 51112019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
ab74d59f 5112 Rafał Lużyński <digitalfreak@lingonborough.com>
2f1d6155
TS
5113
5114 * time/tst-strftime2.c (date_t): Explicitly define the type.
5115 (dates): Use natural month and year numbers to express a date.
5116 (is_before): New function to compare dates.
5117 (mkreftable): Minor improvements to simplify maintenance.
5118 (do_test): Reflect the changes in dates array.
5119
84aea169
TS
5120 [BZ #24293]
5121 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5122 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5123 * time/tst-strftime2.c (locales): Likewise.
5124 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5125 2010-04-01, and 2011-04-01.
5126 (mkreftable): Add rules for the new locales and the new dates.
5127
62449176
CD
51282019-04-01 Carlos O'Donell <carlos@redhat.com>
5129
5130 * localedata/locales/ja_JP: Add comments to era entries.
5131
e0e4c321
DD
51322019-04-01 DJ Delorie <dj@redhat.com>
5133
5134 [BZ #24394]
5135 * time/strptime_l.c (%Ey): Fix fencepost error.
5136 * time/tst-strftime3.c: New.
5137 * time/Makefile (tests): Add tst-strftime3.
5138
ab74d59f 51392019-04-01 Uroš Bizjak <ubizjak@gmail.com>
993e3107
UB
5140
5141 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5142 conditional branch to DIVBYZERO. Fix unwind info.
5143 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5144 excb after conditional branch to $powerof2. Add missing unop
5145 instructions and .align directives and reorder instructions to
5146 match __divqu.
5147
d5ecee82
RH
51482019-04-01 Richard Henderson <rth@twiddle.net>
5149
5150 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5151 Do not redefine.
5152 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5153 Do not redefine.
5154
656dd306
MR
51552019-03-30 Maciej W. Rozycki <macro@wdc.com>
5156
5157 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5158 $libc_cv_riscv_float_abi in `test' invocation.
5159 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5160
10cce669
PC
51612019-03-29 Paul A. Clarke <pc@us.ibm.com>
5162
5163 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5164 asm with builtin.
5165 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5166 Likewise.
5167 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5168 (_GET_SI_FPSCR): Likewise.
5169 (_SET_SI_FPSCR): Likewise.
5170
5e67e4bf 51712019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
5172
5173 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5174 clang 2.8.
5175 (signbit): Use builtin for clang 3.3.
5176 (isinf): Use builtin for clang 3.7.
5177
01963891
AZ
51782019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5179
5180 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5181
67112f7a
AH
51822019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5183
5184 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5185 quote in printf.
5186
7a773abf
MC
51872019-03-25 Mike Crowe <mac@mcrowe.com>
5188
82849fde
MC
5189 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5190 pthread_rwlock_timedrdlock with calls to
5191 pthread_rwlock_timedwrlock to ensure that the latter is tested
5192 too. Use new function name in diagnostic messages too.
5193
7a773abf
MC
5194 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5195 (do_test) Use libsupport test macros rather than hand-coded
5196 conditionals and error messages. Ensure that sem_init returns zero
5197 rather than not -1. Use <support/test-driver.c> rather than
5198 test-skeleton.c.
5199
5200 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5201 test macros rather than hand-coded conditionals and error messages.
5202 Use <support/test-driver.c> rather than test-skeleton.c.
5203
9ac2de69
JM
52042019-03-25 Joseph Myers <joseph@codesourcery.com>
5205
d7563e62
JM
5206 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5207
9ac2de69
JM
5208 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5209 (NT_MIPS_MSA): Likewise.
5210
38cc11da
AZ
52112019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5212
7621e38b
WD
5213 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5214 * benchtests/README: Update description.
5215 * benchtests/bench-timing.h: Default to hp-timing.
5216 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5217 HP_TIMING_PRINT): Remove.
5218 (HP_TIMING_NOW): Add generic implementation.
5219 (hp_timing_t): Change to uint64_t.
5220
1e372ded
AZ
5221 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5222 HP_TIMING_INLINE.
5223 * nptl/descr.h: Likewise.
5224 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5225 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5226 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5227 Abstract hp-timing usage with RTLD_* macros.
5228 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5229 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5230 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5231 HP_TIMING_NONAVAIL): Likewise.
5232 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5233 Likewise.
5234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5235 HP_SMALL_TIMING_AVAIL): Likewise.
5236 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5237 HP_SMALL_TIMING_AVAIL): Likewise.
5238 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5239 HP_SMALL_TIMING_AVAIL): Likewise.
5240 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5241 HP_SMALL_TIMING_AVAIL): Likewise.
5242 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5243 Likewise.
5244 * sysdeps/generic/hp-timing-common.h: Update comment with
5245 HP_TIMING_AVAIL removal.
5246
359653aa
AZ
5247 * include/random-bits.h: New file.
5248 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5249 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5250 random_bits.
5251 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5252 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5253 Likewise.
5254
6e8ba7fd
AZ
5255 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5256 * rt/Makefile (clock-routines): Remove get_clockfreq.
5257 * rt/get_clockfreq.c: Remove file.
5258 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5259 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5262 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5263
77b6f553
AZ
5264 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5265 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5266 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5267 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5268 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5269
38cc11da
AZ
5270 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5271 pthread_clock_settime.
5272 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5273 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5274 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5275 * elf/rtld.c (_dl_start_final): Likewise.
5276 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5277 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5278 Remove.
5279 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5280 (_dl_cpuclock_offset): Remove.
5281 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5282 cpuclock_offset_ununsed.
5283 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5284 cpuclock_offset set.
5285 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5286 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5287 * nptl/pthread_clock_gettime.c: Remove file.
5288 * nptl/pthread_clock_settime.c: Likewise.
5289 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5290 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5291 and CLOCK_PROCESS_CPUTIME_ID support.
5292 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5293 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5294 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5295 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5296 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5297 Likewise.
5298 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5299
421749d6
SL
53002019-03-22 Stefan Liebler <stli@linux.ibm.com>
5301
5302 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5303 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5304 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5305 New defines.
5306 * sysdeps/s390/memmem-arch13.S: New file.
5307 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5308 if it is only used as fallback.
5309 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5310 * sysdeps/s390/multiarch/ifunc-impl-list.c
5311 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5312
6f47401b
SL
53132019-03-22 Stefan Liebler <stli@linux.ibm.com>
5314
5315 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5316 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5317 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5318 New defines.
5319 * sysdeps/s390/multiarch/ifunc-impl-list.c
5320 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5321 * sysdeps/s390/strstr-arch13.S: New file.
5322 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5323 if it is only used as fallback.
5324 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5325
96fbb9a3
SL
53262019-03-22 Stefan Liebler <stli@linux.ibm.com>
5327
5328 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5329 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5330 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5331 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5332 ifunc selector.
5333 * sysdeps/s390/multiarch/ifunc-impl-list.c
5334 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5335 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5336 S390_IS_ARCH13_MIE3): New defines.
5337
a899a551
SL
53382019-03-22 Stefan Liebler <stli@linux.ibm.com>
5339
5340 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5341 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5342 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5343 * sysdeps/s390/configure: Regenerated.
5344
1a7df49c
SL
53452019-03-22 Stefan Liebler <stli@linux.ibm.com>
5346
5347 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5348 Add vxe2, vxp, dflt, sort flags.
5349 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5350 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5351 capabilities.
5352 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5353 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5354 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5355 HWCAP_S390_DFLT): Define.
5356
5e67e4bf 53572019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
5358
5359 [BZ #24372]
5360 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5361 of compiler warning.
5362 * locale/programs/ld-collate.c (collate_output): Likewise.
5363
ac64195c
DD
53642019-03-21 DJ Delorie <dj@redhat.com>
5365
5366 [BZ #24372]
5367 * iconv/iconvconfig.c (write_output): Replace floating point math
5368 with integer math to avoid imprecise results.
5369 * locale/programs/ld-collate.c (collate_output): Likewise.
5370
61f5e947
SL
53712019-03-21 Stefan Liebler <stli@linux.ibm.com>
5372
5373 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5374 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5375
57ada43c 53762019-03-20 mansayk <6688000@gmail.com>
5377
5378 [BZ #24296]
5379 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5380 (abday): Likewise, but remove the trailing dots.
5381
a2e57f89
JM
53822019-03-19 Joseph Myers <joseph@codesourcery.com>
5383
5384 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5385 macro.
5386 (HWCAP_PACA): Likewise.
5387 (HWCAP_PACG): Likewise.
5388 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5389 Increase to 32.
5390 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5391
e87d8ada
ST
53922019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5393
5394 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5395 should be handled.
5396
477e739b
JM
53972019-03-15 Joseph Myers <joseph@codesourcery.com>
5398
5399 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5400 version to 5.0.
5401 (old_getpagesize): New syscall.
5402
238d60a1
FY
54032019-03-15 Felix Yan <felixonmars@archlinux.org>
5404
5405 [BZ #24293]
5406 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5407 * localedata/locales/cmn_TW (era): Likewise.
5408 * localedata/locales/hak_TW (era): Likewise.
5409 * localedata/locales/lzh_TW (era): Likewise.
5410 * localedata/locales/nan_TW (era): Likewise.
5411
5dde9ef7
DD
54122019-03-14 Adam Maris <amaris@redhat.com>
5413
5414 * malloc/malloc.c (_int_malloc): Check for large bin list
5415 corruption when inserting unsorted chunk.
5416
a0a0dc83
FW
54172019-03-14 Florian Weimer <fweimer@redhat.com>
5418
5419 Remove obsolete, never-implemented XSI STREAMS declarations.
5420 * manual/terminal.texi (Allocation): Remove portability note and
5421 adjust example.
5422 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5423 _SC_STREAMS.
5424 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5425 * sysdeps/unix/inet/Subdirs (streams): Remove.
5426 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5427 (conformtest-headers-UNIX98): Likewise.
5428 (conformtest-headers-XOPEN2K): Likewise.
5429 (conformtest-headers-POSIX2008): Likewise.
5430 * posix/compat-streams.c: New file.
5431 * posix/Makefile (routines): Add it.
5432 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5433 getpmsg, isastream, putmsg, putpmsg.
5434 (GLIBC_2.30): New section.
5435 * bits/stropts.h: Remove file.
5436 * bits/xtitypes.h: Likewise.
5437 * conform/data/stropts.h-data: Likewise.
5438 * include/stropts.h: Likewise.
5439 * include/sys/stropts.h: Likewise.
5440 * include/xtitypes.h: Likewise.
5441 * streams/Makefile: Likewise.
5442 * streams/fattach.c: Likewise.
5443 * streams/fdetach.c: Likewise.
5444 * streams/getmsg.c: Likewise.
5445 * streams/getpmsg.c: Likewise.
5446 * streams/isastream.c: Likewise.
5447 * streams/putmsg.c: Likewise.
5448 * streams/putpmsg.c: Likewise.
5449 * streams/stropts.h: Likewise.
5450 * streams/sys/stropts.h: Likewise.
5451 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5452 * sysdeps/s390/bits/xtitypes.h: Likewise.
5453 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5454 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5455 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5456 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5457 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5458 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5459 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5460 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5461 * sysdeps/x86/bits/xtitypes.h: Likewise.
5462
081bdf94
FW
54632019-03-14 Florian Weimer <fweimer@redhat.com>
5464
5465 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5466 libnss_files.
5467 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5468 but not with libnss_files.
5469 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5470
97f8225d
ZW
54712019-03-14 Zack Weinberg <zackw@panix.com>
5472
5473 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5474 Specify encoding="utf-8" when opening headers to check.
5475
0c1041ee
JM
54762019-03-13 Joseph Myers <joseph@codesourcery.com>
5477
5478 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5479 version to 5.0.
5480 (Context.checkout_tar): Handle variable major version for Linux
5481 kernel.
5482
043440e7
FW
54832019-03-13 Florian Weimer <fweimer@redhat.com>
5484
5485 [BZ #24047]
5486 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5487
29218b26
ZW
54882019-03-13 Zack Weinberg <zackw@panix.com>
5489
5490 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5491 Move to stdlib.
5492 * include/inttypes.h: Adjust to match.
5493 * include/stdint.h: New wrapper.
5494
711a322a
ZW
54952019-03-13 Zack Weinberg <zackw@panix.com>
5496
5497 * scripts/check-obsolete-constructs.py: New test script.
5498 * scripts/check-installed-headers.sh: Remove tests for
5499 obsolete typedefs, superseded by check-obsolete-constructs.py.
5500 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5501 as a special test. Update commentary.
5502 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5503 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5504 Update commentary.
5505 * posix/sys/types.h (__u_intN_t): Remove.
5506 (u_int8_t): Typedef using __uint8_t.
5507 (u_int16_t): Typedef using __uint16_t.
5508 (u_int32_t): Typedef using __uint32_t.
5509 (u_int64_t): Typedef using __uint64_t.
5510
7c651308
SL
55112019-03-13 Stefan Liebler <stli@linux.ibm.com>
5512
5513 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5514 call _dl_procinfo.
5515 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5516 Ignore types other than AT_HWCAP.
5517 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5518 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5519 Likewise.
5520 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5521 in the case of falling back to generic output mechanism.
5522 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5523 Likewise.
5524
38b52865
FW
55252019-03-12 Florian Weimer <fweimer@redhat.com>
5526
5527 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5528
08504de7
FW
55292019-03-12 Florian Weimer <fweimer@redhat.com>
5530
5531 [BZ #24047]
5532 resolv: Enable full ICMP errors for UDP DNS sockets
5533 * resolv/res_enable_icmp.c: New file.
5534 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5535 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5536 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5537 socket.
5538
5fbcd763
MH
55392019-03-11 Mao Han <han_mao@c-sky.com>
5540
5541 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5542 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5543
c4e5f34b
MH
55442019-03-11 Mao Han <han_mao@c-sky.com>
5545
5546 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5547 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5548 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5549
827e30f3
MH
55502019-03-11 Mao Han <han_mao@c-sky.com>
5551
5552 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5553 directly.
5554 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5555 definition.
5556
6229c9bf
MH
55572019-03-11 Mao Han <han_mao@c-sky.com>
5558
5559 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5560 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5561 in mcontext_t
5562
86bdd49d
MF
55632019-03-08 Mike FABIAN <mfabian@redhat.com>
5564
5565 [BZ #24307]
5566 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5567 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5568 Unicode 12.0.0.
5569 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5570 * localedata/unicode-gen/PropList.txt: Likewise.
5571 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5572 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5573 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5574 * localedata/charmaps/UTF-8: Regenerate.
5575 * localedata/locales/i18n_ctype: Likewise.
5576 * localedata/locales/tr_TR: Likewise.
5577 * localedata/locales/translit_circle: Likewise.
5578 * localedata/locales/translit_cjk_compat: Likewise.
5579 * localedata/locales/translit_combining: Likewise.
5580 * localedata/locales/translit_compat: Likewise.
5581 * localedata/locales/translit_font: Likewise.
5582 * localedata/locales/translit_fraction: Likewise.
5583
c5f65462
JM
55842019-03-07 Joseph Myers <joseph@codesourcery.com>
5585
5586 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5587 than after operators.
5588 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5589 (setitimer_locked): Likewise.
5590 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5591 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5592 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5593 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5594 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5595 (PPC_CPU_SUPPORTED): Likewise.
5596 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5597 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5598 (stat_overflow): Likewise.
5599 (statfs_overflow): Likewise.
5600 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5601 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5602 (eq_ttyname_r): Likewise.
5603 (run_chroot_tests): Likewise.
5604
27a2f2f3
FW
56052019-03-07 Florian Weimer <fweimer@redhat.com>
5606
5607 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5608 header check.
5609
ae514971 56102019-03-07 Martin Liska <mliska@suse.cz>
5611
5612 * math/Makefile: Change location where math-vector-fortran.h is
5613 installed.
5614 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5615 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5616 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5617 * scripts/check-installed-headers.sh: Skip Fortran header files.
5618 * scripts/check-wrapper-headers.py: Likewise.
5619
0ddb7ea8
AZ
56202019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5621
5622 * nptl/nptl-init.c (__have_futex_clock_realtime,
5623 __have_futex_clock_realtime): Remove definition.
5624 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5625 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5626 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5627 __ASSUME_FUTEX_CLOCK_REALTIME support.
5628 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5630 * sysdeps/unix/sysv/linux/kernel-features.h
5631 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5632 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5633 Adjust comment.
5634
590675c0
GG
56352019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5636
5637 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5638 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5639 __GI___wcscpy and wcscpy.
5640
de71ee7b
FW
56412019-03-04 Florian Weimer <fweimer@redhat.com>
5642
5643 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5644 declaration.
5645 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5646 defined.
5647
ce6ddae0
SL
56482019-03-04 Stefan Liebler <stli@linux.ibm.com>
5649
5650 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5651 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5652
31efface
TS
56532019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5654
5655 [BZ #24162]
5656 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5657 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5658
f0eaf862
GG
56592019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5660
5661 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5662 tests.
5663 (do_test): Likewise.
5664 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5665 (do_test_call_varg): Likewise.
5666 (do_test_call_rarg): Likewise.
5667 * sysdeps/ieee754/ldbl-opt/Makefile
5668 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5669 tst-nldbl-error.
5670 ($(objpfx)tst-nldbl-warn.c): New rule.
5671 ($(objpfx)tst-nldbl-error.c): Likewise.
5672 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5673 New variables.
5674
d11086a9
GG
56752019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5676
5677 [BZ #23984]
5678 * include/bits/error-ldbl.h: New file.
5679 * include/error.h: Include stdarg.h. Declare internal functions
5680 __error_internal and __error_at_line_internal.
5681 * misc/Makefile (headers): Add bits/error-ldbl.h.
5682 * misc/bits/error-ldbl.h: New file.
5683 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5684 avoid the inclusion of bits/error.h.
5685 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5686 and __nldbl_error_at_line.
5687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5688 (__nldbl_error, __ndlbl_error_at_line): New functions.
5689 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5690 Redirect error and error_at_line.
5691 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5693 Likewise.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5699 Likewise.
5700 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5701 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5703
90188e7d
GG
57042019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5705
5706 [BZ #23984]
5707 * include/bits/err-ldbl.h: New file.
5708 * include/err.h: Add prototypes for the internal functions:
5709 __vwarnx_internal and __vwarn_internal.
5710 * misc/Makefile (headers): Add bits/err-ldbl.h.
5711 * misc/bits/err-ldbl.h: New file.
5712 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5713 defined, i.e.: when -mlong-double-64 is in use.
5714 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5715 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5716 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5717 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5718 (VA_CALL): New macro.
5719 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5720 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5721 functions.
5722 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5723 declare prototypes for the new functions.
5724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5726 Likewise.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5728 Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5730 Likewise.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5732 Likewise.
5733 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5734 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5736
ea2d89d0
GG
57372019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5738
5739 * sysdeps/ieee754/ldbl-opt/Makefile
5740 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5741 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5742 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5743
6e1f6440
GG
57442019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5745
5746 [BZ #23983]
5747 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5748 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5749 * argp/bits/argp-ldbl.h: New file.
5750 * include/argp.h: Include stdarg.h. Add prototypes for internal
5751 functions: __argp_error_internal and __argp_failure_internal.
5752 * include/bits/argp-ldbl.h: New file.
5753 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5754 __nldbl_argp_error and __nldbl_argp_failure.
5755 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5756 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5757 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5758 Redirect argp_error and argp_failure calls.
5759 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5761 Likewise.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5763 Likewise.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5765 Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5767 Likewise.
5768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5769 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5770 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5771
c259196b
FW
57722019-03-01 Florian Weimer <fweimer@redhat.com>
5773
5774 [BZ #20419]
5775 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5776 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5777 code, to avoid creating an ABI tag note.
5778 (modules-names-nobuild): Add tst-big-note-lib.
5779
928b305d
SL
57802019-03-01 Stefan Liebler <stli@linux.ibm.com>
5781
5782 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5783 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5784
36f30c10
FW
57852019-03-01 Florian Weimer <fweimer@redhat.com>
5786
5787 [BZ #20271]
5788 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5789 (__netlink_assert_response): Add additional missing newlines.
5790
462e83a4
JM
57912019-02-28 Joseph Myers <joseph@codesourcery.com>
5792
5793 * sysdeps/powerpc/powerpc32/dl-machine.c
5794 (__elf_machine_fixup_plt): Use space before '('.
5795 (__process_machine_rela): Likewise.
5796 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5797 Likewise.
5798 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5799 Likewise.
5800 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5801 Likewise.
5802 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5803 (pattern): Likewise.
5804 (delta): Likewise.
5805 (check_result): Likewise.
5806 (check_excepts): Likewise.
5807 (check_op): Likewise.
5808 (fail_xr): Likewise.
5809 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5810 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5811 (SCNHSZ): Likewise.
5812 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5813 Likewise.
5814 (ARGS): Likewise.
5815 (__makecontext): Likewise.
5816 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5817 Likewise.
5818
cc3e573c
FW
58192019-02-28 Florian Weimer <fweimer@redhat.com>
5820
5821 [BZ #23937]
5822 elf: Add test with a local IFUNC resolver.
5823 * elf/ifuncmain9.c: New file.
5824 * elf/ifuncmain9pic.c: Likewise.
5825 * elf/ifuncmain9picstatic.c: Likewise.
5826 * elf/ifuncmain9pie.c: Likewise.
5827 * elf/ifuncmain9static.c: Likewise.
5828 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5829 ifuncmain9static, ifuncmain9picstatic.
5830 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5831 Add ifuncmain9, ifuncmain9pic.
5832 * elf/Makefile [multi-arch && build-shared && have-fpie]
5833 (ifunc-pie-tests): Add ifuncmain9pie.
5834 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5835 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5836 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5837
92ad88fe
L
58382019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5839
5840 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5841 * configure: Regenerated.
5842 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5843
6bd4d02e
AZ
58442019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5845
5846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5847 symbol as __wcspcy instead of wcscpy.
5848
1b218417
ST
58492019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5850
5851 * include/stdio.h (__renameat2): New hidden prototype.
5852 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5853 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5854 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5855 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5856
c4f50205
JM
58572019-02-27 Joseph Myers <joseph@codesourcery.com>
5858
f627dd4d
JM
5859 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5860 if statement.
5861
c4f50205
JM
5862 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5863 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5864 * benchtests/bench-strlen.c (do_test): Likewise.
5865 (test_main): Likewise.
5866 * catgets/gencat.c (read_old): Likewise.
5867 * elf/cache.c (load_aux_cache): Likewise.
5868 * iconvdata/bug-iconv8.c (do_test): Likewise.
5869 * math/test-tgmath-ret.c (do_test): Likewise.
5870 * nis/nis_call.c (rec_dirsearch): Likewise.
5871 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5872 * nptl/tst-audit-threads.c (do_test): Likewise.
5873 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5874 * nss/nss_test1.c (init): Likewise.
5875 * nss/test-netdb.c (test_hosts): Likewise.
5876 * posix/execvpe.c (maybe_script_execute): Likewise.
5877 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5878 * stdio-common/tst-printf.c (do_test): Likewise.
5879 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5880 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5881 * stdlib/qsort.c (STACK_SIZE): Likewise.
5882 * stdlib/test-canon.c (do_test): Likewise.
5883 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5884 * string/memcmp.c (OPSIZ): Likewise.
5885 * string/test-strcpy.c (do_test): Likewise.
5886 (do_random_tests): Likewise.
5887 * string/test-strlen.c (do_test): Likewise.
5888 (test_main): Likewise.
5889 * string/test-strrchr.c (do_test): Likewise.
5890 (do_random_tests): Likewise.
5891 * string/tester.c (test_memrchr): Likewise.
5892 (test_memchr): Likewise.
5893 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5894 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5895 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5896 (read_encoded_value_with_base): Likewise.
5897 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5898 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5899 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5900 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5901 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5902 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5903 Likewise.
5904 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5905 Likewise.
5906 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5907 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5908 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5909 Likewise.
5910 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5911 Likewise.
5912 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5913 Likewise.
5914 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5915 Likewise.
5916 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5917 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5918 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5919 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5920 * time/test_time.c (main): Likewise.
5921
7b3fb620
AZ
59222019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5923
457208b1
AZ
5924 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5925
30a7e208
AZ
5926 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5927 wmemcpy.
5928
ddf21ec7
AZ
5929 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5930 wmemcpy.
5931
4d801563
AZ
5932 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5933
81a14439
AZ
5934 * include/wchar.h (__wcscpy): New prototype.
5935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5936 (__wcscpy): Route internal symbol to generic implementation.
5937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5938 Add internal __wcscpy alias.
5939 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5940 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5941 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5942 * wcsmbs/wcscpy.c (wcscpy): Add
5943 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5944 use generic implementation.
5945 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5946
39ef0744
AZ
5947 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5948 wmemset.
5949
7b3fb620
AZ
5950 * sysdeps/m68k/wcpcpy.c: Remove file.
5951 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5952
e0cb7b61
JM
59532019-02-26 Joseph Myers <joseph@codesourcery.com>
5954
aa0e4663
JM
5955 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5956 than after operators.
5957 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5958 * sysdeps/mach/hurd/getcwd.c
5959 (__hurd_canonicalize_directory_name_internal): Likewise.
5960 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5961 (pthread_mutex_consistent): Likewise.
5962 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5963 Likewise.
5964 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5965 (__pthread_mutex_transfer_np): Likewise.
5966 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5967 (__pthread_mutex_unlock): Likewise.
5968 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5969 (mtx_owned_p): Likewise.
5970 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5971 (pthread_mutexattr_getrobust): Likewise.
5972 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5973 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5974 Likewise.
5975 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5976 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5977 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5978 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5979 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5982 Likewise.
5983 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5984 Likewise.
5985 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5986 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5987 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5988 (____longjmp_chk): Likewise.
5989 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5990 Likewise.
5991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5992 (INTERNAL_SYSCALL): Likewise.
5993 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5994 (INTERNAL_SYSCALL): Likewise.
5995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5996 (__get_clockfreq_via_cpuinfo): Likewise.
5997
e0cb7b61
JM
5998 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5999 comments.
6000 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6001 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6002 (WORD_COPY_BWD): Likewise.
6003 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6005 Likewise.
6006 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6007 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6008 comment.
6009 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6010
a04549c1
JM
60112019-02-25 Joseph Myers <joseph@codesourcery.com>
6012
6013 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6014 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6015 rather than after operators.
6016 * elf/cache.c (print_cache): Likewise.
6017 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6018 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6019 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6020 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6021 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6022 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6023 (reauth_proc): Likewise.
6024 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6025 (__file_name_split_at): Likewise.
6026 (__directory_name_split_at): Likewise.
6027 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6028 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6029 * iconv/gconv_dl.c (do_print): Likewise.
6030 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6031 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6032 * locale/setlocale.c (new_composite_name): Likewise.
6033 * malloc/memusagestat.c (main): Likewise.
6034 * misc/fstab.c (fstab_convert): Likewise.
6035 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6036 Likewise.
6037 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6038 (getgrent_next_file): Likewise.
6039 (internal_getgrnam_r): Likewise.
6040 (internal_getgrgid_r): Likewise.
6041 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6042 Likewise.
6043 (internal_getgrent_r): Likewise.
6044 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6045 (getpwent_next_nss): Likewise.
6046 (getpwent_next_file): Likewise.
6047 (internal_getpwnam_r): Likewise.
6048 (internal_getpwuid_r): Likewise.
6049 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6050 Likewise.
6051 (getspent_next_nss): Likewise.
6052 (internal_getspnam_r): Likewise.
6053 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6054 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6055 * string/strchr.c (STRCHR): Likewise.
6056 * string/strchrnul.c (STRCHRNUL): Likewise.
6057 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6058 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6059 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6060 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6061 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6062 Likewise.
6063 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6064 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6065 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6066 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6067 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6068 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6069 (open_file): Likewise.
6070 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6071 (pthread_mutexattr_setprotocol): Likewise.
6072 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6073 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6074 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6075 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6076 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6077 Likewise.
6078 (elf_machine_rela): Likewise.
6079 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6080 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6081 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6082 * sysdeps/posix/rename.c (rename): Likewise.
6083 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6084 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6085 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6086 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6087 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6088 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6089 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6090 Likewise.
6091 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6092 Likewise.
6093 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6094 * time/tzfile.c (__tzfile_compute): Likewise.
6095
34a5a146
JM
60962019-02-22 Joseph Myers <joseph@codesourcery.com>
6097
6098 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6099 rather than after operators.
6100 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6101 * crypt/md5.c (md5_finish_ctx): Likewise.
6102 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6103 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6104 * elf/cache.c (load_aux_cache): Likewise.
6105 * elf/dl-load.c (open_verify): Likewise.
6106 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6107 * elf/readelflib.c (process_elf_file): Likewise.
6108 * elf/rtld.c (dl_main): Likewise.
6109 * elf/sprof.c (generate_call_graph): Likewise.
6110 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6111 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6112 * hurd/dtable.c (reauth_dtable): Likewise.
6113 * hurd/getdport.c (__getdport): Likewise.
6114 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6115 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6116 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6117 Likewise.
6118 * hurd/hurdioctl.c (fioctl): Likewise.
6119 * hurd/hurdselect.c (_hurd_select): Likewise.
6120 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6121 (STOPSIGS): Likewise.
6122 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6123 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6124 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6125 * hurd/msgportdemux.c (msgport_server): Likewise.
6126 * hurd/setauth.c (_hurd_setauth): Likewise.
6127 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6128 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6129 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6130 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6131 * login/tst-utmp.c (do_check): Likewise.
6132 (simulate_login): Likewise.
6133 * mach/lowlevellock.h (lll_lock): Likewise.
6134 (lll_trylock): Likewise.
6135 * math/test-fenv.c (ALL_EXC): Likewise.
6136 * math/test-fenvinline.c (ALL_EXC): Likewise.
6137 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6138 * nis/nis_call.c (__do_niscall3): Likewise.
6139 * nis/nis_callback.c (cb_prog_1): Likewise.
6140 * nis/nis_defaults.c (searchaccess): Likewise.
6141 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6142 * nis/nis_ismember.c (internal_ismember): Likewise.
6143 * nis/nis_local_names.c (nis_local_principal): Likewise.
6144 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6145 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6146 Likewise.
6147 * nis/ypclnt.c (yp_match): Likewise.
6148 (yp_first): Likewise.
6149 (yp_next): Likewise.
6150 (yp_master): Likewise.
6151 (yp_order): Likewise.
6152 * nscd/hstcache.c (cache_addhst): Likewise.
6153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6154 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6155 (internal_getpwuid_r): Likewise.
6156 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6157 * posix/glob.h (__GLOB_FLAGS): Likewise.
6158 * posix/regcomp.c (peek_token): Likewise.
6159 (peek_token_bracket): Likewise.
6160 (parse_expression): Likewise.
6161 * posix/regexec.c (sift_states_iter_mb): Likewise.
6162 (check_node_accept_bytes): Likewise.
6163 * posix/tst-spawn3.c (do_test): Likewise.
6164 * posix/wordexp-test.c (testit): Likewise.
6165 * posix/wordexp.c (parse_tilde): Likewise.
6166 (exec_comm): Likewise.
6167 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6168 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6169 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6170 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6171 * stdio-common/tst-fileno.c (do_test): Likewise.
6172 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6173 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6174 * stdlib/strtod_l.c (round_and_return): Likewise.
6175 (____STRTOF_INTERNAL): Likewise.
6176 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6177 * string/strcspn.c (STRCSPN): Likewise.
6178 * string/test-memmem.c (simple_memmem): Likewise.
6179 * termios/tcsetattr.c (tcsetattr): Likewise.
6180 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6181 * time/asctime.c (asctime_internal): Likewise.
6182 * time/strptime_l.c (__strptime_internal): Likewise.
6183 * time/sys/time.h (timercmp): Likewise.
6184 * time/tzfile.c (__tzfile_compute): Likewise.
6185
b0b50fe0
PF
61862019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6187
b39d961c
TS
6188 [BZ #21915]
6189 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 6190
f43b8dd5
GG
61912019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6192
6193 * argp/argp-help.c (__argp_error_internal): New function,
6194 renamed from __argp_error, but that takes a 'mode_flags'
6195 parameter to control the format of long double parameters.
6196 (__argp_error): Converted into a call __argp_error_internal.
6197 (__argp_failure_internal): New function, renamed from
6198 __argp_failure, but that takes a 'mode_flags' parameter.
6199 (__argp_failure): Converted into a call __argp_failure_internal.
6200 * misc/err.c (__vwarnx_internal): New function, renamed from
6201 vwarnx, but that takes a 'mode_flags' parameter.
6202 (vwarnx): Converted into a call to __vwarnx_internal.
6203 (__vwarn_internal): New function, renamed from vwarn, but that
6204 takes a 'mode_flags' parameter.
6205 (vwarn): Converted into a call to __vwarn_internal.
6206 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6207 call to __vfxprintf with 'mode_flags'.
6208 (__error_internal): New function, renamed from error, but that
6209 takes a 'mode_flags' parameter.
6210 (error): Converted into a call to __error_internal.
6211 (__error_at_line_internal): New function, renamed from
6212 error_at_line, but that takes a 'mode_flags' parameter.
6213 (error_at_line): Converted into a call to
6214 __error_at_line_internal.
6215 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6216 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6217 Likewise.
6218
dc0afac3 62192019-02-20 Martin Liska <mliska@suse.cz>
6220
6221 * math/Makefile: Install math-vector-fortran.h.
6222 * bits/math-vector-fortran.h: New file.
6223 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6224
4a2dd41c
GG
62252019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6226
6227 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6228 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6229
04de9302
WS
62302019-02-19 Wolfram Sang <wsa@the-dreams.de>
6231
6232 * nptl/pthread_mutex_trylock.c: Fix comment.
6233
b026ce1e
CD
62342019-02-19 Carlos O'Donell <carlos@redhat.com>
6235
6236 * nptl/pthread_tryjoin.c: Fix comment.
6237
8c9289b6
JM
62382019-02-18 Joseph Myers <joseph@codesourcery.com>
6239
6240 [BZ #24231]
6241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6242 after R_SPARC_H34 case.
6243
308e022f
FW
62442019-02-18 Florian Weimer <fweimer@redhat.com>
6245
6246 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6247 (getanswer): Do not call Dprintf.
6248 (res_gethostbyname2_context): Likewise.
6249 (res_gethostbyaddr_context): Likewise.
6250
a5406364
FW
62512019-02-18 Florian Weimer <fweimer@redhat.com>
6252
6253 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6254 declaration.
6255 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6256 Remove definitions.
6257 * libio/stdfiles.c: Update comment.
6258 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6259 set _IO_stdin, _IO_stdout, _IO_stderr.
6260 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6261 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6262 inline function.
6263 (_IO_deallocate_file): New inline function.
6264 * libio/iolibio.h (_IO_vprintf): Remove definition.
6265 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6266 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6267 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6268 _IO_legacy_file.
6269 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6270 __builtin_expect. Use _IO_legacy_file.
6271
6c29942c
SL
62722019-02-18 Stefan Liebler <stli@linux.ibm.com>
6273
6274 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6275 Initialize ctid with a known value and remove update of ctid
6276 after clone.
6277 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6278 as assumed current value of ctid_ptr.
6279
225d9445 62802019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
6281
6282 Check that non-sysdeps headers have wrapper headers.
6283 * scripts/check-wrapper-headers.py: New file.
6284 * Makefile (tests-special): Add check-wrapper-headers.out.
6285 (check-wrapper-headers.out): New target.
6286 * Rules (tests-special): Add check-wrapper-headers.out.
6287 (check-wrapper-headers.out): New target.
6288
225d9445 62892019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
6290
6291 Add missing header wrappers under include/.
6292 * include/ar.h: New file.
6293 * include/bits/mqueue2.h: Likewise.
6294 * include/bits/stdio.h: Likewise.
6295 * include/bits/stdio2.h: Likewise.
6296 * include/fstab.h: Likewise.
6297 * include/fts.h: Likewise.
6298 * include/lastlog.h: Likewise.
6299 * include/netinet/icmp6.h: Likewise.
6300 * include/netinet/igmp.h: Likewise.
6301 * include/netinet/ip6.h: Likewise.
6302 * include/re_comp.h: Likewise.
6303 * include/regexp.h: Likewise.
6304 * include/rpcsvc/bootparam.h: Likewise.
6305 * include/rpcsvc/yp_prot.h: Likewise.
6306 * include/sys/random.h: Likewise.
6307 * include/sys/stropts.h: Likewise.
6308 * include/sys/ttychars.h: Likewise.
6309 * include/sys/vfs.h: Likewise.
6310 * include/wait.h: Likewise.
6311
225d9445 63122019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
6313
6314 * nptl_db/proc_service.h: Move to ...
6315 * sysdeps/nptl/proc_service.h: ... here.
6316 * nptl_db/thread_db.h: Move to ...
6317 * sysdeps/nptl/thread_db.h: ... here.
6318 * nptl/descr.h: Include <thread_db.h>.
6319
e442e40d
AZ
63202019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6321
6322 * io/Makefile (tests): Add tst-lockf.
6323 * io/lockf.c (lockf): Use __fcntl and only define for
6324 !__OFF_T_MATCHES_OFF64_T.
6325 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6326 __OFF_T_MATCHES_OFF64_T case.
6327 * io/tst-lockf.c: New file.
6328 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6329 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6330 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6331 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6332 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6334 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6335 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6336 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6337
bc10e22c
FW
63382019-02-15 Florian Weimer <fweimer@redhat.com>
6339
6340 [BZ #24211]
6341 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6342 pd->result after the thread descriptor has been freed.
6343
365f05c7
JM
63442019-02-15 Joseph Myers <joseph@codesourcery.com>
6345
8a11f970
JM
6346 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6347 from function return type.
6348
365f05c7
JM
6349 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6350
6b5c8607 63512019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
6352
6353 * scripts/test_printers_common.py: Set TERM to a known harmless
6354 value.
6355
712182c8
JM
63562019-02-14 Joseph Myers <joseph@codesourcery.com>
6357
6358 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6359 (xdr_u_int): Likewise.
6360 (xdr_enum): Likewise.
6361 (xdr_bytes): Reword fall-through comment.
6362 (xdr_string): Likewise.
6363
eb76e5b4
AZ
63642019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6365
6366 [BZ #2421]
6367 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6368 (tests): Add tst-join8 tst-join9.
6369 * nptl/lll_timedwait_tid.c: Remove file.
6370 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6371 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6372 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6373 * nptl/pthread_join_common.c (timedwait_tid): New function.
6374 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6375 is set.
6376 * nptl/tst-join5.c (thread_join): New function.
6377 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6378 check.
6379 * nptl/tst-join8.c: New file.
6380 * nptl/tst-join9.c: Likewise.
6381 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6382 lll_futex_timed_wait_cancel): Add generic macros.
6383 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6384 Remove definitions.
6385 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6386 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6387 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6388 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6389 Remove function.
6390 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6391 Likewise.
6392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6393 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6394 (lll_futex_timed_wait_cancel): New macro.
6395
3904fd85
WD
63962019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6397
6398 * benchtests/Makefile: Add malloc-simple benchmark.
6399 * benchtests/bench-malloc-simple.c: New benchmark.
6400
24ca04fe
SP
64012019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6402
6403 * benchtests/bench-memmove.c (do_one_test): Remove unused
6404 ORIG_SRC.
6405 (do_test): Adjust.
6406 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6407 ORIG_SRC.
6408 (do_test): Adjust.
6409
85bd1ddb
JW
64102019-01-13 Jim Wilson <jimw@sifive.com>
6411
6412 [BZ #24040]
6413 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6414 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6415 (func): New.
6416 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6417 call func directly.
6418 * nptl/Makefile (tests): Add tst-unwind-thread.
6419 (CFLAGS-tst-unwind-thread.c): Define.
6420 * nptl/tst-unwind-thread.c: New file.
6421 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6422 as undefined.
6423
86140c62
JM
64242019-02-13 Joseph Myers <joseph@codesourcery.com>
6425
10756268
JM
6426 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6427 comment wording.
6428 * nis/nis_call.c (__do_niscall3): Likewise.
6429
05383720
JM
6430 * catgets/gencat.c (normalize_line): Use braces around empty
6431 'else' body.
6432 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6433 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6434 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6435 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6436 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6437 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6438 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6439 definition.
6440
86140c62
JM
6441 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6442 execlp returns.
6443
16f87cfd
WD
64442019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6445
6446 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6447 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6448 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6449 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6450 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6451 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6452 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6453 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6454 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6455 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6456 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6457 * benchtests/bench-bcopy.c: Delete file.
6458 * benchtests/bench-bzero.c: Likewise.
6459 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6460 (simple_memccpy): Remove.
6461 (generic_memccpy): Add function.
6462 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6463 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6464 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6465 (generic_mempcpy): Add new function.
6466 * benchtests/bench-memset.c (simple_bzero): Remove.
6467 (builtin_bzero): Remove.
6468 (builtin_memset): Remove.
6469 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6470 (generic_rawmemchr): Add new function.
6471
0c6d82e9
FW
64722019-02-12 Florian Weimer <fweimer@redhat.com>
6473
6474 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6475
b3fbfe81
AZ
64762019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6477
6478 [BZ #24122]
6479 * elf/Makefile (tests): Add tst-audit13.
6480 (modules-names): Add tst-audit13mod1.
6481 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6482 rule.
6483 * elf/tst-audit13.c: New file.
6484 * elf/tst-audit13mod1.c: Likewise.
6485
3b856d09
FW
64862019-02-12 Florian Weimer <fweimer@redhat.com>
6487
6488 [BZ #24122]
6489 * elf/rtld.c (unload_audit_module): New function.
6490 (report_audit_module_load_error): Likewise.
6491 (load_audit_module): Likewise. Extracted from dl_main. Call
6492 _dl_close if the laversion symbol cannot be found. Use early
6493 returns for error handling. Add malloc error check. Check for a
6494 zero return value from la_version. Remove spurious comment about
6495 static TLS initialization. Remove useless casts.
6496 (notify_audit_modules_of_loaded_object): New function. Extracted
6497 from dl_main.
6498 (load_audit_module): Likewise.
6499 (dl_main): Call load_audit_modules.
6500
32db86d5
JM
65012019-02-12 Joseph Myers <joseph@codesourcery.com>
6502
6503 * elf/dl-exception.c (_dl_exception_create_format): Add
6504 fall-through comments.
6505 * elf/ldconfig.c (parse_conf_include): Likewise.
6506 * elf/rtld.c (print_statistics): Likewise.
6507 * locale/programs/charmap.c (parse_charmap): Likewise.
6508 * misc/mntent_r.c (__getmntent_r): Likewise.
6509 * posix/wordexp.c (parse_arith): Likewise.
6510 (parse_backtick): Likewise.
6511 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6512 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6514
a51bc4fe
PC
65152019-02-11 Paul A. Clarke <pc@us.ibm.com>
6516
6517 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6518 Use float instead of double.
6519
fb25b135
TS
65202019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6521
6522 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6523
32ea7299
JM
65242019-02-08 Joseph Myers <joseph@codesourcery.com>
6525
6526 * sysdeps/powerpc/bits/mathinline.h: Remove.
6527
eef4d4f8
FW
65282019-02-08 Florian Weimer <fweimer@redhat.com>
6529
6530 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6531 * math/bits/math-finite.h: Move to ...
6532 * bits/math-finite.h: ... here.
6533
fdfbd47d
FW
65342019-02-08 Florian Weimer <fweimer@redhat.com>
6535
6536 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6537 * bits/unistd_ext.h: here.
6538
11eb21c4
PF
65392019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6540
6541 [BZ #21915]
6542 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6543 * nss/tst-nss-files-hosts-long.c: New file.
6544 * nss/tst-nss-files-hosts-long.root: New directory.
6545 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6546 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6547
e47d82c9
FW
65482019-02-08 Florian Weimer <fweimer@redhat.com>
6549
6550 * include/bits/unistd_ext.h: Remove file.
6551 * posix/bits/unistd_ext.h: Move to ...
6552 * sysdeps/generic/bits/unistd_ext.h: ... here.
6553
8f89ab21
FW
65542019-02-08 Florian Weimer <fweimer@redhat.com>
6555
6556 * include/bits/unistd_ext.h: New file.
6557
144a794e
TS
65582019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6559
6560 * time/tst-strftime2.c: Use array_length macros instead of magic
6561 numbers.
6562
669ff911
FW
65632019-02-08 Florian Weimer <fweimer@redhat.com>
6564
6565 [BZ #24161]
6566 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6567 argument.
6568 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6569 locking if the new do_locking argument is true.
6570 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6571 __run_fork_handlers.
6572
d0bd87d4 65732019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
6574
6575 [BZ #6399]
6576 Linux: Add gettid system call wrapper.
6577 * posix/Makefile (headers): Add bits/unistd_ext.h.
6578 * posix/bits/unistd_ext.h: New file.
6579 * posix/unistd.h: Include it.
6580 * manual/process.texi (Process Identification): Document gettid.
6581 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6582 tst-gettid, tst-gettid-kill.
6583 (tst-gettid): Link with $(shared-thread-library).
6584 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6585 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6586 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6587 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6588 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6589 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6590 Add gettid.
6591 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6592 Likewise.
6593 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6594 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6595 Likewise.
6596 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6597 Likewise.
6598 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6599 Likewise.
6600 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6601 Likewise.
6602 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6603 Likewise.
6604 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6605 Likewise.
6606 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6607 Likewise.
6608 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6609 (GLIBC_2.30): Likewise.
6610 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6611 (GLIBC_2.30): Likewise.
6612 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6613 (GLIBC_2.30): Likewise.
6614 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6615 (GLIBC_2.30): Likewise.
6616 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6617 Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6619 (GLIBC_2.30): Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6621 (GLIBC_2.30): Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6623 (GLIBC_2.30): Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6625 (GLIBC_2.30): Likewise.
6626 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6627 Likewise.
6628 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6629 Likewise.
6630 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6631 Likewise.
6632 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6633 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6634 Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6636 Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6638 Likewise.
6639 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6640 Likewise.
6641 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6642
225d9445 66432019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
6644
6645 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6646 compatibility symbols.
6647
823624bd
SL
66482019-02-07 Stefan Liebler <stli@linux.ibm.com>
6649
6650 [BZ #24180]
6651 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6652 Add compiler barriers and comments.
6653
8311c83f
FW
66542019-02-07 Florian Weimer <fweimer@redhat.com>
6655
6656 * include/array_length.h (array_length): Do not use a statement
6657 expression and _Static_assert, so that array_length can be used at
6658 file scope and as a constant expression.
6659
94b63e66
FW
66602019-02-07 Florian Weimer <fweimer@redhat.com>
6661
6662 * support/xdlfcn.h (xdlmopen): Declare.
6663 * support/xdlmopen.c: New file.
6664 * support/Makefile (libsupport-routines): Add xdlmopen.
6665
c2d8f0b7
JM
66662019-02-06 Joseph Myers <joseph@codesourcery.com>
6667
6668 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6669 before return type, without separate inline.
6670 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6671 * elf/dl-tunables.h (tunable_is_name): Likewise.
6672 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6673 (do_set_top_pad): Likewise.
6674 (do_set_mmap_threshold): Likewise.
6675 (do_set_mmaps_max): Likewise.
6676 (do_set_mallopt_check): Likewise.
6677 (do_set_perturb_byte): Likewise.
6678 (do_set_arena_test): Likewise.
6679 (do_set_arena_max): Likewise.
6680 (do_set_tcache_max): Likewise.
6681 (do_set_tcache_count): Likewise.
6682 (do_set_tcache_unsorted_limit): Likewise.
6683 * nis/nis_subr.c (count_dots): Likewise.
6684 * nptl/allocatestack.c (advise_stack_range): Likewise.
6685 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6686 (do_sin): Likewise.
6687 (reduce_sincos): Likewise.
6688 (do_sincos): Likewise.
6689 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6690 (do_set_elision_enable): Likewise.
6691 (TUNABLE_CALLBACK_FNDECL): Likewise.
6692
3b935595
FW
66932019-02-06 Florian Weimer <fweimer@redhat.com>
6694
6695 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6696 (xdlsym): Use dlerror to detect a NULL symbol.
6697
b4333340
FW
66982019-02-06 Florian Weimer <fweimer@redhat.com>
6699
6700 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6701 <stap-probe.h>.
6702 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6703
b6d8a999
SL
67042019-02-06 Stefan Liebler <stli@linux.ibm.com>
6705
6706 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6707
94eeeec0
SL
67082019-02-06 Stefan Liebler <stli@linux.ibm.com>
6709
6710 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6711 __wmemcmp and weak alias to wmemcmp.
6712
bc79db3f
SL
67132019-02-06 Stefan Liebler <stli@linux.ibm.com>
6714
6715 [BZ #23403]
6716 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6717 TLS_TCB_AT_TP tls variant.
6718 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6719 Add alignment checks.
6720 * support/Makefile (libsupport-routines): Add xposix_memalign and
6721 xpthread_setstack.
6722 * support/support.h: Add xposix_memalign.
6723 * support/xthread.h: Add xpthread_attr_setstack.
6724 * support/xposix_memalign.c: New File.
6725 * support/xpthread_attr_setstack.c: Likewise.
6726
f1ac7455
FW
67272019-02-05 Florian Weimer <fweimer@redhat.com>
6728
6729 [BZ #24164]
6730 arm: Use "nr" constraint for Systemtap probes, to avoid the
6731 compiler using memory operands for constants, due to the "o"
6732 alternative in the default "nor" constraint.
6733 * include/stap-probe.h [USE_STAP_PROBE]: Include
6734 <stap-probe-machine.h>
6735 * sysdeps/generic/stap-probe-machine.h: New file.
6736 * sysdeps/arm/stap-probe-machine.h: Likewise.
6737
7a0dcfc6
JM
67382019-02-04 Joseph Myers <joseph@codesourcery.com>
6739
77dc0d86
JM
6740 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6741 with 0, not tcache->entries[tc_idx].
6742
7a0dcfc6
JM
6743 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6744 once.
6745
65f7767a
AS
67462019-02-04 Andreas Schwab <schwab@suse.de>
6747
6748 [BZ #16976]
6749 [BZ #17396]
6750 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6751 looking up collating elements match against (wide) character
6752 sequence instead of name. Correct alignment adjustment.
6753 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6754 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6755 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6756 (LOCALES): Add cs_CZ.ISO-8859-2.
6757 * posix/tst-fnmatch4.c: New file.
6758 * posix/tst-fnmatch5.c: New file.
6759 * include/wchar.h (__wmemcmp): Declare.
6760 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6761 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6762 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6763 * sysdeps/s390/wmemcmp.c: Likewise.
6764
3f635fb4
L
67652019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6766
6767 [BZ #24155]
6768 CVE-2019-7309
6769 * NEWS: Updated for CVE-2019-7309.
6770 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6771 upper 32 bits of RDX register for x32. Use unsigned Jcc
6772 instructions, instead of signed.
6773 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6774 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6775
2ab5741b
FW
67762019-02-04 Florian Weimer <fweimer@redhat.com>
6777
6778 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6779 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6780 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6781 Likewise.
6782 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6783 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6784 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6785 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6786 Likewise.
6787 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6788 Likewise.
6789 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6790 Likewise.
6791 (posix_spawn_file_actions_addopen): Likewise.
6792 (posix_spawn_file_actions_addclose): Likewise.
6793 (posix_spawn_file_actions_adddup2): Likewise.
6794 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6795 qualifiers.
6796 (posix_spawn_file_actions_addfchdir_np): Likewise.
6797
8692ebdb
DN
67982019-02-04 David Newall <glibc@davidnewall.com>
6799
6800 elf: Implement --preload option for the dynamic linker.
6801 * elf/rtld.c (preloadarg): New variable.
6802 (handle_preload_list): Pass through “where” argument to
6803 do_preload.
6804 (dl_main): Handle "--preload" and add second call to
6805 handle_preload_list.
6806 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6807 (tst-rtld-preload-OBJS): Set variable.
6808 (tst-rtld-preload.out): New target.
6809 * elf/tst-rtld-preload.sh: New file.
6810
5e10136b
MM
68112019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6812
6813 * Makefile (testrun.sh): Exit in case of incorrect argument.
6814
221baae0
FW
68152019-02-04 Florian Weimer <fweimer@redhat.com>
6816
6817 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6818 alignment gaps.
6819
b8c72381
FW
68202019-02-03 Florian Weimer <fweimer@redhat.com>
6821
6822 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6823 implicit overflow checks.
6824
11f382ee
AJ
68252019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6826
6827 * stdlib/isomac.c: Include <unistd.h>.
6828
77c7d55e
FW
68292019-02-03 Florian Weimer <fweimer@redhat.com>
6830
6831 * include/time.h (__tzfile_default): Use int, not long int, for
6832 the GMT offsets.
6833 * time/tzfile.c (struct ttinfo): Change type of the offset member
6834 to int.
6835 (__tzfile_read): Remove useless cast.
6836 (__tzfile_default): Adjust prototype.
6837 * time/tzset.c (tz_rule): Change type of the offset member to int.
6838 (parse_offset): Change the type of the sign variable to int.
6839
ee9941f9
FW
68402019-02-03 Florian Weimer <fweimer@redhat.com>
6841
6842 [BZ #24153]
6843 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6844 * libio/getchar.c (getchar): Likewise.
6845 * libio/getchar_u.c (getchar_unlocked): Likewise.
6846 * libio/getwchar.c (getwchar): Likewise.
6847 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6848 * libio/iogets.c (_IO_gets): Likewise.
6849 * libio/vscanf.c (_IO_vscanf): Likewise.
6850 * libio/vwscanf.c (__vwscanf): Likewise.
6851 * libio/tst-bz24153.c: New file.
6852 * libio/Makefile (tests): Add it.
6853
c70824b9
FW
68542019-02-02 Florian Weimer <fweimer@redhat.com>
6855
6856 [BZ #14829]
6857 * manual/resource.texi (Basic Scheduling Functions): Add
6858 portability note. Change process to task throughout the section.
6859 Remove incorrect comment about sched_yield as it affects
6860 tasks/threads, not entire processes.
6861 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6862 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6863
4dcbbc3b
JM
68642019-02-01 Joseph Myers <joseph@codesourcery.com>
6865
6866 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6867 * configure: Regenerated.
6868 * manual/install.texi (Tools for Compilation): Update minimum GCC
6869 version.
6870 * INSTALL: Regenerated.
6871
6175507c
FW
68722019-02-01 Florian Weimer <fweimer@redhat.com>
6873
6874 * support/support_test_compare_string.c
6875 (support_test_compare_string): Use "string" in error message.
6876 * support/tst-test_compare_string.c (do_test): Adjust.
6877
baef1943
FW
68782019-02-01 Florian Weimer <fweimer@redhat.com>
6879
6880 * support/support_format_address_family.c
6881 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6882
395599f0
FW
68832019-02-01 Florian Weimer <fweimer@redhat.com>
6884
6885 * manual/socket.texi (Internet Address Formats): Clarify the byte
6886 order of struct sockaddr_in, struct sockaddr_in6. Document
6887 sin6_flowinfo and sin6_scope_id.
6888
b06f4c00
WD
68892019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6890
6891 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6892 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6893 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6894 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6895 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6896 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6897
83d1cc42
FX
68982019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6899
6900 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6901 [!MEMCHR](MEMCHR): Set to __memchr.
6902 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6903 Add memchr_generic and memchr_nosimd.
6904 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6905 (__libc_ifunc_impl_list): Add memchr ifuncs.
6906 * sysdeps/aarch64/multiarch/memchr.c: New file.
6907 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6908 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6909
c7d3890f
FX
69102019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6911
6912 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6913 Add memset_emag.
6914 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6915 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6916 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6917 Add IS_EMAG check for ifunc dispatch.
6918 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6919 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6920
07c3d1ec
FX
69212019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6922
6923 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6924 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6925 Add emag.
6926 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6927 New macro.
6928
114f792e
SL
69292019-02-01 Stefan Liebler <stli@linux.ibm.com>
6930
6931 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6932
d5627550
VG
69332019-01-31 Vineet Gupta <vgupta@synopsys.com>
6934
6935 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6936 syscall-template file.
6937
5fc9ed4c
CD
69382019-01-31 Carlos O'Donell <carlos@redhat.com>
6939 Torvald Riegel <triegel@redhat.com>
6940 Rik Prohaska <prohaska7@gmail.com>
6941
6942 [BZ# 23844]
6943 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6944 tst-rwlock-trywrlock-stall.
6945 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6946 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6947 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6948 Set __wrphase_fute to 1 only if we started the write phase.
6949 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6950 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6951 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6952 * support/xpthread_rwlock_destroy.c: New file.
6953 * support/xthread.h: Declare xpthread_rwlock_destroy.
6954
932329a5
JM
69552019-02-01 Joseph Myers <joseph@codesourcery.com>
6956
6957 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6958 version to 4.0.2.
6959
5f10701f
PP
69602019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6961
6962 [BZ #24051]
6963 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6964 * libio/fileops.c (_IO_new_file_underflow): Likewise
6965 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6966 * libio/putchar.c (putchar): Likewise.
6967 * libio/putchar_u.c (putchar_unlocked): Likewise.
6968 * libio/putwchar.c (putchar): Likewise.
6969 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6970 * libio/tst-bz24051.c: New test.
6971 * libio/Makefile (tests): Add tst-bz24051
6972
583dd860
PE
69732019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6974
b626c5aa 6975 CVE-2019-9169
583dd860
PE
6976 regex: fix read overrun [BZ #24114]
6977 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6978 https://debbugs.gnu.org/34140
6979 * posix/regexec.c (proceed_next_node):
6980 Do not read past end of input buffer.
6981
2bac7daa
FW
69822019-01-31 Florian Weimer <fweimer@redhat.com>
6983
6984 [BZ #24059]
6985 * nss/nss_files/files-alias.c (get_next_alias): Handle
6986 continuation line without newline at the end.
6987 * nss/tst-nss-files-alias-truncated.c: New file.
6988 * nss/Makefile [$(build-shared)] (tests): Add
6989 tst-nss-files-alias-truncated.
6990 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6991 * support/namespace.h (struct support_chroot_configuration): Add
6992 aliases member.
6993 (struct support_chroot): Add path_aliases member.
6994 * support/support_chroot.c (support_chroot_create): Handle
6995 aliases.
6996 (support_chroot_free): Free path_aliases.
6997
330c9d0d
SP
69982019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6999
de44ab67
SP
7000 * version.h (RELEASE): Set to "development".
7001 (VERSION): Set to "2.29.9000".
7002 * NEWS: Add section for 2.30.
7003
56c86f5d
SP
7004 * version.h (RELEASE): Set to "stable".
7005 (VERSION): Set to "2.29".
7006 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7007
330c9d0d
SP
7008 * NEWS: Add the list of bugs fixed in 2.29.
7009 * manual/contrib.texi: Update contributors list with some more
7010 names.
7011 * manual/install.texi: Update latest versions of packages
7012 tested.
7013 * INSTALL: Regenerated.
7014
e1e47c91
SP
70152019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7016
7017 * po/be.po: Update translations.
7018 * po/bg.po: Likewise.
7019 * po/ca.po: Likewise.
7020 * po/cs.po: Likewise.
7021 * po/da.po: Likewise.
7022 * po/de.po: Likewise.
7023 * po/el.po: Likewise.
7024 * po/eo.po: Likewise.
7025 * po/es.po: Likewise.
7026 * po/fi.po: Likewise.
7027 * po/fr.po: Likewise.
7028 * po/gl.po: Likewise.
7029 * po/hr.po: Likewise.
7030 * po/hu.po: Likewise.
7031 * po/ia.po: Likewise.
7032 * po/id.po: Likewise.
7033 * po/it.po: Likewise.
7034 * po/ja.po: Likewise.
7035 * po/ko.po: Likewise.
7036 * po/lt.po: Likewise.
7037 * po/nb.po: Likewise.
7038 * po/nl.po: Likewise.
7039 * po/pl.po: Likewise.
7040 * po/pt_BR.po: Likewise.
7041 * po/ru.po: Likewise.
7042 * po/rw.po: Likewise.
7043 * po/sk.po: Likewise.
7044 * po/sl.po: Likewise.
7045 * po/sv.po: Likewise.
7046 * po/tr.po: Likewise.
7047 * po/uk.po: Likewise.
7048 * po/vi.po: Likewise.
7049 * po/zh_CN.po: Likewise.
7050 * po/zh_TW.po: Likewise.
7051
8d016826
UB
70522019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7053
7054 [BZ #24130]
7055 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7056 of $f3 register on $y_is_neg path.
7057
a0bb5abd
ST
70582019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7059
b96e22d0 7060 [BZ #24110]
a0bb5abd
ST
7061 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7062 sigaltstack.ss_flags.
7063
b22eed37
TS
70642019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7065
7066 [BZ #23758]
7067 * manual/time.texi (strftime): Document "%Ey".
7068 * time/strftime_l.c (__strftime_internal): Set the default width
7069 padding with zero of "%Ey" to 2.
7070
32f600a2
TS
7071 [BZ #24096]
7072 * manual/time.texi (strftime): Document "%EC" and "%EY".
7073 * time/Makefile (tests): Add tst-strftime2.
7074 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7075 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7076 override padding for "%Ey".
7077 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7078 "%Ey" in the subformat as if decorated with that flag.
7079 * time/tst-strftime2.c: New file.
7080
8e889c5d
AZ
70812019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7082
3367acdb
AZ
7083 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7084 are not defined.
7085
8e889c5d
AZ
7086 [BZ #24122]
7087 * elf/Makefile (tests): Add tst-audit13.
7088 (modules-names): Add tst-audit13mod1.
7089 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7090 rule.
7091 * elf/rtld.c (dl_main): Handle invalid audit module version.
7092 * elf/tst-audit13.c: New file.
7093 * elf/tst-audit13mod1.c: Likewise.
7094
a95dc01c
ST
70952019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7096
7097 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7098 returned by __hurd_at_flags.
ee4d7902
ST
7099 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7100 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7101 directly instead of __hurd_file_name_lookup.
a95dc01c 7102
712f1167
JM
71032019-01-21 Joseph Myers <joseph@codesourcery.com>
7104
7105 * scripts/build-many-glibcs.py (Context.checkout): Default
7106 binutils version to 2.32 branch.
7107
108bc404
FW
71082019-01-21 Florian Weimer <fweimer@redhat.com>
7109
7110 [BZ #20018]
7111 CVE-2016-10739
7112 resolv: Reject trailing characters in host names
7113 * include/arpa/inet.h (__inet_aton_exact): Declare.
7114 (inet_aton): Remove hidden prototype. No longer used internally.
7115 * nscd/gai.c (__inet_aton): Do not define.
7116 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7117 * nss/digits_dots.c (__inet_aton): Likewise.
7118 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7119 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7120 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7121 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7122 (tst-resolv-trailing): Likewise.
7123 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7124 libc.
7125 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7126 Make static. Add endp parameter.
7127 (__inet_aton_exact): New function.
7128 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7129 (__inet_addr): Call inet_aton_end.
7130 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7131 not just IPv6. Call __inet_aton_exact.
7132 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7133 (tests): Make const. Add additional test cases with trailing
7134 characters.
7135 (do_test): Use array_length.
7136 * resolv/tst-inet_aton_exact.c: New file.
7137 * resolv/tst-resolv-trailing.c: Likewise.
7138 * resolv/tst-resolv-nondecimal.c: Likewise.
7139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7140
5165de69
L
71412019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7142
7143 [BZ# 24097]
7144 CVE-2019-6488
7145 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7146 Clear the upper 32 bits of RSI register.
7147 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7148 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7149 and tst-size_t-wcsnlen.
7150 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7151 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7152
c7c54f65
L
71532019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7154
7155 [BZ# 24097]
7156 CVE-2019-6488
7157 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7158 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7160 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7161 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7162
ee915088
L
71632019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7164
7165 [BZ# 24097]
7166 CVE-2019-6488
7167 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7169 * sysdeps/x86_64/strcmp.S: Likewise.
7170 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7171 tst-size_t-strncmp and tst-size_t-wcsncmp.
7172 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7173 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7174 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7175
82d0b4a4
L
71762019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 [BZ# 24097]
7179 CVE-2019-6488
7180 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7181 RDX_LP for length. Clear the upper 32 bits of RDX register.
7182 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7183 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7184 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7185 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7186
ecd8b842
L
71872019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7188
7189 [BZ# 24097]
7190 CVE-2019-6488
7191 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7192 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7193 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7194 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7195
231c5676
L
71962019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7197
7198 [BZ# 24097]
7199 CVE-2019-6488
7200 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7201 length. Clear the upper 32 bits of RDX register.
7202 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7203 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7204 Likewise.
7205 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7206 Likewise.
7207 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7208 tst-size_t-wmemchr.
7209 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7210
b304fc20
L
72112019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7212
7213 [BZ# 24097]
7214 CVE-2019-6488
7215 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7216 length. Clear the upper 32 bits of RDX register.
7217 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7218 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7219 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7220 tst-size_t-wmemcmp.
7221 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7222 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7223
97700a34
L
72242019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7225
7226 [BZ# 24097]
7227 CVE-2019-6488
7228 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7229 upper 32 bits of RDX register.
7230 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7231 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7232 tst-size_t-wmemchr.
7233 * sysdeps/x86_64/x32/test-size_t.h: New file.
7234 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7235 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7236
6ca53a24
FW
72372019-01-18 Florian Weimer <fweimer@redhat.com>
7238
7239 [BZ #24112]
7240 resolv: Do not send queries for non-host-names in nss_dns.
7241 * resolv/nss_dns/dns-host.c (check_name): New function.
7242 (_nss_dns_gethostbyname2_r): Use it.
7243 (_nss_dns_gethostbyname_r): Likewise.
7244 (_nss_dns_gethostbyname4_r): Likewise.
7245
5e30b8ef
FW
72462019-01-21 Florian Weimer <fweimer@redhat.com>
7247
7248 * resolv/inet_addr.c: Reformat to GNU style.
7249 (__inet_addr, __inet_aton): Update comment.
7250
71effcea
FW
72512019-01-18 Florian Weimer <fweimer@redhat.com>
7252
7253 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7254 ("malloc: Use current (C11-style) atomics for fastbin access").
7255 This commit introduces a substantial performance regression on
7256 POWER and Aarch64.
7257 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7258 (REMOVE_FB): Define.
7259 (_int_malloc): Use it and reindent.
7260 (_int_free): Use CAS loop with
7261 catomic_compare_and_exchange_val_rel.
7262 (malloc_consolidate): Use atomic_exchange_acq.
7263
7264
562f4362
L
72652019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7266
7267 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7268 -Wl,-z,now.
7269 (LDFLAGS-tst-minsigstksz-2): Likewise.
7270 (LDFLAGS-tst-minsigstksz-3): Likewise.
7271 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7272 (LDFLAGS-tst-minsigstksz-4): Likewise.
7273
80dfa298
TS
72742019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7275
7276 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7277 than "alternate".
7278
008b598e
PC
72792019-01-16 Paul A. Clarke <pc@us.ibm.com>
7280
7281 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7282
fbbc9a4e
ZW
72832019-01-16 Zack Weinberg <zackw@panix.com>
7284
6b5c8607
TS
7285 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7286 (xget_sigstack_location): New test support functions.
7287 * support/xsigstack.c: New file, implementing them.
7288 * support/tst-xsigstack.c: New test for them.
7289 * support/Makefile: Update.
fbbc9a4e 7290
6b5c8607
TS
7291 * signal/tst-minsigstksz-1.c
7292 * signal/tst-minsigstksz-2.c
7293 * signal/tst-minsigstksz-3.c
7294 * signal/tst-minsigstksz-3a.c
7295 * signal/tst-minsigstksz-4.c: New tests.
7296 * signal/Makefile: Run them.
fbbc9a4e 7297
5f1135e4
SP
72982019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7299
7300 * po/libc.pot: Regenerate.
7301
ecdacd34
TMQMF
73022019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7303
7304 * math/libm-test-fma.inc (fma_test_data): Set
7305 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7306
56054664
RA
73072019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7308
7309 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7310 (do_test): Changed __vector __int128_t to __vector unsigned int.
7311
1a153e47
LS
73122019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7313
7314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7315 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7316 stpcpy-avx2 and stpncpy-avx2.
7317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7318 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7319 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7320 and __stpncpy_avx2.
7321 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7322 ifunc-strcpy.h}: rename header for a more generic name.
7323 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7324 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7325 AVX unaligned load is fast and vzeroupper is preferred.
7326 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7327 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7328 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7329 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7330 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7331 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7332
a1b02ae7
DL
73332019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7334
7335 * argp/argp-help.c: Fix typo in comment.
7336 * misc/sys/cdefs.h: Likewise.
7337 * posix/regexec.c (sift_states_iter_mb): Likewise.
7338 * socket/sockatmark.c: Likewise.
7339 * socket/sys/socket.h: Likewise.
7340 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7341 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7342 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7344 * sysdeps/unix/sockatmark.c: Likewise.
7345 * time/strptime_l.c: Likewise.
7346
5cbbf01e
TS
73472019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7348
7349 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7350 missing space after the cast of "_NL_CURRENT".
7351
0bc9bdf1
RA
73522019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7353
7354 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7355 ifdef to fix read of VSCR.
7356 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7357 tst-ucontext-ppc64-vscr.c to test list.
7358 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7359
5494af04
AH
73602019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7361
7362 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7363 fall-through.
7364
e17f63ff
JW
73652019-01-09 Jim Wilson <jimw@sifive.com>
7366
7367 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7368
02f440c1
WD
73692019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7370
7371 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7372 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7373 __memcpy_falkor for ares.
7374 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7375 Add new define.
7376 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7377 Add ares cpu.
7378
69da3c9e
L
73792019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 [BZ #24066]
7382 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7383 4_FP_W_TYPEs are used for IEEE quad precision.
7384 * soft-fp/extendhftf2.c: Likewise.
7385 * soft-fp/extendsftf2.c: Likewise.
7386 * soft-fp/extendxftf2.c: Likewise.
7387 * soft-fp/trunctfdf2.c: Likewise.
7388 * soft-fp/trunctfhf2.c: Likewise.
7389 * soft-fp/trunctfsf2.c: Likewise.
7390 * soft-fp/trunctfxf2.c: Likewise.
7391 * sysdeps/alpha/ots_cvttx.c: Likewise.
7392 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7393 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7394 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7395 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7396 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7397 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7398 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7399 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7400 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7401 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7402 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7403 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7404 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7405 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7406 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7407 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7408 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7409
2ef42716
AJ
74102019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7411
7412 [BZ #24024]
7413 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7414 code with -fmath-errno.
7415 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7416 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7417 * string/test-strerror-errno.c: New file.
7418
7395f3a0
AJ
74192019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7420
7421 [BZ #24046]
7422 * localedata/locales/en_US (date_fmt): Add, set to
7423 "%a %d %b %Y %r %Z".
7424
010fe231
FW
74252019-01-07 Florian Weimer <fweimer@redhat.com>
7426
7427 [BZ #24063]
7428 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7429 instead of @var{errno}.
7430 (Parsing of Integers): Likewise.
7431 (Parsing of Floats): Likewise.
7432 * manual/filesys.texi (Working with Directory Trees): Likewise.
7433 (Temporary Files): Likewise.
7434 * manual/job.texi (Terminal Access Functions): Likewise.
7435 * manual/llio.texi (Synchronizing I/O): Likewise.
7436 * manual/math.texi (SVID Random): Likewise.
7437 * manual/message.texi (The catgets Functions): Likewise.
7438 (Translation with gettext): Likewise.
7439 (Locating gettext catalog): Likewise.
7440 (Charset conversion in gettext): Likewise.
7441 * manual/nss.texi (NSS Module Function Internals): Likewise.
7442 * manual/search.texi (Hash Search Function): Likewise.
7443 * manual/setjmp.texi (System V contexts): Likewise.
7444 * manual/time.texi (Sleeping): Likewise.
7445 * manual/users.texi (Lookup User): Likewise.
7446 (Lookup Group): Likewise.
7447
b79dc8d0
AZ
74482019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7449
7450 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7451 fix typo.
7452
890461fe 74532019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
7454
7455 [BZ #19444]
7456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7457 __builtin_unreachable for default case in switch.
7458 (__ieee754_yn): Likewise.
7459 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7460 (__ieee754_ynl): Likewise.
7461 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7462 (__ieee754_ynl): Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7464 (__ieee754_ynl): Likewise.
7465
8b18d418
SN
74662019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7467
7468 * manual/maint.texi: Use @{ and @}.
7469
4392898d
FW
74702019-01-04 Florian Weimer <fweimer@redhat.com>
7471
7472 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7473 function.
7474 (do_in_chroot_1): Call it.
7475 (run_chroot_tests):
7476 Improve error reporting in case it is not possible to create a
7477 collision for the PTY name required by the test.
7478
17cc27d5
AZ
74792019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7480
ce7eb0e9
AZ
7481 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7482 lll_wait_tid with timeout.
7483 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7484 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7485 futex_reltimed_wait_cancelable for cancelabla mode.
7486 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7487 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7488 macros.
7489 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7490 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7491 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7492 SYSCALL_CANCEL_NCS): New macro.
7493 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7494 (lll_timedwait_tid): Remove macro.
7495 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7496 Likewise.
7497 (lll_timedwait_tid): Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7499 Likewise.
7500 (lll_timedwait_tid): Likewise.
7501 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7502 Likewise.
7503 (lll_timedwait_tid): Likewise.
7504 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7505 Use INTERNAL_SYSCALL_CANCEL.
7506 * sysdeps/unix/sysv/linux/futex-internal.h
7507 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7508 instead of __pthread_{enable,disable}_asynccancel.
7509 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7510 (lll_futex_wait_cancel): New macro.
7511
0b13e255
AZ
7512 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7513 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7514
85c828a4
AZ
7515 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7516 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7517
d0d7f85f
AZ
7518 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7519 in backtrace analysis.
7520 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7521 side-effects.
7522 (tf_send): Likewise.
7523
17cc27d5
AZ
7524 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7525 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7526 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7527 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7528 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7529 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7530 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7531 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7532 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7533 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7534 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7535 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7536 Likewise.
7537 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7538 tst-cancel-wrappers.sh.
7539 (generated): Remove tst-cancel-wrappers.out.
7540 (tst-cancel-wrappers.out): Remove rule.
7541 * nptl/tst-cancel-wrappers.sh: Remove file.
7542
7d7af8f1
SN
75432019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7544
7545 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7546 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7547 Update.
7548
805334b2
AZ
75492019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7550
7551 [BZ #23640]
7552 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7553 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7554 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7555 close-on-exec reset for adddup2 file action.
7556 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7557
03992356
ZW
75582019-01-03 Zack Weinberg <zackw@panix.com>
7559
7560 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7561 parameter. Only use deprecated scanf when __USE_GNU is defined
7562 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7563 than 201103L, whichever is relevant for the language being compiled.
7564
7565 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7566 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7567 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7568 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7569 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7570
7571 * libio/iovsscanf.c
7572 * libio/fwscanf.c
7573 * libio/iovswscanf.c
7574 * libio/swscanf.c
7575 * libio/vscanf.c
7576 * libio/vwscanf.c
7577 * libio/wscanf.c
7578 * stdio-common/fscanf.c
7579 * stdio-common/scanf.c
7580 * stdio-common/vfscanf.c
7581 * stdio-common/vfwscanf.c
7582 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7583 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7584 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7585 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7586 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7587 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7588 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7589 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7590 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7591 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7592 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7593 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7594 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7595 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7596 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7597
7598 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7599 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7600 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7601 not sscanf.
7602 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7603 with a preprocessor macro.
7604
7605 * stdio-common/bug21.c, stdio-common/scanf14.c:
7606 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7607 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7608 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7609 to xscanf, xfscanf, xsscanf.
7610
7611 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7612 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7613 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7614 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7615 xfscanf, xsscanf.
7616 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7617 override feature selection macros or provide definitions of u_char etc.
7618 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7619 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7620 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7621 with -std=gnu89.
7622
8083afa5
AZ
76232019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7624
6f343c1f
AZ
7625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7626 bits/termios-misc.h.
7627 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7628 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7629 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7631 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7632 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7633
51f4beb0
AZ
7634 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7635 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7636 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7637 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7638 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7639 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7640 termios-misc.h.
7641 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7642 (sysdep_headers): Add termios-misc.h.
7643
f69c5cb2
AZ
7644 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7645 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7646 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7647
3aa4a07e
AZ
7648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7649 termios-tcflow.h.
7650 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7651 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7652 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7653 TCSAFLUSH): Move to termios-tcflow.h.
7654 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7655 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7658
22679ddf
AZ
7659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7660 termios-c_lflag.h.
7661 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7662 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7663 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7664 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7665 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7666 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7667 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7668 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7669 Likewise.
7670 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7671 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7672 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7673 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7674
72eb6ecc
AZ
7675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7676 termios-c_cflag.h.
7677 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7678 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7679 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7680 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7681 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7682 termios-c_cflag.h.
7683 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7684 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7687
9c5d0d02
AZ
7688 [BZ #23783]
7689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7690 termios-baud.h.
7691 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7692 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7693 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7694 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7695 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7696 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7697 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7698 __MAX_BAUD): Move to termios-baud.h.
7699 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7700 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7701 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7704
7b832018
AZ
7705 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7706 termios-c_oflag.h.
7707 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7708 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7709 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7710 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7711 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7712 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7713 termios-c_oflag.h.
7714 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7715 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7716 FFR1): Likewise.
7717 [USE_MISC] (XTABS): Likewise.
7718 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7719 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7721 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7722
3127003e
AZ
7723 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7724 termios-c_iflag.h.
7725 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7726 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7727 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7728 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7729 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7730 IUTF8): Move to termios-c_iflag.h.
7731 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7732 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7735
48c1dd96
AZ
7736 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7737 termios-cc.h.
7738 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7739 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7740 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7743 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7744 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7745 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7746 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7750
e5a50db3
AZ
7751 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7752 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7753 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7756 termios-struct.h.
7757 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7758 termios-struct.h.
7759 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7760 Likewise.
7761 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7762 Likewise.
7763 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7764 Likewise.
7765 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7766 Likewise.
7767 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7768 _HAVE_C_OSPEED): Define.
7769 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7770 _HAVE_C_OSPEED): Likewise.
7771 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7772 _HAVE_C_OSPEED): Likewise.
7773 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7774 (cfsetospeed): Check for define value instead of existence.
7775 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7776 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7777 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7778 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7779 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7780
8083afa5
AZ
7781 [BZ #17783]
7782 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7783 Define.
7784 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7785 (TIOCSER_TEMT): Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7787 (TEOCSER_TEMT): Likewise.
7788
4d7d7dc6
P
77892019-01-02 PanderMusubi <pander@users.sourceforge.net>
7790
7791 [BZ #24011]
7792 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7793
8e291a29
JM
77942019-01-02 Joseph Myers <joseph@codesourcery.com>
7795
7796 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7797
55137f7d
ST
77982019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7799
7800 * sysdeps/htl/pt-barrierattr-setpshared.c
7801 (pthread_barrierattr_setpshared): Add stub warning.
7802 * sysdeps/htl/pt-condattr-setpshared.c
7803 (pthread_condattr_setpshared): Likewise.
7804 * sysdeps/htl/pt-mutexattr-setpshared.c
7805 (pthread_mutexattr_setpshared): Likewise.
7806 * sysdeps/htl/pt-rwlockattr-setpshared.c
7807 (pthread_rwlockattr_setpshared): Likewise.
7808 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7809 (pthread_mutexattr_setpshared): Likewise.
7810
2ce09e01
JM
78112019-01-02 Joseph Myers <joseph@codesourcery.com>
7812
acb55dcb
JM
7813 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7814 constants to match with Linux 4.20.
7815
2ce09e01
JM
7816 * sysdeps/mips/mips32/libm-test-ulps: Update.
7817 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7818
fe20bb1d
AJ
78192019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7820
7821 [BZ #24034]
7822 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7823 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7824 than __typeof (...) for the a_ptr variable.
7825
2d9837c1
GG
78262019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7827
7828 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7829 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7830 * libio/Makefile (tests): Add tst-sprintf-ub and
7831 tst-sprintf-chk-ub.
7832 (CFLAGS-tst-sprintf-ub.c): New variable.
7833 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7834 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7835 destination buffer and check for overflows in fortified mode.
7836 * libio/libioP.h (PRINTF_CHK): New macro.
7837 * libio/tst-sprintf-chk-ub.c: New file.
7838 * libio/tst-sprintf-ub.c: Likewise.
7839
d5c6df0b 78402019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
7841
7842 [BZ #24018]
7843 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7844 failure.
7845
66081e38
FW
78462019-01-02 Florian Weimer <fweimer@redhat.com>
7847
7848 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7849
04277e02
JM
78502019-01-01 Joseph Myers <joseph@codesourcery.com>
7851
6ef3d225
JM
7852 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7853 macro.
7854
e3d4e292
JM
7855 * sysdeps/unix/sysv/linux/netpacket/packet.h
7856 (PACKET_IGNORE_OUTGOING): New macro.
7857
f4507797
JM
7858 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7859 macro.
7860
47ad5e1a
JM
7861 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7862 version to 4.20.
7863 (riscv_flush_icache): New syscall.
7864
7628a1b0
JM
7865 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7866 trailing whitespace removed.
7867 * scripts/config.guess: Update to version 2019-01-01.
7868 * scripts/config.sub: Update to version 2019-01-01.
7869 * scripts/move-if-change: Update from gnulib.
7870
c9123888
JM
7871 * NEWS: Update copyright dates.
7872 * catgets/gencat.c (print_version): Likewise.
7873 * csu/version.c (banner): Likewise.
7874 * debug/catchsegv.sh: Likewise.
7875 * debug/pcprofiledump.c (print_version): Likewise.
7876 * debug/xtrace.sh (do_version): Likewise.
7877 * elf/ldconfig.c (print_version): Likewise.
7878 * elf/ldd.bash.in: Likewise.
7879 * elf/pldd.c (print_version): Likewise.
7880 * elf/sotruss.sh: Likewise.
7881 * elf/sprof.c (print_version): Likewise.
7882 * iconv/iconv_prog.c (print_version): Likewise.
7883 * iconv/iconvconfig.c (print_version): Likewise.
7884 * locale/programs/locale.c (print_version): Likewise.
7885 * locale/programs/localedef.c (print_version): Likewise.
7886 * login/programs/pt_chown.c (print_version): Likewise.
7887 * malloc/memusage.sh (do_version): Likewise.
7888 * malloc/memusagestat.c (print_version): Likewise.
7889 * malloc/mtrace.pl: Likewise.
7890 * manual/libc.texinfo: Likewise.
7891 * nptl/version.c (banner): Likewise.
7892 * nscd/nscd.c (print_version): Likewise.
7893 * nss/getent.c (print_version): Likewise.
7894 * nss/makedb.c (print_version): Likewise.
7895 * posix/getconf.c (main): Likewise.
7896 * scripts/test-installation.pl: Likewise.
7897 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7898
04277e02
JM
7899 * All files with FSF copyright notices: Update copyright dates
7900 using scripts/update-copyrights.
7901 * locale/programs/charmap-kw.h: Regenerated.
7902 * locale/programs/locfile-kw.h: Likewise.
7903
e740e5b1
JM
79042018-12-31 Joseph Myers <joseph@codesourcery.com>
7905
7906 * timezone/zdump.c: Update from tzcode 2018i.
7907 * timezone/zic.c: Likewise.
7908
9b7f98b3
PE
79092018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7910
7911 regex: improve Gnulib port to AIX
7912 From the glibc point of view, this removes duplicate macro
7913 definitions and is obviously safe.
7914 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7915 * posix/regex_internal.h:
7916 (__attribute__, __attribute_warn_unused_result__):
7917 Remove; already defined elsewhere.
7918
b50dd3bc
FW
79192018-12-31 Florian Weimer <fw@deneb.enyo.de>
7920
7921 [BZ #24027]
7922 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7923 copying operation. (ncopies had the wrong type, resulting in an
7924 integer wraparound and too few elements being copied.)
7925
0b9c8490
L
79262018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7927
7928 [BZ #24022]
7929 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7930 <asm/syscalls.h> exists with __has_include__ before including it.
7931
01047fa6
JM
79322018-12-31 Joseph Myers <joseph@codesourcery.com>
7933
7934 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7935 version to 4.20.
7936
6b5c8607 79372018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
7938
7939 * hurd/lookup-retry: Include <unistd.h>.
7940 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7941 Release it on return. Handle "pid" magical lookup retry.
7942
ab74d59f 79432018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
989182c4
RL
7944
7945 [BZ #10496]
7946 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7947 (t_fmt_ampm): Likewise.
7948 * localedata/locales/aa_ER (t_fmt): Likewise.
7949 (t_fmt_ampm): Likewise.
7950 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7951 (t_fmt_ampm): Likewise.
7952 * localedata/locales/aa_ET (t_fmt): Likewise.
7953 (t_fmt_ampm): Likewise.
7954 * localedata/locales/am_ET (t_fmt): Likewise.
7955 (t_fmt_ampm): Likewise.
7956 * localedata/locales/byn_ER (t_fmt): Likewise.
7957 (t_fmt_ampm): Likewise.
7958 * localedata/locales/om_ET (t_fmt): Likewise.
7959 (t_fmt_ampm): Likewise.
7960 * localedata/locales/sid_ET (t_fmt): Likewise.
7961 (t_fmt_ampm): Likewise.
7962 * localedata/locales/so_DJ (t_fmt): Likewise.
7963 (t_fmt_ampm): Likewise.
7964 * localedata/locales/so_ET (t_fmt): Likewise.
7965 (t_fmt_ampm): Likewise.
7966 * localedata/locales/so_SO (t_fmt): Likewise.
7967 (t_fmt_ampm): Likewise.
7968 * localedata/locales/ti_ER (t_fmt): Likewise.
7969 (t_fmt_ampm): Likewise.
7970 * localedata/locales/ti_ET (t_fmt): Likewise.
7971 (t_fmt_ampm): Likewise.
7972 * localedata/locales/tig_ER (t_fmt): Likewise.
7973 (t_fmt_ampm): Likewise.
7974 * localedata/locales/wal_ET (t_fmt): Likewise.
7975 (t_fmt_ampm): Likewise.
7976
7977 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7978 * localedata/locales/ar_IN (t_fmt): Likewise.
7979 * localedata/locales/bhb_IN (t_fmt): Likewise.
7980 * localedata/locales/bho_IN (t_fmt): Likewise.
7981 * localedata/locales/bi_VU (t_fmt): Likewise.
7982 * localedata/locales/bn_BD (t_fmt): Likewise.
7983 * localedata/locales/bn_IN (t_fmt): Likewise.
7984 * localedata/locales/brx_IN (t_fmt): Likewise.
7985 * localedata/locales/doi_IN (t_fmt): Likewise.
7986 * localedata/locales/en_HK (t_fmt): Likewise.
7987 (t_fmt_ampm): Likewise.
7988 * localedata/locales/en_IN (t_fmt): Likewise.
7989 * localedata/locales/en_PH (t_fmt): Likewise.
7990 * localedata/locales/gu_IN (t_fmt): Likewise.
7991 * localedata/locales/hi_IN (t_fmt): Likewise.
7992 * localedata/locales/hif_FJ (t_fmt): Likewise.
7993 * localedata/locales/hne_IN (t_fmt): Likewise.
7994 * localedata/locales/kn_IN (t_fmt): Likewise.
7995 * localedata/locales/kok_IN (t_fmt): Likewise.
7996 * localedata/locales/ks_IN (t_fmt): Likewise.
7997 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7998 * localedata/locales/mag_IN (t_fmt): Likewise.
7999 * localedata/locales/mai_IN (t_fmt): Likewise.
8000 * localedata/locales/mjw_IN (t_fmt): Likewise.
8001 * localedata/locales/ml_IN (t_fmt): Likewise.
8002 * localedata/locales/mni_IN (t_fmt): Likewise.
8003 * localedata/locales/mr_IN (t_fmt): Likewise.
8004 * localedata/locales/ms_MY (t_fmt): Likewise.
8005 * localedata/locales/pa_IN (t_fmt): Likewise.
8006 * localedata/locales/raj_IN (t_fmt): Likewise.
8007 * localedata/locales/sa_IN (t_fmt): Likewise.
8008 * localedata/locales/sat_IN (t_fmt): Likewise.
8009 * localedata/locales/sd_IN (t_fmt): Likewise.
8010 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8011 * localedata/locales/tcy_IN (t_fmt): Likewise.
8012 * localedata/locales/the_NP (t_fmt): Likewise.
8013 * localedata/locales/to_TO (t_fmt): Likewise.
8014 * localedata/locales/ur_IN (t_fmt): Likewise.
8015
8016 * localedata/locales/hif_FJ (d_t_fmt): Set to
8017 "%A %d %b %Y %I:%M:%S %p".
8018 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8019
8020 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8021 * localedata/locales/ar_BH (t_fmt): Likewise.
8022 * localedata/locales/ar_DZ (t_fmt): Likewise.
8023 * localedata/locales/ar_EG (t_fmt): Likewise.
8024 * localedata/locales/ar_IQ (t_fmt): Likewise.
8025 * localedata/locales/ar_JO (t_fmt): Likewise.
8026 * localedata/locales/ar_KW (t_fmt): Likewise.
8027 * localedata/locales/ar_LB (t_fmt): Likewise.
8028 * localedata/locales/ar_LY (t_fmt): Likewise.
8029 * localedata/locales/ar_OM (t_fmt): Likewise.
8030 * localedata/locales/ar_QA (t_fmt): Likewise.
8031 * localedata/locales/ar_SD (t_fmt): Likewise.
8032 * localedata/locales/ar_SS (t_fmt): Likewise.
8033 * localedata/locales/ar_SY (t_fmt): Likewise.
8034 * localedata/locales/ar_TN (t_fmt): Likewise.
8035 * localedata/locales/ar_YE (t_fmt): Likewise.
8036
8037 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8038 (t_fmt_ampm): Likewise.
8039 * localedata/locales/gez_ET (t_fmt): Likewise.
8040 (t_fmt_ampm): Likewise.
8041
8042 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8043 (t_fmt_ampm): Likewise.
8044 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8045
8046 * localedata/locales/zh_HK (t_fmt):
8047 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8048
8049 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8050 because this locale does not use the 12-hour clock.
8051 (t_fmt): Set to "%Z %H:%M:%S".
8052 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8053
8054 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8055 because this locale does not use the 12-hour clock.
8056 (t_fmt): Set to "%H:%M:%S %Z".
8057 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8058
8059 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8060 because this locale does not use the 12-hour clock.
8061 (t_fmt): Set to "%T".
8062 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8063 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8064
8065 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8066 because this locale does not use the 12-hour clock.
8067 (t_fmt): Set to "%H:%M:%S %Z".
8068 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8069
8070 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8071 because this locale does not use the 12-hour clock.
8072 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8073 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8074
ab74d59f 80752018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
27841a7d
RL
8076
8077 [BZ #10496]
8078 [BZ #23724]
8079 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8080 (t_fmt_ampm): Likewise.
8081 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8082 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8083 (d_fmt): Set to "%-d.%-m.%y".
8084
0253580a
AZ
80852018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8086
8087 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8088 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8089 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8090 Likewise.
8091 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8092 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8093 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8094 function.
8095 * support/blob_repeat.c (check_mul_overflow_size_t,
8096 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8097
09104e5b
AJ
80982018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8099
8100 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8101
c0feb731
PE
81022018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8103
8104 regex: simplify Gnulib port
8105 This simplifies the code, by removing stuff intended for porting
8106 to Gnulib but no longer needed there.
8107 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8108 uses of libc_hidden_def, weak_alias.
8109 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8110 _Restrict_ except for public-facing headers.
8111 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8112 Remove; already defined elsewhere.
8113 * posix/regex.c, posix/regex_internal.h:
8114 Use __GNUC_PREREQ instead of rolling our own.
8115 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8116
5289f1f5
WD
81172018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8118
8119 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 8120 (memchr_strlen): New function.
5289f1f5 8121
ba4b8fab
L
81222018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8123
8124 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8125 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8126 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8127
9412979a
L
81282018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8129
8130 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8131
8700a785
L
81322018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8133
8134 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8135 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8136 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8137 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8138 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8139 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8140 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8141
57b3ff8e
JM
81422018-12-21 Joseph Myers <joseph@codesourcery.com>
8143
8144 [BZ #24023]
8145 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8146 PLT reference in libc.so.
8147 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8148 _Q_lltoq and _Q_qtod PLT references in libc.so.
8149
90d3320d
WD
81502018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8151
8152 * benchtests/bench-memchr.c: Cleanup defines.
8153 * benchtests/bench-memcmp.c: Likewise.
8154 * benchtests/bench-memset.c: Likewise.
8155 * benchtests/bench-memset-large.c: Likewise.
8156 * benchtests/bench-memset-walk.c: Likewise.
8157 * benchtests/bench-stpcpy.c: Likewise.
8158 * benchtests/bench-stpncpy.c: Likewise.
8159 * benchtests/bench-strcat.c: Likewise.
8160 * benchtests/bench-strchr.c: Likewise.
8161 * benchtests/bench-strcmp.c: Likewise.
8162 * benchtests/bench-strcpy.c: Likewise.
8163 * benchtests/bench-strcspn.c: Likewise.
8164 * benchtests/bench-string.h: Likewise.
8165 * benchtests/bench-strlen.c: Likewise.
8166 * benchtests/bench-strncat.c: Likewise.
8167 * benchtests/bench-strncmp.c: Likewise.
8168 * benchtests/bench-strncpy.c: Likewise.
8169 * benchtests/bench-strnlen.c: Likewise.
8170 * benchtests/bench-strpbrk.c: Likewise.
8171 * benchtests/bench-strrchr.c: Likewise.
8172 * benchtests/bench-strspn.c: Likewise.
8173
192963be
JM
81742018-12-21 Joseph Myers <joseph@codesourcery.com>
8175
5d025ea6
JM
8176 * stdlib/longlong.h: Update from GCC.
8177
192963be
JM
8178 [BZ #23993]
8179 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8180 * configure: Regenerated.
8181 * manual/install.texi (Tools for Compilation): Update minimum GCC
8182 version.
8183 * INSTALL: Regenerated.
8184
6b5c8607 81852018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
8186
8187 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8188
6b5c8607 81892018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
8190
8191 * malloc/malloc.c (mremap_chunk): Additional checks.
8192
5f72b005
MH
81932018-12-21 Mao Han <han_mao@c-sky.com>
8194
8195 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8196 * scripts/build-many-glibcs.py: Add C-SKY targets.
8197 * sysdeps/csky/Implies: New file.
8198 * sysdeps/csky/Makefile: Likewise.
8199 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8200 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8201 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8202 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8203 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8204 * sysdeps/csky/abiv2/memmove.S: Likewise.
8205 * sysdeps/csky/abiv2/memset.S: Likewise.
8206 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8207 * sysdeps/csky/abiv2/start.S: Likewise.
8208 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8209 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8210 * sysdeps/csky/abiv2/strlen.S: Likewise.
8211 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8212 * sysdeps/csky/abort-instr.h: Likewise.
8213 * sysdeps/csky/atomic-machine.h: Likewise.
8214 * sysdeps/csky/bits/endian.h: Likewise.
8215 * sysdeps/csky/bits/fenv.h: Likewise.
8216 * sysdeps/csky/bits/link.h: Likewise.
8217 * sysdeps/csky/bits/setjmp.h: Likewise.
8218 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8219 * sysdeps/csky/bsd-setjmp.S: Likewise.
8220 * sysdeps/csky/configure: Likewise.
8221 * sysdeps/csky/configure.ac: Likewise.
8222 * sysdeps/csky/dl-machine.h: Likewise.
8223 * sysdeps/csky/dl-procinfo.c: Likewise.
8224 * sysdeps/csky/dl-procinfo.h: Likewise.
8225 * sysdeps/csky/dl-sysdep.h: Likewise.
8226 * sysdeps/csky/dl-tls.h: Likewise.
8227 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8228 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8229 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8230 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8231 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8232 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8233 * sysdeps/csky/fpu/fegetround.c: Likewise.
8234 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8235 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8236 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8237 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8238 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8239 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8240 * sysdeps/csky/fpu/fesetround.c: Likewise.
8241 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8242 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8243 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8244 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8245 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8246 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8247 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8248 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8249 * sysdeps/csky/fpu_control.h: Likewise.
8250 * sysdeps/csky/gccframe.h: Likewise.
8251 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8252 * sysdeps/csky/ldsodefs.h: Likewise.
8253 * sysdeps/csky/libc-tls.c: Likewise.
8254 * sysdeps/csky/linkmap.h: Likewise.
8255 * sysdeps/csky/machine-gmon.h: Likewise.
8256 * sysdeps/csky/memusage.h: Likewise.
8257 * sysdeps/csky/nofpu/Implies: Likewise.
8258 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8259 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8260 * sysdeps/csky/nptl/Makefile: Likewise.
8261 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8262 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8263 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8264 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8265 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8266 * sysdeps/csky/nptl/tls.h: Likewise.
8267 * sysdeps/csky/preconfigure: Likewise.
8268 * sysdeps/csky/sfp-machine.h: Likewise.
8269 * sysdeps/csky/sotruss-lib.c: Likewise.
8270 * sysdeps/csky/stackinfo.h: Likewise.
8271 * sysdeps/csky/sysdep.h: Likewise.
8272 * sysdeps/csky/tininess.h: Likewise.
8273 * sysdeps/csky/tst-audit.h: Likewise.
8274 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8275 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8276 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8277 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8278 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8279 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8280 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8281 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8282 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8283 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8284 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8285 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8286 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8287 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8288 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8289 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8290 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8291 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8292 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8293 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8294 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8295 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8296 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8297 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8298 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8299 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8300 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8301 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8302 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8303 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8304 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8305 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8306 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8307 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8308 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8309 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8310 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8311 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8312 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8313 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8314 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8315 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8316 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8317 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8318
6b5c8607 83192018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
8320
8321 * include/time.h (__difftime64): Add.
8322 * time/difftime.c (subtract): convert to 64-bit time.
8323 * time/difftime.c (__difftime64): Add.
8324 * time/difftime.c (__difftime): Wrap around __difftime64.
8325
ab416931
L
83262018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8327
8328 * manual/examples/add.c: Remove redundant "if not".
8329 * manual/examples/argp-ex1.c: Likewise.
8330 * manual/examples/argp-ex2.c: Likewise.
8331 * manual/examples/argp-ex3.c: Likewise.
8332 * manual/examples/argp-ex4.c: Likewise.
8333 * manual/examples/atexit.c: Likewise.
8334 * manual/examples/db.c: Likewise.
8335 * manual/examples/dir.c: Likewise.
8336 * manual/examples/dir2.c: Likewise.
8337 * manual/examples/execinfo.c: Likewise.
8338 * manual/examples/filecli.c: Likewise.
8339 * manual/examples/filesrv.c: Likewise.
8340 * manual/examples/fmtmsgexpl.c: Likewise.
8341 * manual/examples/genpass.c: Likewise.
8342 * manual/examples/inetcli.c: Likewise.
8343 * manual/examples/inetsrv.c: Likewise.
8344 * manual/examples/isockad.c: Likewise.
8345 * manual/examples/longopt.c: Likewise.
8346 * manual/examples/memopen.c: Likewise.
8347 * manual/examples/memstrm.c: Likewise.
8348 * manual/examples/mkdirent.c: Likewise.
8349 * manual/examples/mkfsock.c: Likewise.
8350 * manual/examples/mkisock.c: Likewise.
8351 * manual/examples/mygetpass.c: Likewise.
8352 * manual/examples/pipe.c: Likewise.
8353 * manual/examples/popen.c: Likewise.
8354 * manual/examples/rprintf.c: Likewise.
8355 * manual/examples/search.c: Likewise.
8356 * manual/examples/select.c: Likewise.
8357 * manual/examples/setjmp.c: Likewise.
8358 * manual/examples/sigh1.c: Likewise.
8359 * manual/examples/sigusr.c: Likewise.
8360 * manual/examples/stpcpy.c: Likewise.
8361 * manual/examples/strdupa.c: Likewise.
8362 * manual/examples/strftim.c: Likewise.
8363 * manual/examples/subopt.c: Likewise.
8364 * manual/examples/swapcontext.c: Likewise.
8365 * manual/examples/termios.c: Likewise.
8366 * manual/examples/testopt.c: Likewise.
8367 * manual/examples/testpass.c: Likewise.
8368 * manual/examples/timeval_subtract.c: Likewise.
8369
515f463f
JM
83702018-12-19 Joseph Myers <joseph@codesourcery.com>
8371
da75c1b1
JM
8372 * sysdeps/x86/fpu/math_private.h: New file.
8373 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8374
515f463f
JM
8375 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8376 definition.
8377 (cosh): Likewise.
8378 (tanh): Likewise.
8379
1616d034
TMQMF
83802018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8381
8382 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8383 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8384 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8385 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8386 fields.
8387 (_dl_show_auxv): Give a special treatment to
8388 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8389 and AT_L3_CACHEGEOMETRY.
8390 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8391 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8392 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8393 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8394
61595e3d
AS
83952018-12-19 Andreas Schwab <schwab@suse.de>
8396
8397 * nscd/connections.c (check_use): Don't abort on invalid len.
8398
bbb7dc84
ST
83992018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8400
8401 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8402 values in the 64bit value cases.
8403
6b5c8607 84042018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 8405
c4c2836a
AA
8406 * include/time.h
8407 (__ctime64_r): Add.
8408 * time/ctime_r.c
8409 (__ctime64_r): Add.
8410 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8411
7755e504
AA
8412 * include/time.h
8413 (__ctime64): Add.
8414 * time/gmtime.c
8415 (__ctime64): Add.
8416 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8417
a1d346ce
AA
8418 * include/time.h
8419 (__gmtime64_r): Add.
8420 * time/gmtime.c
8421 (__gmtime64_r): Add.
8422 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8423
131db8b0
AA
8424 * include/time.h
8425 (__gmtime64): Add.
8426 * time/gmtime.c
8427 (__gmtime64): Add.
8428 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8429
64c2277d
AA
8430 * include/time.h
8431 (__localtime64_r): Add.
8432 * time/localtime.c
8433 (__localtime64_r): Add.
8434 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8435
56b98bf1
AZ
84362018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8437
64dd7a16
AZ
8438 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8439 kernel_sigction definition.
8440
8b1d5da5
AZ
8441 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8442
f9eabb19
AZ
8443 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8444
56b98bf1
AZ
8445 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8446 __syscall_rt_sigaction.
8447 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8448 (kernel_sigaction): Use Linux generic defintion.
8449 (STUB): Define.
8450 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8451 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8452 (__syscall_rt_sigaction): Remove implementation.
8453 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8454 hidden.
8455 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8456 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8457 INTERNAL_SYSCALL): Remove definitions.
8458 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8459 action and signal set size.
8460 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8462
43a45c2d
AZ
84632018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8464 James Clarke <jrtc27@jrtc27.com>
8465
dfa6216f 8466 [BZ #23967]
43a45c2d
AZ
8467 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8468 Define if SA_RESTORER is defined.
8469 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8470 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8471 already defined.
8472 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8473 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8474 definitions.
8475 (HAS_SA_RESTORER): Define.
8476 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8477 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8478 (HAS_SA_RESTORER): Define.
8479 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8480 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8481 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8482 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8484
646ce7e0
JM
84852018-12-18 Joseph Myers <joseph@codesourcery.com>
8486
8487 * sysdeps/unix/sysv/linux/kernel-features.h
8488 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8489 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8490 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8491 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8492 (__ASSUME_ST_INO_64_BIT): Likewise.
8493 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8494 <kernel-features.h>.
8495 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8496 Remove conditional code.
8497 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8498 <kernel-features.h>.
8499 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8500 Remove conditional code.
8501 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8502 <kernel-features.h>.
8503 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8504 Remove conditional code.
8505 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8506 <kernel-features.h>.
8507 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8508 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8509
80190d2b
SL
85102018-12-18 Stefan Liebler <stli@linux.ibm.com>
8511
8512 * sysdeps/s390/multiarch/ifunc-resolve.h
8513 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8514 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8515 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8516 Delete macro definition.
8517 (s390_libc_ifunc_init): Rename to
8518 s390_libc_ifunc_expr_stfle_init.
8519 * sysdeps/s390/bzero: Use
8520 s390_libc_ifunc_expr_stfle_init instead of
8521 s390_libc_ifunc_init.
8522 * sysdeps/s390/memcmp.c: Likewise.
8523 * sysdeps/s390/memcpy.c: Likewise.
8524 * sysdeps/s390/mempcpy.c: Likewise.
8525 * sysdeps/s390/memset.c: Likewise.
8526
12f0dcb8
SL
85272018-12-18 Stefan Liebler <stli@linux.ibm.com>
8528
8529 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8530 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8531
25654a8c
SL
85322018-12-18 Stefan Liebler <stli@linux.ibm.com>
8533
8534 * sysdeps/s390/multiarch/Makefile
8535 (sysdep_routines): Remove wmemcmp variants.
8536 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8537 * sysdeps/s390/multiarch/ifunc-impl-list.c
8538 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8539 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8540 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8541 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8542 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8543 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8544 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8545 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8546
d2a7436c
SL
85472018-12-18 Stefan Liebler <stli@linux.ibm.com>
8548
8549 * sysdeps/s390/multiarch/Makefile
8550 (sysdep_routines): Remove wmemset variants.
8551 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8552 * sysdeps/s390/multiarch/ifunc-impl-list.c
8553 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8554 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8555 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8556 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8557 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8558 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8559 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8560 * sysdeps/s390/ifunc-wmemset.h: New file.
8561
c62534ae
SL
85622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8563
8564 * sysdeps/s390/multiarch/Makefile
8565 (sysdep_routines): Remove wmemchr variants.
8566 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8567 * sysdeps/s390/multiarch/ifunc-impl-list.c
8568 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8569 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8570 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8571 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8572 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8573 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8574 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8575 * sysdeps/s390/ifunc-wmemchr.h: New file.
8576
79b44cf6
SL
85772018-12-18 Stefan Liebler <stli@linux.ibm.com>
8578
8579 * sysdeps/s390/multiarch/Makefile
8580 (sysdep_routines): Remove wcscspn variants.
8581 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8582 * sysdeps/s390/multiarch/ifunc-impl-list.c
8583 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8584 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8585 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8586 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8587 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8588 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8589 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8590 * sysdeps/s390/ifunc-wcscspn.h: New file.
8591
8e87c1f6
SL
85922018-12-18 Stefan Liebler <stli@linux.ibm.com>
8593
8594 * sysdeps/s390/multiarch/Makefile
8595 (sysdep_routines): Remove wcspbrk variants.
8596 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8597 * sysdeps/s390/multiarch/ifunc-impl-list.c
8598 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8599 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8600 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8601 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8602 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8603 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8604 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8605 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8606
8507e831
SL
86072018-12-18 Stefan Liebler <stli@linux.ibm.com>
8608
8609 * sysdeps/s390/multiarch/Makefile
8610 (sysdep_routines): Remove wcsspn variants.
8611 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8612 * sysdeps/s390/multiarch/ifunc-impl-list.c
8613 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8614 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8615 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8616 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8617 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8618 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8619 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8620 * sysdeps/s390/ifunc-wcsspn.h: New file.
8621
4753713a
SL
86222018-12-18 Stefan Liebler <stli@linux.ibm.com>
8623
8624 * sysdeps/s390/multiarch/Makefile
8625 (sysdep_routines): Remove wcsrchr variants.
8626 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8627 * sysdeps/s390/multiarch/ifunc-impl-list.c
8628 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8629 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8630 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8631 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8632 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8633 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8634 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8635 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8636
c09c1b6f
SL
86372018-12-18 Stefan Liebler <stli@linux.ibm.com>
8638
8639 * sysdeps/s390/multiarch/Makefile
8640 (sysdep_routines): Remove wcschrnul variants.
8641 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8642 * sysdeps/s390/multiarch/ifunc-impl-list.c
8643 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8644 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8645 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8646 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8647 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8648 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8649 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8650 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8651
cf3ccc31
SL
86522018-12-18 Stefan Liebler <stli@linux.ibm.com>
8653
8654 * sysdeps/s390/multiarch/Makefile
8655 (sysdep_routines): Remove wcschr variants.
8656 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8657 * sysdeps/s390/multiarch/ifunc-impl-list.c
8658 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8659 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8660 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8661 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8662 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8663 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8664 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8665 * sysdeps/s390/ifunc-wcschr.h: New file.
8666
e9873e1d
SL
86672018-12-18 Stefan Liebler <stli@linux.ibm.com>
8668
8669 * sysdeps/s390/multiarch/Makefile
8670 (sysdep_routines): Remove wcsncmp variants.
8671 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8672 * sysdeps/s390/multiarch/ifunc-impl-list.c
8673 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8674 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8675 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8676 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8677 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8678 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8679 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8680 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8681
3459e23d
SL
86822018-12-18 Stefan Liebler <stli@linux.ibm.com>
8683
8684 * sysdeps/s390/multiarch/Makefile
8685 (sysdep_routines): Remove wcscmp variants.
8686 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8687 * sysdeps/s390/multiarch/ifunc-impl-list.c
8688 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8689 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8690 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8691 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8692 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8693 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8694 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8695 * sysdeps/s390/ifunc-wcscmp.h: New file.
8696
814a76e1
SL
86972018-12-18 Stefan Liebler <stli@linux.ibm.com>
8698
8699 * sysdeps/s390/multiarch/Makefile
8700 (sysdep_routines): Remove wcsncat variants.
8701 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8702 * sysdeps/s390/multiarch/ifunc-impl-list.c
8703 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8704 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8705 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8706 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8707 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8708 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8709 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8710 * sysdeps/s390/ifunc-wcsncat.h: New file.
8711
3389cae4
SL
87122018-12-18 Stefan Liebler <stli@linux.ibm.com>
8713
8714 * sysdeps/s390/multiarch/Makefile
8715 (sysdep_routines): Remove wcscat variants.
8716 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8717 * sysdeps/s390/multiarch/ifunc-impl-list.c
8718 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8719 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8720 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8721 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8722 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8723 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8724 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8725 * sysdeps/s390/ifunc-wcscat.h: New file.
8726
c3081bcb
SL
87272018-12-18 Stefan Liebler <stli@linux.ibm.com>
8728
8729 * sysdeps/s390/multiarch/Makefile
8730 (sysdep_routines): Remove wcpncpy variants.
8731 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8732 * sysdeps/s390/multiarch/ifunc-impl-list.c
8733 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8734 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8735 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8736 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8737 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8738 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8739 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8740 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8741
0966dd86
SL
87422018-12-18 Stefan Liebler <stli@linux.ibm.com>
8743
8744 * sysdeps/s390/multiarch/Makefile
8745 (sysdep_routines): Remove wcsncpy variants.
8746 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8747 * sysdeps/s390/multiarch/ifunc-impl-list.c
8748 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8749 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8750 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8751 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8752 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8753 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8754 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8755 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8756
0582e428
SL
87572018-12-18 Stefan Liebler <stli@linux.ibm.com>
8758
8759 * sysdeps/s390/multiarch/Makefile
8760 (sysdep_routines): Remove wcpcpy variants.
8761 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8762 * sysdeps/s390/multiarch/ifunc-impl-list.c
8763 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8764 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8765 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8766 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8767 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8768 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8769 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8770 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8771
804f2e5c
SL
87722018-12-18 Stefan Liebler <stli@linux.ibm.com>
8773
8774 * sysdeps/s390/multiarch/Makefile
8775 (sysdep_routines): Remove wcscpy variants.
8776 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8777 * sysdeps/s390/multiarch/ifunc-impl-list.c
8778 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8779 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8780 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8781 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8782 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8783 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8784 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8785 * sysdeps/s390/ifunc-wcscpy.h: New file.
8786
c7e7cd26
SL
87872018-12-18 Stefan Liebler <stli@linux.ibm.com>
8788
8789 * sysdeps/s390/multiarch/Makefile
8790 (sysdep_routines): Remove wcsnlen variants.
8791 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8792 * sysdeps/s390/multiarch/ifunc-impl-list.c
8793 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8794 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8795 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8796 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8797 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8798 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8799 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8800 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8801
2e02d0b7
SL
88022018-12-18 Stefan Liebler <stli@linux.ibm.com>
8803
8804 * sysdeps/s390/multiarch/Makefile
8805 (sysdep_routines): Remove wcslen variants.
8806 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8807 * sysdeps/s390/multiarch/ifunc-impl-list.c
8808 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8809 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8810 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8811 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8812 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8813 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8814 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8815 * sysdeps/s390/ifunc-wcslen.h: New file.
8816
89bfcbdf
SL
88172018-12-18 Stefan Liebler <stli@linux.ibm.com>
8818
8819 * sysdeps/s390/multiarch/Makefile
8820 (sysdep_routines): Remove memrchr variants.
8821 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8822 * sysdeps/s390/multiarch/ifunc-impl-list.c
8823 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8824 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8825 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8826 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8827 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8828 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8829 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8830 * sysdeps/s390/ifunc-memrchr.h: New file.
8831
196655ba
SL
88322018-12-18 Stefan Liebler <stli@linux.ibm.com>
8833
8834 * sysdeps/s390/multiarch/Makefile
8835 (sysdep_routines): Remove memccpy variants.
8836 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8837 * sysdeps/s390/multiarch/ifunc-impl-list.c
8838 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8839 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8840 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8841 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8842 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8843 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8844 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8845 * sysdeps/s390/ifunc-memccpy.h: New file.
8846
4c7b3cec
SL
88472018-12-18 Stefan Liebler <stli@linux.ibm.com>
8848
8849 * sysdeps/s390/multiarch/Makefile
8850 (sysdep_routines): Remove rawmemchr variants.
8851 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8852 * sysdeps/s390/multiarch/ifunc-impl-list.c
8853 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8854 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8855 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8856 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8857 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8858 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8859 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8860 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8861
581a051c
SL
88622018-12-18 Stefan Liebler <stli@linux.ibm.com>
8863
8864 * sysdeps/s390/multiarch/Makefile
8865 (sysdep_routines): Remove memchr variants.
8866 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8867 * sysdeps/s390/multiarch/ifunc-impl-list.c
8868 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8869 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8870 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8871 * sysdeps/s390/multiarch/memchr.c: Move to ...
8872 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8873 * sysdeps/s390/ifunc-memchr.h: New file.
8874 * sysdeps/s390/s390-64/memchr.S: Move to ...
8875 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8876 for 31/64bit and ifunc handling.
8877 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8878 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8879 * sysdeps/s390/s390-32/memchr.S: Likewise.
8880
5d2ec20a
SL
88812018-12-18 Stefan Liebler <stli@linux.ibm.com>
8882
8883 * sysdeps/s390/multiarch/Makefile
8884 (sysdep_routines): Remove strcspn variants.
8885 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8886 * sysdeps/s390/multiarch/ifunc-impl-list.c
8887 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8888 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8889 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8890 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8891 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8892 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8893 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8894 * sysdeps/s390/ifunc-strcspn.h: New file.
8895
572cca93
SL
88962018-12-18 Stefan Liebler <stli@linux.ibm.com>
8897
8898 * sysdeps/s390/multiarch/Makefile
8899 (sysdep_routines): Remove strpbrk variants.
8900 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8901 * sysdeps/s390/multiarch/ifunc-impl-list.c
8902 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8903 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8904 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8905 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8906 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8907 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8908 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8909 * sysdeps/s390/ifunc-strpbrk.h: New file.
8910
483fc569
SL
89112018-12-18 Stefan Liebler <stli@linux.ibm.com>
8912
8913 * sysdeps/s390/multiarch/Makefile
8914 (sysdep_routines): Remove strspn variants.
8915 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8916 * sysdeps/s390/multiarch/ifunc-impl-list.c
8917 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8918 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8919 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8920 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8921 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8922 * sysdeps/s390/multiarch/strspn.c: Move to ...
8923 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8924 * sysdeps/s390/ifunc-strspn.h: New file.
8925
26ea8760
SL
89262018-12-18 Stefan Liebler <stli@linux.ibm.com>
8927
8928 * sysdeps/s390/multiarch/Makefile
8929 (sysdep_routines): Remove strrchr variants.
8930 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8931 * sysdeps/s390/multiarch/ifunc-impl-list.c
8932 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8933 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8934 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8935 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8936 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8937 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8938 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8939 * sysdeps/s390/ifunc-strrchr.h: New file.
8940
a1361e65
SL
89412018-12-18 Stefan Liebler <stli@linux.ibm.com>
8942
8943 * sysdeps/s390/multiarch/Makefile
8944 (sysdep_routines): Remove strchrnul variants.
8945 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8946 * sysdeps/s390/multiarch/ifunc-impl-list.c
8947 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8948 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8949 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8950 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8951 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8952 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8953 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8954 * sysdeps/s390/ifunc-strchrnul.h: New file.
8955
32f12653
SL
89562018-12-18 Stefan Liebler <stli@linux.ibm.com>
8957
8958 * sysdeps/s390/multiarch/Makefile
8959 (sysdep_routines): Remove strchr variants.
8960 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8961 * sysdeps/s390/multiarch/ifunc-impl-list.c
8962 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8963 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8964 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8965 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8966 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8967 * sysdeps/s390/multiarch/strchr.c: Move to ...
8968 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8969 * sysdeps/s390/ifunc-strchr.h: New file.
8970
316b8842
SL
89712018-12-18 Stefan Liebler <stli@linux.ibm.com>
8972
8973 * sysdeps/s390/multiarch/Makefile
8974 (sysdep_routines): Remove strncmp variants.
8975 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8976 * sysdeps/s390/multiarch/ifunc-impl-list.c
8977 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8978 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8979 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8980 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8981 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8982 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8983 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8984 * sysdeps/s390/ifunc-strncmp.h: New file.
8985
cdab85fe
SL
89862018-12-18 Stefan Liebler <stli@linux.ibm.com>
8987
8988 * sysdeps/s390/multiarch/Makefile
8989 (sysdep_routines): Remove strcmp variants.
8990 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8991 * sysdeps/s390/multiarch/ifunc-impl-list.c
8992 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8993 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8994 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8995 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8996 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8997 * sysdeps/s390/ifunc-strcmp.h: New file.
8998 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8999 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9000 for 31/64bit and ifunc handling.
9001 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9002 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9003 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9004
b9353351
SL
90052018-12-18 Stefan Liebler <stli@linux.ibm.com>
9006
9007 * sysdeps/s390/multiarch/Makefile
9008 (sysdep_routines): Remove strncat variants.
9009 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9010 * sysdeps/s390/multiarch/ifunc-impl-list.c
9011 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9012 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9013 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9014 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9015 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9016 * sysdeps/s390/multiarch/strncat.c: Move to ...
9017 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9018 * sysdeps/s390/ifunc-strncat.h: New file.
9019
8e5a0afb
SL
90202018-12-18 Stefan Liebler <stli@linux.ibm.com>
9021
9022 * sysdeps/s390/multiarch/Makefile
9023 (sysdep_routines): Remove strcat variants.
9024 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9025 * sysdeps/s390/multiarch/ifunc-impl-list.c
9026 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9027 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9028 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9029 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9030 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9031 * sysdeps/s390/multiarch/strcat.c: Move to ...
9032 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9033 * sysdeps/s390/ifunc-strcat.h: New file.
9034
25218822
SL
90352018-12-18 Stefan Liebler <stli@linux.ibm.com>
9036
9037 * sysdeps/s390/multiarch/Makefile
9038 (sysdep_routines): Remove stpncpy variants.
9039 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9040 * sysdeps/s390/multiarch/ifunc-impl-list.c
9041 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9042 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9043 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9044 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9045 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9046 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9047 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9048 * sysdeps/s390/ifunc-stpncpy.h: New file.
9049
d1bdbf38
SL
90502018-12-18 Stefan Liebler <stli@linux.ibm.com>
9051
9052 * sysdeps/s390/multiarch/Makefile
9053 (sysdep_routines): Remove strncpy variants.
9054 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9055 * sysdeps/s390/multiarch/ifunc-impl-list.c
9056 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9057 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9058 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9059 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9060 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9061 * sysdeps/s390/ifunc-strncpy.h: New file.
9062 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9063 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9064 and adjust ifunc handling.
9065 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9066 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9067 and adjust ifunc handling.
9068 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9069 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9070
97044931
SL
90712018-12-18 Stefan Liebler <stli@linux.ibm.com>
9072
9073 * sysdeps/s390/multiarch/Makefile
9074 (sysdep_routines): Remove stpcpy variants.
9075 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9076 * sysdeps/s390/multiarch/ifunc-impl-list.c
9077 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9078 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9079 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9080 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9081 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9082 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9083 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9084 * sysdeps/s390/ifunc-stpcpy.h: New file.
9085
914a4e05
SL
90862018-12-18 Stefan Liebler <stli@linux.ibm.com>
9087
9088 * sysdeps/s390/multiarch/Makefile
9089 (sysdep_routines): Remove strcpy variants.
9090 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9091 * sysdeps/s390/multiarch/ifunc-impl-list.c
9092 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9093 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9094 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9095 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9096 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9097 * sysdeps/s390/ifunc-strcpy.h: New file.
9098 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9099 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9100 for 31/64bit and ifunc handling.
9101 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9102 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9103 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9104
de10e44d
SL
91052018-12-18 Stefan Liebler <stli@linux.ibm.com>
9106
9107 * sysdeps/s390/multiarch/Makefile
9108 (sysdep_routines): Remove strnlen variants.
9109 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9110 * sysdeps/s390/multiarch/ifunc-impl-list.c
9111 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9112 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9113 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9114 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9115 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9116 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9117 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9118 * sysdeps/s390/ifunc-strnlen.h: New file.
9119
ff3ca374
SL
91202018-12-18 Stefan Liebler <stli@linux.ibm.com>
9121
9122 * sysdeps/s390/multiarch/Makefile
9123 (sysdep_routines): Remove strlen variants.
9124 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9125 * sysdeps/s390/multiarch/ifunc-impl-list.c
9126 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9127 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9128 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9129 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9130 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9131 * sysdeps/s390/multiarch/strlen.c: Move to ...
9132 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9133 * sysdeps/s390/ifunc-strlen.h: New file.
9134
d2c4c403
SL
91352018-12-18 Stefan Liebler <stli@linux.ibm.com>
9136
9137 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9138 * sysdeps/s390/multiarch/ifunc-impl-list.c
9139 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9140 * sysdeps/s390/ifunc-memmem.h: New file.
9141 * sysdeps/s390/memmem.c: Likewise.
9142 * sysdeps/s390/memmem-c.c: Likewise.
9143 * sysdeps/s390/memmem-vx.c: Likewise.
9144
8c25dddd
SL
91452018-12-18 Stefan Liebler <stli@linux.ibm.com>
9146
9147 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9148 * sysdeps/s390/multiarch/ifunc-impl-list.c
9149 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9150 * sysdeps/s390/ifunc-strstr.h: New file.
9151 * sysdeps/s390/strstr.c: Likewise.
9152 * sysdeps/s390/strstr-c.c: Likewise.
9153 * sysdeps/s390/strstr-vx.c: Likewise.
9154
cdd927d9
SL
91552018-12-18 Stefan Liebler <stli@linux.ibm.com>
9156
9157 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9158 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9159 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9160 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9161 New defines.
9162 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9163 * sysdeps/s390/memmove-c.c: New file.
9164 * sysdeps/s390/memmove.c: Likewise.
9165 * sysdeps/s390/multiarch/ifunc-impl-list.c
9166 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9167
2ee1bc57
SL
91682018-12-18 Stefan Liebler <stli@linux.ibm.com>
9169
9170 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9171 * sysdeps/s390/configure.ac: Add check for z13 support.
9172 * sysdeps/s390/configure: Regenerated.
9173
d097d976
SL
91742018-12-18 Stefan Liebler <stli@linux.ibm.com>
9175
9176 * sysdeps/s390/memcopy.h: New file.
9177
e099aab0
SL
91782018-12-18 Stefan Liebler <stli@linux.ibm.com>
9179
9180 * sysdeps/s390/s390-32/bcopy.S: Remove.
9181 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9182
18eb862d
SL
91832018-12-18 Stefan Liebler <stli@linux.ibm.com>
9184
9185 * sysdeps/s390/ifunc-memcpy.h: New File.
9186 * sysdeps/s390/memcpy.S: Move to ...
9187 * sysdeps/s390/memcpy-z900.S ... here.
9188 Move implementations from memcpy-s390x.s to here.
9189 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9190 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9191 Remove memcpy/mempcpy variants.
9192 * sysdeps/s390/Makefile (sysdep_routines):
9193 Add memcpy/mempcpy variants.
9194 * sysdeps/s390/multiarch/ifunc-impl-list.c
9195 (__libc_ifunc_impl_list): Adjust ifunc variants for
9196 memcpy and mempcpy.
9197 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9198 to ...
9199 * sysdeps/s390/memcpy.c: ... here.
9200 Adjust ifunc variants for memcpy.
9201 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9202 * sysdeps/s390/mempcpy.c: ... here.
9203 Adjust ifunc variants for mempcpy.
9204 * sysdeps/s390/mempcpy.S: Delete file.
9205
df3eb8de
SL
92062018-12-18 Stefan Liebler <stli@linux.ibm.com>
9207
9208 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9209 * sysdeps/s390/memcpy.S: ... here.
9210 Adjust to be usable for 31/64bit.
9211 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9213 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9214 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9215 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9216 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9217 Adjust to be usable for 31/64bit.
9218 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9219 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9220 * sysdeps/s390/multiarch/memcpy.c: ... here.
9221 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9222
b7e024a8
SL
92232018-12-18 Stefan Liebler <stli@linux.ibm.com>
9224
9225 * sysdeps/s390/ifunc-memcmp.h: New File.
9226 * sysdeps/s390/memcmp.S: Move to ...
9227 * sysdeps/s390/memcmp-z900.S ... here.
9228 Move implementations from memcmp-s390x.s to here.
9229 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9230 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9231 Remove memcmp variants.
9232 * sysdeps/s390/Makefile (sysdep_routines):
9233 Add memcmp variants.
9234 * sysdeps/s390/multiarch/ifunc-impl-list.c
9235 (__libc_ifunc_impl_list): Adjust ifunc variants for
9236 memcmp.
9237 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9238 to ...
9239 * sysdeps/s390/memcmp.c: ... here.
9240 Adjust ifunc variants for memcmp.
9241
6c6b8c74
SL
92422018-12-18 Stefan Liebler <stli@linux.ibm.com>
9243
9244 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9245 * sysdeps/s390/memcmp.S: ... here.
9246 Adjust to be usable for 31/64bit.
9247 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9248 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9249 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9250 Remove memcmp.
9251 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9252 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9253 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9254 Adjust to be usable for 31/64bit.
9255 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9256 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9257 * sysdeps/s390/multiarch/memcmp.c: ... here.
9258 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9259
07be3928
SL
92602018-12-18 Stefan Liebler <stli@linux.ibm.com>
9261
9262 * sysdeps/s390/s390-32/bzero.S: Delete file.
9263 * sysdeps/s390/s390-64/bzero.S: Likewise.
9264 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9265 * sysdeps/s390/bzero.c: New file.
9266 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9267 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9268 * sysdeps/s390/multiarch/ifunc-impl-list.c
9269 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9270
712a254a
SL
92712018-12-18 Stefan Liebler <stli@linux.ibm.com>
9272
9273 * sysdeps/s390/ifunc-memset.h: New File.
9274 * sysdeps/s390/memset.S: Move to ...
9275 * sysdeps/s390/memset-z900.S ... here.
9276 Move implementations from memset-s390x.s to here.
9277 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9278 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9279 Remove memset variants.
9280 * sysdeps/s390/Makefile (sysdep_routines):
9281 Add memset variants.
9282 * sysdeps/s390/multiarch/ifunc-impl-list.c
9283 (__libc_ifunc_impl_list): Adjust ifunc variants for
9284 memset.
9285 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9286 to ...
9287 * sysdeps/s390/memset.c: ... here.
9288 Adjust ifunc variants for memset.
9289
5f1743d1
SL
92902018-12-18 Stefan Liebler <stli@linux.ibm.com>
9291
9292 * sysdeps/s390/s390-64/memset.S: Move to ...
9293 * sysdeps/s390/memset.S: ... here.
9294 Adjust to be usable for 31/64bit.
9295 * sysdeps/s390/s390-32/memset.S: Delete File.
9296 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9297 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9298 Remove memset.
9299 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9300 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9301 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9302 Adjust to be usable for 31/64bit.
9303 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9304 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9305 * sysdeps/s390/multiarch/memset.c: ... here.
9306 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9307
e8023f26
SL
93082018-12-18 Stefan Liebler <stli@linux.ibm.com>
9309
9310 * sysdeps/s390/multiarch/ifunc-resolve.h
9311 (s390_libc_ifunc_init, s390_libc_ifunc,
9312 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9313
b8686c0d
SL
93142018-12-18 Stefan Liebler <stli@linux.ibm.com>
9315
9316 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9317 * sysdeps/s390/configure.ac: Add check for z10 support.
9318 * sysdeps/s390/configure: Regenerated.
9319
cd815050
L
93202018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9321
9322 * sysdeps/i386/atomic-machine.h: Merged with ...
9323 * sysdeps/x86_64/atomic-machine.h: To ...
9324 * sysdeps/x86/atomic-machine.h: This. New file.
9325
053c52b1
FW
93262018-12-18 Florian Weimer <fweimer@redhat.com>
9327
9328 Rewrite locale/gen-translit.pl in Python.
9329 * locale/Makefile (generated): Add C-translit.h.
9330 (before-compile): Add $(objpfx)C-translit.h.
9331 (C-translit.h): Move to $(objpfx). Create target directory.
9332 Build using Python script.
9333 * locale/gen-translit.py: New file.
9334 * locale/gen-translit.pl: Remove file.
9335 * locale/C-translit.h.in: Change comment character to '#' for
9336 easier parsing without a C preprocessor.
9337 * locale/C-translit.h: Remove generated file.
9338 * manual/install.texi (Tools for Compilation): Do not mention
9339 C-translit.h.
9340 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9341 Remove locale/C-translit.h.
9342 * scripts/update-copyrights: Likewise.
9343 * INSTALL: Regenerate.
9344
40e6c1ec
FW
93452018-12-18 Florian Weimer <fweimer@redhat.com>
9346
9347 [BZ #23995]
9348 * localedata/locales/bi_VU: Remove executable bit from file.
9349
6b5c8607 93502018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
9351
9352 * include/time.h
9353 (__localtime64): Add.
9354 * manual/maint.texi: Document Y2038 symbol handling.
9355 * time/localtime.c
9356 (__localtime64): Add.
bfb79db4 9357 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 9358
df648905
JM
93592018-12-17 Joseph Myers <joseph@codesourcery.com>
9360
551e81d9
JM
9361 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9362 Do not clobber r12.
9363
df648905
JM
9364 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9365 to allow extra macros from first or second sources.
9366 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9367 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9368 (tests-special): Add $(objpfx)tst-mman-consts.out.
9369 ($(objpfx)tst-mman-consts.out): New makefile target.
9370
6bbfc5c0
MH
93712018-12-17 Mao Han <han_mao@c-sky.com>
9372
9373 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9374 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9375 without stat64 system call support.
9376 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9377 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9378 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9379 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9380 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9381 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9382 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9383 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9384 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9385 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9386 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9387
ef202e53
PE
93882018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9389
9390 regex: fix storage-exhaustion error
9391 [BZ #18040]
9392 * posix/regexec.c (get_subexp):
9393 Do not continue if storage is exhausted.
9394
077caf61
AG
93952018-12-15 Assaf Gordon <assafgordon@gmail.com>
9396
9397 regex: fix heap-use-after-free error
9398 [BZ #18040]
9399 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9400 https://debbugs.gnu.org/32592
9401 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9402 call extend_buffers which reallocates the re_string_t internal buffer.
9403 Local variable 'buf' was not updated in such case, resulting in
9404 use-after-free.
9405 * posix/regexec.c (get_subexp): Update 'buf' after call to
9406 get_subexp_sub.
9407
0c1719e6
FW
94082018-12-15 Florian Weimer <fweimer@redhat.com>
9409
9410 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9411 (minimum_stride_size): Use it.
9412 (support_blob_repeat_allocate): Likewise.
9413
033a2c0a
JM
94142018-12-14 Joseph Myers <joseph@codesourcery.com>
9415
9416 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9417 definition.
9418 (acosh): Likewise.
9419 (atanh): Likewise.
9420
e361dc04
FW
94212018-12-14 Florian Weimer <fweimer@redhat.com>
9422
9423 * manual/process.texi (Process Creation Concepts): Remove
9424 documentation of process (ID) lifetime. List more process
9425 creation functions. Reference Process Identification section.
9426 (Process Identification): Add information about process ID
9427 lifetime. Describe Linux thread/task IDs.
9428 * manual/signal.texi (Signaling Another Process): Mention that the
9429 signal is always sent to the process.
9430
bd51ff5e
GG
94312018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9432
9433 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9434 and tst-ldbl-efgcvt.
9435 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9436 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9437 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9438 (fcvt_tests, output_error, output_r_error, do_test): Use the
9439 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9440 select the type of floating-point variables and arguments; to
9441 produce extra tests for double and conversion specifiers for
9442 printf; and to set the names of called functions.
9443 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9444 in tst-efgcvt-template.c.
9445 * misc/tst-ldbl-efgcvt.c: Likewise.
9446
268bb71e
SL
94472018-12-14 Stefan Liebler <stli@linux.ibm.com>
9448
9449 * nss/Makefile (tst-nss-test3.out): New rule.
9450
db6df070
JM
94512018-12-13 Joseph Myers <joseph@codesourcery.com>
9452
9453 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9454 clobber sp.
9455
ade8b817
CD
94562018-12-13 fanjinke <fanjinke@hygon.cn>
9457
9458 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9459 "HygonGenuine".
9460
3d265911
AS
94612018-12-13 Andreas Schwab <schwab@suse.de>
9462
f21e8f8c 9463 [BZ #23861]
3d265911 9464 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
9465 (__pthread_rwlock_rdlock_full): Update expected value for
9466 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9467 * nptl/tst-rwlock-pwn.c: New file.
9468 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 9469
bf8ae8c0
JM
94702018-12-12 Joseph Myers <joseph@codesourcery.com>
9471
9472 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9473 definition.
9474
de099757
LS
94752018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9476
9477 * benchtests/scripts/compare_bench.py (do_compare): write to
9478 stderr in casestat is not present.
9479 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9480 stderr in case timings field is not present. Also string showing
9481 the output filename goes into the stderr.
9482
1990185f
LS
94832018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9484
9485 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9486 and ZeroDivisorError exceptions.
9487 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9488 argument to loop through user provided statistics.
9489 * benchtests/scripts/compare_bench.py (main): Include the --stats
9490 argument.
9491
587426d4
LS
94922018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9493
9494 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9495 instead of return.
9496
46703efa
FW
94972018-12-12 Florian Weimer <fweimer@redhat.com>
9498
9499 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9500 clause to copyright header.
9501
1d880d4a
TMQMF
95022018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9503
9504 [BZ #23614]
9505 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9506 registers saved in the stack frame.
9507 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9508 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9509
1a502f52
GG
95102018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9511
9512 * include/bits/monetary-ldbl.h: New file.
9513 * include/bits/printf-ldbl.h: Likewise.
9514 * include/bits/stdio-ldbl.h: Likewise.
9515 * include/bits/stdlib-ldbl.h: Likewise.
9516 * include/bits/syslog-ldbl.h: Likewise.
9517 * include/bits/wchar-ldbl.h: Likewise.
9518
df682d1d
GG
95192018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9520
9521 * libio/libio.h: Remove redirection for _IO_vfprintf.
9522
c2c082c1
AS
95232018-12-11 Andreas Schwab <schwab@suse.de>
9524
9525 * Makerules: Remove all references to abilist-pattern.
9526 (update-all-abi): Simplify find expression.
9527
505b5b29
SN
95282018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9529
9530 [BZ #23961]
9531 * math/auto-libm-test-in: Add new test case.
9532 * math/auto-libm-test-out-pow: Regenerated.
9533 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9534
304c61a2
DD
95352018-12-10 DJ Delorie <dj@redhat.com>
9536
9537 [BZ #23948]
9538 * support/test-container.c: Move postclean step to before we
9539 change namespaces.
9540
a8110b72
JM
95412018-12-10 Joseph Myers <joseph@codesourcery.com>
9542
cb7be159
JM
9543 * scripts/gen-as-const.py (main): Handle --python option.
9544 * scripts/gen-py-const.awk: Remove.
9545 * Makerules (py-const-script): Use gen-as-const.py.
9546 ($(py-const)): Likewise.
9547 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9548 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9549 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9550 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9551 ~PTHREAD_MUTEX_NO_ELISION_NP.
9552 * manual/README.pretty-printers: Update reference to
9553 gen-py-const.awk.
9554
a8110b72
JM
9555 * scripts/glibcextract.py: New file.
9556 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9557 or tempfile. Import glibcexctract.
9558 (compute_c_consts): Remove. Moved to glibcextract.py.
9559 (gen_test): Update reference to compute_c_consts.
9560 (main): Likewise.
9561 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9562 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9563 * sysdeps/unix/sysv/linux/Makefile
9564 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9565 Redirect stderr as well as stdout.
9566
f9ba9eb8
RÁE
95672018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9568
9569 [BZ #19767]
9570 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
9571 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9572 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 9573 ALWAYS_USE_VSYSCALL.
b39d961c 9574 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
9575 ALWAYS_USE_VSYSCALL.
9576 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9577 ALWAYS_USE_VSYSCALL.
9578
8d20a2f4
FW
95792018-12-10 Florian Weimer <fweimer@redhat.com>
9580
9581 [BZ #23972]
9582 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9583 offset instead of count for clarity. Fix typo in comment.
9584 (__old_getdents64): Keep track of previous offset. Use it to call
9585 handle_overflow.
9586 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9587 that d_off is never zero.
9588
80472e2f
AS
95892018-12-10 Andreas Schwab <schwab@suse.de>
9590
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9592 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9594 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9595 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9596
0afcb29d
JM
95972018-12-10 Joseph Myers <joseph@codesourcery.com>
9598
9599 * timezone/private.h: Update from tzcode 2018g.
9600 * timezone/tzfile.h: Likewise.
9601 * timezone/tzselect.ksh: Likewise.
9602 * timezone/zdump.c: Likewise.
9603 * timezone/zic.c: Likewise.
9604
b93f4052
PP
96052018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9606
9607 [BZ #23490]
9608 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9609 (do_test): Adjust buffer size and fix format.
9610
7c9a7c68
DD
96112018-12-07 DJ Delorie <dj@redhat.com>
9612
9613 [BZ #23907]
9614 * malloc/tst-tcfree3.c: New.
9615 * malloc/Makefile: Add it.
9616
37caec3a
L
96172018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9618
9619 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9620
10446f5d
GG
96212018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9622
9623 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9624 used as a mask for the mode argument of __vfscanf_internal and
9625 __vfwscanf_internal.
9626 * stdio-common/vfscanf-internal.c
9627 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9628 (__strtof128_internal): Define to __wcstof128_internal.
9629 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9630 __strtof128_internal or __wcstof128_internal when the format of
9631 long double is the same as _Float128.
9632
45f33aac
ST
96332018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9634
9635 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9636 * posix/confstr.c (confstr): Rename to __confstr.
9637 (__confstr): Add hidden def.
9638 (confstr): Add weak alias for __confstr.
9639 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9640 confstr.
9641
a092ca94
L
96422018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9643
9644 * NEWS: Mention getcpu.
9645 * include/sched.h (__getcpu): New libc_hidden_proto.
9646 * manual/resource.texi: Document getcpu.
9647 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9648 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9649 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9650 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9651 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9652 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9653 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9654 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9655 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9656 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9657 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9658 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9659 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9660 Likewise.
9661 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9662 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9663 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9665 Likewise.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9667 Likewise.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9669 Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9671 Likewise.
9672 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9673 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9674 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9675 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9676 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9679 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9680 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9681 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9682 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9683 Also check getcpu.
9684
7c857b6f
ST
96852018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9686
9687 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9688 functions.
9689 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9690
3a3fb755
FW
96912018-12-07 Florian Weimer <fweimer@redhat.com>
9692
9693 [BZ #17405]
9694 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9695 * posix/Versions (GLIBC_2.29): Export
9696 posix_spawn_file_actions_addfchdir_np.
9697 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9698 * posix/spawn_faction_destroy.c
9699 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9700 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9701 and the field action.fchdir_action.
9702 * posix/tst-spawn-chdir.c (add_chdir): New function.
9703 (do_test): Add do_fchdir loop. Call add_chdir.
9704 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9705 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9706 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9707 posix_spawn_file_actions_addfchdir_np.
9708 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9709 Likewise.
9710 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9711 Likewise.
9712 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9713 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9714 Likewise.
9715 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9716 Likewise.
9717 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9718 Likewise.
9719 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9720 Likewise.
9721 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9722 Likewise.
9723 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9724 Likewise.
9725 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9726 (GLIBC_2.29): Likewise.
9727 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9728 (GLIBC_2.29): Likewise.
9729 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9730 (GLIBC_2.29): Likewise.
9731 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9732 (GLIBC_2.29): Likewise.
9733 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9734 Likewise.
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9736 (GLIBC_2.29): Likewise.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9738 (GLIBC_2.29): Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9740 (GLIBC_2.29): Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9742 (GLIBC_2.29): Likewise.
9743 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9744 Likewise.
9745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9746 Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9748 Likewise.
9749 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9751 Likewise.
9752 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9753 Likewise.
9754 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9755 Likewise.
9756 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9757 Likewise.
9758
c37cd439
JM
97592018-12-06 Joseph Myers <joseph@codesourcery.com>
9760
9761 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9762 trailing whitespace removed.
9763 * scripts/config.guess: Update to version 2018-11-28.
9764 * scripts/config.sub: Update to version 2018-11-28.
9765 * scripts/install-sh: Update to version 2018-03-11.20.
9766 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9767 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9768
899478c2
FW
97692018-12-07 Florian Weimer <fweimer@redhat.com>
9770
9771 [BZ #23927]
9772 CVE-2018-19591
9773 * inet/tst-if_index-long.c: New file.
9774 * inet/Makefile (tests): Add tst-if_index-long.
9775
f255336a
FW
97762018-12-07 Florian Weimer <fweimer@redhat.com>
9777
9778 * support/check.h (support_record_failure_is_failed): Declare.
9779 * support/descriptors.h: New file.
9780 * support/support_descriptors.c: Likewise.
9781 * support/tst-support_descriptors.c: Likewise.
9782 * support/support_record_failure.c
9783 (support_record_failure_is_failed): New function.
9784 * support/Makefile (libsupport-routines): Add support_descriptors.
9785 (tests): Add tst-support_descriptors.
9786
35caceb1
ZW
97872018-12-05 Zack Weinberg <zackw@panix.com>
9788 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9789
9790 * stdio-common/vfprintf-internal.c
9791 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9792 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9793 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9794 and __no_long_double.
9795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9796 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9797 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9798 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9799 and __nldbl_*syslog* functions.
9800 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9801 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9802 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9803 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9804 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9805 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9806 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9807 (__nldbl_vwprintf, __nldbl_wprintf):
9808 Directly call the appropriate __v*printf_internal routine, passing
9809 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9810 variable names.
9811 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9812 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9813 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9814 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9815 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9816 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9817 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9818 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9819 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9820 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9821 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9822 (__nldbl_syslog, __nldbl_vsyslog):
9823 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9824 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9825 appropriate.
9826 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9827 appropriate.
9828
4e2f43f8
ZW
98292018-12-05 Zack Weinberg <zackw@panix.com>
9830 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9831
9832 [BZ #11319]
9833 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9834 Moved here from debug/vsprintf_chk.c.
9835 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9836 and completion logic for the strfile to match exactly what
9837 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9838 _IO_str_init_static_internal instead of maxlen-1.
9839 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9840 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9841 __vsprintf_internal.
9842
9843 * debug/vsprintf_chk.c (__vsprintf_chk)
9844 * debug/sprintf_chk.c (__sprintf_chk):
9845 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9846 'flags' argument is positive, and slen as maxlen. No need to lock
9847 the FILE and/or construct a temporary FILE. Minimize and normalize
9848 header inclusions and variable names. Do not libc_hidden_def anything.
9849
9850 * debug/asprintf_chk.c (__asprintf_chk)
9851 * debug/dprintf_chk.c (__dprintf_chk)
9852 * debug/fprintf_chk.c (__fprintf_chk)
9853 * debug/fwprintf_chk.c (__fwprintf_chk)
9854 * debug/printf_chk.c (__printf_chk)
9855 * debug/snprintf_chk.c (__snprintf_chk)
9856 * debug/swprintf_chk.c (__swprintf_chk)
9857 * debug/vasprintf_chk.c (__vasprintf_chk)
9858 * debug/vdprintf_chk.c (__vdprintf_chk)
9859 * debug/vfprintf_chk.c (__vfprintf_chk)
9860 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9861 * debug/vprintf_chk.c (__vprintf_chk)
9862 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9863 * debug/vswprintf_chk.c (__vswprintf_chk)
9864 * debug/vwprintf_chk.c (__vwprintf_chk)
9865 * debug/wprintf_chk.c (__wprintf_chk):
9866 Directly call the corresponding vxxprintf_internal function, passing
9867 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9868 the FILE and/or construct a temporary FILE. Minimize and normalize
9869 header inclusions and variable names. Do not libc_hidden_def anything.
9870
9871 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9872 __obstack_vprintf_internal.
9873 (__obstack_vprintf_chk): Convert into a wrapper that calls
9874 __obstack_vprintf_internal (these two functions already had the
9875 same code) and move to new file...
9876 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9877 file.
9878 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9879 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9880 * debug/Makefile (routines): Add vobprintf_chk.
9881
9882 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9883 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9884 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9885 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9886 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9887 (__nldbl___obstack_vfprintf_chk):
9888 Directly call the corresponding vxxprintf_internal function,
9889 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9890 duplicate comparison of slen with 0 or maxlen from the corresponding
9891 non-__nldbl function.
9892
9893 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9894 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9895 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9896 Remove libc_hidden_proto.
9897
9898 * stdio-common/vfprintf-internal.c
9899 (__vfprintf_internal, __vfwprintf_internal):
9900 Do not check _IO_FLAGS2_FORTIFY.
9901 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9902 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9903 a comment explaining why it has the maxlen argument.
9904 (_IO_acquire_lock_clear_flags2_fct): Remove.
9905 (_IO_acquire_lock_clear_flags2): Remove.
9906 (_IO_release_lock): Remove conditional statement which will
9907 now never execute.
9908 (_IO_acquire_lock): Remove variable which is now unused.
9909 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9910 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9911
9912 * stdio-common/Makefile (tests): Add tst-bz11319 and
9913 tst-bz11319-fortify2.
9914 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9915 * stdio-common/tst-bz11319-fortify2.c: New file.
9916 * stdio-common/tst-bz11319.c: Likewise.
9917
124fc732
ZW
99182018-12-05 Zack Weinberg <zackw@panix.com>
9919 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9920
9921 * misc/syslog.c: Include libioP.h, not iolibio.h.
9922 (__vsyslog_internal): New function with the former body of
9923 __vsyslog_chk; takes mode_flags argument same as
9924 __v*printf_internal. Call __vfprintf_internal directly.
9925
9926 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9927 Remove libc_hidden_def.
9928 (__syslog, __syslog_chk): Use __vsyslog_internal.
9929 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9930
9931 * include/sys/syslog.h: Add multiple inclusion guard.
9932 Add prototype for __vsyslog_internal.
9933 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9934
9935 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9936 Use __vsyslog_internal.
9937
698fb75b
ZW
99382018-12-05 Zack Weinberg <zackw@panix.com>
9939 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9940
9941 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9942 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9943 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9944 New functions.
9945 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9946 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9947
9948 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9949 Include wctype.h here if COMPILE_WPRINTF is defined.
9950 Define __vfprintf_internal or __vfwprintf_internal, depending
9951 on COMPILE_WPRINTF.
9952 Temporarily, on entry to this function, update mode_flags
9953 according to the environmental settings corresponding to
9954 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9955 Throughout, check mode_flags instead of __ldbl_is_dbl and
9956 _IO_FLAGS2_FORTIFY on the destination FILE.
9957 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9958 Include vfprintf-internal.c. Don't include wctype.h.
9959 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9960 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9961 and vfprintf.
9962 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9963 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9964 and vfwprintf.
9965 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9966
9967 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9968 and add mode_flags argument; use __vfprintf_internal.
9969 (__vdprintf): New function. Alias vdprintf to this.
9970 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9971 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9972 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9973 (__obstack_printf): Use __obstack_printf_internal.
9974 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9975 public aliases __vsnprintf and vsnprintf.
9976 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9977 called internally.
9978 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9979 public aliases _IO_vsprintf and vsprintf.
9980 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9981 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9982 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9983 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9984 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9985
9986 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9987 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9988 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9989 * stdio-common/printf.c: Use __vfprintf_internal.
9990
9991 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9992 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9993 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9994
9995 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9996 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9997 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9998 __vfwprintf_internal.
9999
10000 * libio/libio.h: Remove libc_hidden_proto and declaration for
10001 _IO_vfprintf.
10002 Remove declaration of _IO_vfwprintf.
10003 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10004 _IO_vsprintf.
10005 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10006 _IO_obstack_printf.
10007 * include/stdio.h: Add prototype for __vasprintf.
10008 (__vsnprintf): Remove declaration, because there are no more
10009 internal calls.
10010 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10011 declaration, because there are no more internal calls.
10012
10013 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10014 __vsnprintf_internal, instead of _IO_vsnprintf.
10015 * argp/argp-help.c (__argp_error, __argp_failure): Use
10016 __vasprintf_internal, instead of _IO_vasprintf.
10017 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10018 redefine, because there are no more internal calls.
10019
d91798b3
ZW
100202018-12-05 Zack Weinberg <zackw@panix.com>
10021 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10022
10023 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10024 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10025 Include libio/strfile.h instead of libioP.h.
10026 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10027 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10028 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10029 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10030 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10031 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10032 necessary. Do not set __no_long_double. Normalize variable names.
10033 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10034 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10035 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10036 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10037 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10038 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10039 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10040 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10041 Do not set __no_long_double. Normalize variable names.
10042
b87eb3f8
ZW
100432018-12-05 Zack Weinberg <zackw@panix.com>
10044 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10045
10046 * stdio-common/isoc99_scanf.c
10047 * stdio-common/isoc99_fscanf.c
10048 * stdio-common/isoc99_sscanf.c
10049 * stdio-common/isoc99_vscanf.c
10050 * stdio-common/isoc99_vfscanf.c
10051 * stdio-common/isoc99_vsscanf.c
10052 * wcsmbs/isoc99_wscanf.c
10053 * wcsmbs/isoc99_fwscanf.c
10054 * wcsmbs/isoc99_swscanf.c
10055 * wcsmbs/isoc99_vwscanf.c
10056 * wcsmbs/isoc99_vfwscanf.c
10057 * wcsmbs/isoc99_vswscanf.c:
10058 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10059 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10060 No need to lock and unlock the FILE passed to that function.
10061
10062 * stdio-common/vfscanf-internal.c
10063 (__vfscanf_internal, __vfwscanf_internal):
10064 Don't look at _IO_FLAGS2_SCANF_STD.
10065 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10066 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10067 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10068
349718d4
ZW
100692018-12-05 Zack Weinberg <zackw@panix.com>
10070 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10071
10072 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10073 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10074 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10075 * libio/strfile.h: Add multiple inclusion guard.
10076 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10077
10078 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10079 consistency with the other version of this file.
10080 (ldbl_compat_symbol): New macro.
10081 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10082 New macro.
10083
10084 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10085 Define __vfscanf_internal or __vfwscanf_internal, depending on
10086 COMPILE_WSCANF; don't define any other public symbols.
10087 Remove errval and code to set errp.
10088 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10089 as the mode_flags argument.
10090 (encode_error, conv_error, input_error): Don't set errval.
10091 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10092 Include vfscanf-internal.c.
10093 * stdio-common/vfscanf.c: New file defining the public entry
10094 point vfscanf, which calls __vfscanf_internal.
10095 * stdio-common/vfwscanf.c: New file defining the public entry
10096 point vfwscanf, which calls __vfwscanf_internal.
10097
10098 * stdio-common/iovfscanf.c: New file.
10099 * stdio-common/iovfwscanf.c: Likewise.
10100
10101 * stdio-common/Makefile (routines): Add vfscanf-internal,
10102 vfwscanf-internal, iovfscanf, iovfwscanf.
10103 * stdio-common/Versions: Mention GLIBC_2.29, so that
10104 it can be used in SHLIB_COMPAT expressions.
10105 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10106 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10107 Call __vfscanf_internal, instead of _IO_vfscanf.
10108 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10109 _IO_vfscanf.
10110 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10111 _IO_vfwscanf.
10112
10113 * libio/iovsscanf.c: Clean up includes, when possible. Use
10114 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10115 __vfscanf_internal or __vfwscanf_internal directly.
10116 * libio/iovswscanf.c: Likewise.
10117 * libio/swscanf.c: Likewise.
10118 * libio/vscanf.c: Likewise.
10119 * libio/vwscanf.c: Likewise.
10120 * libio/wscanf.c: Likewise.
10121 * stdio-common/isoc99_fscanf.c: Likewise.
10122 * stdio-common/isoc99_scanf.c: Likewise.
10123 * stdio-common/isoc99_sscanf.c: Likewise.
10124 * stdio-common/isoc99_vfscanf.c: Likewise.
10125 * stdio-common/isoc99_vscanf.c: Likewise.
10126 * stdio-common/isoc99_vsscanf.c: Likewise.
10127 * stdio-common/scanf.c: Likewise.
10128 * stdio-common/sscanf.c: Likewise.
10129 * wcsmbs/isoc99_fwscanf.c: Likewise.
10130 * wcsmbs/isoc99_swscanf.c: Likewise.
10131 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10132 * wcsmbs/isoc99_vswscanf.c: Likewise.
10133 * wcsmbs/isoc99_vwscanf.c: Likewise.
10134 * wcsmbs/isoc99_wscanf.c: Likewise.
10135
6b5c8607 101362018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
10137
10138 * include/time.h
10139 (__tz_compute): Replace time_t with __time64_t.
10140 (__tz_convert): Replace time_t* with __time64_t.
10141 (__offtime): Replace time_t* with __time64_t.
10142 * time/gmtime.c
10143 (__gmtime_r): Adjust call to __tz_convert.
10144 (gmtime): Likewise.
10145 * time/localtime.c
10146 (__localtime_r): Likewise.
10147 (localtime): Likewise.
10148 * time/offtime.c: Replace time_t with __time64_t.
10149 * time/tzset.c: Likewise.
10150
bd598da9
JM
101512018-12-04 Joseph Myers <joseph@codesourcery.com>
10152
10153 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10154 dynamic linker unless [$(run-built-tests) = yes].
10155
b2e93de0
DD
101562018-12-03 DJ Delorie <dj@delorie.com>
10157
10158 * support/test-container.c (check_for_unshare_hints): New.
10159 (main): Call it if unshare fails. Add support for "su" scriptlet
10160 command.
10161
477a02f6
JM
101622018-12-03 Joseph Myers <joseph@codesourcery.com>
10163
10164 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10165 'START' to indicate that start text should be output.
10166 (gen_test): Likewise.
10167 (main): Generate 'START' for first symbol or '--' line, or at end
10168 of input if not previously generated.
10169
6af956e5
RÁE
101702018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10171
10172 [BZ #19767]
10173 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10174 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10175 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10176 ALWAYS_USE_VSYSCALL.
10177
f5ec0ea9
AZ
101782018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10179
10180 [BZ #23913]
10181 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10182 new_argv by one.
10183
8cebd4ff
CD
101842018-12-03 Carlos O'Donell <carlos@redhat.com>
10185
10186 [BZ #23923]
10187 * locale/programs/localedef.c: Declare boolean hard_links default true.
10188 (options): Add --no-hard-links option.
10189 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10190 * locale/programs/localedef.h: Declare prototype for hard_links.
10191 * locale/programs/locfile.c (write_locale_data): Don't use hard
10192 links if hard_links is false.
10193
c22e4c2a
L
101942018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10197 cpu_features_basic.
10198 (__cache_sysconf): Likewise.
10199 (init_cacheinfo): Likewise.
10200 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10201 populate COMMON_CPUID_INDEX_80000007 and
10202 COMMON_CPUID_INDEX_80000008.
10203 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10204 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10205 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10206 (init_cpu_features): Use _Static_assert on
10207 index_arch_Fast_Unaligned_Load.
10208 __get_cpuid_registers and __get_arch_feature. Updated for
10209 cpu_features_basic. Set stepping in cpu_features.
10210 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10211 (FEATURE_INDEX_2): New.
10212 (FEATURE_INDEX_MAX): Changed to enum.
10213 (COMMON_CPUID_INDEX_D_ECX_1): New.
10214 (COMMON_CPUID_INDEX_80000007): Likewise.
10215 (COMMON_CPUID_INDEX_80000008): Likewise.
10216 (cpuid_registers): Likewise.
10217 (cpu_features_basic): Likewise.
10218 (CPU_FEATURE_USABLE): Likewise.
10219 (bit_arch_XXX_Usable): Likewise.
10220 (cpu_features): Use cpuid_registers and cpu_features_basic.
10221 (bit_arch_XXX): Reweritten.
10222 (bit_cpu_XXX): Likewise.
10223 (index_cpu_XXX): Likewise.
10224 (reg_XXX): Likewise.
10225 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10226 <support/check.h>.
10227 (CHECK_CPU_FEATURE): New.
10228 (CHECK_CPU_FEATURE_USABLE): Likewise.
10229 (cpu_kinds): Likewise.
10230 (do_test): Print vendor, family, model and stepping. Check
10231 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10232 (TEST_FUNCTION): Removed.
10233 Include <support/test-driver.c> instead of
10234 "../../test-skeleton.c".
10235 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10236 Check POPCNT instead of POPCOUNT.
10237 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10238
7b36d26b
ST
102392018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10240
10241 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10242 there is no element in `consts'.
10243
02cd5c1a
FW
102442018-12-01 Florian Weimer <fweimer@redhat.com>
10245
10246 * support/support_capture_subprocess.c
10247 (support_capture_subprocess): Check that pipe descriptors have
10248 expected values. Close original pipe descriptors in subprocess.
10249
fc493bc9
ST
102502018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10251
10252 [BZ #23032]
10253 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10254 attr with __pthread_default_barrierattr.
10255 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10256 attr with __pthread_default_condattr.
10257 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10258 attr with __pthread_default_mutexattr.
10259 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10260 attr with __pthread_default_rwlockattr.
10261
6310e6be
KW
102622018-12-01 Kemi Wang <kemi.wang@intel.com>
10263
10264 * manual/tunables.texi (POSIX Thread Tunables): New node.
10265 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10266 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10267 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10268 __pthread_tunables_init.
10269 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10270 (max_adaptive_count): Define.
10271 * nptl/pthread_mutex_conf.c: New file.
10272 * nptl/pthread_mutex_conf.h: New file.
10273 * sysdeps/generic/adaptive_spin_count.h: New file.
10274 * sysdeps/nptl/dl-tunables.list: New file.
10275 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10276 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10277 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10278 Likewise.
10279
8e67b39e
PP
102802018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10281
10282 [BZ #20544]
10283 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10284 * stdlib/on_exit.c (__on_exit): Likewise.
10285 * stdlib/Makefile (tests): Add tst-bz20544.
10286 * stdlib/tst-bz20544.c: New test.
10287
15b8d67e
RÁE
102882018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10289
10290 [BZ #19767]
10291 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10292 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10293 New.
10294
5e63c240
FW
102952018-11-30 Florian Weimer <fweimer@redhat.com>
10296
10297 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10298 Extend error logging.
10299 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10300 symbol.
10301
71058602 103022018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 10303
5fb7fc96
AZ
10304 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10305 __sigismember instead of sigismember.
10306 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10307 cancel_handler): New definitions.
10308 (do_system): Use posix_spawn instead of fork and execl and remove
10309 reentracy code.
10310 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10311 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10312 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10313 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10314 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10315 * sysdeps/unix/sysv/linux/system.c: Likewise.
10316
14d0e87d
AZ
10317 [BZ #22834]
10318 [BZ #17490]
10319 * NEWS: Add new semantic for atfork with popen and system.
10320 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10321 fork and execl.
10322
e5d262ef
TMQMF
103232018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10324
10325 [BZ #23690]
10326 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10327 modification order when accessing reloc_result->addr.
10328 * include/link.h (reloc_result): Add field init.
10329 * nptl/Makefile (tests): Add tst-audit-threads.
10330 (modules-names): Add tst-audit-threads-mod1 and
10331 tst-audit-threads-mod2.
10332 Add rules to build tst-audit-threads.
10333 * nptl/tst-audit-threads-mod1.c: New file.
10334 * nptl/tst-audit-threads-mod2.c: Likewise.
10335 * nptl/tst-audit-threads.c: Likewise.
10336 * nptl/tst-audit-threads.h: Likewise.
10337
7e1d4240
JM
103382018-11-30 Joseph Myers <joseph@codesourcery.com>
10339
10340 * scripts/gen-as-const.py: New file.
10341 * scripts/gen-as-const.awk: Remove.
10342 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10343 gen-as-const.py.
10344 ($(objpfx)test-as-const-%.c): Likewise.
10345
ce7387cc
L
103462018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10347
10348 * elf/dl-exception.c: Include <_itoa.h>.
10349
c6a5bdc1
ST
103502018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10351
10352 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10353 returned by __f_setlk.
10354
a5275ba5
L
103552018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10356 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10357
10358 * elf/Makefile (tests-internal): Add tst-create_format1.
10359 * elf/dl-exception.c (_dl_exception_create_format): Support
10360 %x, %lx and %zx.
10361 * elf/tst-create_format1.c: New file.
10362
3a67e81d
CAC
103632018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10364
10365 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10366 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10367 gnulib.)
10368 * argp/argp-help.c (__argp_failure): Likewise.
10369
4975f0c3
MH
103702018-11-29 Mao Han <han_mao@c-sky.com>
10371
10372 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10373 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10374 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10375 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10376 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10377 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10378 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10379 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10380 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10381 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10382 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10383 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10384 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10385 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10386 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10387 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10388 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10389 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10390 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10391 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10392 (R_CKCORE_TLS_TPOFF32): New defines.
10393
250102c8
FW
103942018-11-29 Florian Weimer <fweimer@redhat.com>
10395
10396 * posix/Makefile (before-compile): Remove testcases.h and
10397 ptestcases.h.
10398 (generated): Add testcases.h and ptestcases.h.
10399 (testcases.h, ptestcases.h): Move to $(objpfx).
10400 (runtests.o): Add dependency on testcases.h.
10401 (runptests.o): Add dependency on ptestcases.h.
10402 * posix/testcases.h, posix/ptestcases.h: Remove files.
10403 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10404 not touch posix/testcases.h and posix/ptestcases.h.
10405
96cd0558
FW
104062018-11-28 Florian Weimer <fweimer@redhat.com>
10407
10408 support: Add signal support to support_capture_subprocess_check.
10409 * support/capture_subprocess.h (support_capture_subprocess_check):
10410 Adjust comment and rename parameter.
10411 * support/support_capture_subprocess_check.c
10412 (print_actual_status): New function.
10413 (support_capture_subprocess_check): Support negative
10414 status_or_signal. Call print_actual_status.
10415 * support/tst-support_capture_subprocess.c (do_test): Call
10416 support_capture_subprocess_check.
10417 * libio/tst-vtables-common.c (termination_status)
10418 (init_termination_status): Remove.
10419 (check_for_termination): Adjust support_capture_subprocess_check
10420 call.
10421 (do_test): Remove call to init_termination_status.
10422
530504e3
JM
104232018-11-28 Joseph Myers <joseph@codesourcery.com>
10424
10425 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10426 source directory instead of a copy.
10427 (CommandList.create_copy_dir): Remove.
10428
9a0b6970
SL
104292018-11-28 Stefan Liebler <stli@linux.ibm.com>
10430
10431 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10432
47d8d9a2
FW
104332018-11-28 Florian Weimer <fweimer@redhat.com>
10434
10435 * support/support.h (support_quote_string): Do not use str
10436 parameter name.
10437
b473b7d8
JM
104382018-11-27 Joseph Myers <joseph@codesourcery.com>
10439
10440 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10441 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10442
c74a91de
FW
104432018-11-27 Florian Weimer <fweimer@redhat.com>
10444
10445 * support/support.h (support_quote_string): Declare.
10446 * support/support_quote_string.c: New file.
10447 * support/tst-support_quote_string.c: Likewise.
10448 * support/Makefile (libsupport-routines): Add
10449 support_quote_string.
10450 (tests): Add tst-support_quote_string.
10451
d527c860
FW
104522018-11-27 Florian Weimer <fweimer@redhat.com>
10453
10454 [BZ #23927]
10455 CVE-2018-19591
10456 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10457 descriptor leak in case of ENODEV error.
10458
979cfed0
RÁE
104592018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10460
10461 [BZ #19767]
10462 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10463 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10464 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10465
ce035c6e
CD
104662018-11-26 Carlos O'Donell <carlos@redhat.com>
10467
10468 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10469 Error for unknown lines.
10470
2bd0bfcc
JM
104712018-11-26 Joseph Myers <joseph@codesourcery.com>
10472
10473 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10474 Touch additional files.
10475
affec03b
FW
104762018-11-26 Florian Weimer <fweimer@redhat.com>
10477
10478 [BZ #23907]
10479 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10480 double-frees.
10481
8ae74ead
RÁE
104822018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10483
10484 [BZ #19767]
10485 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10486 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10487 SHARED. Include sysdep.h.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10489 ALWAYS_USE_VSYSCALL.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10491 ALWAYS_USE_VSYSCALL.
10492
1e8bdc3a
RÁE
104932018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10494
10495 [BZ #19767]
10496 * nptl/Makefile (tests-static): Add tst-cond11-static.
10497 (tests): Likewise.
10498 * nptl/tst-cond11-static.c: New File.
10499 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10500 tst-affinity-static.
10501 (tests): Likewise.
10502 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10503 instead of SHARED.
10504 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10505 (USE_VSYSCALL): Likewise.
10506 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10507 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10508 instead of SHARED.
10509 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10510 SHARED.
10511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10512 New.
10513
1283c478
JM
105142018-11-23 Joseph Myers <joseph@codesourcery.com>
10515
10516 [BZ #23915]
10517 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10518 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10519 Undefine.
10520
c089fd80
L
105212018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10522
10523 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10524 (tst-cet-legacy-1a-ARGS): New.
10525 ($(objpfx)tst-cet-legacy-1a): New target.
10526 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10527
cc6c89fa
JM
105282018-11-22 Joseph Myers <joseph@codesourcery.com>
10529
95edd05c
JM
10530 * conform/conformtest.py (CompileSubTest.__init__): Set
10531 self.run_early to False.
10532 (ExecuteSubTest.__init__): Likewise.
10533 (HeaderTests.run): Try running all non-optional, non-XFAILed
10534 compilation tests in a single execution of the compiler.
10535
cc6c89fa
JM
10536 * conform/conformtest.py (CompileSubTest): New class.
10537 (ExecuteSubTest): Likewise.
10538 (ElementTest.run): Rename to gen_subtests. Append tests to
10539 self.subtests instead of running them.
10540 (ConstantTest.run): Likewise.
10541 (SymbolTest.run): Likewise.
10542 (TypeTest.run): Likewise.
10543 (TagTest.run): Likewise.
10544 (FunctionTest.run): Likewise.
10545 (VariableTest.run): Likewise.
10546 (MacroFunctionTest.run): Likewise.
10547 (MacroStrTest.run): Likewise.
10548 (HeaderTests.handle_test_line): Generate subtests for tests.
10549 (HeaderTests.run): Run subtests for tests.
10550
a502c529
SN
105512018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10552
10553 * math/Versions (GLIBC_2.29): Add pow.
10554 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10555 symbol.
10556 * math/w_pow.c: New file.
10557 * sysdeps/i386/fpu/w_pow.c: New file.
10558 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10560 and add necessary aliases.
10561 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10562 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10563 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10565 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10566 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10567 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10568 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10569 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10570 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10571 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10572 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10573 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10574 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10575 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10580 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10581 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10582 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10584 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10585 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10586 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10587 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10588 __pow.
10589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10590 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10592
718d6542
SN
105932018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10594
10595 * math/Versions (GLIBC_2.29): Add log2.
10596 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10597 symbol.
10598 * math/w_log2.c: New file.
10599 * sysdeps/i386/fpu/w_log2.c: New file.
10600 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10601 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10602 and add necessary aliases.
10603 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10604 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10605 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10606 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10607 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10608 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10609 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10610 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10611 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10612 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10613 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10614 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10615 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10616 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10617 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10622 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10624 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10625 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10627 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10628 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10629
f29b7c49
SN
106302018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10631
10632 * math/Versions (GLIBC_2.29): Add log.
10633 * math/w_log_compat.c (__log_compat): Change to versioned compat
10634 symbol.
10635 * math/w_log.c: New file.
10636 * sysdeps/i386/fpu/w_log.c: New file.
10637 * sysdeps/ia64/fpu/e_log.S: Update.
10638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10639 and add necessary aliases.
10640 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10641 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10642 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10643 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10644 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10645 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10646 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10650 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10653 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10654 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10660 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10661 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10664 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10665 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10666 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10667 __log.
10668 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10669 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10670 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10671 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10672
c20a1056
SN
106732018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10674
10675 * math/Versions (GLIBC_2.29): Add exp and exp2.
10676 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10677 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10678 * math/w_exp_compat.c (__exp_compat): Likewise.
10679 * math/w_exp.c: New file.
10680 * math/w_exp2.c: New file.
10681 * sysdeps/i386/fpu/w_exp.c: New file.
10682 * sysdeps/i386/fpu/w_exp2.c: New file.
10683 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10684 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10685 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10686 and add necessary aliases.
10687 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10688 and add necessary aliases.
10689 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10690 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10691 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10692 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10693 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10694 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10696 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10698 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10699 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10700 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10702 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10704 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10705 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10710 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10711 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10712 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10713 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10714 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10715 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10716 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10717 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10718 (__ieee754_exp): Rename to __exp.
10719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10720 (__ieee754_exp): Rename to __exp.
10721 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10722 (__ieee754_exp): Rename to __exp.
10723 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10724 __exp.
10725 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10726
bcdaad21
DD
107272018-11-20 DJ Delorie <dj@redhat.com>
10728
10729 * malloc/malloc.c (tcache_entry): Add key field.
10730 (tcache_put): Set it.
10731 (tcache_get): Likewise.
10732 (_int_free): Check for double free in tcache.
10733 * malloc/tst-tcfree1.c: New.
10734 * malloc/tst-tcfree2.c: New.
10735 * malloc/Makefile: Run the new tests.
10736 * manual/probes.texi: Document memory_tcache_double_free probe.
10737
10738 * dlfcn/dlerror.c (check_free): Prevent double frees.
10739
5770c0ad
WD
107402018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10741
10742 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10743
9a62a939
JM
107442018-11-20 Joseph Myers <joseph@codesourcery.com>
10745
10746 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10747 in tests. Use names for format arguments.
10748 (ConstantTest.run): Likewise.
10749 (SymbolTest.run): Likewise.
10750 (TypeTest.run): Likewise.
10751 (TagTest.run): Likewise.
10752 (FunctionTest.run): Likewise.
10753 (VariableTest.run): Likewise.
10754 (MacroFunctionTest.run): Likewise.
10755 (MacroStrTest.run): Likewise.
10756 (HeaderTests.__init__): Set self.num_tests.
10757 (HeaderTests.handle_test_line): Set test.num. Increment
10758 self.num_tests.
10759
b15b1a95
ST
107602018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10761
10762 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10763 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10764 SEEK_SET.
10765
0c7f97ae
MH
107662018-11-19 Mao Han <han_mao@c-sky.com>
10767
10768 * scripts/config.guess: Update to version 2018-08-29.
10769 * scripts/config.sub: Update to version 2018-08-29.
10770
35e3fbc4
FW
107712018-11-19 Florian Weimer <fweimer@redhat.com>
10772
10773 support: Print timestamps in timeout handler.
10774 * support/support_test_main.c (print_timestamp): New function.
10775 (signal_handler): Use it to print the termination time and the
10776 time of the last write to standard output.
10777
c75772e3
ZW
107782018-11-16 Zack Weinberg <zackw@panix.com>
10779 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10780
10781 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10782 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10783 argument.
10784 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10785 and add flags argument. Check flags instead of __ldbl_is_dbl when
10786 deciding whether to set is_long_double.
10787 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10788 passing zero for flags argument.
10789 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10790
10791 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10792 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10793 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10794 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10795 variable names. Remove libc_hidden_def/libc_hidden_proto from
10796 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10797 longer called from within the library.
10798 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10799 for __nldbl___vstrfmon_l, declare it explicitly.
10800
10801 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10802
346ef23f
ST
108032018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10804
10805 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10806 macros
10807 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10808 F_SETLK64, F_SETLKW64, respectively.
10809 * sysdeps/mach/hurd/f_setlk.c: New file.
10810 * sysdeps/mach/hurd/f_setlk.h: New file.
10811 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10812 f_setlk.
10813 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10814 (__libc_fcntl): Move non-flock operations to...
10815 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10816 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10817
de20b81a
PE
108182018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10819
5d8af156
PE
10820 mktime: DEBUG_MKTIME cleanup
10821 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10822 And it’s no longer needed now that glibc and Gnulib both have
10823 their own testing mechanisms for mktime.
10824 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10825
86aece3b
PE
10826 mktime: fix non-EOVERFLOW errno handling
10827 [BZ#23789]
10828 mktime was not properly reporting failures when the underlying
10829 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10830 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10831 The problem could happen on non-glibc platforms, with Gnulib.
10832 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10833 (tm_diff): ... this simpler function, which does not change errno.
10834 All callers changed to deal with errno themselves.
10835 (ranged_convert, __mktime_internal): Return failure immediately if
10836 the underlying function reports any failure other than EOVERFLOW.
10837 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10838 gap code fails.
10839
f6b3331b
PE
10840 mktime: fix bug with Y2038 DST transition
10841 [BZ#23789]
10842 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10843 mishandle a DST transition that jumps over the Y2038 boundary.
10844 No such DST transitions are known so this is only a theoretical
10845 bug, but we might as well do things right.
10846
efbdddc3
PE
10847 mktime: make more room for overflow
10848 [BZ#23789]
10849 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10850 This is so that we can add tm_diff results to a previous guess,
10851 which will be useful in a later patch.
10852
6c90d759
PE
10853 mktime: simplify offset guess
10854 [BZ#23789]
10855 * time/mktime.c (__mktime_internal): Omit excess precision.
10856
32c12f3f
PE
10857 mktime: new test for mktime failure
10858 [BZ#23789]
10859 Based on a test suggested by Albert Aribaud in:
10860 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10861 * time/Makefile (tests): Add bug-mktime4.
10862 * time/bug-mktime4.c: New file.
10863
de20b81a
PE
10864 mktime: fix EOVERFLOW bug
10865 [BZ#23789]
10866 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10867 Include libc-config.h, not config.h, for __set_errno.
10868 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10869
8c6c3fb0
ST
108702018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10871
10872 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10873 __attribute_copy__ to copy attributes from name. Drop static qualifier
10874 to avoid warnings about leaf attribute not having effect on static
10875 functions.
10876
6923f6db
FW
108772018-11-13 Florian Weimer <fweimer@redhat.com>
10878
10879 * malloc/malloc.c (fastbin_push_entry): New function.
10880 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10881 (REMOVE_FB): Remove macro.
10882 (_int_malloc): Use fastbin_pop_entry and reindent.
10883 (_int_free): Use fastbin_push_entry.
10884 (malloc_consolidate): Use atomic_exchange_acquire.
10885
53f5c659
JM
108862018-11-13 Joseph Myers <joseph@codesourcery.com>
10887
0c096dcf
JM
10888 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10889 alias attribute, not with strong_alias.
10890
9c4b457e
JM
10891 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10892 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10893 with additional parameter thread.
10894 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10895 in terms of __hidden_ver2.
10896 (hidden_tls_def): New macro.
10897 (libc_hidden_tls_def): Likewise.
10898 (rtld_hidden_tls_def): Likewise.
10899 (libm_hidden_tls_def): Likewise.
10900 (libmvec_hidden_tls_def): Likewise.
10901 (libresolv_hidden_tls_def): Likewise.
10902 (librt_hidden_tls_def): Likewise.
10903 (libdl_hidden_tls_def): Likewise.
10904 (libnss_files_hidden_tls_def): Likewise.
10905 (libnsl_hidden_tls_def): Likewise.
10906 (libnss_nisplus_hidden_tls_def): Likewise.
10907 (libutil_hidden_tls_def): Likewise.
10908 (libutil_hidden_tls_def): Likweise.
10909 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10910 libc_hidden_tls_def.
10911 (__sim_disabled_exceptions_thread): Likewise.
10912 (__sim_round_mode_thread): Likewise.
10913
53f5c659
JM
10914 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10915 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10916 copy attributes from name.
10917
092dfde6
JM
109182018-11-12 Joseph Myers <joseph@codesourcery.com>
10919
f578f97b
JM
10920 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10921 Use __attribute_copy__ to copy attributes from name.
10922
9a7c643a
JM
10923 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10924 with __hidden_ver1 call.
10925 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10926 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10927 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10928 (__cosf): Do not declare here.
10929 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10930 (__sincosf): Do not declare here.
10931 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10932 (__sinf): Do not declare here.
10933
092dfde6
JM
10934 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10935 (__BIG_ENDIAN): Likewise.
10936 (__BYTE_ORDER): Likewise.
10937 (strong_alias): Likewise.
10938 (_strong_alias): Likewise.
10939
1ecba1fa
FW
109402018-11-12 Florian Weimer <fweimer@redhat.com>
10941
10942 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10943 function. Move after the definition of in_smallbin_range. Do not
10944 use __builtin_expect for paths that lead to a noreturn function.
10945 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10946 because it is unclear whether this is in fact an unlikely
10947 condition.
10948 (_int_malloc, _int_free): Adjust.
10949 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10950 variables.
10951 * malloc/arena.c (heap_trim): Likewise.
10952
434c34bd
ST
109532018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10954
10955 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10956 it, free it if needed.
10957 (reauthenticate): Test and use ccwdir.
10958 (child_init_port): In non-resetids case, test and use ccwdir.
10959 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
10960 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10961 * hurd/hurd/port.h (_hurd_port_move): New function.
10962 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10963 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
10964 * hurd/Versions (_hurd_port_move): Export function.
10965 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10966 symbol.
58bb655a
ST
10967 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10968 of dtablesize for allocating dtable_cloexec.
434c34bd 10969
1626a1cf
MS
109702018-11-09 Martin Sebor <msebor@redhat.com>
10971
10972 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10973 it's already defined.
10974 (_strong_alias): Use __attribute_copy__.
10975 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10976 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10977 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10978 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10979 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10980 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10981 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10982 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10983 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10984 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10985 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10986 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10987 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10988 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10989 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10990 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10991 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10992 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10993 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10994
968ed530
GG
109952018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10996
10997 * misc/tst-efgcvt.c: Include support/check.h and
10998 support/test-driver.c. Do not include test-skeleton.c.
10999 (error_count): Remove.
11000 (output_error): Replace increments to error_count with calls to
11001 support_record_failure.
11002 (output_r_error): Likewise.
11003 (special): Likewise.
11004 (do_test): Unconditionally return zero.
11005 (TEST_FUNCTION): Remove.
11006
c3ec0972
JM
110072018-11-09 Joseph Myers <joseph@codesourcery.com>
11008
91faaa93
JM
11009 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11010 not $(@D)/scratch.
11011 ($(linknamespace-header-tests)): Likewise.
11012
c3ec0972
JM
11013 * conform/conformtest.py: New file.
11014 * conform/conformtest.pl: Remove.
11015 * conform/GlibcConform.pm: Likewise.
11016 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11017 (KEYWORDS_C99): Likewise.
11018 (KEYWORDS): Likewise.
11019 * conform/Makefile ($(conformtest-header-tests)): Use
11020 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11021 option. Use --header instead of --headers.
11022 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11023 function entries.
11024 * conform/data/spawn.h-data: Likewise.
11025 * conform/data/fcntl.h-data (openat): Add space after function
11026 name.
11027 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11028 (wcscasecmp_l): Likewise.
11029 * conform/data/termios.h-data (c_cc): Add space after element
11030 name.
11031
43257c33
GG
110322018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11033
11034 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11035 instead of manually comparing and reporting mismatching strings.
11036 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11037 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11038
e5de3b5b
JM
110392018-11-08 Joseph Myers <joseph@codesourcery.com>
11040
11041 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11042 __ASSUME_SOCKETCALL.
11043 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11044 (__ASSUME_SOCKETCALL): Remove.
11045 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11046 (__ASSUME_SOCKETCALL): Likewise.
11047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11048 (__ASSUME_SOCKETCALL): Likewise.
11049 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11050 (__ASSUME_SOCKETCALL): Likewise.
11051 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11052 (__ASSUME_SOCKETCALL): Likewise.
11053 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11054 (__ASSUME_SOCKETCALL): Likewise.
11055 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11056 (__ASSUME_SOCKETCALL): Likewise.
11057
d524fa6c
L
110582018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 [BZ #23509]
11061 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11062 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11063 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11064 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11065 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11066 lc_unknown.
11067
ac806026
AH
110682018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11069
11070 [BZ #17630]
11071 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11072
596cc360
JM
110732018-11-07 Joseph Myers <joseph@codesourcery.com>
11074
11075 [BZ #23867]
11076 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11077 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11078 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11079 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11080
00c86a37
AZ
110812018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11082
11083 * support/support_test_compare_string.c
11084 (support_test_compare_string): Fix printf format.
11085
1df872fd
FW
110862018-11-07 Florian Weimer <fweimer@redhat.com>
11087
11088 Implement TEST_COMPARE_STRING.
11089 * support/check.h (TEST_COMPARE_STRING): Define.
11090 (support_test_compare_string): Declare.
11091 * support/Makefile (libsupport-routines): Add
11092 support_test_compare_string.
11093 (tests): Add tst-test_compare_string.
11094 * support/support_test_compare_string.c: New file.
11095 * support/tst-test_compare_string.c: Likewise.
11096
295132ff
AS
110972018-11-07 Andreas Schwab <schwab@suse.de>
11098
11099 [BZ #23864]
11100 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11101 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11102 Undef.
11103
e143ceba
JM
111042018-11-06 Joseph Myers <joseph@codesourcery.com>
11105
11106 [BZ #23862]
11107 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11108 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11109 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11110 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11111 Likewise.
11112
4a938cb2
FW
111132018-11-06 Florian Weimer <fweimer@redhat.com>
11114
11115 [BZ #17405]
11116 * posix/Makefile (routines): Add spawn_faction_addchdir.
11117 (tests): Add tst-spawn-chdir.
11118 * posix/Versions (GLIBC_2.29): Add
11119 posix_spawn_file_actions_addchdir_np.
11120 * posix/spawn_faction_addchdir.c: New file.
11121 * posix/spawn_faction_destroy.c
11122 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11123 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11124 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11125 chdir_action.
11126 * posix/tst-spawn-chdir.c: New file.
11127 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11128 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11129 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11130 posix_spawn_file_actions_addchdir_np.
11131 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11132 Likewise.
11133 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11134 Likewise.
11135 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11136 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11137 Likewise.
11138 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11139 Likewise.
11140 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11141 Likewise.
11142 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11143 Likewise.
11144 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11145 Likewise.
11146 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11147 Likewise.
11148 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11149 (GLIBC_2.29): Likewise.
11150 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11151 (GLIBC_2.29): Likewise.
11152 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11153 (GLIBC_2.29): Likewise.
11154 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11155 (GLIBC_2.29): Likewise.
11156 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11157 Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11159 (GLIBC_2.29): Likewise.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11161 (GLIBC_2.29): Likewise.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11163 (GLIBC_2.29): Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11165 (GLIBC_2.29): Likewise.
11166 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11167 Likewise.
11168 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11169 Likewise.
11170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11171 Likewise.
11172 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11174 Likewise.
11175 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11176 Likewise.
11177 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11178 Likewise.
11179 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11180 Likewise.
11181
7597b0c7
GG
111822018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11183
11184 * misc/Makefile (tests): Add tst-ldbl-error.
11185 * misc/tst-ldbl-error.c: New file.
11186
9771e6cb
GG
111872018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11188
11189 * misc/Makefile (tests): Add tst-ldbl-warn.
11190 * misc/tst-ldbl-warn.c: New file.
11191
2c03961f
GG
111922018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11193
11194 * argp/Makefile (tests): Add tst-ldbl-argp.
11195 * argp/tst-ldbl-argp.c: New file.
11196
6d6ee046
AS
111972018-11-05 Arjun Shankar <arjun@redhat.com>
11198
11199 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11200 __gconv_path_elem and call __gconv_get_path unconditionally.
11201
bd3b0fba
AS
112022018-11-05 Andreas Schwab <schwab@suse.de>
11203
11204 [BZ #22927]
11205 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11206 creating the first helper thread failed.
11207
2e96e980
ST
112082018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11209
11210 * sysdeps/mach/hurd/msync.c: New file.
11211
6e36266c
FW
112122018-11-02 Florian Weimer <fweimer@redhat.com>
11213
11214 * support/shell-container.c (copy_func): Call
11215 support_copy_file_range instead of copy_file_range to support
11216 cross-device copies.
11217
599f7bee
FW
112182018-11-02 Florian Weimer <fweimer@redhat.com>
11219
11220 * support/test-container.c: Include <libc-pointer-arith.h> for
11221 ALIGN_UP.
11222
ff48ea67
ZL
112232018-11-01 Zong Li <zong@andestech.com>
11224
af1d5782
ZL
11225 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11226 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11227 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11228 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11229
ff48ea67
ZL
11230 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11231 variable to avoid overlap arguments.
11232
daea71c2
JM
112332018-11-01 Joseph Myers <joseph@codesourcery.com>
11234
eac4405a
JM
11235 * posix/bug-regex22.c (main): Use puts with distinct error
11236 messages for unexpected success of re_compile_pattern, not printf
11237 with NULL argument to %s.
11238
6f30e59f
JM
11239 * stdio-common/bug22.c: Include <libc-diag.h>.
11240 (do_test): Disable -Wformat-overflow= warnings around fprintf
11241 calls outputting more than INT_MAX characters.
11242 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11243 around printf call with NULL %s argument.
11244
daea71c2
JM
11245 [BZ #23848]
11246 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11247 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11248 Undefine.
11249 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11250 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11251 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11252 (__ASSUME_SENDTO_SYSCALL): Likewise.
11253 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11254 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11255 [!__arch64__].
11256 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11257 (__ASSUME_CONNECT_SYSCALL): Likewise.
11258 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11259 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11260 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11261 Define.
11262 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11263 Likewise.
11264 [__LINUX_KERNEL_VERSION >= 0x040400]
11265 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11267 Remove.
11268 (listen): Likewise.
11269 (setsockopt): Likewise.
11270
8e3c00db
FN
112712018-11-01 Fredrik Noring <noring@nocrew.org>
11272
11273 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11274 with the ISA override.
11275
ab74d59f 112762018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
9c3dbdbe
RAE
11277
11278 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11279 #endif.
11280
e3a88b3e
ST
112812018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11282
a67377e7 11283 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 11284 translate the error message.
a67377e7
ST
11285 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11286 printing trailing whitespaces refused by git.
11287 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11288 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 11289 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 11290
3ca235ed
JM
112912018-10-30 Joseph Myers <joseph@codesourcery.com>
11292
11293 * conform/linknamespace.py: New file.
11294 * conform/linknamespace.pl: Remove file.
11295 * conform/Makefile ($(linknamespace-header-tests)): Use
11296 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11297 option.
11298
60708030
FW
112992018-10-30 Florian Weimer <fweimer@redhat.com>
11300
11301 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11302 memory leaks.
11303
a91e9301
FW
113042018-10-30 Florian Weimer <fweimer@redhat.com>
11305
11306 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11307
07da99aa
FW
113082018-10-30 Florian Weimer <fweimer@redhat.com>
11309
11310 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11311 support_blob_repeat.
11312
f5e7e959
FW
113132018-10-30 Florian Weimer <fweimer@redhat.com>
11314
11315 Avoid spurious test failures in stdlib/test-bz22786.
11316 * support/Makefile (libsupport-routines): Add blob_repeat.
11317 (tests): Add tst-support_blob_repeat.
11318 * support/blob_repeat.h: New file.
11319 * support/blob_repeat.c: Likewise.
11320 * support/tst-support_blob_repeat.c: Likewise.
11321 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11322 support_blob_repeat_allocate.
11323
2dd12baa
AS
113242018-10-30 Andreas Schwab <schwab@suse.de>
11325
11326 [BZ #23125]
11327 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11328 Don't use tail call.
11329 * elf/tst-unwind-main.c: New file.
11330 * elf/Makefile (tests): Add tst-unwind-main.
11331 (CFLAGS-tst-unwind-main.c): Define.
11332
6b5c8607 113332018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
11334
11335 [BZ #23791]
11336 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11337 n_cs_precedes to 0.
11338 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11339
c6982f7e
JM
113402018-10-29 Joseph Myers <joseph@codesourcery.com>
11341
954cf3c2
JM
11342 * conform/glibcconform.py: Do not import shutil.
11343 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11344 of mkdtemp.
11345
c6982f7e
JM
11346 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11347 critic_missing for versions before 3.4.
11348 * configure: Regenerated.
11349 * manual/install.texi (Tools for Compilation): Document
11350 requirement for Python to build glibc.
11351 * INSTALL: Regenerated.
11352 * Rules [PYTHON]: Make code unconditional.
11353 * benchtests/Makefile [PYTHON]: Likewise.
11354 * conform/Makefile [PYTHON]: Likewise.
11355 * manual/Makefile [PYTHON]: Likewise.
11356 * math/Makefile [PYTHON]: Likewise.
11357
46a7f24c
ST
113582018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11359
11360 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 11361 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 11362 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
11363 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11364 _hurd_intr_rpc_msg_about_to global point to start of controlled
11365 assembly snippet. Make it check canceled flag.
11366 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11367 the _hurd_intr_rpc_msg_about_to point.
11368 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11369 issue, remove cancel flag check.
46a7f24c 11370
e5b8756d
JM
113712018-10-26 Joseph Myers <joseph@codesourcery.com>
11372
11373 * scripts/build-many-glibcs.py: Remove compatibility for missing
11374 os.cpu_count and re.fullmatch.
11375
ba5b14c7
SN
113762018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11377
11378 [BZ #23822]
11379 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11380 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11381 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11382
fe61f17c
JM
113832018-10-25 Joseph Myers <joseph@codesourcery.com>
11384
11385 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11386 macro.
11387
7c5e34d7
FW
113882018-10-25 Florian Weimer <fweimer@redhat.com>
11389
11390 [BZ #23562]
11391 [BZ #23821]
11392 XFAIL siginfo_t si_band conform test on sparc64.
11393 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11394 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11395 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11396 (conformtest-xfail-conds): Add sparc64-linux.
11397 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11398 sparc64.
11399 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11400
5b784e88
JM
114012018-10-25 Joseph Myers <joseph@codesourcery.com>
11402
11403 * elf/elf.h (NT_MIPS_DSP): New macro.
11404 (NT_MIPS_FP_MODE): Likewise.
11405
41432ebe
ZL
114062018-10-25 Zong Li <zong@andestech.com>
11407
11408 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11409 name by adding the file extension (.so).
11410
d026efea
ST
114112018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11412
11413 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11414 (test-xfail-ISO11/threads.h/linknamespace,
11415 test-xfail-ISO11/threads.h/conform): Add.
11416
b71ac2b9
JM
114172018-10-24 Joseph Myers <joseph@codesourcery.com>
11418
11419 * math/gen-libm-test.py: Import os.
11420 (ALL_FLOATS_MANUAL): New constant.
11421 (ALL_FLOATS_SUFFIX): Likewise.
11422 (Ulps.all_functions): New function.
11423 (real_all_ulps): Likewise.
11424 (generate_err_table_sub): Likewise.
11425 (generate_err_table): Likewise.
11426 (main): Handle -s and -m options.
11427 * manual/libm-err-tab.pl: Remove.
11428 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11429 instead of libm-err-tab.pl.
11430 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11431 != no].
11432 * manual/install.texi (Tools for Compilation): Document
11433 requirement for Python to build manual.
11434 * INSTALL: Regenerated.
11435
6b5c8607 114362018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
11437
11438 * bits/time64.h: New file.
11439 * include/time.h: Replace internal_time_t with __time64_t.
11440 * posix/bits/types (__time64_t): Add.
11441 * stdlib/Makefile: Add bits/time64.h to includes.
11442 * time/tzfile.c: Replace internal_time_t with __time64_t.
11443
97d91fcc 114442018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
11445
11446 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11447 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11448 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11449 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11450 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11451 prototype.
11452 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11453 * posix/spawn_faction_addclose.c
11454 (__posix_spawn_file_actions_addclose): Add hidden definition.
11455 * posix/spawn_faction_adddup2.c
11456 (__posix_spawn_file_actions_adddup2): Likewise.
11457 * posix/spawn_faction_destroy.c
11458 (__posix_spawn_file_actions_destroy): Likewise.
11459 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11460 Likewise.
11461 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11462 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11463 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11464 Likewise.
11465 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11466 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11467 Likewise.
11468
2954daf0
AS
114692018-10-24 Andreas Schwab <schwab@suse.de>
11470
11471 [BZ #18093]
11472 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11473 format cache.
11474 * elf/cache.c (print_cache): Likewise.
11475
6b5c8607 114762018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
11477
11478 * bits/timesize.h: New file.
11479 * stdlib/Makefile (headers): Add bits/timesize.h.
11480 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11481 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11482 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11483 (__SEM_PAD_AFTER_TIME): Likewise.
11484 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11485 (__SHM_PAD_AFTER_TIME): Likewise.
11486 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11487 (__MSQ_PAD_BEFORE_TIME): Likewise.
11488 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11489 (__SEM_PAD_BEFORE_TIME): Likewise.
11490 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11491 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11492 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
11493 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11494 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11495 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
11496 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11497 (__SEM_PAD_BEFORE_TIME): Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11499 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11500 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11501 (__MSQ_PAD_BEFORE_TIME): Likewise.
11502 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11503 (__SEM_PAD_BEFORE_TIME): Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11505 (__SHM_PAD_BEFORE_TIME): Likewise.
11506 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11507 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11508 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11509
7cc65773
L
115102018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11513 USE_RDTSCP is defined.
11514 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11515 USE_RDTSCP is defined.
11516
c3d8dc45
AZ
115172018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11518
18ad0de6
AZ
11519 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11520 defined.
11521
c3d8dc45
AZ
11522 [BZ #23709]
11523 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11524 independently of other flags.
11525
f1034472
FW
115262018-10-23 Florian Weimer <fweimer@redhat.com>
11527
11528 * time/tst-mktime2.c (N_STRINGS): Remove.
11529 (set_timezone): New function.
11530 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11531 (mktime_test1): Report localtime failure and check errno value.
11532 Use TEST_COMPARE.
11533 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11534 (do_test): Remove alarm call. Use set_timezone and array_length.
11535
367d7cc2
AS
115362018-10-23 Andreas Schwab <schwab@suse.de>
11537
11538 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11539 (__start_context): Use END instead of PSEUDO_END.
11540
be8ff03f
JM
115412018-10-22 Joseph Myers <joseph@codesourcery.com>
11542
029ad711
JM
11543 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11544 version to 4.19.
11545
8190520f
JM
11546 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11547 version to 4.19.
11548
be8ff03f
JM
11549 [BZ #23793]
11550 * wcsmbs/c32rtomb.c: New file.
11551 * wcsmbs/mbrtoc32.c: Likewise.
11552 * wcsmbs/tst-c32-state.c: Likewise.
11553 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11554 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11555 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11556 (tests): Add tst-c32-state.
11557 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11558 $(gen-locales).
11559
2dd8e58c
L
115602018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11561
11562 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11563 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11564
d0a74159
JM
115652018-10-19 Joseph Myers <joseph@codesourcery.com>
11566
11567 [BZ #23794]
11568 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11569 pair and return 0 in that case, and use saved character to
11570 interpret following character.
11571 * wcsmbs/tst-c16-surrogate.c: New file.
11572 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11573 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11574 Depend on $(gen-locales)
11575
f997b4be
IYM
115762018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11577
11578 [BZ #23562]
11579 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11580 (struct siginfo_t): Use correct type for si_band.
11581
53b2bb87
FW
115822018-10-19 Florian Weimer <fweimer@redhat.com>
11583
11584 [BZ #23689]
11585 * resource/bits/types/struct_rusage.h (struct rusage): Update
11586 comment on struct. Remove extraneous field comment.
11587
0a271c8f
DM
115882018-10-18 David S. Miller <davem@davemloft.net>
11589
94a3a27f
DM
11590 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11591 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11592 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11593 sysdep_routines in subdir elf.
11594 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11595 version for __vdso_clock_gettime.
11596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11597 Define.
11598 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11599 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11600
0a271c8f
DM
11601 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11602
72771e53
L
116032018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11604
11605 * sysdeps/i386/init-arch.h: Removed.
11606 * sysdeps/i386/i586/init-arch.h: Likewise.
11607 * sysdeps/i386/i686/init-arch.h: Likewise.
11608 * sysdeps/i386/i686/hp-timing.h: Likewise.
11609 * sysdeps/x86_64/hp-timing.h: Likewise.
11610 * sysdeps/i386/isa.h: New file.
11611 * sysdeps/i386/i586/isa.h: Likewise.
11612 * sysdeps/i386/i686/isa.h: Likewise.
11613 * sysdeps/x86_64/isa.h: Likewise.
11614 * sysdeps/x86/hp-timing.h: New file.
11615 * sysdeps/x86/init-arch.h: Include <isa.h>.
11616
c2b7ccad
JM
116172018-10-17 Joseph Myers <joseph@codesourcery.com>
11618
11619 * math/libm-test-pow.inc (pow_test_data): Do not allow
11620 divide-by-zero exception for pow(+/- 0, -Inf).
11621
26756e57
ZW
116222018-10-17 Zack Weinberg <zackw@panix.com>
11623
11624 * manual/job.texi (Job Control is Optional): Remove node, as
11625 job control has not been optional in quite some time.
11626 (Job Control): Mention briefly that systems older than
11627 POSIX.1-2001 might not support job control.
11628 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11629 defined on systems conforming to POSIX.1-2001.
11630
c5288d37
AS
116312018-10-17 Arjun Shankar <arjun@redhat.com>
11632
11633 [BZ #22062]
11634 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11635 indentation.
11636 * (__gconv_read_conf): Mark function static.
11637 * (once): New static variable.
11638 * (__gconv_load_conf): New function.
11639 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11640 * iconv/gconv_db.c (once): Remove static variable.
11641 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11642 __gconv_read_conf.
11643 * (__gconv_find_transform): Likewise.
11644 * iconv/tst-iconv-mt.c: New test.
11645 * iconv/Makefile: Add tst-iconv_mt.
11646
8c8d2a8a
JM
116472018-10-17 Joseph Myers <joseph@codesourcery.com>
11648
11649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
11650 bits/shm-pad.h.
11651 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11652 (shmatt_t): Define as __syscall_ulong_t.
11653 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11654 and [__SHM_PAD_AFTER_TIME].
11655 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11656 Define shm_segsz and associated padding based on
11657 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11658 Use __syscall_ulong_t instead of unsigned long int.
11659 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11660 unsigned long int.
11661 [__USE_MISC] (struct shm_info): Likewise.
11662 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11663 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11664 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11665 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11666 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11667 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11668 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11669 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11670 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11671 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11672 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11673
11674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
11675 bits/shmlba.h.
11676 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11677 (SHMLBA): Remove macro.
11678 (__getpagesize): Remove function declaration.
11679 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11680 <bits/shmlba.h>.
11681 (SHMLBA): Remove macro.
11682 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11683 <bits/shmlba.h>.
11684 (SHMLBA): Remove macro.
11685 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11686 <bits/shmlba.h>.
11687 (SHMLBA): Remove macro.
11688 (__getpagesize): Remove function declaration.
11689 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11690 <bits/shmlba.h>.
11691 (SHMLBA): Remove macro.
11692 (__getshmlba): Remove function declaration.
11693 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11694 (SHMLBA): Remove macro.
11695 (__getpagesize): Remove function declaration.
11696 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11697 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11698 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11699 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11700 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11701 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11702 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11703 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11704 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11705 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11706
403b4feb
SL
117072018-10-17 Stefan Liebler <stli@linux.ibm.com>
11708
11709 [BZ #23275]
11710 * nptl/tst-mutex10.c: New File.
11711 * nptl/Makefile (tests): Add tst-mutex10.
11712 (tst-mutex10-ENV): New variable.
11713 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11714 Ensure that elision path is used if elision is available.
11715 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11716 Likewise.
11717 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11718 Likewise.
11719 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11720 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11721 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11722 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11723 Likewise.
11724 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11725 (__pthread_mutex_cond_lock_adjust): Likewise.
11726 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11727 Likewise.
11728 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11729 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11730 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11731 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11732 Add comments.
11733 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11734 Use atomic_load_relaxed and atomic_store_relaxed.
11735 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11736 Use atomic_store_relaxed.
11737
ce5a7de6
AS
117382018-10-17 Andreas Schwab <schwab@suse.de>
11739
11740 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11741 * crypt/badsalttest.c (TIMEOUT): Likewise.
11742 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11743 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11744 * io/test-lfs.c (TIMEOUT): Likewise.
11745 * libio/tst-atime.c (TIMEOUT): Likewise.
11746 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11747 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11748 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11749 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11750 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11751 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11752 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11753 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11754 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11755 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11756 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11757 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11758 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11759 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11760 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11761 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11762 * nptl/tst-once2.c (TIMEOUT): Likewise.
11763 * nptl/tst-once3.c (TIMEOUT): Likewise.
11764 * nptl/tst-once4.c (TIMEOUT): Likewise.
11765 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11766 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11767 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11768 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11769 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11770 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11771 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11772 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11773 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11774 * posix/tst-chmod.c (TIMEOUT): Likewise.
11775 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11776 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11777 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11778 * posix/tst-regex2.c (TIMEOUT): Likewise.
11779 * posix/tst-waitid.c (TIMEOUT): Likewise.
11780 * rt/tst-aio.c (TIMEOUT): Likewise.
11781 * rt/tst-aio10.c (TIMEOUT): Likewise.
11782 * rt/tst-aio4.c (TIMEOUT): Likewise.
11783 * rt/tst-aio5.c (TIMEOUT): Likewise.
11784 * rt/tst-aio6.c (TIMEOUT): Likewise.
11785 * rt/tst-aio64.c (TIMEOUT): Likewise.
11786 * rt/tst-aio7.c (TIMEOUT): Likewise.
11787 * rt/tst-aio9.c (TIMEOUT): Likewise.
11788 * rt/tst-clock.c (TIMEOUT): Likewise.
11789 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11790 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11791 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11792 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11793 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11794 * rt/tst-timer4.c (TIMEOUT): Likewise.
11795 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11796 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11797 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11798 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11799 * time/tst-ftime.c (TIMEOUT): Likewise.
11800 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11801
6b5c8607 118022018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
11803
11804 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11805 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11806 for thunderX2.
11807
bcdb1bfa
JM
118082018-10-15 Joseph Myers <joseph@codesourcery.com>
11809
11810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11811 bits/sem-pad.h.
11812 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11813 instead of <bits/wordsize.h>.
11814 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11815 and [__SEM_PAD_AFTER_TIME].
11816 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11817 __syscall_ulong_t instead of unsigned long int.
11818 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11819 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11820 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11821 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11822 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11823 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11824 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11825 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11826 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11827 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11828 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11829
f4efbdfb
PE
118302018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11831
620a5d4c
PE
11832 regex: simplify by using intprops.h
11833 [BZ#23744]
11834 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11835 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11836 intprops.h defines them.
11837
f4efbdfb
PE
11838 regex: __builtin_expect → __glibc_unlikely
11839 [BZ#23744]
11840 This refactoring was prompted by a problem when the regex code is
11841 used as part of Gnulib and when the builder’s compiler does not grok
11842 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11843 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11844 Although this refactoring does not fix the problem directly,
11845 we might as well have Gawk use the now-preferred glibc style for when
11846 __builtin_expect is unavailable.
11847 * posix/regex_internal.h (BE): Remove.
11848 All uses replaced by __glibc_unlikely or __glibc_likely.
11849
9f9feb6d
JM
118502018-10-11 Joseph Myers <joseph@codesourcery.com>
11851
11852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11853 bits/msq-pad.h.
11854 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11855 instead of <bits/wordsize.h>.
11856 (msgqnum_t): Define as __syscall_ulong_t.
11857 (msglen_t): Likewise.
11858 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11859 and [__MSQ_PAD_AFTER_TIME].
11860 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11861 __syscall_ulong_t instead of unsigned long int.
11862 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11863 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11864 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11865 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11867 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11868 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11869 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11871 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11872 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11873
b9c0f6c1
JM
118742018-10-10 Joseph Myers <joseph@codesourcery.com>
11875
2a4b25fa
JM
11876 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11877 (struct shmid_ds): Condition padding after time fields on
11878 [__WORDSIZE == 32].
11879 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11880 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11881 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11882
19e62f26
JM
11883 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11884 (struct semid_ds): Condition padding after time fields on
11885 [__WORDSIZE == 32].
11886 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11887 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11888 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11889 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11890
b9c0f6c1
JM
11891 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11892 (struct msqid_ds): Condition padding after time fields on
11893 [__WORDSIZE == 32].
11894 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11895 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11896 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11897 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11898
97785a61
SN
118992018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11900
11901 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11902
ed643089
SN
119032018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11904
11905 * libio/tst-readline.c (TIMEOUT): Define.
11906
5a580643
PE
119072018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11908
11909 mktime fix for Gnulib + coreutils
11910 [BZ#23745]
11911 This fix affects only Gnulib. Problem discovered when
11912 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11913 * time/mktime.c:
11914 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11915 Do not define since it is not used. Defining an unused static
11916 function prompts a warning from GCC when Coreutils is configured
11917 with --enable-gcc-warnings.
11918
c892ae04
LS
119192018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11920
11921 * benchtests/scripts/compare_bench.py (main): set float type on
11922 threshold argument.
11923
ab74d59f 119242018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
a68ec8ea
RL
11925
11926 [BZ #23740]
11927 * localedata/locales/kl_GL (mon): Update, the relative case.
11928 (alt_mon): Add, fill with month names in the nominative case.
11929 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11930 (d_fmt): Set to "%b %d %Y".
11931
a1987621
JM
119322018-10-04 Joseph Myers <joseph@codesourcery.com>
11933
47c49251
JM
11934 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11935 <bits/mman-linux.h>.
11936 (PROT_READ): Don't define here.
11937 (PROT_WRITE): Likewise.
11938 (PROT_EXEC): Likewise.
11939 (PROT_NONE): Likewise.
11940 (PROT_GROWSDOWN): Likewise.
11941 (PROT_GROWSUP): Likewise.
11942 (MAP_SHARED): Likewise.
11943 (MAP_PRIVATE): Likewise.
11944 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11945 [__USE_MISC] (MAP_FILE): Likewise.
11946 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11947 [__USE_MISC] (MAP_ANON): Likewise.
11948 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11949 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11950 (MCL_CURRENT): Likewise.
11951 (MCL_FUTURE): Likewise.
11952 (MCL_ONFAULT): Likewise.
11953 [__USE_MISC] (MADV_NORMAL): Likewise.
11954 [__USE_MISC] (MADV_RANDOM): Likewise.
11955 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11956 [__USE_MISC] (MADV_WILLNEED): Likewise.
11957 [__USE_MISC] (MADV_DONTNEED): Likewise.
11958 [__USE_MISC] (MADV_FREE): Likewise.
11959 [__USE_MISC] (MADV_REMOVE): Likewise.
11960 [__USE_MISC] (MADV_DONTFORK): Likewise.
11961 [__USE_MISC] (MADV_DOFORK): Likewise.
11962 [__USE_MISC] (MADV_HWPOISON): Likewise.
11963 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11964 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11965 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11966 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11967 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11968 (__MAP_ANONYMOUS): New macro.
11969 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11970 <bits/mman-linux.h> inclusion.
11971 (MAP_FIXED): Likewise.
11972 (MS_SYNC): Likewise.
11973 (MS_ASYNC): Likewise.
11974 (MS_INVALIDATE): Likewise.
11975 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11976 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11977 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11978 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11979 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11980 [__USE_MISC] (MADV_DODUMP): Likewise.
11981 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11982 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11983
a1987621
JM
11984 [BZ #23735]
11985 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11986 Define.
11987 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11988 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11989 Add test-nldbl-redirect.
11990 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11991 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11992 $(objpfx)libnldbl_nonshared.a.
11993
e7624d70
SL
119942018-10-04 Stefan Liebler <stli@linux.ibm.com>
11995
11996 * support/support.h (support_objdir_elf_ldso): New variable.
11997 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11998 * support/Makefile (CFLAGS-support_paths.c): Add definition
11999 for OBJDIR_ELF_LDSO_PATH.
12000 * support/test-container.c (main): Search for the ld.so
12001 which is also used by the testsuite.
12002
ab74d59f 120032018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
dae3ed95
RL
12004
12005 [BZ #20209]
12006 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12007 should be "sap" rather than "sab".
12008 (day): Fix spelling of Sunday, should be "sapaat" rather than
12009 "sabaat".
12010
f346b5b3
JM
120112018-10-02 Joseph Myers <joseph@codesourcery.com>
12012
12013 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12014
4a06ceea
MJ
120152018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12016
12017 [BZ #19444]
12018 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12019 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12020 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12021
a06fc4a5
AZ
120222018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12023
12024 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12025
a1ccc065
L
120262018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12029 Add -mrtm.
12030 (CFLAGS-elision-unlock.c): Likewise.
12031 (CFLAGS-elision-timed.c): Likewise.
12032 (CFLAGS-elision-trylock.c): Likewise.
12033 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12034
0b727ed4
AZ
120352018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12036
12037 [BZ #21037]
12038 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12039 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12040 new fd_to_filename interface.
12041 * libio/freopen64.c (freopen64): Likewise.
12042 * libio/tst-memstream.h: New file.
12043 * libio/tst-memstream4.c: Likewise.
12044 * libio/tst-wmemstream4.c: Likewise.
12045 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12046 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12047 and remove internal dynamic allocation.
12048
d0e91e8c
JM
120492018-10-01 Joseph Myers <joseph@codesourcery.com>
12050
12051 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12052 (MREMAP_MAYMOVE): Do not define here.
12053 [__USE_GNU] (MREMAP_FIXED): Likewise.
12054 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12055 (MREMAP_MAYMOVE): Define here instead.
12056 [__USE_GNU] (MREMAP_FIXED): Likewise.
12057 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12058 (MREMAP_MAYMOVE): Remove.
12059 [__USE_GNU] (MREMAP_FIXED): Likewise.
12060
c52944e8
JM
120612018-09-28 Joseph Myers <joseph@codesourcery.com>
12062
12063 * math/fromfp.h: Do not include <math_private.h>.
12064 * math/s_cacosh_template.c: Likewise.
12065 * math/s_casin_template.c: Likewise.
12066 * math/s_casinh_template.c: Likewise.
12067 * math/s_ccos_template.c: Likewise.
12068 * math/s_cproj_template.c: Likewise.
12069 * math/s_fdim_template.c: Likewise.
12070 * math/s_fmaxmag_template.c: Likewise.
12071 * math/s_fminmag_template.c: Likewise.
12072 * math/s_iseqsig_template.c: Likewise.
12073 * math/s_ldexp_template.c: Likewise.
12074 * math/s_nextdown_template.c: Likewise.
12075 * math/w_log1p_template.c: Likewise.
12076 * math/w_scalbln_template.c: Likewise.
12077 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12078 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12079 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12080 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12081 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12082 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12083 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12084 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12085 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12086 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12087 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12088 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12089 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12090 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12091 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12092 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12093 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12098 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12099 * sysdeps/ieee754/k_standardf.c: Likewise.
12100 * sysdeps/ieee754/k_standardl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12102 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12103 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12104 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12109 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12110 * sysdeps/ieee754/s_signgam.c: Likewise.
12111 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12112 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12113 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12114 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12115 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12116 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12117 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12118 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12119 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12120 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12121 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12122 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12123 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12124 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12125 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12126 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12127 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12128 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12129 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12130 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12131 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12132 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12133 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12134 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12135 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12136 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12137 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12138 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12139 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12140 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12141 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12142 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12143 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12144 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12145 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12146 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12147 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12148 <math_private.h>.
12149 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12150
7b1f9406
L
121512018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12152
12153 [BZ #23716]
12154 * sysdeps/i386/dl-cet.c: Removed.
12155 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12156 prototype.
12157 (_dl_runtime_profile_shstk): Likewise.
12158 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12159 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12160
7a16bdbb
AZ
121612018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12162
12163 [BZ #23579]
12164 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12165 do_test_with_invalid_iov): New tests.
12166 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12167 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12168 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12169 errno is ENOSYS.
12170 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12171 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12172 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12173
9755bc46
JM
121742018-09-27 Joseph Myers <joseph@codesourcery.com>
12175
81dca813
JM
12176 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12177 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12178 (MATH_REDIRECT_BINARY_ARGS): New macro.
12179 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12180 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12181 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12182 header inclusion.
12183 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12185 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12186 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12191 Likewise.
12192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12193 Likewise.
12194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12196 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12197 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12199 Likewise.
12200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12201 Likewise.
12202 * sysdeps/generic/math_private_calls.h
12203 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12204 Do not declare and define as an inline function.
12205 * math/divtc3.c (__divtc3): Use copysign functions instead of
12206 __copysign variants.
12207 * math/multc3.c (__multc3): Likewise.
12208 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12209 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12210 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12211 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12212 Likewise.
12213 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12214 (__ieee754_yn): Likewise.
12215 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12216 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12218 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12219 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12220 (__sin): Likewise.
12221 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12223 Likewise.
12224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12225 Likewise.
12226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12227 Likewise.
12228 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12229 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12230 Likewise.
12231 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12232 (__ieee754_ynf): Likewise.
12233 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12234 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12235 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12236 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12237 Likewise.
12238 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12239 (__ieee754_ynl): Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12243 Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12245 (__ieee754_ynl): Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12247 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12248 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12250 Likewise.
12251 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12252 (__ieee754_ynl)
12253 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12255 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12256 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12257 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12258
9755bc46
JM
12259 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12260 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12261 using MATH_REDIRECT.
12262 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12263 header inclusion.
12264 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12267 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12275 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12276 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12278 (round): Redirect to __round.
12279 (__roundl): Call round instead of __round.
12280 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12281 Remove macro.
12282 [_ARCH_PWR5X] (__roundf): Likewise.
12283 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12284 functions instead of __round variants.
12285 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12286 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12287 Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12289 Likewise.
12290 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12291 Likewise.
12292 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12294 __lroundl.
12295 (__ieee754_expl): Call roundl instead of __roundl.
12296
f841c97e
AS
122972018-09-27 Andreas Schwab <schwab@suse.de>
12298
12299 [BZ #23717]
12300 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12301 (do_test): Make st1 static.
12302
6ca8284e
AS
123032018-09-26 Andreas Schwab <schwab@suse.de>
12304
12305 [BZ #23707]
12306 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12307 * elf/Makefile (tests): Add tst-unwind-ctor.
12308 (modules-names): Add tst-unwind-ctor-lib.
12309 ($(objpfx)tst-unwind-ctor): Depend on
12310 $(objpfx)tst-unwind-ctor-lib.so.
12311
61d8b5fe
JM
123122018-09-26 Joseph Myers <joseph@codesourcery.com>
12313
12314 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12315 file. Most contents moved from ....
12316 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12317 and include <bits/mman-map-flags-generic.h>.
12318 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12319 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12320 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12321 <bits/mman-map-flags-generic.h>.
12322 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12323 macros defined in <bits/mman-map-flags-generic.h>.
12324 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12325 <bits/mman-map-flags-generic.h>.
12326 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12327 defined in <bits/mman-map-flags-generic.h>.
12328
46341286
AS
123292018-09-26 Andreas Schwab <schwab@suse.de>
12330
12331 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12332 output.
12333
b5c45e83
AZ
123342018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12335 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12336 Fangrui Song <maskray@google.com>
12337
12338 [BZ #20480]
12339 * config.make.in (have-textrel_ifunc): New define.
12340 * configure.ac: Add check if linker supports textrel relocation with
12341 ifunc.
12342 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12343 tst-ifunc-textrel.
12344 (CFLAGS-tst-ifunc-textrel.c): New rule.
12345 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12346 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12347 * elf/tst-ifunc-textrel.c: New file.
12348
8ea4d2b7
JM
123492018-09-25 Joseph Myers <joseph@codesourcery.com>
12350
d62f9ec0
JM
12351 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12352 <bits/procfs-prregset.h>.
12353 (prgregset_t): Define using __prgregset_t.
12354 (prfpregset_t): Define using __prfpregset_t.
12355 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12356 (sysdep_headers): Add bits/procfs-prregset.h.
12357 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12358 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12359 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12360 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12361
d0d8eb43
JM
12362 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12363 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12364 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12365 pr_uid and pr_gid.
12366 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12367 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12368 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12369 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12370 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12371 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12372 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12373 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12374 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12375 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12376 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12377 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12378 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12379 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12381 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12382 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12383 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12384 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12385 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12386 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12387 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12389 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12390
8ea4d2b7
JM
12391 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12392 AArch64 version. Include <bits/procfs.h>.
12393 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12394 (sysdep_headers): Add bits/procfs.h.
12395 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12396 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12397 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12398 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12399 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12400 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12401 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12403 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12404 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12405 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12406 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12407 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12408 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12409 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12411 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12412
c7027166
AZ
124132018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12414
12415 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12416 Use libsupport.
12417
335a3b0a
AS
124182018-09-25 Arjun Shankar <arjun@redhat.com>
12419
12420 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12421 (__gconv_max_path_elem_len): Likewise.
12422 (__gconv_nmodules): Likewise.
12423 (__gconv_get_path): Likewise.
12424 (path_elem): Move to ...
12425 * iconv/gconv_conf.c: ... here.
12426 (__gconv_get_path): Mark function static.
12427 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12428 * iconv/gconv_open.c: ... here.
12429
462d348c
AS
124302018-09-24 Andreas Schwab <schwab@suse.de>
12431
12432 * scripts/haveversions.awk: New file.
12433 * Makerules ($(common-objpfx)Versions.def)
12434 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12435 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12436 Move rules ...
12437 * Makeconfig ($(common-objpfx)Versions.def)
12438 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12439 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12440 ... here.
12441 ($(common-objpfx)Versions.mk): New rule. Include it.
12442 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12443 Emit error if build-obsolete-nsl = yes.
12444 * manual/install.texi (Configuring and compiling): Describe
12445 --enable-obsolete-nsl as unavaiable after version 2.28.
12446 * INSTALL: Regenerate.
12447
f0458cf4
AZ
124482018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12449
12450 * NEWS: Add note about new TLE support on powerpc64le.
12451 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12452 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12453 __ununsed1.
12454 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12455 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12456 * sysdeps/powerpc/powerpc32/sysdep.h,
12457 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12458 ABORT_TRANSACTION): Remove macros.
12459 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12461 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12463 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12464 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12465 usage.
12466 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12467
ab74d59f 124682018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
434d45fd
RL
12469
12470 [BZ #10425]
12471 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12472 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12473 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12474 which is the same as in it_IT.
12475 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12476 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12477
d90c9b1a
JM
124782018-09-20 Joseph Myers <joseph@codesourcery.com>
12479
7abf97be
JM
12480 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12481 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12482 using MATH_REDIRECT.
12483 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12484 header inclusion.
12485 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12487 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12489 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12495 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12496 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12497 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12498 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12499 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12500 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12501 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12503 (ceil): Redirect to __ceil.
12504 (floor): Redirect to __floor.
12505 (trunc): Redirect to __trunc.
12506 (__truncl): Call trunc instead of __trunc.
12507 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12508 Remove macro.
12509 [_ARCH_PWR5X] (__truncf): Likewise.
12510 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12511 trunc functions instead of __trunc variants.
12512 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12513 Likewise.
12514 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12515 Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12517 Likewise.
12518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12519 Likewise.
12520
d90c9b1a
JM
12521 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12522 [__i586__ || __pentium__].
12523 [__i486__]: Handle explicitly.
12524 (HAS_CPUID): Define to 1 if above macros are undefined.
12525 (HAS_I586): Likewise.
12526 (HAS_I686): Likewise.
12527
db9a8ad4
FW
125282018-09-20 Florian Weimer <fweimer@redhat.com>
12529
12530 * misc/tst-gethostid.c: New file.
12531 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12532 (tst-gethostid): Link with -ldl.
12533
1214ba06
MY
125342018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12535
12536 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12537 value from gethostbyname_r.
12538
791b350d
CD
125392018-09-19 Carlos O'Donell <carlos@redhat.com>
12540
12541 * stdlib/tst-setcontext9.c (f1): Rename to...
12542 (f1a): ... this.
12543 (f1b): New function implementing lower half of f1 in alternate stack.
12544
8e6fd2bd
PE
125452018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12546
e1080e7e
PE
12547 Fix mktime localtime offset confusion
12548 [BZ #23603]
12549 * include/time.h (__mktime_internal): The localtime offset is now
12550 of type long int instead of time_t. This is the longstanding type
12551 in glibc, and it is more than enough to represent difference
12552 between localtime and gmtime even if it is 32 bits and time_t is
12553 64. Changing it now will let us avoid an unnecessary change when
12554 time_t is widened to 64 bits on 32-bit platforms.
12555 * time/mktime-internal.h (mktime_offset_t): Now long int.
12556
8e6fd2bd
PE
12557 Merge mktime, timegm from upstream Gnulib
12558 [BZ #23603][BZ #16346]
12559 This fixes some obscure problems with integer overflow.
12560 Although it looks scary, it is almost all a byte-for-byte copy
12561 from Gnulib, and the Gnulib code has been tested reasonably well.
12562 * include/intprops.h: New file, copied from Gnulib.
12563 * include/verify.h, time/mktime-internal.h:
12564 New tiny files, simplified from Gnulib.
12565 * time/mktime.c: Copy from Gnulib. This has the following changes:
12566 Do not include config.h if DEBUG_MKTIME is nonzero.
12567 Include stdbool.h, intprops.h, verify.h.
12568 Include string.h only if needed.
12569 Include stdlib.h on MS-Windows.
12570 Include mktime-internal.h.
12571 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12572 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12573 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12574 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12575 simplify later conditionals; default the others to zero. Use
12576 these conditionals to express only the code needed on the current
12577 platform. In uses of these conditionals, explicitly spell out how
12578 _LIBC affects things, so it’s easier to review from a glibc
12579 viewpoint.
12580 (WRAPV): Remove; no longer needed now that we have
12581 systematic overflow checking.
12582 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12583 compartmentalize tzset issues. Move system-dependent tzsettish
12584 code here from mktime.
12585 (verify): Remove; now done by verify.h. All uses changed.
12586 (long_int): Use a more-conservative definition, to avoid
12587 integer overflow.
12588 (SHR): Remove, replacing with ...
12589 (shr): New function, which means we needn’t worry about side
12590 effects in args, and conversion analysis is simpler.
12591 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12592 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12593 (time_t_avg, time_t_add_ok): Remove.
12594 (mktime_min, mktime_max): New constants.
12595 (leapyear, isdst_differ): Use bool for booleans.
12596 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12597 Use long_int, not time_t, for mktime differences.
12598 (long_int_avg): New function, replacing time_t_avg.
12599 INT_ADD_WRAPV replaces time_t_add_ok.
12600 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12601 All uses changed.
12602 (convert_time): New function.
12603 (ranged_convert): Use it.
12604 (__mktime_internal): Last arg now points to mktime_offset_t, not
12605 time_t. All uses changed. This is a no-op on glibc, where
12606 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12607 offset guess. Directly check for integer overflow instead of
12608 using a heuristic that works only 99.9...% of the time.
12609 Access *OFFSET only once, to avoid an unlikely race if the
12610 compiler delays a load and if this cascades into a signed integer
12611 overflow.
12612 (mktime): Move tzsettish code to my_tzset, and move
12613 localtime_offset to within mktime so that it doesn’t
12614 need a separate ifdef.
12615 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12616 instead of localtime.
12617 * time/timegm.c: Copy from Gnulib. This has the following changes:
12618 Include mktime-internal.h.
12619 [!_LIBC]: Include config.h and time.h. Do not include
12620 timegm.h or time_r.h. Make __mktime_internal a macro,
12621 and include mktime-internal.h to get its declaration.
12622 (timegm): Temporary is now mktime_offset_t, not time_t.
12623 This affects only Gnulib.
12624
83a552b0
WD
126252018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12626
12627 [BZ #23637]
12628 * string/test-strstr.c (pr23637): New function.
12629 (test_main): Add tests with longer needles.
12630 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12631 * string/strstr.c (AVAILABLE): Likewise.
12632
d7347278
SN
126332018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12634
12635 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12636
424c4f60
SN
126372018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12638
12639 * NEWS: Mention pow improvements.
12640 * math/Makefile (type-double-routines): Add e_pow_log_data.
12641 * sysdeps/generic/math_private.h (__exp1): Remove.
12642 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12643 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12644 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12645 contraction.
12646 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12647 (exp_inline): Remove.
12648 (__ieee754_exp): Only single double input is handled.
12649 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12650 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12651 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12652 (__pow_log_data): Define.
12653 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12654 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12655 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12656 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12657 contraction.
12658 (CFLAGS-e_pow-fma4.c): Likewise.
12659
e4e4fde5
PE
126602018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12661
dab9c348
PE
12662 Simplify tzfile fstat failure code
12663 [BZ #21716]
12664 * time/tzfile.c (__tzfile_read): Simplify slightly.
12665
e4e4fde5
PE
12666 Fix tzfile low-memory assertion failure
12667 [BZ #21716]
12668 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12669 when registering time zone abbreviations.
12670
50bc59ca
JM
126712018-09-18 Joseph Myers <joseph@codesourcery.com>
12672
d3a43e49
JM
12673 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12674 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12675 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12676 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12677 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12678 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12679 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12680 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12681 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12682
50bc59ca
JM
12683 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12684 __ceil.
12685 (__ceill): Call ceil instead of __ceil.
12686 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12687 __floor.
12688 (__floorl): Call floor instead of __floor.
12689
89983cb3
JM
126902018-09-17 Joseph Myers <joseph@codesourcery.com>
12691
71223ef9
JM
12692 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12693 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12694 using MATH_REDIRECT.
12695 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12696 header inclusion.
12697 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12700 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12701 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12704 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12709 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12710 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12713 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12714 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12715 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12716 Remove macro.
12717 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12718 functions instead of __ceil variants.
12719 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12720 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12721 Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12723 Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12726 Likewise.
12727 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12728 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12729
89983cb3
JM
12730 [BZ #21286]
12731 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12732 constant.
12733 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12734 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12735 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12736 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12737 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12738 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12739 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12740 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12741 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12742 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12743 (ILL_BADIADDR): Remove constant.
12744 (TRAP_BRANCH): Likewise.
12745 (TRAP_HWBKPT): Likewise.
12746
e44acb20
JM
127472018-09-14 Joseph Myers <joseph@codesourcery.com>
12748
3f7f1d18
JM
12749 [BZ #23656]
12750 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12751 Remove [_MIPS_SIM = _ABIN32] conditional case.
12752 (struct elf_prpsinfo): Likewise.
12753
d59f3e5e
JM
12754 [BZ #23649]
12755 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12756 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12757 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12758 Likewise.
12759 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12760 elf_prpsinfo): Likewise.
12761 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12762 elf_prpsinfo): Likewise.
12763 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12764 Likewise.
12765
f29b6f17
JM
12766 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12767 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12768 using MATH_REDIRECT.
12769 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12770 header inclusion.
12771 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12772 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12773 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12774 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12777 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12778 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12781 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12782 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12783 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12784 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12785 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12786 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12787 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12788 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12789 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12792 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12794 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12795 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12796 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12797 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12798 __rint variants.
12799 * math/e_scalbf.c (invalid_fn): Likewise.
12800 * math/e_scalbl.c (invalid_fn): Likewise.
12801 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12802 Likewise.
12803 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12804 Likewise.
12805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12806 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12807 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12808 Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12810 Likewise.
12811 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12812 Likewise.
12813 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12814 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12815
e44acb20
JM
12816 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12817 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12818 New macro.
12819 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12820 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12821 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12822 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12823 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12824 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12825 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12826 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12827 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12828 && !NO_MATH_REDIRECT] (floor): Likewise.
12829 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12830 header inclusion.
12831 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12834 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12835 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12838 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12843 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12844 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12847 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12848 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12849 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12850 Remove macro.
12851 [_ARCH_PWR5X] (__floorf): Likewise.
12852 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12853 inline function.
12854 [__SSE4_1__] (__floorf): Likewise.
12855 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12856 instead of __floor variants.
12857 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12858 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12859 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12860 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12861 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12862 * math/w_tgamma_compat.c (__tgamma): Likewise.
12863 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12864 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12865 * math/w_tgammal_compat.c (__tgammal): Likewise.
12866 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12868 Likewise.
12869 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12870 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12871 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12872 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12873 Likewise.
12874 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12875 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12876 Likewise.
12877 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12878 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12879 Likewise.
12880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12881 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12882 Likewise.
12883 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12884 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12885 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12886 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12887 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12888 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12889
221e4bab
JM
128902018-09-12 Joseph Myers <joseph@codesourcery.com>
12891
12892 * elf/Makefile (modules-names-tests): New variable.
12893
3e08ff54
SN
128942018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12895
12896 * NEWS: Mention log2 improvements.
12897 * math/Makefile (type-double-routines): Add e_log2_data.
12898 * sysdeps/i386/fpu/e_log2_data.c: New file.
12899 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12900 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12901 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12902 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12904 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12905
f41b0a43
SN
129062018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12907
12908 * NEWS: Mention log improvement.
12909 * math/Makefile (type-double-routines): Add e_log_data.
12910 * sysdeps/i386/fpu/e_log_data.c: New file.
12911 * sysdeps/ia64/fpu/e_log_data.c: New file.
12912 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12913 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12914 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12915 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12916 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12917 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12918
5a274db4
L
129192018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12920 Xuepeng Guo <xuepeng.guo@intel.com>
12921
12922 [BZ #23606]
12923 * sysdeps/i386/start.S: Include <sysdep.h>
12924 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12925 enabled. Add cfi_undefined (eip).
12926
b1176270
JM
129272018-09-11 Joseph Myers <joseph@codesourcery.com>
12928
4e7fbdd7
JM
12929 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12930 (MOVQ): Likewise.
12931 (EXTRACT_WORDS64): Likewise.
12932 (INSERT_WORDS64): Likewise.
12933 (GET_FLOAT_WORD): Likewise.
12934 (SET_FLOAT_WORD): Likewise.
12935
b1176270
JM
12936 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12937 argument.
12938 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12939 build, but not for second build if --full-gcc. Use
12940 --enable-languages=all for second build if --full-gcc.
12941 (get_parser): Add --full-gcc option.
12942 (main): Update call to Context.
12943
ab74d59f 129442018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
527f355e
RL
12945
12946 [BZ #10797]
12947 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12948 Single Quotation Mark).
12949 (thousands_sep): Likewise.
12950 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12951 * localedata/locales/it_IT (thousands_sep): Use ".".
12952 (grouping): Use "3;3".
12953
7244f13d
JM
129542018-09-10 Joseph Myers <joseph@codesourcery.com>
12955
12956 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12957 x86_64 and i686 configs using --enable-obsolete-rpc
12958 --enable-obsolete-nsl.
12959
38245425
SL
129602018-09-06 Stefan Liebler <stli@linux.ibm.com>
12961
12962 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12963
28669f86
SL
129642018-09-06 Stefan Liebler <stli@linux.ibm.com>
12965
12966 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12967 Increment size of new_argv by one.
12968
ab74d59f 129692018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
a33650d1
RL
12970
12971 [BZ #17426]
12972 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12973 * localedata/locales/ar_IN (d_fmt): Likewise.
12974 * localedata/locales/bhb_IN (d_fmt): Likewise.
12975 * localedata/locales/bho_IN (d_fmt): Likewise.
12976 * localedata/locales/bn_BD (d_fmt): Likewise.
12977 * localedata/locales/bn_IN (d_fmt): Likewise.
12978 * localedata/locales/doi_IN (d_fmt): Likewise.
12979 * localedata/locales/gu_IN (d_fmt): Likewise.
12980 * localedata/locales/hi_IN (d_fmt): Likewise.
12981 * localedata/locales/hne_IN (d_fmt): Likewise.
12982 * localedata/locales/kn_IN (d_fmt): Likewise.
12983 * localedata/locales/mag_IN (d_fmt): Likewise.
12984 * localedata/locales/mai_IN (d_fmt): Likewise.
12985 * localedata/locales/mjw_IN (d_fmt): Likewise.
12986 * localedata/locales/ml_IN (d_fmt): Likewise.
12987 * localedata/locales/mni_IN (d_fmt): Likewise.
12988 * localedata/locales/mr_IN (d_fmt): Likewise.
12989 * localedata/locales/pa_IN (d_fmt): Likewise.
12990 * localedata/locales/raj_IN (d_fmt): Likewise.
12991 * localedata/locales/sat_IN (d_fmt): Likewise.
12992 * localedata/locales/sd_IN (d_fmt): Likewise.
12993 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12994 * localedata/locales/ta_IN (d_fmt): Likewise.
12995 * localedata/locales/ta_LK (d_fmt): Likewise.
12996 * localedata/locales/tcy_IN (d_fmt): Likewise.
12997 * localedata/locales/ur_IN (d_fmt): Likewise.
12998
12999 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13000 * localedata/locales/ks_IN (d_fmt): Likewise.
13001 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13002
13003 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13004 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13005 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13006 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13007
d114e6a7
SN
130082018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13009
13010 * NEWS: Mention exp and exp2 improvements.
13011 * math/Makefile (libm-support): Remove t_exp.
13012 (type-double-routines): Add math_err and e_exp_data.
13013 * sysdeps/aarch64/libm-test-ulps: Update.
13014 * sysdeps/arm/libm-test-ulps: Update.
13015 * sysdeps/i386/fpu/e_exp_data.c: New file.
13016 * sysdeps/i386/fpu/math_err.c: New file.
13017 * sysdeps/i386/fpu/t_exp.c: Remove.
13018 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13019 * sysdeps/ia64/fpu/math_err.c: New file.
13020 * sysdeps/ia64/fpu/t_exp.c: Remove.
13021 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13022 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13023 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13025 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13026 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13027 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13028 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13029 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13030 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13031 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13032 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13033 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13034 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13037
b9d8c474
JM
130382018-09-05 Joseph Myers <joseph@codesourcery.com>
13039
b7cdc2ae
JM
13040 * sysdeps/alpha/fpu/math_private.h: Remove.
13041
b9d8c474
JM
13042 * sysdeps/generic/math_private.h
13043 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13044 Move this inline function ....
13045 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13046 * include/math.h [!_ISOMAC]: To here....
13047
418d99e6
JM
130482018-09-04 Joseph Myers <joseph@codesourcery.com>
13049
13050 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13051 code ....
13052 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13053 * include/fenv.h [!_ISOMAC]: ... to here.
13054 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13055 (feraiseexcept): Likewise.
13056 * math/fromfp.h: Do not include <fenv_private.h>.
13057 * math/s_cexp_template.c: Likewise.
13058 * math/s_csin_template.c: Likewise.
13059 * math/s_csinh_template.c: Likewise.
13060 * math/s_ctan_template.c: Likewise.
13061 * math/s_ctanh_template.c: Likewise.
13062 * math/s_iseqsig_template.c: Likewise.
13063 * math/w_acos_compat.c: Likewise.
13064 * math/w_acosf_compat.c: Likewise.
13065 * math/w_acosl_compat.c: Likewise.
13066 * math/w_asin_compat.c: Likewise.
13067 * math/w_asinf_compat.c: Likewise.
13068 * math/w_asinl_compat.c: Likewise.
13069 * math/w_j0_compat.c: Likewise.
13070 * math/w_j0f_compat.c: Likewise.
13071 * math/w_j0l_compat.c: Likewise.
13072 * math/w_j1_compat.c: Likewise.
13073 * math/w_j1f_compat.c: Likewise.
13074 * math/w_j1l_compat.c: Likewise.
13075 * math/w_jn_compat.c: Likewise.
13076 * math/w_jnf_compat.c: Likewise.
13077 * math/w_log10_compat.c: Likewise.
13078 * math/w_log10f_compat.c: Likewise.
13079 * math/w_log10l_compat.c: Likewise.
13080 * math/w_log2_compat.c: Likewise.
13081 * math/w_log2f_compat.c: Likewise.
13082 * math/w_log2l_compat.c: Likewise.
13083 * math/w_log_compat.c: Likewise.
13084 * math/w_logf_compat.c: Likewise.
13085 * math/w_logl_compat.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13091 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13092 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13093 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13094 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13095 * sysdeps/ieee754/k_standardl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13108 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13109 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13113 * math/w_ilogb_template.c: Include <fenv.h> instead of
13114 <fenv_private.h>.
13115 * math/w_llogb_template.c: Likewise.
13116 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13118
70e2ba33
JM
131192018-09-03 Joseph Myers <joseph@codesourcery.com>
13120
13121 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13122 * math/fromfp.h: Include <fenv_private.h>.
13123 * math/math-narrow.h: Likewise.
13124 * math/s_cexp_template.c: Likewise.
13125 * math/s_csin_template.c: Likewise.
13126 * math/s_csinh_template.c: Likewise.
13127 * math/s_ctan_template.c: Likewise.
13128 * math/s_ctanh_template.c: Likewise.
13129 * math/s_iseqsig_template.c: Likewise.
13130 * math/w_acos_compat.c: Likewise.
13131 * math/w_acosf_compat.c: Likewise.
13132 * math/w_acosl_compat.c: Likewise.
13133 * math/w_asin_compat.c: Likewise.
13134 * math/w_asinf_compat.c: Likewise.
13135 * math/w_asinl_compat.c: Likewise.
13136 * math/w_ilogb_template.c: Likewise.
13137 * math/w_j0_compat.c: Likewise.
13138 * math/w_j0f_compat.c: Likewise.
13139 * math/w_j0l_compat.c: Likewise.
13140 * math/w_j1_compat.c: Likewise.
13141 * math/w_j1f_compat.c: Likewise.
13142 * math/w_j1l_compat.c: Likewise.
13143 * math/w_jn_compat.c: Likewise.
13144 * math/w_jnf_compat.c: Likewise.
13145 * math/w_llogb_template.c: Likewise.
13146 * math/w_log10_compat.c: Likewise.
13147 * math/w_log10f_compat.c: Likewise.
13148 * math/w_log10l_compat.c: Likewise.
13149 * math/w_log2_compat.c: Likewise.
13150 * math/w_log2f_compat.c: Likewise.
13151 * math/w_log2l_compat.c: Likewise.
13152 * math/w_log_compat.c: Likewise.
13153 * math/w_logf_compat.c: Likewise.
13154 * math/w_logl_compat.c: Likewise.
13155 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13156 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13157 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13158 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13183 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13185 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13186 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13187 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13188 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13189 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13190 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13191 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13192 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13193 * sysdeps/ieee754/k_standardl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13219 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13224 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13225 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13230 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13231 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13232 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13233 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13234 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13235 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13236 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13237 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13238 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13239 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13240 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13241 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13242 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13243 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13244 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13245 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13246 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13247 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13248 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13249 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13250 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13251 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13252 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13253 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13254 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13255 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13256 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13257 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13258 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13259 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13260 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13261 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13262 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13263 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13264 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13265
a6e8926f
PP
132662018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13267
13268 [BZ #20271]
13269 * include/stdio.h (__libc_fatal): Mention newline in comment.
13270 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13271 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13273 * nss/nsswitch.c (__nss_next2): Likewise.
13274 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13275 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13276 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13277 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13278 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13280 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13281 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13282 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13283 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13284 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13285 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13286 (__netlink_assert_response): Likewise.
13287
2bbd06bc
JM
132882018-08-31 Joseph Myers <joseph@codesourcery.com>
13289
13290 * conform/glibcconform.py: New file.
13291 * conform/list-header-symbols.py: Likewise.
13292 * conform/list-header-symbols.pl: Remove.
13293 * conform/Makefile (tests-special): Only add linknamespace tests
13294 if [PYTHON].
13295 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13296
81b9d87b
L
132972018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13298
13299 [BZ #23597]
13300 * support/Makefile (libsupport-routines): Add
13301 support_copy_file_range and xcopy_file_range.
13302 * support/support.h: Include <sys/types.h>.
13303 (support_copy_file_range): New prototype.
13304 * support/support_copy_file_range.c: New file. Copied and
13305 modified from io/copy_file_range-compat.c.
13306 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13307 instead of copy_file_range.
13308 * support/xcopy_file_range.c: New file.
13309 * support/xunistd.h (xcopy_file_range): New prototype.
13310
d330f31a
CD
133112018-08-30 Carlos O'Donell <carlos@redhat.com>
13312
13313 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13314 xpthread_create and xpthread_join.
13315
2bda273a
FW
133162018-08-30 Florian Weimer <fweimer@redhat.com>
13317
13318 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13319
3bad2358
SL
133202018-08-30 Stefan Liebler <stli@linux.ibm.com>
13321
13322 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13323 if malloc fails.
13324
09c12efc
JM
133252018-08-29 Joseph Myers <joseph@codesourcery.com>
13326
13327 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13328 and minus_oflow as non-finite.
13329
ff6b2450
JM
133302018-08-28 Joseph Myers <joseph@codesourcery.com>
13331
13332 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13333 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13334 moved to fenv_private.h except for ...
13335 (TOINT_INTRINSICS): Kept in math_private.h.
13336 (roundtoint): Likewise.
13337 (converttoint): Likewise.
13338 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13339 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13340 * sysdeps/arm/math_private.h: Remove.
13341 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13342 ....
13343 * sysdeps/generic/math_private.h: ... this file. Include
13344 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13345 Include <fenv_private.h>. Remove functions and macros moved to
13346 fenv_private.h.
13347 * sysdeps/i386/fpu/math_private.h: Remove.
13348 * sysdeps/mips/math_private.h: Move to ....
13349 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13350 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13351 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13352 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13353 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13354 * sysdeps/powerpc/fpu/math_private.h: Do not include
13355 <fenv_private.h>.
13356 * sysdeps/riscv/rvf/math_private.h: Move to ....
13357 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13358 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13359 <fenv_private.h>.
13360 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13361 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13362 * sysdeps/sparc/fpu/math_private.h: Remove.
13363 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13364 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13365 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13366 <fenv_private.h>.
13367 * sysdeps/x86_64/fpu/math_private.h: Do not include
13368 <sysdeps/i386/fpu/fenv_private.h>.
13369
761404b7
FW
133702018-08-28 Florian Weimer <fweimer@redhat.com>
13371
13372 [BZ #23578]
13373 * posix/tst-regcomp-truncated.c: New file.
13374 * posix/Makefile (tests): Add it.
13375 (tst-regcomp-truncated.out): Depend on generated locales.
13376
d6c44c3d
FW
133772018-08-28 Florian Weimer <fweimer@redhat.com>
13378
13379 * support/test-container.c (main): Treat unshare failure with
13380 EPERM as an unsupported test.
13381
745664bd
FW
133822018-08-28 Florian Weimer <fweimer@redhat.com>
13383
13384 [BZ #23520]
13385 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13386 * nscd/netgroupcache.c
13387 (addgetnetgrentX): Add tofreep parameter. Do not free
13388 heap-allocated buffer.
13389 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13390 (addgetnetgrentX_ignore): New function.
13391 (addgetnetgrent): Call it.
13392 (readdgetnetgrent): Likewise.
13393
c8dd67e7
RS
133942018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13395
13396 * string/memmem.c: Use memcmp for first match.
13397
ab74d59f 133982018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
5abedf97
RL
13399
13400 [BZ #17426]
13401 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13402
86de0499
DD
134032018-08-27 DJ Delorie <dj@redhat.com>
13404
13405 * support/Makefile (others): Don't list programs explicitly as a
13406 dependency of "others".
13407
c3ab2110
JM
134082018-08-27 Joseph Myers <joseph@codesourcery.com>
13409
13410 * sysdeps/generic/math-tests-trap-force.h: New file.
13411 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13412 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13413 * sysdeps/powerpc/math-tests.h: Remove file.
13414 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13415
6b5c8607
TS
134162018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13417 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
13418
13419 [BZ #23538]
13420 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13421 Update r to include the set wake-request flag if waiters are
13422 remaining after spinning.
13423
4061791f
JM
134242018-08-27 Joseph Myers <joseph@codesourcery.com>
13425
13426 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13427
bc680b33
PE
134282018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13429
761404b7 13430 [BZ #23578]
bc680b33
PE
13431 regex: fix uninitialized memory access
13432 I introduced this bug into gnulib in commit
13433 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13434 eventually it was merged into glibc. The bug was found by
13435 project-repo <bugs@feusi.co> and reported here:
13436 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13437 Diagnosis and draft fix reported by Assaf Gordon here:
13438 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13439 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13440 * posix/regex_internal.c (build_wcs_upper_buffer):
13441 Fix bug when mbrtowc returns 0.
13442
02458a52
CD
134432018-08-24 Carlos O'Donell <carlos@redhat.com>
13444
13445 * po/be.po: Update translation.
13446
acc2842a
DD
134472018-08-24 DJ Delorie <dj@delorie.com>
13448
13449 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13450 $(libunwind).
13451
6c3a8a9d
PP
134522018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13453
b39d961c
TS
13454 [BZ #23400]
13455 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13456 create temporary files in source tree.
6c3a8a9d 13457
895ef79e
JM
134582018-08-24 Joseph Myers <joseph@codesourcery.com>
13459
13460 * sysdeps/generic/math-tests-trap.h: New file.
13461 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13462 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13463 * sysdeps/aarch64/math-tests.h: Remove file.
13464 * sysdeps/arm/math-tests.h: Likewise.
13465 * sysdeps/riscv/math-tests.h: Likewise.
13466 * sysdeps/aarch64/math-tests-trap.h: New file.
13467 * sysdeps/arm/math-tests-trap.h: Likewise.
13468 * sysdeps/riscv/math-tests-trap.h: Likewise.
13469
ca3aac57
WD
134702018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13471
13472 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13473 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13474 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13475 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13476 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13477 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13481 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13482 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13483 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13484 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13485 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13486 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13487 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13489 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13490
60bcac09
JM
134912018-08-23 Joseph Myers <joseph@codesourcery.com>
13492
13493 * sysdeps/generic/math-tests-exceptions.h: New file.
13494 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13495 (EXCEPTION_TESTS_float): Do not define here.
13496 (EXCEPTION_TESTS_double): Likewise.
13497 (EXCEPTION_TESTS_long_double): Likewise.
13498 (EXCEPTION_TESTS_float128): Likewise.
13499 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13500 Likewise.
13501 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13502 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13503 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13504 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13505 * sysdeps/mips/math-tests.h: Likewise.
13506 * sysdeps/nios2/math-tests.h: Likewise.
13507 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13508 (EXCEPTION_TESTS_float): Do not define here.
13509 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13510 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13511 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13512
3bded567
WD
135132018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13514
13515 * NEWS: Move optimized sinf entry to 2.29.
13516
900fb446
WD
135172018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13518
13519 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13520
561b0bec
DD
135212018-08-22 DJ Delorie <dj@redhat.com>
13522
13523 * Makefile (testroot.pristine): New rules to initialize the
13524 test-in-container "testroot".
13525 * Makerules (all-testsuite): Add tests-container.
13526 * Rules (tests-expected): Add tests-container.
13527 (binaries-all-tests): Likewise.
13528 (tests-container): New, run these tests in the testroot container.
13529 * support/Makefile (others): Add *-container, support_paths.c,
13530 xmkdirp, and links-dso-program.
13531 * support/links-dso-program-c.c: New.
13532 * support/links-dso-program.cc: New.
13533 * support/test-container.c: New.
13534 * support/shell-container.c: New.
13535 * support/echo-container.c: New.
13536 * support/true-container.c: New.
13537 * support/xmkdirp.c: New.
13538 * support/xsymlink.c: New.
13539 * support/support_paths.c: New.
13540 * support/support.h: Add support paths prototypes.
13541 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13542
13543 * nss/tst-nss-test3.c: Convert to test-in-container.
13544 * nss/tst-nss-test3.root/: New.
13545
b35d3509
PE
135462018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13547
13548 regex: port Gnulib code to z/OS POSIX environment
13549 Problem reported by Arnold Robbins in:
13550 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13551 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13552 Undef.
13553
16a25138
JM
135542018-08-22 Joseph Myers <joseph@codesourcery.com>
13555
debc4c98
JM
13556 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13557 (ROUNDING_TESTS_double): Remove.
13558 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13559 (ROUNDING_TESTS_double): Remove.
13560 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13561 (ROUNDING_TESTS_double): Remove.
13562 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13563 (ROUNDING_TESTS_float): Remove.
13564 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13565 (ROUNDING_TESTS_float): Remove.
13566 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13567 (ROUNDING_TESTS_float): Remove.
13568 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13569 !TEST_MATHVEC here.
13570 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13571 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13572
16a25138
JM
13573 * sysdeps/generic/math-tests-rounding.h: New file.
13574 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13575 (ROUNDING_TESTS_float): Do not define here.
13576 (ROUNDING_TESTS_double): Likewise.
13577 (ROUNDING_TESTS_long_double): Likewise.
13578 (ROUNDING_TESTS_float128): Likewise.
13579 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13580 (ROUNDING_TESTS_double): Undefine before defining.
13581 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13582 (ROUNDING_TESTS_double): Undefine before defining.
13583 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13584 (ROUNDING_TESTS_double): Undefine before defining.
13585 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13586 (ROUNDING_TESTS_float): Undefine before defining.
13587 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13588 (ROUNDING_TESTS_float): Undefine before defining.
13589 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13590 (ROUNDING_TESTS_float): Undefine before defining.
13591 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13592 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13593 not define here.
13594 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13595 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13596 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13597 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13598 (ROUNDING_TESTS_float): Do not define here.
13599 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13600 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13601 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13602 (ROUNDING_TESTS_float): Likewise.
13603 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13604 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13605 * sysdeps/mips/math-tests.h [__mips_soft_float]
13606 (ROUNDING_TESTS_float): Likewise.
13607 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13608 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13609 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13610 (ROUNDING_TESTS_double): Likewise.
13611 (ROUNDING_TESTS_long_double): Likewise.
13612
38b0593e
TK
136132018-08-21 Tobias Klauser <tklauser@distanz.ch>
13614
13615 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13616 (PF_XDP): New macro.
13617 (AF_XDP): New macro.
13618 (SOL_XDP): New macro.
13619
5cd7dbde
JM
136202018-08-21 Joseph Myers <joseph@codesourcery.com>
13621
13622 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13623 (TCP_INQ): Likewise.
13624 (TCP_CM_INQ): Likewise.
13625 (TCP_REPAIR_ON): Likewise.
13626 (TCP_REPAIR_OFF): Likewise.
13627 (TCP_REPAIR_OFF_NO_WP): Likewise.
13628 (struct tcp_zerocopy_receive): New type.
13629
aa42b3db
FW
136302018-08-21 Florian Weimer <fweimer@redhat.com>
13631
13632 * support/support.h (support_descriptor_supports_holes): Declare.
13633 * support/Makefile (libsupport-routines): Add
13634 support_descriptor_supports_holes.
13635 * support/support_descriptor_supports_holes.c: New file.
13636 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13637 and stop testing if holes are not supported.
13638 * io/test-lfs.c (do_prepare): Likewise.
13639 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13640 Likewise.
13641 * timezone/tst-tzset.c (create_tz_file): Likewise.
13642 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13643 variable.
13644 (do_prepare): Set it.
13645 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13646
c7627f41
FW
136472018-08-21 Florian Weimer <fweimer@redhat.com>
13648
13649 [BZ #17248]
13650 * Makeconfig (+cflags): Do not sort (and deduplicate).
13651
ef939d92
FW
136522018-08-21 Florian Weimer <fweimer@redhat.com>
13653
13654 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13655 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13656
88ffb39d
FW
136572018-08-20 Florian Weimer <fweimer@redhat.com>
13658
13659 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13660 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13661
17419540
JM
136622018-08-20 Joseph Myers <joseph@codesourcery.com>
13663
e6edd40d
JM
13664 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13665 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13666 and ssi_arch members.
13667
17419540
JM
13668 * elf/elf.c (NT_VMCOREDD): New macro.
13669 (AT_MINSIGSTKSZ): Likewise.
13670
fa78896b
RS
136712018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13672
13673 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13674 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13675 s_cosf-ppc64 and s_cosf-power8.
13676 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13677 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13678 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13679 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13686 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13687 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13688
86a6c75a
FW
136892018-08-17 Florian Weimer <fweimer@redhat.com>
13690
13691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13692
35cfefd9
FW
136932018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13694
13695 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13696
6413fcde
FW
136972018-08-16 Florian Weimer <fweimer@redhat.com>
13698
13699 * configure.ac: Add --with-nonshared-cflags option.
13700 * config.make.in (extra-nonshared-cflags): Set variable.
13701 * Makeconfig (CFLAGS-.oS): Use it.
13702 * manual/install.texi (Configuring and compiling): Document
13703 --with-nonshared-cflags.
13704 * configure: Regenerate.
13705 * INSTALL: Likewise.
13706
93a2584c
FW
137072018-08-16 Florian Weimer <fweimer@redhat.com>
13708
13709 * Makeconfig (ASFLAGS): Always append required assembler flags.
13710
f6f275d2 137112018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
13712
13713 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13714 (malloc_consolidate): Likewise.
13715
30a17d8c
PC
137162018-08-16 Pochang Chen <johnchen902@gmail.com>
13717
13718 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13719
953a5a4a
SP
137202018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13721
34f86d61
SP
13722 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13723 every strlen call.
13724
953a5a4a
SP
13725 * benchtests/bench-strlen.c: Print performance numbers in json.
13726
7793ad7a
RS
137272018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13728
13729 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13730 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13731 only for little endian.
13732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13733 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13734 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13735 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13736 Add check for little endian.
13737 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13738 (__strcmp_power9): Add check for little endian.
13739 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13740 Add check for little endian.
13741 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13742 (__strncmp_power9): Add check for little endian.
13743 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13744 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13745 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13746 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13747 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13748
436e4d5b
SP
137492018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13750
13751 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13752 [!STRLEN](STRLEN): Set to __strlen.
13753 * sysdeps/aarch64/multiarch/strlen.c: New file.
13754 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13755 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13756 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13757 (__libc_ifunc_impl_list): Add strlen.
13758 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13759 strlen_generic and strlen_asimd.
13760
126c4e3f
WD
137612018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13762
13763 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13764 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13765 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13766
49acec17
WD
137672018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13768
13769 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13770
fdb16de3
FW
137712018-08-14 Florian Weimer <fweimer@redhat.com>
13772
13773 [BZ #23519]
13774 * include/stdio.h (__vfxprintf): Declare.
13775 * stdio-common/fxprintf.c (__vfxprintf): New function.
13776 (__fxprintf): Call it.
13777 * misc/err.c (convert_and_print): Remove function.
13778 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13779 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13780 * misc/Makefile (tests): Add tst-warn-wide.
13781 * misc/tst-warn-wide.c: New file.
13782
599cf397
WD
137832018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13784 Szabolcs Nagy <szabolcs.nagy@arm.com>
13785
13786 * NEWS: Mention sinf, cosf, sincosf.
13787 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13788 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13789 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13790 constants rather than including generic sincosf.h.
13791 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13792 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13793 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13794 (reduced_cos): Remove.
13795 (sinf_poly): New function.
13796 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13797
e95c6f61
FW
137982018-08-14 Florian Weimer <fweimer@redhat.com>
13799
13800 [BZ #23521]
13801 [BZ #23522]
13802 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13803 processing, bail out if no room, and close the stream before
13804 returning ERANGE.
13805 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13806 (tst-nss-files-alias-leak): Link with libdl.
13807 (tst-nss-files-alias-leak.out): Depend on nss_files.
13808
13809 * nss/tst-nss-files-alias-leak.c: New file.
13810
2d7acfac
FW
138112018-08-14 Florian Weimer <fweimer@redhat.com>
13812
13813 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13814 server_user, stat_user.
13815
f3cd0904
JM
138162018-08-13 Joseph Myers <joseph@codesourcery.com>
13817
17b26500
JM
13818 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13819 version to 4.18.
13820 (io_pgetevents): New syscall.
13821 (rseq): Likewise.
13822
3c1622eb
JM
13823 * manual/install.texi (Configuring and compiling): Do not list
13824 tools used for testing pretty printers here.
13825 (Tools for Compilation): List Python, PExpect and GDB here.
13826 Update descriptions of uses of Perl and Python.
13827 * INSTALL: Regenerate.
13828
f3cd0904
JM
13829 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13830 version to 4.18.
13831
b7b52b9d
FW
138322018-08-13 Florian Weimer <fweimer@redhat.com>
13833
13834 * misc/error.c (error): Add missing va_end call.
13835 (error_at_line): Likewise.
13836
01780188
FW
138372018-08-13 Florian Weimer <fweimer@redhat.com>
13838
13839 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13840
44727aec
SP
138412018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13842
8cac1f26
SP
13843 * benchtests/scripts/benchout.schema.json (properties): Add
13844 new properties.
13845
44727aec
SP
13846 * benchtests/bench-skeleton.c (main): Add duration and
13847 iterations attributes.
13848
c77bf91b
PE
138492018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13850
13851 regex: Gnulib unibyte RRI uses bytes not chars
13852 Adjust the non-glibc code to agree with what Gawk needs for
13853 rational range interpretation (RRI) for regular expression ranges.
13854 In unibyte locales, Gawk wants ranges to use the underlying byte
13855 rather than the character code point. This change does not affect
13856 glibc proper.
13857 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13858 In unibyte locales, use the byte value rather than
13859 running it through btowc.
13860
2ce7ba7d
JM
138612018-08-10 Joseph Myers <joseph@codesourcery.com>
13862
13863 * sysdeps/generic/math-tests-snan.h: New file.
13864 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13865 (SNAN_TESTS_float): Do not define here.
13866 (SNAN_TESTS_double): Likewise.
13867 (SNAN_TESTS_long_double): Likewise.
13868 (SNAN_TESTS_float128): Likewise.
13869 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13870 * sysdeps/i386/fpu/math-tests.h: Remove file.
13871 * sysdeps/ia64/math-tests-snan.h: New file.
13872 * sysdeps/ia64/math-tests.h: Remove file.
13873 * sysdeps/x86/math-tests.h: Likewise.
13874 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13875
ea5c662c
WD
138762018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13877 Szabolcs Nagy <szabolcs.nagy@arm.com>
13878
13879 * math/Makefile: Add s_sincosf_data.c.
13880 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13881 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13882 (sincosf_poly): Likewise.
13883 (reduce_small): Likewise.
13884 (reduce_large): Likewise.
13885 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13886 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13887 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13888 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13889
43cfdf8f
SN
138902018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13891 Szabolcs Nagy <szabolcs.nagy@arm.com>
13892
13893 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13894 (converttoint): Use lround.
13895 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13896 document the semantics when TOINT_INTRINSICS is set.
13897 (converttoint): Likewise.
13898 (TOINT_RINT): Remove.
13899 (TOINT_SHIFT): Remove.
13900 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13901 path.
13902
69065288
FW
139032018-08-10 Florian Weimer <fweimer@redhat.com>
13904
13905 [BZ #23497]
13906 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13907 function.
13908 (__old_getdents64): Use getdents64. Convert entries without
13909 moving them.
13910 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13911 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13912 tst-readdir64-compat.
13913
8f135efc
IL
139142018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13915
13916 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13917 Fix unwind.
13918
71c01af5
IL
139192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13920
13921 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13922 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13923 code to s390x-mcount.h and #include it.
13924 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13925 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13926 (__fentry__): Add.
13927
8d997d22
IL
139282018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13929
13930 * stdlib/Versions: Remove __fentry__.
13931 * sysdeps/i386/Versions: Add __fentry__.
13932 * sysdeps/x86_64/Versions: Add __fentry__.
13933
69e2444a
IL
139342018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13935
13936 * sysdeps/s390/Makefile: Register the new tests.
13937 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13938 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13939 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13940 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13941 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13942 * sysdeps/s390/tst-dl-runtime.c: New file.
13943
bde6320f
IL
139442018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13945
13946 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13947 Do not clobber R0.
13948
5755f5e4
IL
139492018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13950
13951 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13952 Do not clobber R0.
13953
c8ad8522
IL
139542018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13955
13956 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13957 Do not clobber R0.
13958
b215eee1
IL
139592018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13960
13961 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13962 Do not clobber R0.
13963
329c6fec
IL
139642018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13965
13966 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13967 Use symbolic offsets for stack variables.
13968
0fb7afa2
IL
139692018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13970
13971 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13972 Use symbolic offsets for stack variables.
13973
6954059a
IL
139742018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13975
13976 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13977 Use symbolic offsets for stack variables.
13978
c7099673
IL
139792018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13980
13981 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13982 Use symbolic offsets for stack variables.
13983
2813e41e
JM
139842018-08-09 Joseph Myers <joseph@codesourcery.com>
13985
13986 * math/gen-libm-test.py: New file.
13987 * math/gen-libm-test.pl: Remove.
13988 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13989 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13990 gen-libm-test.pl.
13991 ($(libm-test-c-noauto-obj)): Likewise.
13992 ($(libm-test-c-auto-obj)): Likewise.
13993 ($(libm-test-c-narrow-obj)): Likewise.
13994 (regen-ulps): Likewise.
13995 * math/README.libm-test: Update references to gen-libm-test.pl.
13996 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13997 referencing gen-libm-test.pl.
13998 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13999 * math/libm-test-support.c: Likewise.
14000 * math/libm-test-support.h: Likewise.
14001 * sysdeps/generic/libm-test-ulps: Likewise.
14002
be64b194
SP
140032018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14004
14005 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14006 Fix value.
14007
140137fb
JM
140082018-08-08 Joseph Myers <joseph@codesourcery.com>
14009
14010 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14011 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14012
b5403eca
ST
140132018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14014
14015 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14016 symbols.
8ac0f9e6
ST
14017 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14018 __pthread_setspecific): Add hidden proto.
14019 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14020 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 14021
014efdd7
SP
140222018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14023
14024 * benchtests/bench-string.h (buf1_size, buf2_size): New
14025 variables.
14026 (init_sizes): New function.
14027 (test_init): Use it.
14028 (alloc_buf, exit_error): New functions.
14029 (alloc_bufs): Use ALLOC_BUF.
14030 (realloc_bufs): Remove.
14031 * benchtests/bench-memcmp.c (do_test): Adjust.
14032 * benchtests/bench-memset-large.c (do_test): Likewise.
14033 * benchtests/bench-memset-walk.c (do_test): Likewise.
14034 * benchtests/bench-memset.c (do_test): Likewise.
14035 * benchtests/bench-strncmp.c (do_test): Likewise.
14036
92a4cba7
AS
140372018-08-06 Andreas Schwab <schwab@suse.de>
14038
14039 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14040 of CONST_THREAD_AREA.
14041
fb4c32ae
L
140422018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14043
14044 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14045 (STATE_SAVE_MASK): Likewise.
14046 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14047 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14048 (STATE_SAVE_MASK): Likewise.
14049 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14050 instead of <cpu-features.h>.
14051
bf418187
DD
140522018-08-03 DJ Delorie <dj@redhat.com>
14053
14054 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 14055 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 14056
bb17621a
DD
14057 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14058
ea705eb5
JM
140592018-08-03 Joseph Myers <joseph@codesourcery.com>
14060
14061 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14062 after TEST_* calls.
14063 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14064 * math/libm-test-logb.inc (logb_test_data): Likewise.
14065
284f42bc
WD
140662018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14067
14068 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14069 * string/strstr.c (AVAILABLE): Likewise.
14070
430388d5
L
140712018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14074 <init-arch.h>.
14075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14076 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14077 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14078
c5760aa9
CD
140792018-08-03 Carlos O'Donell <carlos@redhat.com>
14080
14081 * po/be.po: Update translation.
14082
6b535b84
CD
14083 * po/be.po: Update translation.
14084
ae67f2e5
L
140852018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 * sysdeps/x86/cpu-features-offsets.sym
14088 (rtld_global_ro_offsetof): Removed.
14089 (CPU_FEATURES_SIZE): Likewise.
14090 (CPUID_OFFSET): Likewise.
14091 (CPUID_SIZE): Likewise.
14092 (CPUID_EAX_OFFSET): Likewise.
14093 (CPUID_EBX_OFFSET): Likewise.
14094 (CPUID_ECX_OFFSET): Likewise.
14095 (CPUID_EDX_OFFSET): Likewise.
14096 (FAMILY_OFFSET): Likewise.
14097 (MODEL_OFFSET): Likewise.
14098 (FEATURE_OFFSET): Likewise.
14099 (FEATURE_SIZ): Likewise.
14100 (COMMON_CPUID_INDEX_1): Likewise.
14101 (COMMON_CPUID_INDEX_7): Likewise.
14102 (FEATURE_INDEX_1): Likewise.
14103 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14104
6b5c8607 141052018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
14106
14107 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14108 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14109 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14110 (install-locales): Depend on install-locale-archive.
14111 (install-locale-archive): Define.
7b7adbd8 14112 (install-locale-files): Define.
08a5ee14
CD
14113 (build-one-locale): Define macro.
14114 * manual/install.texi (Running make install): Document.
14115 * manual/INSTALL: Regenerate.
14116
525691bd
SP
141172018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14118
d67d634b
SP
14119 * benchtests/scripts/compare_strings.py: Import traceback.
14120 (parse_file): Pretty-print error.
14121
525691bd
SP
14122 * NEWS: Mention the change.
14123 * elf/dl-tunables.list: Rename tune namespace to cpu.
14124 * sysdeps/powerpc/dl-tunables.list: Likewise.
14125 * sysdeps/x86/dl-tunables.list: Likewise.
14126 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14127 cpu.name.
14128 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14129 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14130 * manual/README.tunables: Likewise.
14131 * manual/tunables.texi: Likewise.
14132 * sysdeps/powerpc/cpu-features.c: Likewise.
14133 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14134 (init_cpu_features): Likewise.
14135 * sysdeps/x86/cpu-features.c: Likewise.
14136 * sysdeps/x86/cpu-features.h: Likewise.
14137 * sysdeps/x86/cpu-tunables.c: Likewise.
14138 * sysdeps/x86_64/Makefile: Likewise.
14139 * sysdeps/x86/dl-cet.c: Likewise.
14140
506d7fb1
JM
141412018-08-02 Joseph Myers <joseph@codesourcery.com>
14142
14143 [BZ #23479]
14144 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14145 [__mips_hard_float].
14146 (FE_UNDERFLOW): Likewise.
14147 (FE_OVERFLOW): Likewise.
14148 (FE_DIVBYZERO): Likewise.
14149 (FE_INVALID): Likewise.
14150 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14151 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14152 (FE_UPWARD): Likewise.
14153 (FE_DOWNWARD): Likewise.
14154 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14155 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14156 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14157 [__mips_hard_float].
14158 (FP_ROUNDMODE): Likewise.
14159 (FP_RND_NEAREST): Likewise.
14160 (FP_RND_ZERO): Likewise.
14161 (FP_RND_PINF): Likewise.
14162 (FP_RND_MINF): Likewise.
14163 (FP_EX_INVALID): Likewise.
14164 (FP_EX_OVERFLOW): Likewise.
14165 (FP_EX_UNDERFLOW): Likewise.
14166 (FP_EX_DIVZERO): Likewise.
14167 (FP_EX_INEXACT): Likewise.
14168 (FP_INIT_ROUNDMODE): Likewise.
14169 * sysdeps/mips/nofpu/fesetenv.c: New file.
14170 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14171
f6dcefbe
JM
141722018-08-01 Joseph Myers <joseph@codesourcery.com>
14173
14174 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14175 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14176 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14177 conditional on [FE_UPWARD].
14178
fa67ba06
PE
141792018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14180
14181 regex: fix memory leak in Gnulib
14182 Problem and fix reported by Assaf Gordon in:
14183 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14184 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14185 range_ends members too, as they are defined in 'struct
14186 re_charset_t' even if not _LIBC. This affects only Gnulib.
14187
82c80ac2
L
141882018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14189
14190 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14191 ...
14192 (get_common_indices): This.
14193 (init_cpu_features): Updated.
14194
c0e7e2c1
JM
141952018-08-01 Joseph Myers <joseph@codesourcery.com>
14196
46f8cf57
JM
14197 * sysdeps/generic/math-tests-snan-payload.h: New file.
14198 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14199 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14200 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14201 * sysdeps/generic/math-tests.h: Include
14202 <math-tests-snan-payload.h>.
14203 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14204 * sysdeps/hppa/math-tests.h: Remove file.
14205 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14206 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14207 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14208 Likewise.
14209
c0e7e2c1
JM
14210 * sysdeps/generic/math-tests-snan-cast.h: New file.
14211 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14212 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14213 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14214 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14215
e6855a3b 142162018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 14217
b029723b
CD
14218 * version.h (RELEASE): Set to "development".
14219 (VERSION): Set to "2.28.9000".
14220 * NEWS (2.29): New section.
14221
3c03baca
CD
14222 * version.h (RELEASE): Set to "stable".
14223 (VERSION): Set to "2.28".
14224 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14225 * NEWS: Add the list of bugs fixed in 2.28.
14226
74939c83
CD
14227 * po/ca.po: Update to latest version.
14228 * po/cs.po: Likewise
14229 * po/da.po: Likewise
14230 * po/el.po: Likewise
14231 * po/eo.po: Likewise
14232 * po/es.po: Likewise
14233 * po/fi.po: Likewise
14234 * po/fr.po: Likewise
14235 * po/gl.po: Likewise
14236 * po/hu.po: Likewise
14237 * po/ia.po: Likewise
14238 * po/id.po: Likewise
14239 * po/it.po: Likewise
14240 * po/ja.po: Likewise
14241 * po/ko.po: Likewise
14242 * po/lt.po: Likewise
14243 * po/nb.po: Likewise
14244 * po/nl.po: Likewise
14245 * po/pt_BR.po: Likewise
14246 * po/ru.po: Likewise
14247 * po/rw.po: Likewise
14248 * po/sk.po: Likewise
14249 * po/sl.po: Likewise
14250 * po/tr.po: Likewise
14251 * po/zh_CN.po: Likewise
14252 * po/zh_TW.po: Likewise
14253
d4b54bdf
ST
142542018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14255
14256 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14257 initialization...
14258 (init): ... before initializing libpthread.
14259
42fc12ef
ST
14260 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14261 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14262 (__mach_setup_tls): ... new function.
14263 (mach_setup_tls): New alias.
14264 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14265 __mach_setup_thread.
14266 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14267 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14268 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14269 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14270
6cca855e
CD
142712018-07-31 Carlos O'Donell <carlos@redhat.com>
14272
f650932b
CD
14273 * manual/install.texi: Update versions.
14274 * INSTALL: Regenerate.
14275
6cca855e
CD
14276 * manual/contrib.texi (Contributors): Update contributions.
14277
07fdea47
CD
142782018-07-31 Carlos O'Donell <carlos@redhat.com>
14279
14280 * po/be.po: Update translations.
14281
63d5fad4
AZ
142822018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14283
14284 * sysdeps/sh/libm-test-ulps: Update.
14285
1ff712a6
CD
142862018-07-30 Carlos O'Donell <carlos@redhat.com>
14287
14288 * po/bg.po: Update translations.
14289 * po/de.po: Likewise.
14290 * po/hr.po: Likewise.
14291 * po/pt_BR.po: Likewise.
14292 * po/sv.po: Likewise.
14293 * po/vi.po: Likewise.
14294
98864ed0
L
142952018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14296
14297 [BZ #23467]
14298 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14299 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14300 (CFLAGS-tst-cet-property-1.o): New.
14301 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14302 ($(objpfx)tst-cet-property-2): Likewise.
14303 ($(objpfx)tst-cet-property-2.out): Likewise.
14304 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14305 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14306 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14307 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14308 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14309
c92a00d8
L
143102018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 [BZ #23458]
14313 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14314
99bc6241
ST
143152018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14316
14317 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14318 __sbrk): Do not set attribute_hidden.
af86087f 14319 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
14320 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14321 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14322
bcb1c4af
CD
143232018-07-27 Carlos O'Donell <carlos@redhat.com>
14324
14325 * po/uk.po: Update translations.
14326 * po/cs.po: Likewise.
14327 * po/pl.po: Likewise.
14328
4591b7db
L
143292018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14330
14331 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14332 parse beyond the note end.
14333
2c6da2f4
AZ
143342018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14335
14336 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14337 kernel does not support OFD locks.
14338 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14339
20365a31
ST
143402018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14341
14342 * sysdeps/mach/hurd/Versions (libc): Make __access and
14343 __access_noerrno external so they can override the ld symbols.
14344 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14345 __writev, __open64, __access_noerrno extern so they can be overrided.
14346 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14347 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14348
cb1a43db
CD
143492018-07-26 Carlos O'Donell <carlos@redhat.com>
14350
14351 * po/libc.pot: Regenerate.
14352
74759ae5
JM
143532018-07-26 Joseph Myers <joseph@codesourcery.com>
14354
14355 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14356
da80612d
L
143572018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14358
14359 [BZ #23459]
14360 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14361 function.
14362 (init_cpu_features): Call get_extended_indices for both Intel
14363 and AMD CPUs.
14364 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14365 Remove "for AMD" comment.
14366
65d87ade
L
143672018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14368
14369 [BZ # 23456]
14370 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14371 COMMON_CPUID_INDEX_80000001.
14372
c9dc4d51
SL
143732018-07-26 Stefan Liebler <stli@linux.ibm.com>
14374
14375 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14376 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14377
cfba5dbb
FW
143782018-07-26 Florian Weimer <fweimer@redhat.com>
14379
14380 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14381 aliases for symbols not in the implementation namespace.
14382
6b5c8607 143832018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
14384
14385 [BZ #23393]
14386 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14387 lowercase in LATIN script.
14388 * localedata/Makefile (test-input): Add en_US.UTF-8.
14389 * localedata/en_US.UTF-8.in: New file.
14390 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14391 and restore old tests.
14392 * posix/tst-regexloc.c (do_test): Add back range expression test.
14393
3fb455b3
L
143942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14395
14396 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14397
d6499b70
AZ
143982018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14399
14400 * nptl/threads.h: Move to ...
14401 * sysdeps/nptl/threads.h: ... here.
14402 * sysdeps/hurd/stdc-predef.h: New file.
14403
08ac6bed
L
144042018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14405
14406 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14407 tst-cet-setcontext-1 if CET is enabled.
14408 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14409 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14410
9faaf938
AZ
144112018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14412
14413 * include/threads.h: Move to ...
14414 * sysdeps/nptl/threads.h: ... here.
14415 * sysdeps/htl/threads.h: New file.
14416 * conform/Makefile (linknamespace-libs-ISO11): Use
14417 static-thread-library instead of linking libpthread.
14418 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14419
d6b8f847
FW
144202018-07-25 Florian Weimer <fweimer@redhat.com>
14421
14422 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14423 nanoseconds into seconds.
14424 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14425 (do_test): Likewise.
14426 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14427 (do_test): Likewise. Avoid nanosecond overflow and spurious
14428 timeouts due to system load.
14429 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14430 (child_wait): Increment it.
14431 (do_test): Wait as long as necessary until all expected threads
14432 have arrived.
14433
25123a1c
L
144342018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14435 H.J. Lu <hongjiu.lu@intel.com>
14436
14437 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14438 __ssp.
14439 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14440 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14441 (__push___start_context): New.
14442 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14443 <asm/prctl.h>.
14444 (__getcontext): Record the current shadow stack base. Save the
14445 caller's shadow stack pointer and base.
14446 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14447 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14448 (__push___start_context): New prototype.
14449 (__makecontext): Call __push___start_context to allocate a new
14450 shadow stack, push __start_context onto the new stack as well
14451 as the new shadow stack.
14452 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14453 <asm/prctl.h>.
14454 (__setcontext): Restore the target shadow stack.
14455 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14456 <asm/prctl.h>.
14457 (__swapcontext): Record the current shadow stack base. Save
14458 the caller's shadow stack pointer and base. Restore the target
14459 shadow stack.
14460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14461 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14462 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14463
375a4844
L
144642018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14465
14466 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14467 tst-setcontext8 and tst-setcontext9.
14468 * stdlib/tst-setcontext6.c: New file.
14469 * stdlib/tst-setcontext7.c: Likewise.
14470 * stdlib/tst-setcontext8.c: Likewise.
14471 * stdlib/tst-setcontext9.c: Likewise.
14472
bd4f7903
L
144732018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14474
14475 * stdlib/Makefile ((tests): Add tst-setcontext5.
14476 * stdlib/tst-setcontext5.c: New file.
14477
7e28f203
L
144782018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14479
14480 * stdlib/Makefile (tests): Add tst-setcontext4.
14481 * stdlib/tst-setcontext4.c: New file.
14482
8516ad2d
L
144832018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14484
14485 * stdlib/Makefile (tests): Add tst-swapcontext1.
14486 * stdlib/tst-swapcontext1.c: New test.
14487
fddcd003
L
144882018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14489
14490 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14491 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14492 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14493 and tst-cet-legacy-4c.
14494 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14495 and tst-cet-legacy-mod-4.
14496 (CFLAGS-tst-cet-legacy-2.c): New.
14497 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14498 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14499 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14500 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14501 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14502 ($(objpfx)tst-cet-legacy-1): Likewise.
14503 ($(objpfx)tst-cet-legacy-2): Likewise.
14504 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14505 ($(objpfx)tst-cet-legacy-2a): Likewise.
14506 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14507 ($(objpfx)tst-cet-legacy-4): Likewise.
14508 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14509 ($(objpfx)tst-cet-legacy-4a): Likewise.
14510 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14511 (tst-cet-legacy-4a-ENV): Likewise.
14512 ($(objpfx)tst-cet-legacy-4b): Likewise.
14513 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14514 (tst-cet-legacy-4b-ENV): Likewise.
14515 ($(objpfx)tst-cet-legacy-4c): Likewise.
14516 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14517 (tst-cet-legacy-4c-ENV): Likewise.
14518 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14519 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14520 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14521 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14522 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14523 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14524 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14525 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14526 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14527 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14528 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14529
9aa3113a
L
145302018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14533 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14534 with ssp_base.
14535 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14536 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14537 with ssp_base.
14538
9c79cec8
AS
145392018-07-25 Andreas Schwab <schwab@suse.de>
14540
14541 [BZ #23442]
14542 * locale/weightwc.h (findidx): Handle the case where usrc is a
14543 prefix of cp but one character too short.
14544
969c3355
AZ
145452018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14546
14547 * NEWS: Add ISO C threads addition.
14548
e0f9c462
FW
145492018-07-24 Florian Weimer <fweimer@redhat.com>
14550
14551 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14552 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14553 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14554 4.13.
14555
394df381
L
145562018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14557
14558 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14559 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14560 <sys/prctl.h> and <asm/prctl.h>.
14561 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14562 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14563 and <asm/prctl.h>.
14564 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14565 ARCH_CET_LEGACY_BITMAP.
14566 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14567 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14568 * sysdeps/x86/libc-start.c: Include <startup.h>.
14569
46545530
FW
145702018-07-24 Florian Weimer <fweimer@redhat.com>
14571
14572 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14573 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14574
6b5c8607 145752018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 14576 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
14577 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14578
14579 [BZ #14092]
9d0a979e
RJ
14580 * manual/debug.texi: Update adjacent chapter name.
14581 * manual/probes.texi: Likewise.
14582 * manual/threads.texi (ISO C Threads): New section.
14583 (POSIX Threads): Convert to a section.
14584
145852018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14586 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14587
14588 [BZ# 14092]
0a07288b
AZ
14589 * nptl/Makefile (tests): Add new test files.
14590 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14591 * nptl/tst-cnd-basic.c: Likewise.
14592 * nptl/tst-cnd-broadcast.c: Likewise.
14593 * nptl/tst-cnd-timedwait.c: Likewise.
14594 * nptl/tst-mtx-basic.c: Likewise.
14595 * nptl/tst-mtx-recursive.c: Likewise.
14596 * nptl/tst-mtx-timedlock.c: Likewise.
14597 * nptl/tst-mtx-trylock.c: Likewise.
14598 * nptl/tst-thrd-basic.c: Likewise.
14599 * nptl/tst-thrd-detach.c: Likewise.
14600 * nptl/tst-thrd-sleep.c: Likewise.
14601 * nptl/tst-tss-basic.c: Likewise.
14602
ce7528f6
AZ
146032018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14604
c6dd669b
AZ
14605 [BZ #14092]
14606 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14607 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14608 symbols.
14609 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14622 Likewise.
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14624 Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14626 Likewise.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14637 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14638 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14639 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14640 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14641 Likewise.
14642 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14654 ikewise.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14657 Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14659 Likewise.
14660 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14668
78d40132
AZ
14669 [BZ #14092]
14670 * conform/data/threads.h-data (thread_local): New macro.
14671 (TSS_DTOR_ITERATIONS): Likewise.
14672 (tss_t): New type.
14673 (tss_dtor_t): Likewise.
14674 (tss_create): New function.
14675 (tss_get): Likewise.
14676 (tss_set): Likewise.
14677 (tss_delete): Likewise.
14678 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14679 tss_get, and tss_set objects.
14680 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14681 * nptl/tss_create.c: New file.
14682 * nptl/tss_delete.c: Likewise.
14683 * nptl/tss_get.c: Likewise.
14684 * nptl/tss_set.c: Likewise.
14685 * sysdeps/nptl/threads.h (thread_local): New define.
14686 (TSS_DTOR_ITERATIONS): Likewise.
14687 (tss_t): New typedef.
14688 (tss_dtor_t): Likewise.
14689 (tss_create): New prototype.
14690 (tss_get): Likewise.
14691 (tss_set): Likewise.
14692 (tss_delete): Likewise.
14693
918311a3
AZ
14694 [BZ #14092]
14695 * conform/data/threads.h-data (cnd_t): New type.
14696 (cnd_init): New function.
14697 (cnd_signal): Likewise.
14698 (cnd_broadcast): Likewise.
14699 (cnd_wait): Likewise.
14700 (cnd_timedwait): Likewise.
14701 (cnd_destroy): Likewise.
14702 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14703 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14704 object.
14705 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14706 * nptl/cnd_broadcast.c: New file.
14707 * nptl/cnd_destroy.c: Likewise.
14708 * nptl/cnd_init.c: Likewise.
14709 * nptl/cnd_signal.c: Likewise.
14710 * nptl/cnd_timedwait.c: Likewise.
14711 * nptl/cnd_wait.c: Likewise.
14712 * sysdeps/nptl/threads.h (cnd_t): New type.
14713 (cnd_init): New prototype.
14714 (cnd_signa): Likewise.
14715 (cnd_broadcast): Likewise.
14716 (cnd_wait): Likewise.
14717 (cnd_timedwait): Likewise.
14718 (cnd_destroy): Likewise.
14719
3c20a679
AZ
14720 [BZ #14092]
14721 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14722 (once_flag): New type.
14723 (call_once): New function.
14724 * nptl/Makefile (libpthread-routines): Add call_once object.
14725 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14726 * nptl/call_once.c: New file.
14727 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14728 (once_flag): New type.
14729 (call_once): New prototype.
14730
18d59c1b
AZ
14731 [BZ #14092]
14732 * conform/data/threads.h-data (mtx_plain): New constant.
14733 (mtx_recursive): Likewise.
14734 (mtx_timed): Likewise.
14735 (mtx_t): New type.
14736 (mtx_init): New function.
14737 (mtx_lock): Likewise.
14738 (mtx_timedlock): Likewise.
14739 (mtx_trylock): Likewise.
14740 (mtx_unlock): Likewise.
14741 (mtx_destroy): Likewise.
14742 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14743 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14744 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14745 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14746 * nptl/mtx_destroy.c: New file.
14747 * nptl/mtx_init.c: Likewise.
14748 * nptl/mtx_lock.c: Likewise.
14749 * nptl/mtx_timedlock.c: Likewise.
14750 * nptl/mtx_trylock.c: Likewise.
14751 * nptl/mtx_unlock.c: Likewise.
14752 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14753 (mtx_recursive): Likewise.
14754 (mtx_timed): Likewise.
14755 (mtx_t): New type.
14756 (mtx_init): New prototype.
14757 (mtx_lock): Likewise.
14758 (mtx_timedlock): Likewise.
14759 (mtx_trylock): Likewise.
14760 (mtx_unlock): Likewise.
14761 (mtx_destroy): Likewise.
14762
ce7528f6
AZ
14763 [BZ #14092]
14764 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14765 (linknamespace-libs-ISO11): Add libpthread.a.
14766 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14767 functions.
14768 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14769 * nptl/Makefile (headers): Add threads.h.
14770 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14771 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14772 thrd_yield.
14773 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14774 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14775 thrd_join, thrd_sleep, and thrd_yield symbols.
14776 * nptl/descr.h (struct pthread): Add c11 field.
14777 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14778 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14779 routine with expected function prototype.
14780 (__pthread_create_2_1): Add C11 threads check based on attribute
14781 value.
14782 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14783 * nptl/thrd_create.c: New file.
14784 * nptl/thrd_current.c: Likewise.
14785 * nptl/thrd_detach.c: Likewise.
14786 * nptl/thrd_equal.c: Likewise.
14787 * nptl/thrd_exit.c: Likewise.
14788 * nptl/thrd_join.c: Likewise.
14789 * nptl/thrd_priv.h: Likewise.
14790 * nptl/thrd_sleep.c: Likewise.
14791 * nptl/thrd_yield.c: Likewise.
14792 * include/threads.h: Likewise.
14793
e27f41ba
L
147942018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * bits/indirect-return.h: New file.
14797 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14798 * sysdeps/x86/bits/indirect-return.h: Likewise.
14799 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14800 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14801 (swapcontext): Add __INDIRECT_RETURN.
14802 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14803 (prepare_test_buffer): Use it.
14804
21526a50
AS
148052018-07-24 Andreas Schwab <schwab@suse.de>
14806
14807 [BZ #23448]
14808 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14809 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14810
3650e1d9
L
148112018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14814 Redefine if shadow stack is enabled.
14815 (SYSCALL_ERROR_LABEL): Likewise.
14816 (__vfork): Pop shadow stack and jump back to to caller directly
14817 when shadow stack is in use.
14818 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14819 Redefine if shadow stack is enabled.
14820 (SYSCALL_ERROR_LABEL): Likewise.
14821 (__vfork): Pop shadow stack and jump back to to caller directly
14822 when shadow stack is in use.
14823
ca027e0f
L
148242018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14825
14826 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14827 enabled.
14828 (foo): Likewise.
14829 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14830 (foo): Likewise.
14831
b99f1c95
JM
148322018-07-20 Joseph Myers <joseph@codesourcery.com>
14833
14834 * scripts/build-many-glibcs.py (Context.checkout): Default
14835 binutils version to 2.31 branch.
14836
c8fabb84
ZL
148372018-07-20 Zong Li <zong@andestech.com>
14838
14839 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14840 URL of gcc's tarball.
14841
786658a0
FW
148422018-07-20 Florian Weimer <fweimer@redhat.com>
14843
14844 [BZ #23396]
14845 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14846 not compare an extra byte after the end of the weights.
14847
46f2474e
ST
148482018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14849
14850 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14851 to 1.
8ba1520e
ST
14852 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14853 hidden prototypes.
14854 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14855 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
14856 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14857 list of libraries whose stack executability is expected.
14858 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14859 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14860 variable.
14861 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14862 libc.so libpthread.so.
46f2474e 14863
60088242
TS
148642018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14865
14866 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14867 SOCK_NONBLOCK.
75d5e4a0
TS
14868 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14869 and SOCK_NONBLOCK.
de195be0
TS
14870 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14871 implement __pipe2.
14872 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 14873
1cf4ae7f
LS
148742018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14875
14876 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14877 library to improve command line parsing.
14878 (__main__): make schema file as optional parameter (--schema),
14879 defaulting to benchtests/scripts/benchout.schema.json.
14880 (main): move out of the parsing stuff to __main_  and leave it
14881 only as caller of main comparison functions.
14882
e84bd851
L
148832018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14884
14885 * NEWS: Add a note for Intel CET status.
14886 * manual/install.texi: Likewise.
14887 * INSTALL: Regenerated.
14888
df467d22
QP
148892018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14890
14891 [BZ #23140]
14892 * localedata/locales/oc_FR (mon): Rename to...
14893 (alt_mon): This, then update October (typo fix).
14894 (mon): New content (genitive case, month names preceded by
14895 "de" or "d’").
14896
14897 [BZ #23422]
14898 * localedata/locales/oc_FR (abday): Update all items.
14899 (day): Update Wednesday and Saturday (typo fixes).
14900 (abmon): Update all items, except May.
14901 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14902 (LC_IDENTIFICATION): Bump the revision number and date.
14903 Keep the "category" entries in alphabetic order.
14904 (LC_ADDRESS): Remove no longer needed comment.
14905 (LC_COLLATE): Use “copy "ca_ES"”.
14906 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14907 "name_mrs".
14908
5c112f1b
JM
149092018-07-18 Joseph Myers <joseph@codesourcery.com>
14910
14911 * grp/tst_fgetgrent.c: Include <unistd.h>.
14912 (main): Use mkstemp instead of tmpnam.
14913 * io/test-utime.c (main): Likewise.
14914 * posix/annexc.c (macrofile): Change to modifiable array.
14915 (main): Remove macrofile here.
14916 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14917 macrofile here.
14918 (check_header): Do not remove macrofile here.
14919 * posix/bug-getopt1.c: Include <stdlib.h>.
14920 (do_test): Use mkstemp instead of tmpnam.
14921 * posix/bug-getopt2.c: Include <stdlib.h>.
14922 (do_test): Use mkstemp instead of tmpnam.
14923 * posix/bug-getopt3.c: Include <stdlib.h>.
14924 (do_test): Use mkstemp instead of tmpnam.
14925 * posix/bug-getopt4.c: Include <stdlib.h>.
14926 (do_test): Use mkstemp instead of tmpnam.
14927 * posix/bug-getopt5.c: Include <stdlib.h>.
14928 (do_test): Use mkstemp instead of tmpnam.
14929 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14930 (main): Use mkstemp instead of tmpnam.
14931 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14932 (main): Use mkstemp instead of tmpnam.
14933 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14934 (main): use mkstemp instead of tmpnam.
14935 * stdlib/isomac.c (macrofile): Change to modifiable array.
14936 (main): Remove macrofile here.
14937 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14938 macrofile here.
14939 (check_header): Do not remove macrofile here.
14940
6d90776d
L
149412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14942
14943 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14944 glibc.tune.x86_shstk.
14945
e6c69509
L
149462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14947
14948 * NEWS: Mention --enable-cet.
14949 * manual/install.texi: Document --enable-cet.
14950 * INSTALL: Regenerated.
14951
e2d40a88
L
149522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14953
14954 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14955 Add _CET_NOTRACK before indirect jump to jump table.
14956
77a8ae09
L
149572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14958
14959 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14960 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14961 to jump table.
14962
90d15dc5
L
149632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14964
14965 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14966 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14967 to jump table.
14968
f1574581
L
149692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14970
14971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14972 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14973 to jump table.
14974
7fb61336
L
149752018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14976
14977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14978 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14979 to jump table.
14980
0a899af0
L
149812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14982
14983 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14984 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14985 to jump table.
14986 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14987
177824e2
L
149882018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14989
14990 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14991 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14992 to jump table.
14993
00e7b76a
L
149942018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14995
14996 * sysdeps/i386/i686/multiarch/memset-sse2.S
14997 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14998 to jump table.
14999
7e119cd5
L
150002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15001
15002 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15003 indirect jump to jump table.
15004
03aaf49b
L
150052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15006
15007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15008 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15009 to jump table.
15010 (MEMCPY): Likewise.
15011
811e9e52
L
150122018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15013
15014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15015 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15016 to jump table.
15017 (MEMCPY): Likewise.
15018
8817df42
L
150192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15020
15021 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15022 _CET_NOTRACK before indirect jump to jump table.
15023
921595d1
L
150242018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15025
15026 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15027 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15028 to jump table.
15029
4ef60d95
L
150302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15031
15032 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15033 indirect jump to jump table.
15034
61c4aad7
VT
150352018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15036
15037 [BZ #22241]
15038 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15039 (LOCALES): Likewise.
15040 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15041 * localedata/locales/sah_RU: New file.
15042 * localedata/sah_RU.UTF-8.in: New file.
15043
be9ccd27
L
150442018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15045
15046 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15047 "sysdep.h".
15048 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15049 _CET_ENDBR to indirect jump targets and adjust jump destination
15050 for _CET_ENDBR.
15051 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15052 "sysdep.h".
15053 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15054 _CET_ENDBR to indirect jump targets and adjust jump destination
15055 for _CET_ENDBR.
15056 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15057 "sysdep.h".
15058 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15059 _CET_ENDBR to indirect jump targets and adjust jump destination
15060 for _CET_ENDBR.
15061
5efc6777
L
150622018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15065 _CET_ENDBR.
15066
562837c0
L
150672018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15068
15069 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15070 _CET_ENDBR.
15071 (_dl_tlsdesc_undefweak): Likewise.
15072 (_dl_tlsdesc_dynamic): Likewise.
15073 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15074 (_dl_tlsdesc_resolve_rel): Likewise.
15075 (_dl_tlsdesc_resolve_rela): Likewise.
15076 (_dl_tlsdesc_resolve_hold): Likewise.
15077 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15078 (_dl_tlsdesc_undefweak): Likewise.
15079 (_dl_tlsdesc_dynamic): Likewise.
15080 (_dl_tlsdesc_resolve_rela): Likewise.
15081 (_dl_tlsdesc_resolve_hold): Likewise.
15082
124bcde6
L
150832018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15084
15085 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15086 (_fini): Likewise.
15087 * sysdeps/x86_64/crti.S (_init): Likewise.
15088 (_fini): Likewise.
15089
ab74d59f 150902018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9145f033
RL
15091
15092 [BZ #23140]
15093 * localedata/locales/os_RU (mon): Rename to...
15094 (alt_mon): This.
15095 (mon): Import from CLDR (genitive case).
15096
ba2ea23d
L
150972018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15098
15099 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15100 cet-tunables.h> when CET is enabled.
15101
f753fa7d
L
151022018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15103
6b5c8607 15104 [BZ #21598]
f753fa7d
L
15105 * configure.ac: Add --enable-cet.
15106 * configure: Regenerated.
15107 * elf/Makefille (all-built-dso): Add a comment.
15108 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15109 Include <dl-prop.h>.
15110 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15111 segment.
15112 * elf/dl-open.c: Include <dl-prop.h>.
15113 (dl_open_worker): Call _dl_open_check.
15114 * elf/rtld.c: Include <dl-prop.h>.
15115 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15116 _rtld_main_check.
15117 * sysdeps/generic/dl-prop.h: New file.
15118 * sysdeps/i386/dl-cet.c: Likewise.
15119 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15120 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15121 * sysdeps/x86/cet-tunables.h: Likewise.
15122 * sysdeps/x86/check-cet.awk: Likewise.
15123 * sysdeps/x86/configure: Likewise.
15124 * sysdeps/x86/configure.ac: Likewise.
15125 * sysdeps/x86/dl-cet.c: Likewise.
15126 * sysdeps/x86/dl-procruntime.c: Likewise.
15127 * sysdeps/x86/dl-prop.h: Likewise.
15128 * sysdeps/x86/libc-start.h: Likewise.
15129 * sysdeps/x86/link_map.h: Likewise.
15130 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15131 _CET_ENDBR.
15132 (_dl_runtime_profile): Likewise.
15133 (_dl_runtime_resolve_shstk): New.
15134 (_dl_runtime_profile_shstk): Likewise.
15135 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15136 if CET is enabled.
15137 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15138 (CFLAGS-.os): Likewise.
15139 (CFLAGS-.op): Likewise.
15140 (CFLAGS-.oS): Likewise.
15141 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15142 is enabled.
15143 (tests-special): Add $(objpfx)check-cet.out.
15144 (cet-built-dso): New.
15145 (+$(cet-built-dso:=.note)): Likewise.
15146 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15147 ($(objpfx)check-cet.out): New.
15148 (generated): Add check-cet.out.
15149 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15150 <cet-tunables.h>.
15151 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15152 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15153 (init_cpu_features): Call get_cet_status to check CET status
15154 and update dl_x86_feature_1 with CET status. Call
15155 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15156 (set_x86_shstk). Disable and lock CET in libc.a.
15157 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15158 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15159 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15160 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15161 (_CET_ENDBR): Define if not defined.
15162 (ENTRY): Add _CET_ENDBR.
15163 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15164 x86_shstk.
15165 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15166 _CET_ENDBR.
15167 (_dl_runtime_profile): Likewise.
15168
52b2a80f
RA
151692018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15170
15171 [BZ #21895]
15172 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15173 restore r2 on longjmp.
15174 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15175 test list.
15176 Added rules to build test tst-setjmp-bug21895-static.
15177 Added module setjmp-bug21895 and rules to build a shared object from it.
15178 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15179 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15180
3ae725df
WD
151812018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15182
15183 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15184 * benchtests/bench-strstr.c: Likewise.
15185 * string/memmem.c (FASTSEARCH): Define.
15186 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15187 Add support for FASTSEARCH.
15188 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15189 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15190 (FASTSEARCH): Define.
15191 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15192 * string/test-strstr.c: Likewise.
15193
31e422ca
L
151942018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15195
15196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15197 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15198
faaee1f0
L
151992018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15200 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15203 (__longjmp): Restore shadow stack pointer if shadow stack is
15204 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15205 isn't defined for __longjmp_cancel.
15206 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15207 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15208 and SHADOW_STACK_POINTER_OFFSET is defined.
15209 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15210 (setjmp): Save shadow stack pointer if shadow stack is enabled
15211 and SHADOW_STACK_POINTER_OFFSET is defined.
15212 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15213 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15214 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15215 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15216 <jmp_buf-ssp.h>.
15217 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15218 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15219 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15220 Remove jmp_buf-ssp.sym.
15221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15222 <jmp_buf-ssp.h>.
15223 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15224 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15225 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15226 jmp_buf-ssp.sym.
15227 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15228 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15229 (__longjmp): Restore shadow stack pointer if shadow stack is
15230 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15231 isn't defined for __longjmp_cancel.
15232 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15233 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15234 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15235
ebff9c5c
L
152362018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15237
15238 [BZ #22563]
15239 * nptl/pthread_create.c: Include <tls-setup.h>.
15240 (__pthread_create_2_1): Call tls_setup_tcbhead.
15241 * sysdeps/generic/tls-setup.h: New file.
15242 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15243 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15244 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15245 Likewise.
15246 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15247 to feature_1.
15248 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15249 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15250 (X86_FEATURE_1_SHSTK): Likewise.
15251 (CET_ENABLED): Likewise.
15252 (IBT_ENABLED): Likewise.
15253 (SHSTK_ENABLED): Likewise.
15254
ab74d59f 152552018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
0a83bad2
RL
15256
15257 [BZ #23208]
15258 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15259 (LOCALES): Likewise.
15260 * localedata/dsb_DE.UTF-8.in: New file.
15261 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15262
046bfed9
FW
152632018-07-12 Florian Weimer <fweimer@redhat.com>
15264
15265 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15266 __mprotect, not mprotect.
15267
93304f5f
FW
152682018-07-11 Florian Weimer <fweimer@redhat.com>
15269
15270 * io/Makefile (headers): Add bits/statx.h.
15271
4beefeeb
MF
152722018-07-10 Mike FABIAN <mfabian@redhat.com>
15273
15274 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15275 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15276 and headers.
15277 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15278 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15279 for utf8_gen.py
15280
fd70af45
FW
152812018-07-10 Florian Weimer <fweimer@redhat.com>
15282
15283 * io/Makefile (routines): Add statx.
15284 (tests-internal): Add tst-statx.
15285 * io/Versions (GLIBC_2.28): Export statx.
15286 * io/bits/statx.h: New file.
15287 * io/sys/stat.h [__USE_GNU]: Include it.
15288 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15289 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15290 Define.
15291 * io/statx.c: New file.
15292 * io/statx_generic.: Likewise.
15293 * io/tst-statx.: Likewise.
15294 * include/bits/statx.h: Likewise.
15295 * sysdeps/unix/sysv/linux/kernel-features.h
15296 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15297 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15298 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15299 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15300 Undefine.
15301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15302 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15303 * sysdeps/unix/sysv/linux/statx.c: New file.
15304 * manual/filesys.texi: Note that statx is undocumented.
15305 * sysdeps/**/libc*.abilist: Update.
15306
b444e8f7
AZ
153072018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15308
15309 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15310 a kernel issue which lead to test failure in some cases.
15311
7b2f4ced
FW
153122018-07-10 Florian Weimer <fweimer@redhat.com>
15313
15314 [BZ #23036]
15315 * posix/regexec.c (check_node_accept_bytes): When comparing
15316 weights, do not compare an extra byte after the end of the
15317 weights.
15318
4fa34da6
FW
153192018-07-10 Florian Weimer <fweimer@redhat.com>
15320
15321 * libio/readline.c: Fix copyright year.
15322 * libio/tst-readline.c Likewise.
15323 * nss/tst-nss-files-hosts-getent.c: Likewise.
15324
916124ed
FW
153252018-07-06 Florian Weimer <fweimer@redhat.com>
15326
15327 [BZ #18991]
15328 * nss/nss_files/files-XXX.c (internal_getent): Use
15329 __libc_readline_unlocked. Seek back to the start of the line if
15330 parsing failes with ERANGE.
15331 (get_contents_ret, get_contents): Remove.
15332 * nss/tst-nss-files-hosts-getent.c: New file.
15333 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15334 (tst-nss-files-hosts-getent): Link with -ldl.
15335
3f5e3f5d
FW
153362018-07-06 Florian Weimer <fweimer@redhat.com>
15337
15338 * include/stdio.h (__libc_readline_unlocked): Declare.
15339 (__ftello64, __fseeko64): Declare aliases.
15340 * libio/readline.c: New file.
15341 * libio/tst-readline.c: Likewise.
15342 (routines): Add readline.
15343 (tests-internal): Add tst-readlime.
15344 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15345 __libc_readline_unlocked.
15346 * libio/fseeko.c (__fseeko): Rename from fseeko.
15347 (fseeko): Add alias.
15348 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15349 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15350 (fseeko64): Add alias.
15351 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15352 * libio/ftello64.c (__ftello64): Rename from ftello64.
15353 (ftello64): Add alias.
15354
397c54c1
SN
153552018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15356
15357 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15358 HWCAP_ATOMICS.
15359
d0cd7980
SN
153602018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15361
15362 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15363 Use dl_hwcap without masking.
15364 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15365 Remove HWCAP_CPUID.
15366
ddb3c626
FW
153672018-07-06 Florian Weimer <fweimer@redhat.com>
15368
15369 * conform/conformtest.pl (checknamespace): Escape literal braces
15370 in regular expressions.
15371
bce5911b
AP
153722018-07-06 Amit Pawar <amit.pawar@amd.com>
15373
15374 * sysdeps/x86/cpu-features.c (get_common_indeces):
15375 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15376 * sysdeps/x86/cpu-features.c (init_cpu_features):
15377 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15378
3a885c1f
FW
153792018-07-05 Florian Weimer <fweimer@redhat.com>
15380
15381 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15382 protector.
15383 (CFLAGS-elf-init.oS): Likewise.
15384
38cade0c
FW
153852018-07-05 Florian Weimer <fweimer@redhat.com>
15386 Carlos O'Donell <carlos@redhat.com>
15387
15388 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15389 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15390 with stack protector enabled because there is no risk of infinite
15391 recursion.
15392
9449a295
MR
153932018-07-05 Maciej W. Rozycki <macro@mips.com>
15394
15395 [BZ #19818]
15396 [BZ #23307]
15397 * libc-abis (ABSOLUTE): New ABI.
15398 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15399 * NEWS: Mention the new ABI.
15400
d6da5cb6
FW
154012018-07-05 Florian Weimer <fweimer@redhat.com>
15402
15403 [BZ # 17662]
15404 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15405 (RENAME_WHITEOUT): Define.
15406 [__USE_GNU] (renameat2): Declare.
15407 * stdio-common/Makefile (routines): Add renameat2.
15408 (tests): Add tst-renameat2.
15409 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15410 * stdio-common/renameat2.c: New file.
15411 * stdio-common/tst-renameat2.c: Likewise.
15412 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15413 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15414 undocumented.
15415 * sysdeps/unix/sysv/linux/kernel-features.h
15416 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15418 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15420 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15421 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15422 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15423 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15424 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15425 * include/stdio.h (__renameat): Add alias for renameat.
15426 * stdio-common/renameat.c (__renameat): Rename from renameat.
15427 Add hidden definition and alias.
15428 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15429 * sysdeps/mach/hurd/renameat.c: Likewise.
15430 * sysdeps/**/libc*.abilist: Add renameat2.
15431
1002d708
AZ
154322018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15433
15434 * posix/bug-regex33.c: Fix build after regex sync.
15435
34fdb893
CD
154362018-07-04 Carlos O'Donell <carlos@redhat.com>
15437
15438 [BZ #23164]
15439 * localedata/tst-langinfo-setlocale.c: New file.
15440 * localedata/tst-langinfo-setlocale-static.c: New file.
15441 * localedata/tst-langinfo-newlocale.c: New file.
15442 * localedata/tst-langinfo-newlocale-static.c: New file.
15443 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15444 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15445 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15446 (tests-static): Remove tst-langinfo-static. Add
15447 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15448 (tests-special): Remove $(objpfx)tst-langinfo.out,
15449 $(objpfx)tst-langinfo-static.out. Add
15450 $(objpfx)tst-langinfo-setlocale.out,
15451 $(objpfx)tst-langinfo-newlocale.out,
15452 $(objpfx)tst-langinfo-setlocale-static.out,
15453 $(objpfx)tst-langinfo-newlocale-static.out.
15454 ($(objpfx)tst-langinfo.out): Remove.
15455 ($(objpfx)tst-langinfo-static.out): Remove.
15456 ($(objpfx)tst-langinfo-newlocale.out): New target.
15457 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15458 (test-xfail-tst-langinfo-newlocale-static): Add.
15459 ($(objpfx)tst-langinfo-setlocale.out): New target.
15460 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15461 * localedata/tst-langinfo.c: Call test_locale.
15462 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15463 data.
15464
f2873d2d
FW
154652018-07-04 Florian Weimer <fweimer@redhat.com>
15466
15467 testrun.sh: Implement --tool=strace, --tool=valgrind
15468 * Makefile (testrun-script): Define variable.
15469 (testrun.sh): Use variable.
15470 * manual/install.texi (Tools for Compilation): make 4.0 or later
15471 is required.
15472 * configure.ac: Check for make 4.0 or later.
15473 * INSTALL: Regenerate.
15474 * configure: Likewise.
15475
eb04c213
AZ
154762018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15477
15478 [BZ #23233]
15479 [BZ #21163]
15480 [BZ #18986]
15481 [BZ #13762]
15482 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15483 * posix/PCRE.tests: Remove invalid test.
15484 * posix/bug-regex28.c: Fix expected values for used syntax.
15485 * posix/bug-regex37.c: New file.
15486 * posix/bug-regex38.c: Likewise.
15487 * posix/regcomp.c: Sync with gnulib.
15488 * posix/regex.c: Likewise.
15489 * posix/regex.h: Likewise.
15490 * posix/regex_internal.c: Likewise.
15491 * posix/regex_internal.h: Likewise.
15492 * posix/regexec.c: Likewise.
15493
b11643c2
MF
154942018-06-26 Mike FABIAN <mfabian@redhat.com>
15495
15496 [BZ #23308]
15497 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15498 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15499 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15500 * localedata/unicode-gen/PropList.txt: likewise.
15501 * localedata/unicode-gen/UnicodeData.txt: likewise.
15502 * localedata/charmaps/UTF-8: Regenerate.
15503 * localedata/locales/i18n_ctype: likewise.
15504 * localedata/locales/tr_TR: likewise.
15505 * localedata/locales/translit_circle: likewise.
15506 * localedata/locales/translit_cjk_compat: likewise.
15507 * localedata/locales/translit_combining: likewise.
15508 * localedata/locales/translit_compat: likewise.
15509 * localedata/locales/translit_font: likewise.
15510 * localedata/locales/translit_fraction: likewise.
15511
5a357506
FW
155122018-07-03 Florian Weimer <fweimer@redhat.com>
15513
15514 [BZ #23363]
15515 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15516 * stdio-common/tst-printf.sh: Adjust expected output.
15517 * LICENSES: Update.
15518
7279af00
AZ
155192018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15520
15521 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15522 symbol.
15523
b7b88cea
GG
155242018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15525
15526 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15527 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15528 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15529 * stdio-common/tst-printfsz-islongdouble.c: New file.
15530 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15531 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15532 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15533 [subdir == stdio-common] (tests-internal): Add
15534 test-printf-size-ieee128, and test-printf-size-ibm128.
15535 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15536 (CFLAGS-test-printf-size-ibm128.c): New variables.
15537 [subdir == stdio-common] (tests-special): Add
15538 $(objpfx)test-printf-size-ieee128.out and
15539 $(objpfx)test-printf-size-ibm128.out.
15540 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15541 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15542 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15543 __printf_sizeieee128.
15544 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15545 New file.
15546 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15547 Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15549 Likewise.
15550
2b445206
SN
155512018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15552
15553 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15554 (exp2f_inline): Likewise.
15555 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15556 (__math_uflowf): Likewise.
15557 (__math_may_uflowf): Likewise.
15558 (__math_divzerof): Likewise.
15559 (__math_invalidf): Likewise.
15560 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15561 (__math_oflowf): Likewise.
15562 (__math_uflowf): Likewise.
15563 (__math_may_uflowf): Likewise.
15564 (__math_divzerof): Likewise.
15565 (__math_invalidf): Likewise.
15566
2827ab99
CD
155672018-06-29 DJ Delorie <dj@redhat.com>
15568 Carlos O'Donell <carlos@redhat.com>
15569
15570 [BZ #23329]
15571 * include/libc-symbols.h: Comment the freeres framework.
15572 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15573 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15574 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15575 * dlfcn/dlerror.c: Include libc-symbols.h
15576 (__dlerror_main_freeres): New function.
15577 * dlfcn/dlfreeres.c: New file.
15578 * dlfcn/sdlfreeres.c: New file.
15579 * include/dlfcn.h: Declare __dlerror_main_freeres.
15580 * malloc/set-freeres.c: Declare __libdl_freeres, and
15581 __libpthread_freeres.
15582 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15583 the releavant libraries are loaded.
15584 * malloc/thread-freeres.c: Add comments.
15585 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15586 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15587 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15588 (__free_stacks): Rename to...
15589 (free_stacks): ...this. Mark static.
15590 (queue_stack): Call free_stacks.
15591 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15592 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15593 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15594 ptr_freeres element from struct.
15595 (pthread_functions): Remove .ptr_freeres from struct initializer.
15596 [SHARED] (nptl_freeres): Remove.
15597 * nptl/nptlfreeres.c: New file.
15598 * nptl/pthreadP.h
15599 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15600 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15601 attribute_hidden.
15602 (__free_stacks): Rename to...
15603 (__nptl_stacks_freeres): ...this.
15604 (__shm_directory_freeres): Declare.
15605 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15606 (__nptl_unwind_freeres): ...this.
15607 * resolv/res-close.c: Add comment.
15608 * resolv/resolv_conf.c: Include libc-symbols.h.
15609 * string/strerror_l.c: Include libc-symbols.h.
15610 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15611 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15612 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15613 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15614
37d3d244
RS
156152018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15616
15617 * stdlib/tst-strfmon_l.c: Add tests for long double.
15618
a1e0c5fa
MW
156192018-06-29 Michael Wolf <milupo@sorbzilla.de>
15620
15621 [BZ #23208]
15622 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15623 * localedata/locales/dsb_DE: New file.
15624
ab74d59f 156252018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
2e0c5de6
RL
15626
15627 [BZ #23140]
15628 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15629 genitive case).
15630 (alt_mon): New entry, import from CLDR (nominative case).
15631
cdb52c71
SL
156322018-06-29 Sylvain Lesage <severo@rednegra.net>
15633
15634 [BZ #22996]
15635 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15636
ce76a5cb
SP
156372018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15638
0aec4c1d
SP
15639 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15640 Use vector registers.
15641
ce76a5cb
SP
15642 * sysdeps/aarch64/multiarch/memmove_falkor.S
15643 (__memcpy_falkor): Use vector registers.
15644
7e8989d0
MS
156452018-06-29 Martin Sebor <msebor@redhat.com>
15646
15647 * manual/stdio.texi (Customizing Printf): Mention interaction
15648 with GCC built-ins.
15649
bac15a72
MR
156502018-06-29 Maciej W. Rozycki <macro@mips.com>
15651
15652 [BZ #23307]
15653 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15654 `st_value' is 0 if `st_shndx' is SHN_ABS.
15655 * elf/tst-absolute-zero.c: New file.
15656 * elf/tst-absolute-zero-lib.c: New file.
15657 * elf/tst-absolute-zero-lib.lds: New file.
15658 * elf/Makefile (tests): Add `tst-absolute-zero'.
15659 (modules-names): Add `tst-absolute-zero-lib'.
15660 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15661 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15662 ($(objpfx)tst-absolute-zero: New dependency.
15663
e69d994a
ZW
156642018-06-29 Zack Weinberg <zackw@panix.com>
15665
15666 * configure.ac: New command-line option --disable-crypt.
15667 Force --disable-nss-crypt when --disable-crypt is given, with a
15668 warning if it was explicitly enabled.
15669 * configure: Regenerate.
15670 * config.make.in: New boolean substitution variable $(build-crypt).
15671 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15672 when $(build-crypt).
15673 * manual/install.texi: Document --disable-crypt.
15674 * INSTALL: Regenerate.
15675
15676 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15677 which is never set.
15678 * conform/Makefile: Only include libcrypt.a in
15679 linknamespace-libs-xsi and linknamespace-libs-XPG4
15680 when $(build-crypt).
15681 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15682 USE_CRYPT to 1 when $(build-crypt).
15683 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15684 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15685 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15686
841785ba
ZW
156872018-06-29 Zack Weinberg <zackw@panix.com>
15688
15689 * crypt/crypt.h, posix/unistd.h: Update comments and
15690 prototypes for crypt and crypt_r.
15691
15692 * manual/crypt.texi (Cryptographic Functions): New initial
15693 exposition.
15694 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15695 (Unpredictable Bytes): Improve initial exposition. Clarify error
15696 behavior of getentropy and getrandom.
15697 * manual/examples/genpass.c: Generate a salt using getentropy
15698 instead of the current time. Use hash $5$ (SHA-2-256).
15699 * manual/examples/testpass.c: Demonstrate validation against
15700 hashes generated with three different one-way functions.
15701
15702 * manual/intro.texi: crypt.texi does not need an overview
15703 anymore.
15704
15705 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15706 * manual/terminal.texi: Consistently refer to "passphrases"
15707 * instead of "passwords", and to the "user database" instead
15708 * of the "password database".
15709 * manual/users.texi: Similarly. Add notes about how actual
15710 passphrase hashes are now stored in the shadow database.
15711 Remove 20-year-old junk todo note.
15712
6ab902e4
ZW
157132018-06-29 Zack Weinberg <zackw@panix.com>
15714
15715 * manual/crypt.texi: Use a normal top-level @node declaration.
15716 Move most of the introductory text to the 'crypt' section.
15717 Move the example programs below the @deftypefun for 'crypt_r'.
15718 Move the 'getpass' section...
15719 * manual/terminal.texi: ...here.
15720
b10a0acc
ZW
157212018-06-29 Zack Weinberg <zackw@panix.com>
15722 Florian Weimer <fweimer@redhat.com>
15723
15724 * posix/unistd.h: Do not declare encrypt.
15725 (_XOPEN_CRYPT): Remove macro definition.
15726 (crypt): Declare only for _USE_MISC.
15727 * stdlib/stdlib.h: Do not declare setkey.
15728 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15729 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15730
15731 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15732 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15733 into compat symbols. Don't define initial_perm if it's not
15734 going to be used.
15735 * crypt/cert.c: Link explicitly with the expected versions for
15736 setkey and encrypt. If they are not available at all, mark
15737 the test as unsupported.
15738
15739 * sunrpc/des_crypt.c: Unconditionally block linkage with
15740 cbc_crypt and ecb_crypt for new binaries.
15741 * sunrpc/des_soft.c: Unconditionally block linkage with
15742 des_setparity for new binaries.
15743
15744 * manual/crypt.texi: Remove the entire "DES Encryption"
15745 section. Also remove the paragraph talking about FIPS 140-2
15746 from the introduction.
15747 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15748 of libgcrypt for "real" encryption, not DES.
15749 * manual/conf.texi (Constants for Sysconf): Mention that
15750 _XOPEN_CRYPT is no longer impelemented.
15751
15752 * conform/data/unistd.h-data: Remove crypt function declaration.
15753
524d796d
FW
157542018-06-29 Florian Weimer <fweimer@redhat.com>
15755
15756 [BZ #23351]
15757 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15758 (disallow_malloc_check): Remove variable.
15759 (__malloc_check_init): Adjust.
15760 (malloc_set_state): Update comment.
15761 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15762 declarations.
15763
ab74d59f 157642018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
339124ab
RL
15765
15766 [BZ #23140]
15767 * localedata/locales/ast_ES (mon): Rename to...
15768 (alt_mon): This.
15769 (mon): Import from CLDR (genitive case).
15770
c1f86a33
DA
157712018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15772 Jakub Sitnicki <jkbs@redhat.com>
15773
15774 [BZ #21812]
15775 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15776 on NLM_F_DUMP_INTR.
15777
0b11b649
SN
157782018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15779
15780 * manual/llio.texi: Remove spurious space.
15781
c1c2848b
FW
157822018-06-28 Florian Weimer <fweimer@redhat.com>
15783
15784 [BZ #23349]
15785 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15786 _STRUCT_TIMESPEC.
15787
86a0f561
RS
157882018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15789
15790 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 15791 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
15792 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15793 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15794 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15795 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15796 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15797
780684eb
MR
157982018-06-27 Maciej W. Rozycki <macro@mips.com>
15799
15800 [BZ #23266]
15801 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15802 Copy and null-terminate entries that are not terminated, in
15803 addition to empty ones.
15804
c49e1822
FW
158052018-06-27 Florian Weimer <fweimer@redhat.com>
15806
15807 [BZ #18023]
b39d961c
TS
15808 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15809 (extend_alloca_account): Remove.
c49e1822
FW
15810 * manual/stdio.texi (Variable Arguments Output): Update comment.
15811
a833e627
JM
158122018-06-27 Joseph Myers <joseph@codesourcery.com>
15813
15814 * nptl/sockperf.c: Remove file.
15815
92d6aa85
FW
158162018-06-27 Florian Weimer <fweimer@redhat.com>
15817
15818 [BZ #18023]
15819 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15820 scratch_buffer instead of extend_alloca.
15821
890c2ced
FW
158222018-06-27 Florian Weimer <fweimer@redhat.com>
15823
15824 [BZ #18023]
15825 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15826 scratch_buffer instead of extend_alloca. Update comments.
15827
4272059d
FW
158282018-06-27 Florian Weimer <fweimer@redhat.com>
15829
15830 [BZ #18023]
15831 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15832 instead of extend_alloca.
15833
27f10a09
JM
158342018-06-26 Joseph Myers <joseph@codesourcery.com>
15835
15836 [BZ #13888]
15837 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15838 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15839 /tmp.
15840 * scripts/test-installation.pl: Put temporary files in build
15841 directory, not /tmp.
15842 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15843 (CFLAGS-bug4.c): Likewise.
15844 (CFLAGS-bug5.c): Likewise.
15845 (CFLAGS-test-fseek.c): Likewise.
15846 (CFLAGS-test-popen.c): Likewise.
15847 (CFLAGS-test_rdwr.c): Likewise.
15848 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15849 /tmp.
15850 * stdio-common/bug4.c (main): Likewise.
15851 * stdio-common/bug5.c (main): Likewise.
15852 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15853 * stdio-common/test-popen.c (do_test): Likewise.
15854 * stdio-common/test_rdwr.c (main): Likewise.
15855
05598a09
PF
158562018-06-26 Patsy Franklin <pfrankli@redhat.com>
15857
15858 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15859 (sem_open): Set sem.newsem.pad to zero for valgrind.
15860
06ab719d
AZ
158612018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15862
15863 [BZ #20251]
15864 * NEWS: Mention fcntl64 addition.
15865 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15866 * login/utmp_file.c: Likewise.
15867 * sysdeps/posix/fdopendir.c: Likewise.
15868 * sysdeps/posix/opendir.c: Likewise.
15869 * sysdeps/unix/pt-fcntl.c: Likewise.
15870 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15871 __fcntl64_nocancel_adjusted): New prototype.
15872 (__fcntl_nocancel_adjusted): Remove prototype.
15873 * io/Makefile (routines): Add fcntl64.
15874 (CFLAGS-fcntl64.c): New rule.
15875 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15876 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15877 * io/fcntl.h (fcntl64): Add prototype and redirect if
15878 __USE_FILE_OFFSET64 is defined.
15879 * io/fcntl64.c: New file.
15880 * manual/llio.text: Add a note for which commands fcntl acts a
15881 cancellation point.
15882 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15883 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15884 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15885 New symbols.
15886 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15887 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15888 non-LFS case.
15889 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15890 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15891 to __fcntl64_nocancel.
15892 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15893 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15894 to __fcntl64_nocancel.
15895 * sysdeps/generic/not-cancel.h: Likewise.
15896 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15897 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15898 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15899 (fcntl64): New symbol.
15900 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15911 fcntl64): Likewise.
15912 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15914 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15922 Likewise.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15924 Likewise.
15925 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15928
124e0258
FW
159292018-06-26 Florian Weimer <fweimer@redhat.com>
15930
15931 Run thread shutdown functions in an explicit order.
15932 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15933 definition.
15934 (__libc_thread_freeres): Call thread shutdown functions
15935 explicitly.
15936 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15937 * include/string.h (__strerror_thread_freeres): Declare.
15938 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15939 arena_thread_freeres. No longer static. Remove thread shutdown
15940 hook registration.
15941 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15942 Declare.
15943 * resolv/res-close.c (__res_thread_freeres): Renamed from
15944 res_thread_freeres. No longer static. Remove thread shutdown
15945 hook registration.
15946 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15947 * resolv/resolv_conf.c (freeres): Remove incorrect section
15948 attribute and use libc_freeres_fn.
15949 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15950 strerror_thread_freeres. No longer static. Remove thread
15951 shutdown hook registration.
15952 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15953 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15954 shutdown hook registration.
15955 * Makerules (shlib.lds): Do not provide section boundary symbols
15956 for __libc_thread_subfreeres.
15957 * manual/memory.texi (Basic Allocation): Update comment.
15958
935d920e
FW
159592018-06-26 Florian Weimer <fweimer@redhat.com>
15960
15961 Remove always-defined _RPC_THREAD_SAFE_ macro.
15962 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15963 Do not define _RPC_THREAD_SAFE_.
15964 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15965 conditional.
15966 * sunrpc/clnt_perr.c: Likewise.
15967 * sunrpc/clnt_raw.c: Likewise.
15968 * sunrpc/clnt_simp.c: Likewise.
15969 * sunrpc/key_call.c: Likewise.
15970 * sunrpc/rpc_common.c: Likewise.
15971 * sunrpc/rpc_main.c: Likewise.
15972 * sunrpc/rpc_thread.c: Likewise.
15973 * sunrpc/svc.c: Likewise.
15974 * sunrpc/svc_raw.c: Likewise.
15975 * sunrpc/svc_simple.c: Likewise.
15976 * sumrpc/svcauth_des.c: Likewise.
15977
29055464
FW
159782018-06-26 Florian Weimer <fweimer@redhat.com>
15979
15980 * libio/Makefile (tests-internal): Add tst-vtables,
15981 tst-vtables-interposed.
15982 * libio/tst-vtables.c: New file.
15983 * libio/tst-vtables-common.c: Likewise.
15984 * libio/tst-vtables-interposed.c: Likewise.
15985
5c0202af
FW
159862018-06-26 Florian Weimer <fweimer@redhat.com>
15987
15988 * support/support_test_main.c (support_test_main): Only call
15989 setvbuf if not disables.
15990 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15991 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15992
c402355d
FW
159932018-06-26 Florian Weimer <fweimer@redhat.com>
15994
15995 [BZ #23313]
15996 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15997
43b1048a
FW
159982018-06-25 Florian Weimer <fweimer@redhat.com>
15999
16000 [BZ #18023]
16001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16002 Use struct scratch_buffer instead of extend_alloca.
16003
1599ed4e
FW
160042018-06-25 Florian Weimer <fweimer@redhat.com>
16005
16006 [BZ #18023]
16007 * nss/getent.c (initgroups_keys): Use dynarray instead of
16008 extend_alloca.
16009
a26fe163
FW
160102018-06-25 Florian Weimer <fweimer@redhat.com>
16011
16012 [BZ #18023]
16013 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16014 Use struct scratch_buffer instead of extend_alloca.
16015
90d9d9ce
FW
160162018-06-25 Florian Weimer <fweimer@redhat.com>
16017
16018 [BZ #18023]
16019 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16020 back to malloc directly, without stack allocations.
16021
6b7b2aba
FW
160222018-06-25 Florian Weimer <fweimer@redhat.com>
16023
16024 [BZ #18023]
16025 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16026 of extend_alloca.
16027
2f9f0d18
FW
160282018-06-25 Florian Weimer <fweimer@redhat.com>
16029
16030 [BZ #18023]
16031 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16032 of extend_alloca.
16033 * nscd/hstcache.c (addhstbyX): Likewise.
16034 * nscd/pwdcache.c (addpwbyX): Likewise.
16035 * nscd/servicescache.c (addservbyX): Likewise.
16036
318bad78
FW
160372018-06-25 Florian Weimer <fweimer@redhat.com>
16038
16039 [BZ #18023]
16040 * nscd/connections.c (read_cmdline): New function.
16041 (restart): Use it. Update comment.
16042
ab74d59f 160432018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
189699ab
RL
16044
16045 [BZ #23140]
16046 * localedata/locales/csb_PL (mon): Rename to...
16047 (alt_mon): This.
16048 (abmon): Rename to...
16049 (ab_alt_mon): This.
16050 (mon): Add with proper genitive forms, copy from Wikipedia.
16051 (abmon): Likewise.
16052
ab74d59f 160532018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
0ea3f13c
RL
16054
16055 [BZ #19485]
16056 * localedata/locales/csb_PL (mon): Fix typos:
16057 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16058 (yesstr): Add, value is "jo".
16059 (nostr): Add, value is "nié".
16060
d93f4ff1
TMQMF
160612018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16062
16063 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16064 all log1p and significand functions on m680x0.
16065 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16066 of s_significand.c..
16067 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16068 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16069 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16070 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16071 s_log1p.c and include it..
16072
f6299d2a
VC
160732018-06-21 Vincent Chen <vincentc@andestech.com>
16074
16075 * elf/elf.h (R_NDS32_NONE): New define.
16076 (R_NDS32_32_RELA): Likewise.
16077 (R_NDS32_COPY): Likewise.
16078 (R_NDS32_GLOB_DAT): Likewise.
16079 (R_NDS32_JUMP_SLOT): Likewise.
16080 (R_NDS32_RELATIVE): Likewise.
16081 (R_NDS32_TLS_TPOFF): Likewise.
16082 (R_NDS32_TLS_DESC): Likewise.
16083
61ab61c2
MW
160842018-06-21 Mark Wielaard <mark@klomp.org>
16085
16086 * elf/elf.h (R_BPF_MAP_FD): Removed.
16087 (R_BPF_64_64, R_BPF_64_32): New.
16088
f496b28e
FW
160892018-06-21 Florian Weimer <fweimer@redhat.com>
16090
16091 [BZ #23253]
16092 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16093 Renamed from libc_feholdsetround_ctx.
16094 (default_libc_feresetround_ctx): Renamed from
16095 libc_feresetround_ctx.
16096 (default_libc_feholdsetround_noex_ctx): Renamed from
16097 libc_feholdsetround_noex_ctx.
16098 (default_libc_feresetround_noex_ctx): Renamed from
16099 libc_feresetround_noex_ctx.
16100 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16101 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16102 forwardning to the old implementations under the new names.
16103 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16104 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16105 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16106 (libc_feresetround_ctx): Forward to default implements for i386
16107 and MATH_SET_BOTH_ROUNDING_MODES.
16108 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16109 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16110
1760daad
JM
161112018-06-20 Joseph Myers <joseph@codesourcery.com>
16112
99c7adf9
JM
16113 * string/tst-cmp.c: Include <libc-diag.h>.
16114 (strncmp_max): Disable -Wstringop-overflow= around call to
16115 strncmp.
16116 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16117 strncasecmp.
16118
1760daad
JM
16119 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16120 (main): Disable -Wunused-value around call to strpbrk.
16121 * string/bug-strspn1.c: Include <libc-diag.h>.
16122 (main): Disable -Wunused-value around call to strspn.
16123
209ae17c
TMQMF
161242018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16125 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16126
16127 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16128 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16129
badba23c
TMQMF
161302018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16131
5e79e029
TMQMF
16132 * math/Makefile (libm-calls): Move s_significandF to...
16133 (gen-libm-calls): ... here.
16134 * math/s_significand_template.c: New file.
16135 * math/s_significand.c: Removed.
16136 * math/s_significandf.c: Removed.
16137 * math/s_significandl.c: Removed.
16138 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16139 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16140
badba23c
TMQMF
16141 * math/e_exp2_template.c (declare_mgen_finite_alias,
16142 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16143 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16144 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16145
2d1c89a5
FW
161462018-06-20 Florian Weimer <fweimer@redhat.com>
16147
16148 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16149
646c2833
JM
161502018-06-19 Joseph Myers <joseph@codesourcery.com>
16151
16152 [BZ #23280]
16153 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16154 floating-point number to strtod functions rather than possibly
16155 negating result of those functions.
16156 * stdio-common/tst-scanf-round.c: New file.
16157 * stdio-common/Makefile (tests): Add tst-scanf-round.
16158 ($(objpfx)tst-scanf-round): Depend on $(libm).
16159
c77e4dc0
ST
161602018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16161
16162 * sysdeps/mach/hurd/localplt.data: Move to...
16163 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16164 R_386_GLOB_DAT like on Linux i386.
16165
91b2f3e5
JM
161662018-06-18 Joseph Myers <joseph@codesourcery.com>
16167
f2857da7
JM
16168 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16169 (SHM_STAT_ANY): New macro.
16170 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16171 (SHM_STAT_ANY): Likewise.
16172 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16173 (SHM_STAT_ANY): Likewise.
16174 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16175 (SHM_STAT_ANY): Likewise.
16176 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16177 (SHM_STAT_ANY): Likewise.
16178 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16179 (SHM_STAT_ANY): Likewise.
16180 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16181 (SHM_STAT_ANY): Likewise.
16182 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16183 (SHM_STAT_ANY): Likewise.
16184 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16185 (SHM_STAT_ANY): Likewise.
16186 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16187 (SHM_STAT_ANY): Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16189 (SHM_STAT_ANY): Likewise.
16190 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16191 (SHM_STAT_ANY): Likewise.
16192
176c7fee
JM
16193 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16194 (SEM_STAT_ANY): New macro.
16195 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16196 (SEM_STAT_ANY): Likewise.
16197 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16198 (SEM_STAT_ANY): Likewise.
16199 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16200 (SEM_STAT_ANY): Likewise.
16201 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16202 (SEM_STAT_ANY): Likewise.
16203 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16204 (SEM_STAT_ANY): Likewise.
16205 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16206 (SEM_STAT_ANY): Likewise.
16207 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16208 (SEM_STAT_ANY): Likewise.
16209 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16210 (SEM_STAT_ANY): Likewise.
16211 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16212 (SEM_STAT_ANY): Likewise.
16213
86bf0019
JM
16214 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16215 (MSG_STAT_ANY): New macro.
16216 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16217 (MSG_STAT_ANY): Likewise.
16218 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16219 (MSG_STAT_ANY): Likewise.
16220 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16221 (MSG_STAT_ANY): Likewise.
16222 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16223 (MSG_STAT_ANY): Likewise.
16224 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16225 (MSG_STAT_ANY): Likewise.
16226 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16227 (MSG_STAT_ANY): Likewise.
16228 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16229 (MSG_STAT_ANY): Likewise.
16230 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16231 (MSG_STAT_ANY): Likewise.
16232 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16233 (MSG_STAT_ANY): Likewise.
16234
91b2f3e5
JM
16235 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16236 (MAP_TYPE): Change value to 0x2b.
16237
3fe8fc79
FW
162382018-06-18 Florian Weimer <fweimer@redhat.com>
16239
16240 [BZ #15722]
16241 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16242 socket with SOCK_CLOEXEC.
16243
809dc95d
JM
162442018-06-18 Joseph Myers <joseph@codesourcery.com>
16245
16246 [BZ #23303]
16247 * sysdeps/powerpc/powerpc64/le/Makefile
16248 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16249 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16250 (gnulib-tests): Also add $(f128-loader-link) for
16251 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16252
298a8b59
ST
162532018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16254
16255 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16256 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16257 of sendfile.
16258 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16259 (sendfile64): New strong alias.
faf7bbc2
ST
16260 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16261 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16262 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
16263 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16264 attribute.
16265 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16266 ___pthread_get_cleanup_stack.
932d05f0 16267 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
16268 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16269 * mach/shortcut.awk: Make syscall stubs include
16270 <mach-shortcuts-hidden.h> and add hidden definition.
16271 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
16272 (__mach_msg): Add hidden prototype.
16273 * mach/msg.c: Include <mach.h>.
16274 (__mach_msg): Add hidden definition.
b0344cf5
ST
16275 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16276 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16277 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16278 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
16279 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16280 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
16281 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16282 prototype and definition.
16283 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16284 hidden target for _hurd_self_sigstate.
298a8b59 16285
b12c1e79
JM
162862018-06-15 Joseph Myers <joseph@codesourcery.com>
16287
16288 [BZ #23007]
16289 * stdlib/tst-strtod-nan-sign-main.c: New file.
16290 * stdlib/tst-strtod-nan-sign.c: Likewise.
16291 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16292 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16293 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16294 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16295 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16296
b0debe14
HB
162972018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16298
16299 [BZ #23007]
16300 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16301 appropriate sign.
16302
14beef75
FW
163032018-06-14 Florian Weimer <fweimer@redhat.com>
16304
16305 [BZ #23290]
16306 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16307 that the result stays within the ISO-8859-1 range.
16308 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16309 characters are defined in IBM273.
16310
c596630b
ST
163112018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16312
16313 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16314 __mach_task_self): Remove attribute_hidden.
16315
35ebb6b0
JM
163162018-06-14 Joseph Myers <joseph@codesourcery.com>
16317
16318 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16319 ignore -Wrestrict for one test.
16320
3c7b9f1f
SE
163212018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16322 Szabolcs Nagy <szabolcs.nagy@arm.com>
16323
16324 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16325
c59ee916
FW
163262018-06-14 Florian Weimer <fweimer@redhat.com>
16327
16328 * scripts/update-abilist.sh: Accept empty list of files to patch.
16329
43b5ff50
ST
163302018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16331
16332 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16333 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
16334 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16335 __libc_read and __libc_write to __read and __write.
c8c6e6d6 16336 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
16337 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16338 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16339 __thread_switch, __evc_wait): Move declarations to...
16340 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16341 attribute_hidden.
06d1a826
ST
16342 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16343 use PLT to call _hurd_self_sigstate.
43b5ff50 16344
fcd6b5ac
JM
163452018-06-13 Joseph Myers <joseph@codesourcery.com>
16346
16347 [BZ #23279]
16348 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16349 MAX_EXP as overflowing.
16350 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16351 overflow flag.
16352 (round_str): Output also whether result overflows in each rounding
16353 mode.
16354 * stdlib/tst-strtod-round-data: Add more tests.
16355 * stdlib/tst-strtod-round-data.h: Regenerated.
16356 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16357 (TEST): Handle extra arguments for overflow flags.
16358 (struct test_overflow): New type.
16359 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16360 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16361 (test_in_one_mode): Take argument with overflow information.
16362 (do_test): Update calls to test_in_one_mode.
16363
35df5a77
CD
163642018-06-12 Carlos O'Donell <carlos@redhat.com>
16365
a745c837
CD
16366 * elf/dl-load (_dl_dst_substitute): Correct comment.
16367 (_dl_dst_count): Likewise.
16368
35df5a77
CD
16369 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16370 lll_futex_timed_wait.
16371
48b12ed5
JM
163722018-06-12 Joseph Myers <joseph@codesourcery.com>
16373
16374 [BZ #23277]
16375 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16376 attribute.
16377 * math/test-nan-const.c: New file.
16378 * math/Makefile (tests): Add test-nan-const.
16379 (CFLAGS-test-nan-const.c): New variable.
16380
cb8f6aff
L
163812018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16382
16383 * benchtests/scripts/compare_strings.py (process_results): Add
16384 funcs argument. Compare only functions which are selected.
16385 (main): Check if base function is among selected functions.
16386 Pass selected functions to process_results.
16387 (__main__): Add -f/--functions argument.
16388
fc2ba803
HZ
163892018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16390 Hongbo Zhang <hongbo.zhang@linaro.org>
16391
16392 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16393 __memcpy_falkor for phecda core.
16394 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16395 __memmove_falkor for phecda core.
16396 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16397 __memset_falkor for phecda core.
16398 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16399 for phecda core.
16400 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16401 macro to identify phecda core.
16402
5aad5f61
CD
164032018-06-12 Carlos O'Donell <carlos@redhat.com>
16404 Andreas Schwab <schwab@suse.de>
16405 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 16406 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
16407
16408 [BZ #23102]
16409 [BZ #21942]
16410 [BZ #18018]
16411 [BZ #23259]
16412 CVE-2011-0536
16413 * elf/dl-dst.h: Remove DL_DST_COUNT.
16414 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16415 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16416 (is_dst): Comment. Support ELF gABI.
16417 (_dl_dst_count): Comment. Simplify and count DSTs.
16418 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16419 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16420 locals.
16421
329ea513
ZW
164222018-06-12 Zack Weinberg <zackw@panix.com>
16423
16424 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16425 * sysdeps/unix/sysv/linux/dl-sysdep.c
16426 Include not-cancel.h. Use __close_nocancel instead of __close,
16427 __open64_nocancel instead of __open, __read_nocancel instead of
16428 __libc_read, and __write_nocancel instead of __libc_write.
16429
16430 * csu/check_fds.c (check_one_fd)
16431 * sysdeps/posix/fdopendir.c (__fdopendir)
16432 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 16433 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
16434
16435 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16436 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 16437 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
16438 Use __open64_nocancel instead of __open_nocancel.
16439
16440 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16441 hidden_proto declarations to the end and issue them if either
16442 IS_IN(libc) or IS_IN(rtld).
16443 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16444 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16445 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16446 read_nocancel, waitpid_nocancel, write_nocancel.
16447
b39d961c
TS
16448 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16449 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16450 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 16451
b39d961c
TS
16452 * nptl/pt-fcntl.c: New file.
16453 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16454 (libpthread-routines): Add pt-fcntl.
16455 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16456 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
16457 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16458 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 16459 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
16460 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16461 to fcntl_nocancel.c.
16462 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16465 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16466
16467 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16468 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16469 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16470 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16471 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16472 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16473 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16474 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16475 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16476 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16477 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16478 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16479 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16480 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16481 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16482 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16483 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16484 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16485 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16486 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16487
b39d961c
TS
16488 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16489 libpthread-routines.
16490 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16491 defines nothing.
329ea513 16492
b39d961c
TS
16493 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16494 __libc_read, and __write instead of __libc_write. Define
16495 __open64 in addition to __open.
329ea513 16496
0221ce2a
L
164972018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16498
16499 [BZ #23250]
16500 [BZ #10686]
16501 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16502 to _private_tm[3] and add __glibc_reserved2.
16503 Add _Static_assert of offset of __private_ss == 0x30.
16504 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16505 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16506
e826574c
FW
165072018-06-12 Florian Weimer <fweimer@redhat.com>
16508
16509 x86: Make strncmp usable from rtld.
16510 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16511 __strncmp_ia32 if in libc (and not in rtld).
16512 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16513 strncmp if not in libc (and not to __strncmp_sse2).
16514
ab74d59f 165152018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
c4ad5782
RL
16516
16517 [BZ #23140]
16518 * localedata/locales/gd_GB (mon): Rename to...
16519 (alt_mon): This.
16520 (mon): Import from CLDR (genitive case).
16521 * localedata/locales/hsb_DE (mon): Rename to...
16522 (alt_mon): This.
16523 (mon): Import from CLDR (genitive case).
16524 * localedata/locales/wa_BE (mon): Rename to...
16525 (alt_mon): This.
16526 (mon): Add, fill with the proper genitive forms, but CLDR data
16527 is incomplete; completed according to the comments in this file.
16528 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16529
16530 * localedata/locales/wa_BE (country_name): Reword
16531 "Beljike" -> "Beldjike".
16532
ca121b11
JM
165332018-06-11 Joseph Myers <joseph@codesourcery.com>
16534
16535 [BZ #23272]
16536 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16537 cases of non-finite arguments.
16538 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16539
2b69fecb
JDA
165402018-06-10 John David Anglin <danglin@gcc.gnu.org>
16541
16542 [BZ #23174]
16543 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16544
283d9851
AZ
165452018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16546
16547 [BZ #23264]
16548 * include/unistd.h (__execvpex): New prototype.
16549 * posix/Makefile (tests): Add tst-spawn4.
16550 (tests-internal): Add tst-spawn4-compat.
16551 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16552 * posix/tst-spawn4-compat.c: New file.
16553 * posix/tst-spawn4.c: Likewise.
16554 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16555 binaries as shell scripts.
16556 * sysdeps/posix/spawni.c (__spawni): Likewise.
16557
67c05796
L
165582018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16559
16560 [BZ #23145]
16561 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16562 ($(all-built-dso:=.dynsym): New target.
16563 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16564 ($(objpfx)check-initfini.out): New target.
16565 (generated): Add check-initfini.out.
16566 * scripts/check-initfini.awk: New file.
16567 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16568 (_fini): Likewise.
16569 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16570 (_fini): Likewise.
16571 * sysdeps/arm/crti.S (_init): Mark as hidden.
16572 (_fini): Likewise.
16573 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16574 (_fini): Likewise.
16575 * sysdeps/i386/crti.S (_init): Mark as hidden.
16576 (_fini): Likewise.
16577 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16578 (_fini): Likewise.
16579 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16580 (_fini): Likewise.
16581 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16582 (_fini): Likewise.
16583 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16584 (_fini): Likewise.
16585 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16586 (_fini): Likewise.
16587 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16588 (_fini): Likewise.
16589 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16590 (_fini): Likewise.
16591 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16592 (_fini): Likewise.
16593 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16594 (_fini): Likewise.
16595 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16596 (_fini): Likewise.
16597 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16598 (_fini): Likewise.
16599 * sysdeps/sh/crti.S (_init): Mark as hidden.
16600 (_fini): Likewise.
16601 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16602 (_fini): Likewise.
16603 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16604 (_fini): Likewise.
16605
1c09524e
TMQMF
166062018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16607
16608 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16609 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16610 and TF redirection to KFtype and KF only when the default
16611 long double type is not the IEEE 128-bit floating point type.
16612
0e0577c9
JM
166132018-06-05 Joseph Myers <joseph@codesourcery.com>
16614
0c1c33b2
JM
16615 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16616 macro.
16617 (HWCAP_USCAT): Likewise.
16618 (HWCAP_ILRCPC): Likewise.
16619 (HWCAP_FLAGM): Likewise.
16620 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16621 Increase to 28.
16622 (_dl_aarch64_cap_flags): Add new flag names.
16623
bef1cbf4
JM
16624 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16625 (MAP_FIXED_NOREPLACE): New macro.
16626 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16627 (MAP_FIXED_NOREPLACE): Likewise.
16628 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16629 (MAP_FIXED_NOREPLACE): Likewise.
16630 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16631 (MAP_FIXED_NOREPLACE): Likewise.
16632 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16633 (MAP_FIXED_NOREPLACE): Likewise.
16634 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16635 (MAP_FIXED_NOREPLACE): Likewise.
16636 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16637 (MAP_FIXED_NOREPLACE): Likewise.
16638 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16639 (MAP_FIXED_NOREPLACE): Likewise.
16640 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16641 (MAP_FIXED_NOREPLACE): Likewise.
16642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16643 (MAP_FIXED_NOREPLACE): Likewise.
16644 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16645 (MAP_FIXED_NOREPLACE): Likewise.
16646 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16647 (MAP_FIXED_NOREPLACE): Likewise.
16648 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16649 (MAP_FIXED_NOREPLACE): Likewise.
16650 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16651 (MAP_FIXED_NOREPLACE): Likewise.
16652 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16653 (MAP_FIXED_NOREPLACE): Likewise.
16654
0e0577c9
JM
16655 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16656 version to 4.17.
16657
ab3a0da0
JM
166582018-06-04 Joseph Myers <joseph@codesourcery.com>
16659
16660 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16661 version to 4.17
16662
d2d9dfb6
ST
166632018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16664
16665 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16666 int.
16667 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16668
a650b05e
LS
166692018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16670
16671 * benchtests/scripts/compare_string.py: (process_results) Catch
16672 exception in non-existent base_func and catch exception in
16673 non-existent attribute.
16674 (parse_file) Catch exception if input file does not exist.
16675
195abbf4
LS
166762018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16677
16678 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16679 options to avoid diff calculation and omit header, respectively.
16680 (main): process --no-diff and --no-header
16681
14570163
LS
166822018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16683 H.J. Lu <hongjiu.lu@intel.com>
16684
16685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16686 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16687 wcsncmp-sse2.
16688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16689 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16690 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16691 and __wcsncmp_sse2.
16692 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16693 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16694 AVX unaligned load is fast and vzeroupper is preferred.
16695 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16696 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16697 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16698 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16699 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16700 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16701 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16702 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16703 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16704 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16705 is undefined.
16706
e02c026f
FW
167072018-06-01 Florian Weimer <fweimer@redhat.com>
16708
16709 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16710 configuring with --disable-multi-arch, building with
16711 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16712 Haswell-era CPU.
16713
d8c19275
FW
167142018-06-01 Florian Weimer <fweimer@redhat.com>
16715
16716 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16717 results from building with “-march=x86-64 -mtune=generic
16718 -mfpmath=sse” and running on a Haswell-era CPU.
16719
0d2163eb
JM
167202018-06-01 Joseph Myers <joseph@codesourcery.com>
16721
16722 [BZ #18473]
16723 * soft-fp/sqrttf2.c: Remove file.
16724 * soft-fp/sqrtdf2.c: Move to ....
16725 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16726 <shlib-compat.h>.
16727 (__sqrtdf2): Make conditional on
16728 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16729 symbol.
16730 * soft-fp/sqrtsf2.c: Move to ....
16731 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16732 <shlib-compat.h>.
16733 (__sqrtsf2): Make conditional on
16734 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16735 symbol.
16736 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16737 (gcc-double-routines): Remove sqrtdf2.
16738 (gcc-quad-routines): Remove sqrttf2.
16739 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16740 Do not filter out sqrtsf2 and sqrtdf2.
16741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16742 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16743
10450210
FW
167442018-06-01 Florian Weimer <fweimer@redhat.com>
16745
16746 * sysdeps/generic/libcidn.abilist: Remove file.
16747
4e8a6346
FW
167482018-06-01 Florian Weimer <fweimer@redhat.com>
16749
16750 [BZ #23236]
16751 * libio/strfile.h (struct _IO_str_fields): Rename members to
16752 discourage their use and add comment.
16753 (_IO_STR_DYNAMIC): Remove unused macro.
16754 * libio/strops.c (_IO_str_init_static_internal): Do not use
16755 callback pointers. Call malloc and free.
16756 (_IO_str_overflow): Do not use callback pointers. Call malloc
16757 and free.
16758 (enlarge_userbuf): Likewise.
16759 (_IO_str_finish): Call free.
16760 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16761 _allocate_buffer_unused.
16762 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16763 and free.
16764 (enlarge_userbuf): Likewise.
16765 (_IO_wstr_finish): Call free.
16766 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16767 _allocate_buffer_unused, _free_buffer_unused.
16768 * libio/memstream.c (__open_memstream): Likewise.
16769 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16770 * libio/wmemstream.c (open_wmemstream): Likewise.
16771
50d004c9
PP
167722018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16773
16774 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16775 AMD Ryzen 7 1800X.
16776
2c93fce7
RS
167772018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16778
16779 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16780 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16781 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16782 New file.
16783 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16784 Likewise.
16785 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16786
0ce2fa69
FW
167872018-05-29 Florian Weimer <fweimer@redhat.com>
16788
16789 * support/Makefile (libsupport-routines): Add
16790 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16791 xpthread_barrierattr_setpshared.
16792 * support/xpthread_barrierattr_destroy.c: New file.
16793 * support/xpthread_barrierattr_init.c: Likewise.
16794 * support/xpthread_barrierattr_setpshared.c: Likewise.
16795
7f7b5d8d
L
167962018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16797
16798 [BZ #23206]
16799 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16800 _r_debug and update DT_DEBUG for debugger.
16801
e4890300
FW
168022018-05-29 Florian Weimer <fweimer@redhat.com>
16803
16804 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16805 (tst-strtod5i.out): Likewise.
16806
2c753f3e
JM
168072018-05-25 Joseph Myers <joseph@codesourcery.com>
16808
b5453d9f
JM
16809 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16810 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16811 (sparc64-quad-routines): New variable. Moved from ....
16812 [$(subdir) = soft-fp] (sysdep_routines): Add
16813 $(sparc64-quad-routines). Moved from ....
16814 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16815 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16816 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16817 moved from ....
16818 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16819 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16820 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16821 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16822 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16823 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16824 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16825 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16826 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16827 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16828 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16829 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16830 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16831 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16832 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16833 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16834 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16835 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16836 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16837 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16838 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16839 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16840 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16841 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16842 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16843 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16844 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16845 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16846 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16847 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16848 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16849 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16850 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16851 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16852 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16853 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16854 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16855 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16856 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16857 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16858 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16859 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16860 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16861 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16862 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16863 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16864 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16865 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16866 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16867 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16868 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16869 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16870 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16871 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16872 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16873 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16875 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16876
2c753f3e
JM
16877 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16878 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16879 (sparc32-quad-routines): New variable. Moved from ....
16880 [$(subdir) = soft-fp] (sysdep_routines): Add
16881 $(sparc32-quad-routines). Moved from ....
16882 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16883 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16884 moved from ....
16885 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16886 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16887 * sysdeps/sparc/sparc32/q_add.c: ... here.
16888 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16889 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16890 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16891 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16892 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16893 * sysdeps/sparc/sparc32/q_div.c: ... here.
16894 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16895 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16896 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16897 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16898 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16899 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16900 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16901 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16902 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16903 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16904 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16905 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16906 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16907 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16908 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16909 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16910 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16911 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16912 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16913 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16914 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16915 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16916 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16917 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16918 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16919 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16920 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16921 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16922 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16923 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16924 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16925 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16926 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16927 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16928 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16929 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16930 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16931 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16932 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16933 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16934 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16935 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16936 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16937 * sysdeps/sparc/sparc32/q_util.c: ... here.
16938 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16939 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16940 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16941 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16942
c1dc1e1b
TMQMF
169432018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16944 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16945
16946 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16947 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16948 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16949 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16950
14186e8d
JM
169512018-05-24 Joseph Myers <joseph@codesourcery.com>
16952
16953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16954 powerpc/soft-fp.
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16956 Likewise.
16957 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16958 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16959
fb0e10b8
GG
169602018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16961
16962 [BZ #23171]
16963 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16964 double version.
16965
1dfeb17e
JM
169662018-05-23 Joseph Myers <joseph@codesourcery.com>
16967
16968 * sysdeps/sh/Implies: Remove sh/soft-fp.
16969 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16970 * sysdeps/sh/sfp-machine.h: ... here.
16971
727b38df
L
169722018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16975 (__mempcpy_erms): Skip zero length.
16976 (__memmove_erms): Likewise.
16977 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16978 (__memset_erms): Likewise.
16979
2834fb46
JM
169802018-05-23 Joseph Myers <joseph@codesourcery.com>
16981
16982 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16983 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16984 Add functions moved from ....
16985 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16986 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16987 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16988 from ....
16989 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16990 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16991 * sysdeps/alpha/e_sqrtl.c: ... here.
16992 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16993 * sysdeps/alpha/local-soft-fp.h: ... here.
16994 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16995 * sysdeps/alpha/ots_add.c: ... here.
16996 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16997 * sysdeps/alpha/ots_cmp.c: ... here.
16998 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16999 * sysdeps/alpha/ots_cmpe.c: ... here.
17000 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17001 * sysdeps/alpha/ots_cvtqux.c: ... here.
17002 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17003 * sysdeps/alpha/ots_cvtqx.c: ... here.
17004 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17005 * sysdeps/alpha/ots_cvttx.c: ... here.
17006 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17007 * sysdeps/alpha/ots_cvtxq.c: ... here.
17008 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17009 * sysdeps/alpha/ots_cvtxt.c: ... here.
17010 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17011 * sysdeps/alpha/ots_div.c: ... here.
17012 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17013 * sysdeps/alpha/ots_mul.c: ... here.
17014 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17015 * sysdeps/alpha/ots_nintxq.c: ... here.
17016 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17017 * sysdeps/alpha/ots_sub.c: ... here.
17018 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17019 * sysdeps/alpha/sfp-machine.h: ... here.
17020
7f9f1ecb
FW
170212018-05-23 Florian Weimer <fweimer@redhat.com>
17022
17023 [BZ #19728]
17024 [BZ #19729]
17025 [BZ #22247]
17026 CVE-2016-6261
17027 CVE-2016-6263
17028 CVE-2017-14062
17029 Switch to extern IDNA implementation (libidn2).
17030 * libidn: Remove subdirectory.
17031 * LICENSES: Do not mention licensing conditions for the removed
17032 libidn code.
17033 * config.h.in (HAVE_LIBIDN): Remove.
17034 * include/dlfcn.h (__libc_dlopen): Update comment.
17035 * include/idna.h: Remove file.
17036 * inet/Makefile (routines): Add idna.
17037 (tests-static, tests-internal): Add tst-idna_name_classify.
17038 (LOCALES): Generate locales for tests.
17039 (tst-idna_name_classify.out): Depend on generated locales.
17040 * inet/idna_name_classify.c: New file.
17041 * inet/tst-idna_name_classify.c: Likewise.
17042 * inet/net-internal.h (__idna_to_dns_encoding)
17043 (__idna_from_dns_encoding): Declare.
17044 * inet/net-internal.h (enum idna_name_classification): Define.
17045 (__idna_name_classify): Declare.
17046 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17047 __idna_from_dns_encoding.
17048 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17049 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17050 name as a fallback in case of encoding errors.
17051 (getnameinfo): Use DEPRECATED_NI_IDN.
17052 * inet/idna.c: New file.
17053 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17054 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17055 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17056 (modules-names): Add tst-no-libidn2.
17057 (extra-test-objs): Add tst-no-libidn2.os.
17058 (LDFLAGS-tst-no-libidn2.so): Set soname.
17059 (LOCALES): Set, and generate locales.
17060 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17061 (tst-resolv-ai_idn-latin1): Likewise.
17062 (tst-resolv-ai_idn-nolibidn2): Likewise.
17063 (tst-resolv-ai_idn.out): Depend on locales.
17064 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17065 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17066 tst-no-libidn2.so.
17067 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17068 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17069 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17070 * resolv/tst-resolv-ai_idn.c: New file.
17071 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17072 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17073 * resolv/tst-no-libidn2.c: Likewise.
17074 * support/support_format_addrinfo.c (format_ai_flags): Do not
17075 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17076 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17077 (gaih_inet): Call __idna_to_dns_encoding and
17078 __idna_from_dns_encoding, and use the original (punycode) name if
17079 __idna_from_dns_encoding fails due to an encoding error.
17080 (getaddrinfo): Use DEPRECATED_AI_IDN.
17081 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17082 * sysdeps/unix/inet/configure: Remove file.
17083 * sysdeps/unix/inet/configure.ac: Likewise.
17084
5f7b841d
FW
170852018-05-23 Florian Weimer <fweimer@redhat.com>
17086
17087 Implement allocate_once.
17088 * include/allocate_once.h: New file.
17089 * misc/allocate_once.c: Likewise.
17090 * misc/tst-allocate_once.c: Likewise.
17091 * misc/Makefile (routines): Add allocate_once.
17092 (tests-internal): Add tst-allocate_once.
17093 (generated): Add tst-allocate_once.mtrace,
17094 tst-allocate_once-mem.out.
17095 (tests-special): Add tst-allocate_once-mem.out.
17096 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17097 (tst-allocate_once-mem.out): Call mtrace.
17098 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17099
ed983107
L
171002018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17101
17102 [BZ #23196]
17103 * string/test-memcpy.c (do_test1): New function.
17104 (test_main): Call it.
17105
9aaaab7c
AS
171062018-05-23 Andreas Schwab <schwab@suse.de>
17107
17108 [BZ #23196]
17109 CVE-2018-11237
17110 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17111 (L(preloop_large)): Save initial destination pointer in %r11 and
17112 use it instead of %rax after the loop.
17113 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17114
5c5c0dd7
JM
171152018-05-22 Joseph Myers <joseph@codesourcery.com>
17116
8f145c77
JM
17117 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17118 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17119 -I../soft-fp. Moved from ....
17120 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17121 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17122 * sysdeps/aarch64/e_sqrtl.c: ... here.
17123 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17124 * sysdeps/aarch64/sfp-machine.h: ... here.
17125
3d6302a5
JM
17126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17127 -Wmaybe-uninitialized around access to fq[0].
17128 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17129 Likewise.
17130
5c5c0dd7
JM
17131 [BZ #18471]
17132 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17133 aliases for non-libc case of versioned symbols.
17134 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17135 (llseek): Define as compat symbol if
17136 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17137 with link warning.
17138 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17139 Make into a compat symbol, disabled for minimum symbol version
17140 GLIBC_2.28 and later.
17141 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17142
ed0d6988
FW
171432018-05-22 Florian Weimer <fweimer@redhat.com>
17144
17145 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17146 not add -mpreferred-stack-boundary=4.
17147 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17148 (stack-align-test-flags): Likewise.
17149 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17150 Likewise.
17151 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17152 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17153 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17154 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17155 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17156 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17157 (CFLAGS-tst-align2.c): Likewise.
17158
e28e9b1e
L
171592018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17162 (index_arch_Prefer_FSRM): Likewise.
17163 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17164 Also check Prefer_FSRM.
17165 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17166 Also return OPTIMIZE (erms) for Prefer_FSRM.
17167
1af30adc
L
171682018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17169
17170 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17171 (index_cpu_FSRM): Likewise.
17172 (reg_FSRM): Likewise.
17173
78274dc8
JM
171742018-05-18 Joseph Myers <joseph@codesourcery.com>
17175
7c67e6e8
JM
17176 * math/gen-tgmath-tests.py: Import sys.
17177 (Tests.__init__): Initialize macros_seen.
17178 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17179 if requested to do so for this macro.
17180 (Tests.add_all_tests): Take argument for macro for which to
17181 generate tests.
17182 (Tests.check_macro_list): New function.
17183 (main): Handle check-list argument and argument specifying macro
17184 for which to generate tests.
17185 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17186 [PYTHON] (tgmath3-macro-tests): Likewise.
17187 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17188 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17189 not test-tgmath3.c.
17190 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17191 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17192 to CFLAGS.
17193 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17194 [PYTHON] ($(foreach
17195 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17196 rule.
17197 [PYTHON] (tests-special): Add
17198 $(objpfx)test-tgmath3-macro-list.out.
17199 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17200
ebc129fd
JM
17201 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17202 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17203 later.
17204
78274dc8
JM
17205 [BZ #22639]
17206 * time/tzset.c (SECSPERDAY): Cast to time_t.
17207 * time/tst-y2039.c: New file.
17208 * time/Makefile (tests): Add tst-y2039.
17209
6f7fdeeb
LS
172102018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17211
17212 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17213 (PREFETCH_ONE_SET): Remove duplicate line.
17214
e363a91c
FW
172152018-05-17 Florian Weimer <fweimer@redhat.com>
17216
17217 * sysdeps/generic/math-type-macros-double.h: Include
17218 <math-nan-payload-double.h> after <libm-alias-double.h>.
17219 * sysdeps/generic/math-type-macros-float.h: Include
17220 <math-nan-payload-float.h> after <libm-alias-float.h>.
17221 * sysdeps/generic/math-type-macros-float128.h: Include
17222 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17223 * sysdeps/generic/math-type-macros-ldouble.h: Include
17224 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17225
dae6c43c
AS
172262018-05-17 Andreas Schwab <schwab@suse.de>
17227
17228 * resolv/res_send.c (__res_context_send): Don't set errno when
17229 returing error after malloc failure.
17230
0068c085
L
172312018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17232
17233 * nptl/allocatestack.c (allocate_stack): Remove the
17234 !__ASSUME_PRIVATE_FUTEX paths.
17235 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17236 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17237 Likewise.
17238 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17239 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17240 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17241 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17242 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17243 !__ASSUME_PRIVATE_FUTEX path.
17244 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17245 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17246 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17247 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17248 !__ASSUME_PRIVATE_FUTEX macros.
17249 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17250 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17252 * sysdeps/unix/sysv/linux/kernel-features.h
17253 (__ASSUME_PRIVATE_FUTEX): Removed.
17254
632a6cbe
JM
172552018-05-17 Joseph Myers <joseph@codesourcery.com>
17256
17257 * math/Makefile (libm-narrow-fns): Add div.
17258 (libm-test-funcs-narrow): Likewise.
17259 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17260 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17261 * math/gen-auto-libm-tests.c (test_functions): Add div.
17262 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17263 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17264 (NARROW_DIV_TRIVIAL): Likewise.
17265 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17266 macro.
17267 (__ddivl): Likewise.
17268 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17269 ddiv.
17270 (CFLAGS-nldbl-ddiv.c): New variable.
17271 (CFLAGS-nldbl-fdiv.c): Likewise.
17272 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17273 __nldbl_ddivl.
17274 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17275 prototype.
17276 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17277 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17278 * math/auto-libm-test-in: Add tests of div.
17279 * math/auto-libm-test-out-narrow-div: New generated file.
17280 * math/libm-test-narrow-div.inc: New file.
17281 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17284 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17285 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17286 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17295 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17296 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17297 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17298 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17300 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17325
8c78faa9
AZ
173262018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17327
17328 [BZ #23178]
17329 * nscd/nscd-client.h (sendfileall): Remove prototype.
17330 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17331 (handle_request): Use writeall instead of sendfileall.
17332 * nscd/aicache.c (addhstaiX): Likewise.
17333 * nscd/grpcache.c (cache_addgr): Likewise.
17334 * nscd/hstcache.c (cache_addhst): Likewise.
17335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17336 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17337 * nscd/pwdcache.c (cache_addpw): Likewise.
17338 * nscd/servicescache.c (cache_addserv): Likewise.
17339 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17340 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17341 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17342 Remove define.
17343
04958880
L
173442018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17347 Include <string/strncat.c>.
17348 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17349 alias.
17350 (__GI___strncat): New hidden alias.
17351
c9992d13
JM
173522018-05-16 Joseph Myers <joseph@codesourcery.com>
17353
17354 * sysdeps/mips/mips32/libm-test-ulps: Update.
17355 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17356
2afece36
FW
173572018-05-16 Florian Weimer <fweimer@redhat.com>
17358
17359 * support/Makefile (libsupport-routines): Add support_quote_blob,
17360 support_test_compare_blob.
17361 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17362 * support/check.h (TEST_COMPARE_BLOB): Define.
17363 (support_test_compare_blob): Declare.
17364 * support/support.h (support_quote_blob): Declare.
17365 * support/support_quote_blob.c: New file.
17366 * support/support_test_compare_blob.c: Likewise.
17367 * support/tst-support_quote_blob.c: Likewise.
17368 * support/tst-test_compare_blob.c: Likewise.
17369
9761bf4d
FW
173702018-05-16 Florian Weimer <fweimer@redhat.com>
17371
17372 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17373 of <strtod_nan_double.h>.
17374 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17375 instead of SET_MANTISSA.
17376 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17377 of include <strtod_nan_float.h>.
17378 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17379 instead of <strtod_nan_ldouble.h>.
17380 * stdlib/strtod_nan_double.h: Move to ...
17381 * sysdeps/generic/math-nan-payload-double.h: ... here.
17382 (FLOAT): Remove definition.
17383 (SET_MANTISSA): Rename to ...
17384 (SET_NAN_PAYLOAD): ... this.
17385 * stdlib/strtod_nan_float.h: Move to ...
17386 * sysdeps/generic/math-nan-payload-float.h: ... here.
17387 (FLOAT): Remove definition.
17388 (SET_MANTISSA): Rename to ...
17389 (SET_NAN_PAYLOAD): ... this.
17390 * sysdeps/generic/math-type-macros-double.h: Include
17391 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17392 instead of <math-svid-compat.h>.
17393 * sysdeps/generic/math-type-macros-float.h: Include
17394 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17395 instead of <math-svid-compat.h>.
17396 * sysdeps/generic/math-type-macros-float128.h: Include
17397 <math-nan-payload-float128.h>.
17398 * sysdeps/generic/math-type-macros-ldouble.h: Include
17399 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17400 instead of <math-svid-compat.h>.
17401 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17402 check for definition.
17403 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17404 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17405 Include <ieee754_float128.h>.
17406 (FLOAT): Remove definition.
17407 (SET_MANTISSA): Rename to ...
17408 (SET_NAN_PAYLOAD): ... this.
17409 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17410 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17411 Do not include <float128_private.h>.
17412 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17414 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17415 (FLOAT): Remove definition.
17416 (SET_MANTISSA): Rename to ...
17417 (SET_NAN_PAYLOAD): ... this.
17418 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17419 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17420 (FLOAT): Remove definition.
17421 (SET_MANTISSA): Rename to ...
17422 (SET_NAN_PAYLOAD): ... this.
17423 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17424 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17425 (FLOAT): Remove definition.
17426 (SET_MANTISSA): Rename to ...
17427 (SET_NAN_PAYLOAD): ... this.
17428 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17429 of "../stdlib/strtod_nan_double.h".
17430 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17431 of "../stdlib/strtod_nan_float.h".
17432 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17433 instead of "../stdlib/strtod_nan_ldouble.h".
17434 * manual/arith.texi (Parsing of Floats): Adjust comment.
17435
69a01461
JM
174362018-05-16 Joseph Myers <joseph@codesourcery.com>
17437
17438 * math/Makefile (libm-narrow-fns): Add mul.
17439 (libm-test-funcs-narrow): Likewise.
17440 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17441 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17442 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17443 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17444 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17445 (NARROW_MUL_TRIVIAL): Likewise.
17446 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17447 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17448 macro.
17449 (__dmull): Likewise.
17450 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17451 dmul.
17452 (CFLAGS-nldbl-dmul.c): New variable.
17453 (CFLAGS-nldbl-fmul.c): Likewise.
17454 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17455 __nldbl_dmull.
17456 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17457 prototype.
17458 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17459 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17460 * math/auto-libm-test-in: Add tests of mul.
17461 * math/auto-libm-test-out-narrow-mul: New generated file.
17462 * math/libm-test-narrow-mul.inc: New file.
17463 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17464 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17465 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17466 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17467 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17468 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17474 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17475 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17476 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17477 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17478 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17479 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17480 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17482 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17499 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17500 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17507
a15529fd
L
175082018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17509
17510 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17511 with *%eax in call.
17512
98ee36c7
L
175132018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17514
17515 * sysdeps/i386/ldsodefs.h: Removed.
17516 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17517 * sysdeps/x86/ldsodefs.h: This.
17518 (La_i86_regs): New.
17519 (La_i86_retval): Likewise.
17520 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17521 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17522
e322ec32
L
175232018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17526 unnecessary testl.
17527
0937e209
AM
175282018-05-13 Alan Modra <amodra@gmail.com>
17529
17530 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17531 R_PARISC_TLS_DTPOFF32 reloc addend.
17532
5db7d705
TMQMF
175332018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17534
17535 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17536 * math/math.h: Restrict the prototype definition for the functions
17537 issignaling(_Float128) and iszero(_Float128); and template
17538 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17539 __HAVE_FLOAT128_UNLIKE_LDBL.
17540 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17541 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17542 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17543 __f128() constants; define the type _Float128 as long double;
17544 and reuse long double in __CFLOAT128.
17545
b4d5b8b0
JM
175462018-05-11 Joseph Myers <joseph@codesourcery.com>
17547
17548 * sysdeps/generic/math_private.h: Do not include
17549 <math-barriers.h>.
17550 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17551 <math_private.h>.
17552 * math/fromfp.h: Include <math-barriers.h>.
17553 * math/math-narrow.h: Likewise.
17554 * math/s_nextafter.c: Likewise.
17555 * math/s_nexttowardf.c: Likewise.
17556 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17557 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17558 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17559 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17560 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17561 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17562 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17569 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17570 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17571 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17576 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17577 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17578 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17579 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17580 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17581 * sysdeps/ieee754/k_standardl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17592 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17593 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17594 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17595 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17597 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17598 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17600 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17601 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17602 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17603 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17604
fc79706a
FW
176052018-05-11 Florian Weimer <fweimer@redhat.com>
17606
17607 Use 64-bit epoch values in the time zone file parser.
17608 * include/time.h (internal_time_t): Define.
17609 (__tzfile_compute): Use it.
17610 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17611 member.
17612 (transitions): Switch to internal_time_t.
17613 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17614 types.
17615 (__tzfile_compute): Use internal_time_t for timer argument. Check
17616 for truncation before calling __offtime.
17617
89aacb51
FW
176182018-05-11 Florian Weimer <fweimer@redhat.com>
17619
17620 [BZ #23166]
17621 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17622 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17623 Likewise.
17624 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17625 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17626 export without --enable-obsolete-rpc.
17627 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17628 symbol. This should not have been exported, ever.
17629
ab74d59f 176302018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
bb066cb8
RL
17631
17632 [BZ #23152]
17633 * localedata/locales/gd_GB (abmon): Fix typo in May:
17634 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17635
70c97f84
SP
176362018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17637
db725a45
SP
17638 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17639 Use multiple registers to copy data in loop tail.
17640
70c97f84
SP
17641 * sysdeps/aarch64/multiarch/memmove_falkor.S
17642 (__memmove_falkor): Use multiple registers to move data in
17643 loop tail.
17644
8f5b00d3
JM
176452018-05-10 Joseph Myers <joseph@codesourcery.com>
17646
17647 * math/math-underflow.h: New file.
17648 * sysdeps/generic/math_private.h: Do not include <float.h>.
17649 (fabs_tg): Remove macro. Moved to math-underflow.h.
17650 (min_of_type_f): Likewise.
17651 (min_of_type_): Likewise.
17652 (min_of_type_l): Likewise.
17653 (min_of_type_f128): Likewise.
17654 (min_of_type): Likewise.
17655 (math_check_force_underflow): Likewise.
17656 (math_check_force_underflow_nonneg): Likewise.
17657 (math_check_force_underflow_complex): Likewise.
17658 * math/e_exp2_template.c: Include <math-underflow.h>.
17659 * math/k_casinh_template.c: Likewise.
17660 * math/s_catan_template.c: Likewise.
17661 * math/s_catanh_template.c: Likewise.
17662 * math/s_ccosh_template.c: Likewise.
17663 * math/s_cexp_template.c: Likewise.
17664 * math/s_clog10_template.c: Likewise.
17665 * math/s_clog_template.c: Likewise.
17666 * math/s_csin_template.c: Likewise.
17667 * math/s_csinh_template.c: Likewise.
17668 * math/s_csqrt_template.c: Likewise.
17669 * math/s_ctan_template.c: Likewise.
17670 * math/s_ctanh_template.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17690 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17691 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17697 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17700 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17701 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17702 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17739 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17741 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17743 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17748 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17749 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17751 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17755
9ed2e15f
JM
177562018-05-09 Joseph Myers <joseph@codesourcery.com>
17757
17758 * sysdeps/generic/math-barriers.h: New file.
17759 * sysdeps/generic/math_private.h [!math_opt_barrier]
17760 (math_opt_barrier): Move to math-barriers.h.
17761 [!math_opt_barrier] (math_force_eval): Likewise.
17762 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17763 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17764 math-barriers.h.
17765 (math_force_eval): Likewise.
17766 * sysdeps/alpha/fpu/math-barriers.h: New file.
17767 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17768 math-barriers.h.
17769 (math_force_eval): Likewise.
17770 * sysdeps/x86/fpu/math-barriers.h: New file.
17771 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17772 math-barriers.h.
17773 (math_force_eval): Likewise.
17774 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17775 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17776 multiple-include guard for rename.
17777 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17778 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17779 math-barriers.h.
17780 (math_force_eval): Likewise.
17781
5460617d
PP
177822018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17783
17784 [BZ #22786]
43d4f3d5 17785 CVE-2018-11236
5460617d
PP
17786 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17787 computation.
17788 * stdlib/Makefile (test-bz22786): New test.
17789 * stdlib/test-bz22786.c: New test.
17790
aaee3cd8
JM
177912018-05-09 Joseph Myers <joseph@codesourcery.com>
17792
17793 * include/math-narrow-eval.h: New file. Contents moved from ....
17794 * sysdeps/generic/math_private.h: ... here.
17795 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17796 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17797 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17798 * stdlib/strtod_l.c: Likewise.
17799 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17800 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17801 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17802 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17814 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17815 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17816 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17817 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17818 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17821 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17822 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17823 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17824 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17825 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17826 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17827 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17828
0555c477
AS
178292018-05-08 Andreas Schwab <schwab@suse.de>
17830
17831 * sysdeps/nptl/internaltypes.h: Fix comment.
17832
50d7d351
L
178332018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17834
17835 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17836 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17837 hidden.
17838
543477f7
SP
178392018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17840
17841 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17842 of I into loop header.
17843 * benchtests/bench-memmove-walk.c
17844 (test_main): Likewise.
17845
178462018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
17847
17848 Revert:
17849 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17850 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17851
0065aaaa
PP
178522018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17853
17854 [BZ #20419]
17855 * elf/dl-load.c (open_verify): Fix stack overflow.
17856 * elf/Makefile (tst-big-note): New test.
17857 * elf/tst-big-note-lib.S: New.
17858 * elf/tst-big-note.c: New.
17859
b289cd9d
JM
178602018-05-04 Joseph Myers <joseph@codesourcery.com>
17861
17862 * scripts/abilist.awk: Ignore absolute symbols.
17863 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17864 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17865 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17866 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17867 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17868 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17869 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17870 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17871 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17872 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17873 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17874 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17955 Likewise.
17956 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17969 Likewise.
17970 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17997 Likewise.
17998 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18018 Likewise.
18019 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18051 Likewise.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18057 Likewise.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18059 Likewise.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18062 Likewise.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18065 Likewise.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18067 Likewise.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18073 Likewise.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18087 Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18090 Likewise.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18094 Likewise.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18096 Likewise.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18100 Likewise.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18102 Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18104 Likewise.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18108 Likewise.
18109 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18123 Likewise.
18124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18136 Likewise.
18137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18162 Likewise.
18163 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18176 Likewise.
18177 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18215
16609018
SL
182162018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18217
18218 [BZ #23137]
18219 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18220 Use atomic_load_acquire to load __tid.
18221
556f5c46
L
182222018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18223
18224 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18225 Restore the pointer into %rdx, after syscall and use %rdx,
18226 instead of %rsi, to restore context.
18227
8b8f32b2
L
182282018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18229
18230 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18231 Pop the pointer into %rdx after syscall and use %rdx, instead
18232 of %rsi, to restore context.
18233
d6cc1829
L
182342018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18235
18236 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18237 handlers after setjmp.
18238 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18239 defined.
18240 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18241 <libc-pointer-arith.h>.
18242 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18243 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18244 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18245 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18246 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18247 * sysdeps/x86/__longjmp_cancel.S: New file.
18248 * sysdeps/x86/longjmp.c: Likewise.
18249 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18250
cf2478d5
AZ
182512018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18252
18253 * NEWS: Add ustat.h deprecation entry.
18254 * bits/ustat.h: Remove file.
18255 * misc/sys/ustat.h: Likewise.
18256 * misc/ustat.h: Likewise.
18257 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18258 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18259 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18260 compatibility mode.
18261 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18262 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18263 generic Linux implementation.
18264
dc115e1c
TMQMF
182652018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18266
18267 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18268 * math/w_expl_compat.c: Likewise.
18269 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18270
6b5c8607 182712018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
18272
18273 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18274
c57bf7c1
AZ
182752018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18276
18277 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18278 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18279 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18280 Remove.
18281 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18284 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18285 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18286 and SYSCALL_LL64.
18287
06135c33
TMQMF
182882018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18289
33927914
TMQMF
18290 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18291
06135c33
TMQMF
18292 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18293 * math/w_asin_template.c: Likewise.
18294 * math/w_atanh_template.c: Likewise.
18295
3a33b069
GG
182962018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18297
18298 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18299 to powerpc/powerpc64/be for big-endian.
18300 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18301 little-endian.
18302
18303 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18304 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18306 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18307 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18309 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18310 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18311 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18312 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18313 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18314 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18315 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18316 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18317 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18318 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18319 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18320 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18321 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18322 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18323 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18324 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18325 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18326 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18327 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18328 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18329 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18330 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18331 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18332 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18333 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18334 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18335
18336 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18337 adjusted to imply powerpc64 and older processors on powerpc64/be.
18338 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18339 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18340 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18341 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18342 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18343 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18344 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18345 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18346 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18347 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18348 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18349 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18350 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18352 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18354 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18357 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18358 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18359 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18360 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18361 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18366 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18369
18370 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18371 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18372 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18373 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18374
18375 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18376 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18377 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18379
18380 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18381 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18382 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18383 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18384 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18385 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18387 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18389 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18391
18392 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18393 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18394 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18395 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18396 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18397 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18398 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18399 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18400 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18401 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18403
18404 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18405 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18407 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18408 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18409 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18410 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18411 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18412 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18413 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18414 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18415 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18416
18417 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18418 and adjusted to imply olders processors.
18419 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18420 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18421 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18422 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18423 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18424 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18425 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18426 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18427 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18428 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18429 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18430
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18432 powerpc64/le.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18435
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18437 powerpc64le.
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18440
18441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18442 powerpc64/be.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18446
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18448 powerpc64 and adjusted.
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18452 Likewise.
18453
a3fb6b6b
JM
184542018-04-27 Joseph Myers <joseph@codesourcery.com>
18455
18456 * sysdeps/tile: Remove.
18457 * sysdeps/unix/sysv/linux/tile: Likewise.
18458 * README (tilegx-*-linux-gnu): Remove from list of supported
18459 configurations.
18460 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18461 contribution of support for generic Linux kernel syscall
18462 interface.
18463 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18464 tilegx configurations.
18465 (Config.install_linux_headers): Do not handle tile.
18466 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18467 in comment.
18468 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18469 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18470 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18471 conditional undefine and redefine.
18472 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18473 in comment.
18474 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18475 conditional undefine and redefine.
18476
7a6f7478
AJ
184772018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18478
18479 * signal/tst-sigaction.c: New file to test BZ #23069.
18480 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18481
81b49e96
TMQMF
184822018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18483
18484 [BZ #22766]
18485 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18486 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18487 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18488 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18489
7d80f48e
AZ
184902018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18491
18492 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18493 _DIRENT_MATCHES_DIRENT64 is not defined.
18494 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18495 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18496 is defined.
18497 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18498 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18499
42a2bf58
JM
185002018-04-25 Joseph Myers <joseph@codesourcery.com>
18501
18502 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18503 version to GCC 8 branch.
18504
9320ca88
JM
185052018-04-24 Joseph Myers <joseph@codesourcery.com>
18506
5e14bb97
JM
18507 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18508 (check_no_hidden): Use type of original function when declaring
18509 alias.
18510
9320ca88
JM
18511 * sysdeps/unix/sysv/linux/sys/ptrace.h
18512 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18513 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18514 (struct __ptrace_seccomp_metadata): New type.
18515 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18516 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18517 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18518 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18519 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18520 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18522 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18524 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18526 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18527 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18528 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18529 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18530 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18531
af7e376b
AZ
185322018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18533
18534 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18535 defined.
18536 * dirent/versionsort.c (versionsort): Likewise.
18537 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18538 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18539 * dirent/versionsort64.c (versionsort64): Likewise.
18540 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18541 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18542 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18543 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18544 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18545 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18546 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18547 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18548 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18549 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18552 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18554
da5e0361
JM
185552018-04-23 Joseph Myers <joseph@codesourcery.com>
18556
18557 * elf/elf.h (NT_PPC_PKEY): New macro.
18558
6b5c8607 185592018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
18560
18561 [BZ #23094]
18562 * localedata/locales/hr_HR: fix thousands_sep and
18563 mon_thousands_sep
18564
573963e3
JM
185652018-04-20 Joseph Myers <joseph@codesourcery.com>
18566
18567 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18568 (XTABS): Define to TAB3.
18569
c0123b3b
AZ
185702018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18571
0900a849
AZ
18572 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18573
c0123b3b
AZ
18574 * dirent/scandir-tail-common.c: New file.
18575 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18576 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18577 * dirent/scandir.c: Use scandir-tail-common.c.
18578 * dirent/scandirat.c: Likewise.
18579 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18580 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18581 if _DIRENT_MATCHES_DIRENT64 is defined.
18582 * dirent/scandirat64.c (scandirat64): Likewise.
18583 * include/dirent.h (__scandir_tail): Only define iff
18584 _DIRENT_MATCHES_DIRENT64 is not defined.
18585 (__scandir64_tail): Define regardless.
18586 (__scandirat, scandirat64): Remove libc_hidden_proto.
18587 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18588 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18593 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18594
458b94f6
JM
185952018-04-20 Joseph Myers <joseph@codesourcery.com>
18596
18597 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18598 New macro.
18599 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18600 Increase to 24.
18601 (_dl_aarch64_cap_flags): Add asimdfhm.
18602
9f0437e8
CLT
186032018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18604
18605 * sysdeps/nios2/libm-test-ulps: Update.
18606
298d0e31
AZ
186072018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18608
50511ca4
AZ
18609 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18610 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18611
298d0e31
AZ
18612 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18613 requirements.
6b5c8607 18614 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
18615 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18616 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18617 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18618 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18619 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18620 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18621 use getdents64 syscalls as base.
18622 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18623 symbol if required.
18624 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18625 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18626 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18628 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18629 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18630 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18631 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18633 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18634 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18635
0085be14
SL
186362018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18637
18638 * scripts/test_printers_common.py (init_test): Disable lock elision.
18639
da796524
SL
186402018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18641
18642 * math/test-tgmath.c (count_double, count_float,
18643 count_ldouble, count_cdouble, count_cfloat,
18644 count_cldouble): Use volatile int.
18645
0dd25301
ST
186462018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18647
18648 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18649 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 18650 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
18651 i386-gnu.
18652 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18653 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18654 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18655 msqid_ds.msg_lrpid): Likewise.
18656 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18657 Likewise.
18658 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18659 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
18660 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18661 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18662 unsigned int.
18663 (struct statvfs64): Likewise.
f55a4fde
ST
18664 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18665 Likewise.
77b93390
ST
18666 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18667 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18668 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18669 instead of wait_queue.
18670 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18671 instead of vm_area_struct.
5cd2931a
ST
18672 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18673 struct sched_param definition to it.
e60c3f2b
ST
18674 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18675 * bits/types/struct_sched_param.h: New file.
18676 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18677 <bits/types/struct_sched_param.h> instead of <sched.h>.
18678 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
18679 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18680 generic version but include <bits/pthreadtypes.h> to make struct
18681 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
18682 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18683 non-compliant.
a564872d
ST
18684 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18685 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18686 [__USE_XOPEN] (OFDEL): New macro.
18687 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 18688 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
18689 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18690 prototypes.
18691 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18692 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
18693 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18694 non-compliant.
18695 * sysdeps/i386/sys/ucontext.h: Likewise.
18696 * sysdeps/m68k/sys/ucontext.h: Likewise.
18697 * sysdeps/mips/sys/ucontext.h: Likewise.
18698 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
18699 * sysdeps/mach/hurd/i386/Makefile
18700 (test-xfail-POSIX/fcntl.h/conform): Add.
18701 (test-xfail-POSIX/signal.h/conform): Add.
18702 (test-xfail-POSIX/semaphore.h/conform): Add.
18703 (test-xfail-POSIX/regex.h/conform): Add.
18704 (test-xfail-POSIX/aio.h/conform): Add.
18705 (test-xfail-POSIX/mqueue.h/conform): Add.
18706 (test-xfail-POSIX/sys/types.h/conform): Add.
18707 (test-xfail-UNIX98/fcntl.h/conform): Add.
18708 (test-xfail-UNIX98/netdb.h/conform): Add.
18709 (test-xfail-UNIX98/signal.h/conform): Add.
18710 (test-xfail-UNIX98/semaphore.h/conform): Add.
18711 (test-xfail-UNIX98/regex.h/conform): Add.
18712 (test-xfail-UNIX98/aio.h/conform): Add.
18713 (test-xfail-UNIX98/ftw.h/conform): Add.
18714 (test-xfail-UNIX98/mqueue.h/conform): Add.
18715 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18716 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18717 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18718 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18719 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18720 (test-xfail-UNIX98/sys/types.h/conform): Add.
18721 (test-xfail-UNIX98/stdlib.h/conform): Add.
18722 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18723 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18724 (test-xfail-POSIX2008/netdb.h/conform): Add.
18725 (test-xfail-POSIX2008/signal.h/conform): Add.
18726 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18727 (test-xfail-POSIX2008/regex.h/conform): Add.
18728 (test-xfail-POSIX2008/aio.h/conform): Add.
18729 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18730 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18731 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18732 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18733 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18734 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18735 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18736 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18737 (test-xfail-XOPEN2K/signal.h/conform): Add.
18738 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18739 (test-xfail-XOPEN2K/regex.h/conform): Add.
18740 (test-xfail-XOPEN2K/aio.h/conform): Add.
18741 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18742 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18743 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18744 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18745 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18746 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18747 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18748 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18749 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18750 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18751 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18752 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18753 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18754 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18755 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18756 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18757 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18758 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18759 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18760 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18761 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18762 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18763 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18764 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18765 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18766 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
18767 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18768 i386-gnu.
18769 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18770 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 18771
d6397de3
JM
187722018-04-18 Joseph Myers <joseph@codesourcery.com>
18773
18774 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18775 --enable-obsolete for powerpc-linux-gnuspe.
18776
8323a902
ST
187772018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18778
3dc0814c 18779 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 18780 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 18781 prototypes.
c5896a45
ST
18782 * sysdeps/mach/include/mach.h: Likewise.
18783 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18784 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 18785
743b9c2a
AZ
187862018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18787
18788 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18789 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18790 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18791 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18792
326e74e7
AS
187932018-04-16 Andreas Schwab <schwab@suse.de>
18794
18795 [BZ #19527]
18796 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18797
6b5c8607 187982018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
18799
18800 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18801 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18802
a700e7cb
DD
188032018-04-12 DJ Delorie <dj@redhat.com>
18804
18805 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18806 version to 4.16.
18807
d8abfab7
SL
188082018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18809
18810 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18811 (struct kernel_sigaction): Use the same definition on 31bit as is used
18812 on 64bit.
18813
583a27d5
FW
188142018-04-09 Florian Weimer <fweimer@redhat.com>
18815
18816 [BZ #23037]
18817 * resolv/res_send.c (send_dg): Use designated initializers instead
18818 of assignment to zero-initialize other fields of struct mmsghdr.
18819
243f59e5
AZ
188202018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18821
942de61a
AZ
18822 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18823 __READDIR_ALIAS): Undefine after usage.
18824 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18825 __READDIR_R_ALIAS): Likewise.
18826 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18827 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18828 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18829 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18830 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18831 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18832 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18833 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18834 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18836 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18838 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18839 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18840 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18841 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18842 * sysdeps/unix/sysv/linux/readdir.c: New file.
18843 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18844 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18845 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18846
243f59e5
AZ
18847 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18848
690c3475
AS
188492018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18850
18851 * manual/charset.texi (Converting a Character): Fix typo.
18852
6b5c8607 188532018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 18854
bbc2062a
AZ
18855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18856
fa7c6199
AZ
18857 * sysdeps/arm/libm-test-ulps: Update.
18858
b4a5d26d
AZ
18859 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18860 as base implementation.
18861 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18862 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18864 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18865 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18866 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18867 remove unrequired definitions and update comments.
18868 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18869 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18870 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18871 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18872 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18873 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18874 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18875 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18877 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18878 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18879 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18880 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18881 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18882 and RESET_SA_RESTORER hooks.
18883
db9e55ff
SL
188842018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18885
18886 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18887
cf138b0c
FW
188882018-04-05 Florian Weimer <fweimer@redhat.com>
18889
18890 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18891 integer overflow, memory leak on error, and indeterminate errno
18892 value. Add a null wide character to terminate the result string.
18893 * manual/charset.texi (Converting a Character): Mention embedded
18894 null bytes in the mbrtowc input string. Explain what happens in
18895 the -2 result case. Do not claim that mbrtowc is simple or
18896 obvious to use. Adjust the description of the code example. Use
18897 @code, not @var, for concrete variables.
18898
0f339252
FW
188992018-04-05 Florian Weimer <fweimer@redhat.com>
18900
18901 * manual/examples/mbstouwcs.c: New file.
18902 * manual/charset.texi (Converting a Character): Include it.
18903
e5f9508a
ST
189042018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18905
c120981d
ST
18906 * include/dirent.h (dirfd): Add hidden proto.
18907 * dirent/dirfd.c (dirfd): Add hidden def.
18908 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18909 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 18910
b2fd61ca
TMQMF
189112018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18912
18913 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18914 sin, cos and sincos to 1 ULP.
18915
10a446dd
MR
189162018-04-04 Maciej W. Rozycki <macro@mips.com>
18917
e7feec37
MR
18918 [BZ #19818]
18919 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18920 symbols.
18921 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18922 * elf/tst-absolute-sym.c: New file.
18923 * elf/tst-absolute-sym-lib.c: New file.
18924 * elf/tst-absolute-sym-lib.lds: New file.
18925 * elf/Makefile (tests): Add `tst-absolute-sym'.
18926 (modules-names): Add `tst-absolute-sym-lib'.
18927 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18928 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18929 ($(objpfx)tst-absolute-sym): New dependency.
18930
10a446dd
MR
18931 [BZ #19818]
18932 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18933 parameter.
18934 (SYMBOL_ADDRESS): New macro.
18935 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18936 SYMBOL_ADDRESS for symbol address calculation.
18937 * elf/dl-runtime.c (_dl_fixup): Likewise.
18938 (_dl_profile_fixup): Likewise.
18939 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18940 * elf/rtld.c (dl_main): Likewise.
18941 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18942 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18943 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18944 (elf_machine_rela): Likewise.
18945 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18946 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18947 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18948 (elf_machine_rela): Likewise.
18949 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18950 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18951 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18952 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18953 Likewise.
18954 (elf_machine_reloc): Likewise.
18955 (elf_machine_got_rel): Likewise.
18956 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18957 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18958 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18959 Likewise.
18960 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18961 Likewise.
18962 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18963 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18964 Likewise.
18965 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18966 Likewise.
18967 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18968 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18969 Likewise.
18970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18971 Likewise.
18972 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18974
9185f86d
ZW
189752018-04-04 Zack Weinberg <zackw@panix.com>
18976
18977 * sysdeps/generic/internal-signals.h: Include signal.h,
18978 sigsetops.h, and stdbool.h.
18979 (__libc_signal_block_all): Actually block all signals.
18980 (__libc_signal_block_app): Likewise.
18981 (__libc_signal_restore_set): Actually restore the signal mask.
18982
b07367bc
FW
189832018-04-04 Florian Weimer <fweimer@redhat.com>
18984
18985 inet: Actually build and run tst-deadline.
18986 * inet/Makefile (tests-internal): Add tst-deadline and do not
18987 overwrite the variable.
18988 (tests-static-internal): Remove variable.
18989
f2652643
L
189902018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18991
18992 [BZ #22947]
18993 * bits/uio-ext.h (RWF_APPEND): New.
18994 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18995 * manual/llio.texi: Document RWF_APPEND.
18996 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18997 (RWF_SUPPORTED): Add RWF_APPEND.
18998
6b5c8607 189992018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
19000
19001 [BZ #22391]
19002 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19003 check for internal nptl signals.
19004 * nptl/sigaction.c (__sigaction): Likewise.
19005 * signal/sigaddset.c (sigaddset): Likewise.
19006 * signal/sigdelset.c (sigdelset): Likewise.
19007 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19008 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19009 value.
19010 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19011 to filter out internal nptl signals.
19012 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19013 also check realtime signals using standard macros.
19014 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19015 __is_internal_signal, __libc_signal_block_all,
19016 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19017 * sysdeps/nptl/sigfillset.c: Remove file.
19018 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19019 Change return to bool.
19020 (__clear_internal_signals): Remove SIGTIMER clean since it is
19021 equal to SIGCANEL on Linux.
19022 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19023 signal set was constructed using standard functions.
19024
511ed56f
ST
190252018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19026
92846492
ST
19027 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19028 ifname is too long.
e8ef51b1
ST
19029 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19030 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
19031 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19032 hidden def.
19033 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
19034 * signal/sigaddset.c: Include <sigsetopts.h>.
19035 * signal/sigdelset.c: Likewise.
511ed56f 19036
e88ecbbf
WD
190372018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19038
19039 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19040 (__cos): Likewise.
19041 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19042 logic as sin and cos.
19043
aef3e255
WD
190442018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19045
19046 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19047 inputs. Return correct sign.
19048 (do_sincos): Remove small input check before do_sin, let do_sin set
19049 the sign.
19050 (__sin): Likewise.
19051 (__cos): Likewise.
19052
72f6e9a3
WD
190532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19054
19055 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19056 (do_cos_slow): Likewise.
19057 (do_sin_slow): Likewise.
19058 (reduce_and_compute): Likewise.
19059 (slow): Likewise.
19060 (slow1): Likewise.
19061 (slow2): Likewise.
19062 (sloww): Likewise.
19063 (sloww1): Likewise.
19064 (sloww2): Likewise.
19065 (bslow): Likewise.
19066 (bslow1): Likewise.
19067 (bslow2): Likewise.
19068 (cslow2): Likewise.
19069
64909583
WD
190702018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19071
19072 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19073 (do_cos): Remove corp parameter and calculations.
19074 (do_sin): Likewise.
19075 (do_sincos): Remove cor variable.
19076 (__sin): Use do_sincos for huge inputs.
19077 (__cos): Likewise.
19078 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19079 (reduce_and_compute_sincos): Remove unused function.
19080
d9469deb
WD
190812018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19082
19083 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19084 reduce_sincos, improve accuracy to 136 bits.
19085 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19086 (__sin): Use improved reduction and simplified do_sincos calculation.
19087 (__cos): Likewise.
19088 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19089
7a5640f2
WD
190902018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19091
19092 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19093 (do_sincos_2): Likewise.
19094 (__sin): Remove middle range reduction case.
19095 (__cos): Likewise.
19096 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19097 reduction case.
19098
19a8b9a3
WD
190992018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19100
19101 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19103 inputs.
19104 (__cos): Likewise.
19105 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19106
f72aa11d
JM
191072018-04-03 Joseph Myers <joseph@codesourcery.com>
19108
19109 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 19110 version to 4.16
f72aa11d 19111
8e4754ed
AZ
191122018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19113
19114 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19115 Remove definitions.
19116 (opendir_oflags): Use O_DIRECTORY regardless.
19117 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19118 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19119
8e2666ea
ST
191202018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19121
19122 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19123 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19124 macros.
19125 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19126 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19127 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19128 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
19129 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19130 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 19131
ad2b41bf
ST
19132 * htl/Makefile: Bump licence to LGPL 2.1+.
19133 * htl/alloca_cutoff.c: Likewise.
19134 * htl/cthreads-compat.c: Likewise.
19135 * htl/lockfile.c: Likewise.
19136 * htl/pt-alloc.c: Likewise.
19137 * htl/pt-cancel.c: Likewise.
19138 * htl/pt-cleanup.c: Likewise.
19139 * htl/pt-create.c: Likewise.
19140 * htl/pt-dealloc.c: Likewise.
19141 * htl/pt-detach.c: Likewise.
19142 * htl/pt-exit.c: Likewise.
19143 * htl/pt-getattr.c: Likewise.
19144 * htl/pt-initialize.c: Likewise.
19145 * htl/pt-internal.h: Likewise.
19146 * htl/pt-join.c: Likewise.
19147 * htl/pt-self.c: Likewise.
19148 * htl/pt-setcancelstate.c: Likewise.
19149 * htl/pt-setcanceltype.c: Likewise.
19150 * htl/pt-sigmask.c: Likewise.
19151 * htl/pt-spin-inlines.c: Likewise.
19152 * htl/pt-testcancel.c: Likewise.
19153 * htl/pt-yield.c: Likewise.
19154 * htl/tests/test-1.c: Likewise.
19155 * htl/tests/test-10.c: Likewise.
19156 * htl/tests/test-11.c: Likewise.
19157 * htl/tests/test-12.c: Likewise.
19158 * htl/tests/test-13.c: Likewise.
19159 * htl/tests/test-14.c: Likewise.
19160 * htl/tests/test-15.c: Likewise.
19161 * htl/tests/test-16.c: Likewise.
19162 * htl/tests/test-17.c: Likewise.
19163 * htl/tests/test-2.c: Likewise.
19164 * htl/tests/test-3.c: Likewise.
19165 * htl/tests/test-4.c: Likewise.
19166 * htl/tests/test-5.c: Likewise.
19167 * htl/tests/test-6.c: Likewise.
19168 * htl/tests/test-7.c: Likewise.
19169 * htl/tests/test-8.c: Likewise.
19170 * htl/tests/test-9.c: Likewise.
19171 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19172 * sysdeps/htl/bits/cancelation.h: Likewise.
19173 * sysdeps/htl/bits/pthread-np.h: Likewise.
19174 * sysdeps/htl/bits/pthread.h: Likewise.
19175 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19176 * sysdeps/htl/bits/semaphore.h: Likewise.
19177 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19178 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19179 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19180 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19181 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19182 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19183 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19184 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19185 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19186 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19187 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19188 * sysdeps/htl/old_pt-atfork.c: Likewise.
19189 * sysdeps/htl/pt-atfork.c: Likewise.
19190 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19191 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19192 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19193 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19194 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19195 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19196 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19197 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19198 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19199 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19200 * sysdeps/htl/pt-attr-init.c: Likewise.
19201 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19202 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19203 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19204 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19205 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19206 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19207 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19208 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19209 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19210 * sysdeps/htl/pt-attr.c: Likewise.
19211 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19212 * sysdeps/htl/pt-barrier-init.c: Likewise.
19213 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19214 * sysdeps/htl/pt-barrier.c: Likewise.
19215 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19216 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19217 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19218 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19219 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19220 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19221 * sysdeps/htl/pt-cond-init.c: Likewise.
19222 * sysdeps/htl/pt-cond-signal.c: Likewise.
19223 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19224 * sysdeps/htl/pt-cond-wait.c: Likewise.
19225 * sysdeps/htl/pt-cond.c: Likewise.
19226 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19227 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19228 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19229 * sysdeps/htl/pt-condattr-init.c: Likewise.
19230 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19231 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19232 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19233 * sysdeps/htl/pt-equal.c: Likewise.
19234 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19235 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19236 * sysdeps/htl/pt-getschedparam.c: Likewise.
19237 * sysdeps/htl/pt-getspecific.c: Likewise.
19238 * sysdeps/htl/pt-init-specific.c: Likewise.
19239 * sysdeps/htl/pt-key-create.c: Likewise.
19240 * sysdeps/htl/pt-key-delete.c: Likewise.
19241 * sysdeps/htl/pt-key.h: Likewise.
19242 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19243 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19244 * sysdeps/htl/pt-mutex-init.c: Likewise.
19245 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19246 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19247 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19248 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19249 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19250 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19251 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19252 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19253 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19254 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19255 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19256 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19257 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19258 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19259 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19260 * sysdeps/htl/pt-mutexattr.c: Likewise.
19261 * sysdeps/htl/pt-once.c: Likewise.
19262 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19263 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19264 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19265 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19266 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19267 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19268 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19269 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19270 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19271 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19272 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19273 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19274 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19275 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19276 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19277 * sysdeps/htl/pt-setschedparam.c: Likewise.
19278 * sysdeps/htl/pt-setschedprio.c: Likewise.
19279 * sysdeps/htl/pt-setspecific.c: Likewise.
19280 * sysdeps/htl/pt-spin.c: Likewise.
19281 * sysdeps/htl/pt-startup.c: Likewise.
19282 * sysdeps/htl/pthread.h: Likewise.
19283 * sysdeps/htl/sem-close.c: Likewise.
19284 * sysdeps/htl/sem-destroy.c: Likewise.
19285 * sysdeps/htl/sem-getvalue.c: Likewise.
19286 * sysdeps/htl/sem-init.c: Likewise.
19287 * sysdeps/htl/sem-open.c: Likewise.
19288 * sysdeps/htl/sem-post.c: Likewise.
19289 * sysdeps/htl/sem-timedwait.c: Likewise.
19290 * sysdeps/htl/sem-trywait.c: Likewise.
19291 * sysdeps/htl/sem-unlink.c: Likewise.
19292 * sysdeps/htl/sem-wait.c: Likewise.
19293 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19294 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19295 * sysdeps/mach/htl/pt-block.c: Likewise.
19296 * sysdeps/mach/htl/pt-spin.c: Likewise.
19297 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19298 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19299 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19300 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19301 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19302 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19303 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19304 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19305 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19306 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19307 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19308 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19309 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19310 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19311 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19312 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19313 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19314 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19315 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19316 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19317 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19318 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19319 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19320 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19321 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19322 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19323 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19324 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19325 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19326 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19327 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19328 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19329 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19330 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19331 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19332 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19333 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19334 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19335 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19336 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19337 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19338 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19339 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19340
fb03b04b
ST
19341 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19342 * README: Remove the mention of out-of-tree patches needed for
19343 GNU/Hurd.
19344
fa9e1555
ST
19345 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19346 (UTIME_NOW, UTIME_OMIT): Define macros.
19347
f6fb29d2
ST
19348 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19349 instead of pthread_detach.
19350 (__cthread_fork): Call __pthread_create instead of pthread_create.
19351 (__cthread_keycreate): Call __pthread_key_create instead of
19352 pthread_key_create.
19353 (__cthread_getspecific): Call __pthread_getspecific instead of
19354 pthread_getspecific.
19355 (__cthread_setspecific): Call __pthread_setspecific instead of
19356 pthread_setspecific.
19357 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19358 __pthread_mutex_unlock instead of pthread_mutex_lock and
19359 pthread_mutex_unlock.
19360 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19361 ___pthread_get_cleanup_stack.
19362 (__pthread_get_cleanup_stack): New strong alias.
19363 * htl/pt-create.c: Include <pthreadP.h>.
19364 (entry_point): Call __pthread_exit instead of pthread_exit.
19365 (pthread_create): Rename to __pthread_create.
19366 (pthread_create): New strong alias.
19367 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19368 (pthread_detach): New strong alias.
19369 (__pthread_detach): Call __pthread_cond_broadcast instead of
19370 pthread_cond_broadcast.
fe9748cc
ST
19371 * htl/pt-exit.c: Include <pthreadP.h>.
19372 (__pthread_exit): Call __pthread_setcancelstate and
19373 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19374 __pthread_get_cleanup_stack.
f6fb29d2
ST
19375 * htl/pt-testcancel.c: Include <pthreadP.h>.
19376 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19377 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19378 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19379 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19380 pthread_attr_getstacksize.
19381 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19382 Rename to __pthread_attr_getstackaddr.
19383 (pthread_attr_getstackaddr): New strong alias.
19384 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19385 Rename to __pthread_attr_getstacksize.
19386 (pthread_attr_getstacksize): New strong alias.
19387 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19388 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19389 (pthread_attr_setstack): New strong alias.
19390 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19391 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19392 pthread_attr_getstacksize, pthread_attr_setstacksize and
19393 pthread_attr_setstackaddr.
19394 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19395 Rename to __pthread_attr_setstackaddr.
19396 (pthread_attr_setstackaddr): New strong alias.
19397 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19398 Rename to __pthread_attr_setstacksize.
19399 (pthread_attr_setstacksize): New strong alias.
19400 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19401 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19402 pthread_exit.
19403 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19404 (__pthread_key_create): New hidden def.
19405 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19406 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19407 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19408 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19409 __pthread_setspecific, __pthread_setcancelstate,
19410 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19411 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19412 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19413 declarations.
19414 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19415 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19416 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19417 (pthread_attr_setstackaddr): New strong alias.
19418 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19419 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19420 (pthread_attr_setstacksize): New strong alias.
19421 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19422 (call_exit): Call __pthread_exit instead of pthread_exit.
19423 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19424 (_pthread_mutex_init): New hidden definition.
19425 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19426 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19427 instead of pthread_attr_init and pthread_attr_setstack.
19428
dba2bdbe
ST
19429 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19430 __vm_deallocate instead of vm_allocate and vm_deallocate.
19431 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19432 setenv.
19433 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19434 of geteuid.
19435 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19436 strdup.
19437 * hurd/siginfo.c: Include <libioP.h>.
19438 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19439 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19440 munmap.
dba2bdbe
ST
19441 * mach/devstream.c: Include <libioP.h>.
19442 (dealloc_ref): Call __mach_port_deallocate instead of
19443 mach_port_deallocate.
19444 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19445 Call __mach_port_deallocate instead of mach_port_deallocate.
19446 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19447 pathconf.
19448 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19449 munmap.
19450 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19451 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19452 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19453 of munmap.
19454 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19455 of close.
19456 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19457 instead of sysconf.
19458 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19459 __clock_gettime instead of clock_gettime.
19460 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19461 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19462 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19463 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19464 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19465 tcgetattr.
19466 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19467 __clock_gettime and __nanosleep instead of clock_gettime and
19468 nanosleep.
7a8f45e3
ST
19469 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19470 __hurd_catch_signal.
19471 (hurd_catch_signal): New strong alias.
19472 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19473 __hurd_catch_signal instead of hurd_catch_signal.
19474 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19475 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19476 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19477 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19478 (_hurd_thread_sigstate): Add hidden def.
19479 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19480 mutex_unlock.
19481 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19482 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19483 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19484 __hurd_file_name_path_lookup.
19485 (hurd_file_name_path_lookup): New strong alias.
19486 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19487 hurd_file_name_path_lookup.
19488 * mach/errstring.c (mach_error_type): Add hidden def.
19489 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19490 * mach/mutex-init.c (__mutex_init): Add hidden def.
19491 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19492 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19493 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19494 * sysdeps/mach/hurd/getcwd.c
19495 (_hurd_canonicalize_directory_name_internal): Rename to
19496 __hurd_canonicalize_directory_name_internal.
19497 (_hurd_canonicalize_directory_name_internal): New strong alias.
19498 (__canonicalize_directory_name_internal, __getcwd): Call
19499 __hurd_canonicalize_directory_name_internal instead of
19500 _hurd_canonicalize_directory_name_internal.
19501 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19502 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19503 hidden defs.
19504 * sysdeps/hurd/include/hurd.h: New file.
19505 * sysdeps/hurd/include/hurd/fd.h: New file.
19506 * sysdeps/hurd/include/hurd/signal.h: New file.
19507 * sysdeps/mach/include/lock-intern.h: New file.
19508 * sysdeps/mach/include/mach.h: New file.
19509 * sysdeps/mach/include/mach/mig_support.h: New file.
19510 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
19511 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19512 prototype.
19513 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19514 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19515 _HEADER_H_HIDDEN_DEF macro.
19516 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19517 _hurd_fd_error_signal): Add hidden prototype.
19518 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19519 hidden def.
82dbf555
ST
19520 * libio/iolibio.h (_IO_puts): New hidden prototype.
19521 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
19522 * sysdeps/mach/hurd/localplt.data: New file.
19523
33574c17 195242018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
19525 Amos Jeffries <squid3@treenet.co.nz>
19526 David Michael <fedora.dm0@gmail.com>
19527 Marco Gerards <marco@gnu.org>
19528 Marcus Brinkmann <marcus@gnu.org>
19529 Neal H. Walfield <neal@gnu.org>
19530 Pino Toscano <toscano.pino@tiscali.it>
19531 Richard Braun <rbraun@sceen.net>
19532 Roland McGrath <roland@gnu.org>
19533 Samuel Thibault <samuel.thibault@ens-lyon.org>
19534 Thomas DiModica <ricinwich@yahoo.com>
19535 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
19536
19537 * htl: New directory.
19538 * sysdeps/htl: New directory.
19539 * sysdeps/hurd/htl: New directory.
19540 * sysdeps/i386/htl: New directory.
19541 * sysdeps/mach/htl: New directory.
19542 * sysdeps/mach/hurd/htl: New directory.
19543 * sysdeps/mach/hurd/i386/htl: New directory.
19544 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19545 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19546 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19547
03e2aa50
ST
195482018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19549
19550 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19551 signals in thread created for runing timers.
19552
1aa52ced
FW
195532018-04-01 Florian Weimer <fweimer@redhat.com>
19554
19555 * support/support_format_addrinfo.c (support_format_addrinfo):
19556 Include unknown error number in formatted result.
19557
4d76d3e5
FW
195582018-03-29 Florian Weimer <fweimer@redhat.com>
19559
19560 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19561 capture SIGBUS.
19562
d39c0a45
AZ
195632018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19564
19565 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19566 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19567 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19568 (__ASSUME_CLONE_BACKWARDS): Define.
19569
cc8a1620
JH
195702018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19571
57408435 19572 [BZ #23024]
cc8a1620
JH
19573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19574 early when linux sentinel value is set.
19575
8bfd94d0
ST
195762018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19577
19578 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19579
f178e59f
AS
195802018-03-27 Andreas Schwab <schwab@suse.de>
19581
19582 [BZ #23005]
19583 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19584 allocation of private copy of nsaddr_list fails.
19585
5f45f96a
JM
195862018-03-26 Joseph Myers <joseph@codesourcery.com>
19587
19588 [BZ #16552]
19589 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19590 * sysdeps/unix/sysv/linux/umount.c: ... here.
19591 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19592 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19593 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19594 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19596 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19597 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19598
3dfd23eb
AS
195992018-03-26 Andreas Schwab <schwab@suse.de>
19600
19601 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19602 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19603 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19604 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19605 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19606 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19607 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19608 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19609 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19610 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19611 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19612 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19613 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19614 (R_RISCV_NUM): Define.
19615
fa97d2ab
ST
196162018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19617
19618 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19619 TLS declaration of errno.
37be82a0
ST
19620 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19621 __libc_setup_tls.
19622 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19623 (ARCH_SETUP_TLS): Likewise.
19624 * sysdeps/mach/hurd/libc-start.h: New file copied from
19625 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
19626 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19627 instead of __libc_setup_tls.
37be82a0 19628 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
19629 __libc_setup_tls before initializing libpthread and running _hurd_init
19630 which starts the signal thread.
19631 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19632 Declare function.
2d813d7b 19633 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 19634
b8114edd
L
196352018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19636
19637 [BZ #22998]
19638 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19639 after it is defined.
19640
cd66c0e5
AS
196412018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19642 Max Horn <max@quendi.de>
19643
19644 [BZ #22644]
43d4f3d5 19645 CVE-2017-18269
cd66c0e5
AS
19646 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19647 branch conditions.
19648 * string/test-memmove.c (do_test2): New testcase.
19649
a4406139
JM
196502018-03-22 Joseph Myers <joseph@codesourcery.com>
19651
19652 * sysdeps/generic/frame.h: Remove file.
19653 * sysdeps/arm/frame.h: Likewise.
19654 * sysdeps/hppa/frame.h: Likewise.
19655 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19656 macro.
19657 (GET_FRAME): Likewise.
19658 (GET_STACK): Likewise.
19659 (CALL_SIGHANDLER): Likewise.
19660 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19661 Likewise.
19662 (GET_FRAME): Likewise.
19663 (GET_STACK): Likewise.
19664 (CALL_SIGHANDLER): Likewise.
19665 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19666 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19667 (GET_FRAME): Likewise.
19668 (GET_STACK): Likewise.
19669 (CALL_SIGHANDLER): Likewise.
19670 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19671 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19672 (GET_FRAME): Likewise.
19673 (GET_STACK): Likewise.
19674 (ADVANCE_STACK_FRAME): Likewise.
19675 (CALL_SIGHANDLER): Likewise.
19676 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19677 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19678 (GET_FRAME): Likewise.
19679 (GET_STACK): Likewise.
19680 (CALL_SIGHANDLER): Likewise.
19681 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19682 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19683 (GET_FRAME): Likewise.
19684 (GET_STACK): Likewise.
19685 (CALL_SIGHANDLER): Likewise.
19686 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19687 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19688 (GET_FRAME): Likewise.
19689 (GET_STACK): Likewise.
19690 (CALL_SIGHANDLER): Likewise.
19691 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19692 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19693 (GET_FRAME): Likewise.
19694 (GET_STACK): Likewise.
19695 (CALL_SIGHANDLER): Likewise.
19696 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19697 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19698 (GET_FRAME): Likewise.
19699 (GET_STACK): Likewise.
19700 (CALL_SIGHANDLER): Likewise.
19701 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19702 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19703 (GET_FRAME): Likewise.
19704 (GET_STACK): Likewise.
19705 (CALL_SIGHANDLER): Likewise.
19706 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19707 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19708 (GET_FRAME): Likewise.
19709 (GET_STACK): Likewise.
19710 (CALL_SIGHANDLER): Likewise.
19711 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19712 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19713 (GET_FRAME): Likewise.
19714 (GET_STACK): Likewise.
19715 (CALL_SIGHANDLER): Likewise.
19716 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19717 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19718 (GET_FRAME): Likewise.
19719 (GET_STACK): Likewise.
19720 (CALL_SIGHANDLER): Likewise.
19721 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19722 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19723 (FIRST_FRAME_POINTER): Likewise.
19724 (ADVANCE_STACK_FRAME): Likewise.
19725 (GET_STACK): Likewise.
19726 (GET_FRAME): Likewise.
19727 (CALL_SIGHANDLER): Likewise.
19728 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19730 (ADVANCE_STACK_FRAME): Likewise.
19731 (GET_STACK): Likewise.
19732 (GET_FRAME): Likewise.
19733 (CALL_SIGHANDLER): Likewise.
19734 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19735 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19736 (GET_FRAME): Likewise.
19737 (GET_STACK): Likewise.
19738 (CALL_SIGHANDLER): Likewise.
19739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19740 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19741 (GET_FRAME): Likewise.
19742 (GET_STACK): Likewise.
19743 (CALL_SIGHANDLER): Likewise.
19744
ffec7b27
JM
197452018-03-21 Joseph Myers <joseph@codesourcery.com>
19746
19747 * sysdeps/x86_64/backtrace.c: Move to ....
19748 * debug/backtrace.c: ... here.
19749 * sysdeps/aarch64/backtrace.c: Remove file.
19750 * sysdeps/alpha/backtrace.c: Likewise.
19751 * sysdeps/hppa/backtrace.c: Likewise.
19752 * sysdeps/ia64/backtrace.c: Likewise.
19753 * sysdeps/mips/backtrace.c: Likewise.
19754 * sysdeps/nios2/backtrace.c: Likewise.
19755 * sysdeps/riscv/backtrace.c: Likewise.
19756 * sysdeps/sh/backtrace.c: Likewise.
19757 * sysdeps/tile/backtrace.c: Likewise.
19758
8a07b0c4
JM
197592018-03-20 Joseph Myers <joseph@codesourcery.com>
19760
d0c5d731
JM
19761 [BZ #22987]
19762 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19763 function.
19764 (fdimf): Likewise.
19765 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19766
8a07b0c4
JM
19767 [BZ #17343]
19768 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19769 possibly overflowing computations.
19770
ceb54b9b
ST
197712018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19772
19773 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19774 values from Linux-specific section now that it is in the GNU section.
19775 * sysdeps/gnu/errlist.c: Regenerate.
19776
8d3f9e85
JM
197772018-03-20 Joseph Myers <joseph@codesourcery.com>
19778
19779 * math/Makefile (libm-narrow-fns): Add sub.
19780 (libm-test-funcs-narrow): Likewise.
19781 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19782 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19783 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19784 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19785 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19786 (NARROW_SUB_TRIVIAL): Likewise.
19787 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19788 macro.
19789 (__dsubl): Likewise.
19790 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19791 dsub.
19792 (CFLAGS-nldbl-dsub.c): New variable.
19793 (CFLAGS-nldbl-fsub.c): Likewise.
19794 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19795 __nldbl_dsubl.
19796 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19797 prototype.
19798 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19799 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19800 * math/auto-libm-test-in: Add tests of sub.
19801 * math/auto-libm-test-out-narrow-sub: New generated file.
19802 * math/libm-test-narrow-sub.inc: New file.
19803 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19804 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19805 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19806 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19807 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19808 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19809 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19817 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19818 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19819 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19820 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19822 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19823 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19845 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19846 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19849
d473f015
JM
198502018-03-19 Joseph Myers <joseph@codesourcery.com>
19851
19852 [BZ #20079]
19853 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19854
fbce6f72
WD
198552018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19856
19857 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19858
72e7ffc3
RB
198592018-03-18 Richard Braun <rbraun@sceen.net>
19860
19861 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19862 thread reference.
19863
542c20a1
AA
198642018-03-18 Agustina Arzille <avarzille@riseup.net>
19865
19866 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19867 (__libc_cleanup_fct): Define function.
19868 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19869 __libc_cleanup_end): Rewrite implementation using
19870 __attribute__ ((__cleanup__)).
19871 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
19872 * hurd/Makefile (routines): Add hurdlock.
19873 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19874 interface.
19875 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19876 * hurd/hurdpid.c: Include <lowlevellock.h>
19877 (_S_msg_proc_newids): Use lll_wait to synchronize.
19878 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19879 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19880 * mach/Makefile (lock-headers): Remove machine-lock.h.
19881 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19882 <machine-lock.h>.
19883 (__spin_lock_t): New type.
19884 (__SPIN_LOCK_INITIALIZER): New macro.
19885 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19886 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19887 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19888 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19889 (__mutex_init): Initialize with lll.
19890 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19891 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19892 needing lll.
19893 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19894 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19895 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19896 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19897 (__setpgid): Use lll for synchronization.
19898 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19899 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19900 instead of <cthreads.h>.
19901 (_IO_lock_inexpensive): New macro
19902 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19903 (__libc_lock_self0): New declaration.
19904 (__libc_lock_owner_self): New macro.
19905 (__libc_key_t): Remove type.
19906 (_LIBC_LOCK_INITIALIZER): New macro.
19907 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19908 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19909 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19910 __libc_lock_define_initialized_recursive,
19911 __rtld_lock_define_initialized_recursive,
19912 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19913 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19914 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19915 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19916 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19917 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19918 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19919 New macros.
19920 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19921 * hurd/hurdlock.c: New file.
19922 * hurd/hurdlock.h: New file.
19923 * mach/lowlevellock.h: New file
542c20a1 19924
9a37922e
ST
199252018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19926
19927 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
19928 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19929 when opening a symlink with O_NOFOLLOW.
72103e73
ST
19930 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19931 path when flags contains O_NOFOLLOW.
19932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19933 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
19934 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19935 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
19936 * sysdeps/mach/hurd/mlockall.c: New file.
19937 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 19938
34e6a869
ST
199392018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19940
19941 * hurd/hurdsig.c: Include <pthread.h>.
19942 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19943 get the signal thread stack layout.
dc33bef3
ST
19944 * hurd/Makefile (headers): Remove threadvar.h.
19945 (inline-headers): Remove threadvar.h.
19946 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19947 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19948 __hurd_threadvar_max, __hurd_errno_location.
19949 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19950 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19951 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19952 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19953 unless TLS is not initialized yet, in which case we do not need a
19954 critical section yet anyway.
19955 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19956 <machine-sp.h>.
19957 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19958 declarations.
19959 (__hurd_threadvar_index): Remove enum.
19960 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19961 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19962 inlines.
19963 (__hurd_reply_port0): New variable declaration.
19964 (__hurd_local_reply_port): New macro.
19965 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19966 (interrupted_reply_port_location): Add thread_t parameter. Use it
19967 with THREAD_TCB to access thread-local variables.
19968 (_hurdsig_abort_rpcs): Pass ss->thread to
19969 interrupted_reply_port_location.
19970 (_hurd_internal_post_signal): Likewise.
19971 (_hurdsig_init): Use presence of cthread_fork instead of
19972 __hurd_threadvar_stack_mask to start signal thread by hand.
19973 Remove signal thread threadvar initialization.
19974 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19975 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19976 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19977 of threadvar.
19978 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19979 __libc_lock_self0.
19980 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19981 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19982 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19983 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19984 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19985 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19986 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19987 define variables.
19988 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19989 <hurd/threadvar.h>.
19990 [IS_IN(rtld)] (rtld_errno): New variable.
19991 [IS_IN(rtld)] (__errno_location): New weak function.
19992 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19993 * sysdeps/mach/hurd/errno.c: Remove file.
19994 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19995 (__fork): Remove THREADVAR_SPACE macro and its use.
19996 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19997 variable.
19998 (init): Do not initialize threadvar.
19999 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20000 symbol.
20001 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20002 __hurd_local_reply_port instead of threadvar.
20003 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20004 _hurd_sigstate fields.
20005 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20006 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20007 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20008 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20009 instead of threadvar.
20010 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20011 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20012 (use_threadvar, global_reply_port): Remove variables.
20013 (__hurd_reply_port0): New variable.
20014 (__mig_get_reply_port): Use __hurd_local_reply_port and
20015 __hurd_reply_port0 instead of threadvar.
20016 (__mig_dealloc_reply_port): Likewise.
20017 (__mig_init): Do not initialize threadvar.
20018 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
20019 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20020 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20021 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20022 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20023 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20024 __cthread_setspecific.
20025 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20026 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20027 __cthread_t instead of cthread_fork, cthread_detach,
20028 pthread_getattr_np, pthread_attr_getstack.
20029 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20030 __cthread_keycreate.
20031 (cthread_getspecific): Rename to __cthread_getspecific.
20032 (cthread_setspecific): Rename to __cthread_setspecific.
20033 (__libc_getspecific): Use __cthread_getspecific instead of
20034 cthread_getspecific.
20035 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20036 __cthread_keycreate instead of cthread_keycreate.
20037 (__libc_setspecific): Use __cthread_setspecific instead of
20038 cthread_setspecific.
20039 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20040 Likewise.
dd28d4ba
ST
20041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20042 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20043 testing whether it is defined.
34e6a869 20044
f8baf2a2
ST
200452018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20046
20047 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20048 Define macro.
20049 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20050 * sysdeps/mach/i386/thread_state.h
20051 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20052 i386_THREAD_STATE.
20053 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20054 i386_THREAD_STATE.
20055 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20056
20057 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20058 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20059
20060 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20061 macros.
20062 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20063 descriptor instead of creating a new one.
20064 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20065
20066 * mach/setup-thread.c: Include <ldsodefs.h>.
20067 (__mach_setup_thread): Call _dl_allocate_tls, pass
20068 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20069 MACHINE_THREAD_STATE_FLAVOR, before getting
20070 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20071 MACHINE_THREAD_STATE_FLAVOR with the result.
20072 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20073 MACHINE_THREAD_STATE_FIX_NEW.
20074 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20075 too. Add original thread parameter.
20076
34ba96b8
JM
200772018-03-16 Joseph Myers <joseph@codesourcery.com>
20078
5d75b75f
JM
20079 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20080 Remove inline function.
20081
34ba96b8
JM
20082 * sysdeps/i386/fpu/libm-test-ulps: Update.
20083 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20084
22679b2c
WD
200852018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20086
20087 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20088 commit.
20089
c429a8d8
JM
200902018-03-15 Joseph Myers <joseph@codesourcery.com>
20091
20092 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20093 (__sincos_code): Remove define and undefine.
20094 [__FAST_MATH__] (__sincos): Remove inline function.
20095 [__FAST_MATH__] (__sincosf): Remove inline function.
20096 [__FAST_MATH__] (__sincosl): Remove inline function.
20097 (__atan2l): Remove inline functions.
20098 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20099 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20100 function.
20101 (floor): Remove inline function.
20102 (ceil): Likewise.
20103 [__FAST_MATH__] (__ldexp_code): Remove macro.
20104 [__FAST_MATH__] (ldexp): Remove inline function.
20105 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20106 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20107 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20108 [__USE_ISOC99] (__lrint_code): Remove macro.
20109 [__USE_ISOC99] (__llrint_code): Likewise.
20110 [__USE_ISOC99] (lrintf): Remove inline function.
20111 [__USE_ISOC99] (lrint): Likewise.
20112 [__USE_ISOC99] (lrintl): Likewise.
20113 [__USE_ISOC99] (llrint): Likewise.
20114 [__USE_ISOC99] (llrintf): Likewise.
20115 [__USE_ISOC99] (llrintl): Likewise.
20116
700593fd
WD
201172018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20118
20119 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20120 (__ieee754_sqrtf): Remove.
20121 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20122 (__ieee754_sqrtf): Remove.
20123 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20124 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20125 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20126 (__ieee754_sqrtf): Remove.
20127 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20128 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20129 (sqrtf): Remove.
20130 (sqrtl): Remove.
20131 (__ieee754_sqrt): Remove.
20132 (__ieee754_sqrtf): Remove.
20133 (__ieee754_sqrtl): Remove.
20134 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20135 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20136 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20137 (__ieee754_sqrtf): Remove.
20138 (__ieee754_sqrtl): Remove.
20139
f67a8147
WD
201402018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20141
20142 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20143 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20144 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20145 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20146 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20147 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20148 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20149 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20150 Likewise.
20151 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20152 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20153 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20154 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20155 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20156 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20157 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20158 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20159 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20160 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20161 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20162 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20164 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20165 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20166 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20167 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20168 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20169 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20175 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20180 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20181 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20182 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20183 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20184 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20185 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20186 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20187 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20188 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20189 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20190 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20191
1294b189
WD
201922018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20193
20194 * include/math.h (sqrt): Declare with asm redirect.
20195 (sqrtf): Likewise.
20196 (sqrtl): Likewise.
20197 (sqrtf128): Likewise.
20198 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20199 nonlib and libnldbl with -fmath-errno.
20200 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20201 * math/w_sqrt_template.c: Likewise.
20202 * math/w_sqrtf_compat.c: Likewise.
20203 * math/w_sqrtl_compat.c: Likewise.
20204 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20205 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20206 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20207 complex.h.
20208
f1c8185d
WD
202092018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20210
20211 * benchtests/Makefile: Define _ISOMAC.
20212 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20213 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20214 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20215 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20216 * benchtests/bench-timing.h: Define attribute_hidden.
20217
b47c3e76
SP
202182018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20219
20220 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20221 mov + lsr.
20222
ab74d59f 202232018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
807fee29
RL
20224
20225 [BZ #22963]
20226 * localedata/locales/cs_CZ (mon): Rename to...
20227 (alt_mon): This.
20228 (mon): Import from CLDR (genitive case).
20229
ab74d59f 202302018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
e7155a28
RL
20231
20232 [BZ #22937]
20233 * localedata/locales/el_CY (abmon): Rename to...
20234 (ab_alt_mon): This.
20235 (abmon): Import from CLDR (abbreviated genitive case).
20236 * localedata/locales/el_GR (abmon): Rename to...
20237 (ab_alt_mon): This.
20238 (abmon): Import from CLDR (abbreviated genitive case).
20239
ab74d59f 202402018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
71d7b121
RL
20241
20242 [BZ #22932]
20243 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20244
a00bffe8
RB
202452018-03-15 Robert Buj <robert.buj@gmail.com>
20246
20247 [BZ #22848]
20248 * localedata/locales/ca_ES (abmon): Rename to...
20249 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20250 (mon): Rename to...
20251 (alt_mon): This.
20252 (abmon): Import from CLDR (genitive case, month names preceded by
20253 "de" or "d’").
20254 (mon): Likewise.
20255 (abday): Synchronize with CLDR.
20256 (d_t_fmt): Likewise.
20257 (d_fmt): Likewise.
20258 (am_pm): Likewise.
20259
20260 (LC_TIME): Improve indentation.
20261 (LC_TELEPHONE): Likewise.
20262 (LC_NAME): Likewise.
20263 (LC_ADDRESS): Likewise.
20264
f9555d73
JM
202652018-03-14 Joseph Myers <joseph@codesourcery.com>
20266
20267 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20268 (lrintf): Remove definitions used only with old GCC.
20269 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20270 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20271 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20272 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20273 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20274 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20275 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20276 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20277 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20278 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20279 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20280 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20281 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20282 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20283 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20284 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20285 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20286 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20287 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20288 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20289 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20290 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20291 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20292 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20293 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20294 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20295 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20296 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20297
d46f84de
SP
202982018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20299
20300 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20301 instruction to unbreak builds with binutils 2.26 and older.
20302
7108f1f9
SP
203032018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20304
20305 * sysdeps/aarch64/strncmp.S (count): New macro.
20306 (strncmp): Store misaligned length in SRC1 in COUNT.
20307 (mutual_align): Adjust.
20308 (misaligned8): Load dword at a time when it is safe.
20309
2cc7bad0
ZW
203102018-03-12 Zack Weinberg <zackw@panix.com>
20311
20312 [BZ #1190]
20313 [BZ #19476]
20314 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20315 if the _IO_EOF_SEEN bit is already set; update commentary.
20316 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20317 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20318
20319 * support/support_openpty.c, support/tty.h: New files.
20320 * support/Makefile (libsupport-routines): Add support_openpty.
20321
20322 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20323 New test cases.
20324 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20325 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20326
778f1974
DL
203272018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20328
20329 * po/pt_BR.po: Update translations.
20330
6b5c8607 203312018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
20332
20333 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20334 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20335 get a port to the startup server.
20336
d3da750d
ZW
203372018-03-11 Zack Weinberg <zackw@panix.com>
20338
20339 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20340 before nldbl-compat.h.
20341
054b72cc
ZW
203422018-03-10 Zack Weinberg <zackw@panix.com>
20343
0d13dfa1
ZW
20344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20345 math.h or math_private.h.
20346
20347 * sysdeps/alpha/fpu/s_isnan.c
20348 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20349 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20350 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20351 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20353 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20354 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20355 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20356 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20359 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20360 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20361 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20362 Include math_private.h.
20363
20364 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20365 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20366 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20367 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20368 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20369 * sysdeps/powerpc/power7/fpu/s_logb.c:
20370 Include math.h and math_private.h.
20371
054b72cc
ZW
20372 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20373 uses of $at in .set noat / .set at.
20374
6253bacd
L
203752018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20376
20377 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20378 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20379 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20380 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20381 Likewise.
20382
229855e5
FW
203832018-03-09 Florian Weimer <fweimer@redhat.com>
20384
20385 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20386 in comment.
20387
9aa5c222
AJ
203882018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20389
20390 [BZ #22919]
20391 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20392 Add nop before __startcontext, add explaining comments.
20393
3dc21497
AZ
203942018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20395
e921c89e
AZ
20396 [BZ #22926]
20397 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20398 empty for __SPE__.
20399 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20400 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20401 Do not build hardware transactional code for __SPE__.
20402 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20403 (__lll_trylock_elision): Likewise.
20404 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20405 (__lll_unlock_elision): Likewise.
20406
d9f26dab 20407 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
20408 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20409 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20410 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20411 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20412 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20413 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20414 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20415 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20416 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20417 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20418 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20419 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20420 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20421 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20423 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20424 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20425 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20426 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20427 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20428 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20429 (__ASSUME_CLONE_BACKWARDS): Define.
20430 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20431 __clone2 if __NR_clone2 is defined.
20432 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20433 (__ASSUME_CLONE_BACKWARDS): Likewise.
20434 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20435 (__ASSUME_CLONE_BACKWARDS): Likewise.
20436 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20437 (__ASSUME_CLONE2): Likewise.
20438 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20439 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20440 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20441 variants and the define architecture can use.
20442 (__ASSUME_CLONE_DEFAULT): Define as default.
20443 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20444 (__ASSUME_CLONE_BACKWARDS): Likewise.
20445 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20446 (__ASSUME_CLONE_BACKWARDS): Likewise.
20447 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20448 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20449
adc95fb0
SP
204502018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20451
4e54d918
SP
20452 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20453
30a81dae
SP
20454 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20455 time.
20456
adc95fb0
SP
20457 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20458 (do_test_limit): Likewise.
20459
20460 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20461 for every implementation.
20462 (do_test): Likewise.
20463
20464 * benchtests/bench-strncmp.c: Convert output to json.
20465
4e9066bc
ST
204662018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20467
20468 * io/futimens.c: Add missing start-of-file descriptive comment.
20469 * io/utime.c: Likewise.
20470 * misc/futimesat.c: Likewise.
20471 * misc/utimes.c: Likewise.
20472 * sysdeps/mach/hurd/futimesat.c: Likewise.
20473 * sysdeps/mach/hurd/utimes.c: Likewise.
20474 * sysdeps/posix/utime.c: Likewise.
20475 * sysdeps/posix/utimes.c: Likewise.
20476 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20477 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20478 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20479 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20480
ec1300cf
ST
204812018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20482
20483 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20484 hurd_futimes.
20485 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20486 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20487 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20488 (__futimens): Move implementation to...
20489 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20490 utime_tvalue_from_tspec): ... new helper functions.
20491 (hurd_futimens): New function.
20492 * sysdeps/mach/hurd/futimesat.c: New file.
20493 * sysdeps/mach/hurd/utimensat.c: New file.
20494
bbe762d1
FC
204952018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20496
20497 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20498 UTIME_OMIT): New macros.
20499 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20500 before reverting to converting time spec to time value and calling
20501 __file_utimes.
20502 * sysdeps/mach/hurd/utime-helper.c: New file.
20503 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20504 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20505 reverting to utime_tvalue_from_tval and __file_utimes.
20506 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20507 (__lutimes): Just call hurd_futimens after lookup.
20508 * sysdeps/mach/hurd/utimes.c: Likewise.
20509
a1ede3a4
ST
205102018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20511
20512 * bits/sigaction.h: Add include guard.
20513 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20514 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20515 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20516 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20517 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20518 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20519 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20520 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20521 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20522
6900d2ca
JM
205232018-03-05 Joseph Myers <joseph@codesourcery.com>
20524
20525 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20526 -Wmaybe-uninitialized for -Os.
20527 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20528 this disabling.
20529
68448be2
AZ
205302018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20531
5226a81f
AZ
20532 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20533 __INO_T_MATCHES_INO64_T is defined.
20534 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20535 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20536 of definition.
20537 * dirent/alphasort64.c: Likewise.
20538 * dirent/scandir.c: Likewise.
20539 * dirent/scandir64-tail.c: Likewise.
20540 * dirent/scandir64.c: Likewise.
20541 * dirent/scandirat.c: Likewise.
20542 * dirent/scandirat64.c: Likewise.
20543 * dirent/versionsort.c: Likewise.
20544 * dirent/versionsort64.c: Likewise.
20545 * include/dirent.h: Likewise.
20546
fbd01e6c
AZ
20547 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20548 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20549 for socketpair endpoint.
20550 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20551 WRITE_BUFFER_SIZE as buffer size for sending socket.
20552 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20553 issue on system where send is implemented with sendto syscall.
20554 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20555 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20556 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20557 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20558
68448be2
AZ
20559 [BZ #21269]
20560 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20561 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20562 sa_restorer for vDSO case.
20563 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20564
eb1ca47e
ST
205652018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20566
20567 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
20568 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20569 * hurd/hurd/ioctl.h: Include <mach/port.h>
20570 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
20571 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20572 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
20573 (headers): Move mach/param.h to bits/mach/param.h.
20574 * sysdeps/mach/i386/mach/param.h: Move file to ...
20575 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20576 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20577 of <mach/param.h>.
3403cb7d
ST
20578 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20579 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20580 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
20581 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20582 trivial, for C++ conformity.
44c6376c 20583 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
20584 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20585 Process mig output through $(migheadersed).
20586 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
20587 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20588 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20589 headers.
ba89615d
ST
20590 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20591 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20592 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20593 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20594 <bits/types/sigset_t.h>.
20595 [!defined __USE_GNU]: Do not #error out.
20596 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20597 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20598 Include <stddef.h> and <bits/types/sigset_t.h>
20599 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20600 instead of sighandler_t.
974393ea
ST
20601 * stdlib/errno.h (error_t): Move definition to...
20602 * bits/types/error_t.h: ... new header.
20603 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20604 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20605 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20606 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20607 * hurd/hurd.h: Include <bits/types/error_t.h>
20608 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20609 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20610 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20611 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20612 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20613 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 20614 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 20615
eaf6753f
AS
206162018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20617
20618 [BZ #22918]
20619 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20620 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20621 * nscd/gai.c (__nss_hosts_database): Readd definition.
20622 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20623 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20624 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20625
4dc23804
JM
206262018-03-02 Joseph Myers <joseph@codesourcery.com>
20627
20628 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20629 (ifunc_one): Likewise.
20630
1c81d55f
DD
206312018-03-01 DJ Delorie <dj@delorie.com>
20632
20633 [BZ #22342]
20634 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20635 key value.
20636
b717c14f
MR
206372018-03-01 Maciej W. Rozycki <macro@mips.com>
20638
20639 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20640 `match_pid' parameter.
20641 (td_ta_thr_iter): Update accordingly.
20642
1efe1358
FW
206432018-03-01 Florian Weimer <fweimer@redhat.com>
20644
20645 * nptl/Makefile (install-lib-ldscripts): Remove.
20646 (install): Remove rule.
20647 ($(inst_libdir)/libpthread.so): Likewise.
20648
a527f09c
MF
206492018-03-01 Mike FABIAN <mfabian@redhat.com>
20650
20651 [BZ #22896]
20652 * localedata/locales/an_ES: update month and day names,
20653 improve d_fmt, improve postal_fmt, add country_post,
20654 add country_isbn
20655
35d660b0
MF
206562018-03-01 Mike FABIAN <mfabian@redhat.com>
20657
20658 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20659 Ukrainian instead of Bulgarian.
20660
1a2f44a8
FW
206612018-03-01 Florian Weimer <fweimer@redhat.com>
20662
20663 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20664 reference.
20665
bd60ce86
FW
206662018-03-01 Florian Weimer <fweimer@redhat.com>
20667
20668 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20669 * nptl/Makefile (routines): Add pthread_atfork.
20670 (static-only-routines): Set to pthread_atfork.
20671 (libpthread-routines): Remove pthread_atfork.
20672 (libpthread-static-only-routines): Remove.
20673 (install): Update comment.
20674 (libpthread.so): Do not install libpthread_nonshared.a.
20675 (tests): Do not link with libpthread_nonshared.a.
20676 (generated): Remove libpthread_nonshared.a.
20677 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20678 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20679 with libpthread_nonshared.a.
20680
000f290f
JM
206812018-02-28 Joseph Myers <joseph@codesourcery.com>
20682
e2bcf6a8
JM
20683 [BZ #22902]
20684 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20685 (libc_feholdexcept_setroundf128): New macro.
20686 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20687
000f290f
JM
20688 [BZ #15105]
20689 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20690 libc_hidden_def.
20691 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20692 * include/inttypes.h: New file.
20693
02f2fead
JM
206942018-02-27 Joseph Myers <joseph@codesourcery.com>
20695
20696 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20697 -Os in two more places.
20698
874c56d7
MF
206992018-02-27 Mike FABIAN <mfabian@redhat.com>
20700
20701 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20702 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20703 be sorted correctly at the moment because of a bug.
20704
15973854
MF
207052018-02-27 Mike FABIAN <mfabian@redhat.com>
20706
20707 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20708 treat ñ as a primary different character, sync the collation
20709 for Spanish with CLDR.
20710 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20711 * localedata/Makefile: Add new test files.
20712 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20713 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20714 collation order.
20715 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20716 * localedata/am_ET.UTF-8.in: New test file.
20717 * localedata/az_AZ.UTF-8.in: Likewise.
20718 * localedata/be_BY.UTF-8.in: Likewise.
20719 * localedata/ber_DZ.UTF-8.in: Likewise.
20720 * localedata/ber_MA.UTF-8.in: Likewise.
20721 * localedata/bg_BG.UTF-8.in: Likewise.
20722 * localedata/br_FR.UTF-8.in: Likewise.
20723 * localedata/cmn_TW.UTF-8.in: Likewise.
20724 * localedata/crh_UA.UTF-8.in: Likewise.
20725 * localedata/csb_PL.UTF-8.in: Likewise.
20726 * localedata/cv_RU.UTF-8.in: Likewise.
20727 * localedata/cy_GB.UTF-8.in: Likewise.
20728 * localedata/dz_BT.UTF-8.in: Likewise.
20729 * localedata/eo.UTF-8.in: Likewise.
20730 * localedata/es_ES.UTF-8.in: Likewise.
20731 * localedata/fa_IR.UTF-8.in: Likewise.
20732 * localedata/fi_FI.UTF-8.in: Likewise.
20733 * localedata/fil_PH.UTF-8.in: Likewise.
20734 * localedata/fur_IT.UTF-8.in: Likewise.
20735 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20736 * localedata/ha_NG.UTF-8.in: Likewise.
20737 * localedata/ig_NG.UTF-8.in: Likewise.
20738 * localedata/ik_CA.UTF-8.in: Likewise.
20739 * localedata/kk_KZ.UTF-8.in: Likewise.
20740 * localedata/ku_TR.UTF-8.in: Likewise.
20741 * localedata/ky_KG.UTF-8.in: Likewise.
20742 * localedata/ln_CD.UTF-8.in: Likewise.
20743 * localedata/mi_NZ.UTF-8.in: Likewise.
20744 * localedata/ml_IN.UTF-8.in: Likewise.
20745 * localedata/mn_MN.UTF-8.in: Likewise.
20746 * localedata/mr_IN.UTF-8.in: Likewise.
20747 * localedata/mt_MT.UTF-8.in: Likewise.
20748 * localedata/nb_NO.UTF-8.in: Likewise.
20749 * localedata/om_KE.UTF-8.in: Likewise.
20750 * localedata/os_RU.UTF-8.in: Likewise.
20751 * localedata/ps_AF.UTF-8.in: Likewise.
20752 * localedata/ro_RO.UTF-8.in: Likewise.
20753 * localedata/ru_RU.UTF-8.in: Likewise.
20754 * localedata/sc_IT.UTF-8.in: Likewise.
20755 * localedata/se_NO.UTF-8.in: Likewise.
20756 * localedata/sq_AL.UTF-8.in: Likewise.
20757 * localedata/sv_SE.UTF-8.in: Likewise.
20758 * localedata/szl_PL.UTF-8.in: Likewise.
20759 * localedata/tg_TJ.UTF-8.in: Likewise.
20760 * localedata/tk_TM.UTF-8.in: Likewise.
20761 * localedata/tt_RU.UTF-8.in: Likewise.
20762 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20763 * localedata/ug_CN.UTF-8.in: Likewise.
20764 * localedata/uz_UZ.UTF-8.in: Likewise.
20765 * localedata/vi_VN.UTF-8.in: Likewise.
20766 * localedata/yi_US.UTF-8.in: Likewise.
20767 * localedata/yo_NG.UTF-8.in: Likewise.
20768 * localedata/zh_CN.UTF-8.in: Likewise.
20769 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20770 file and fix bugs in the collation.
20771 * localedata/locales/az_AZ: Likewise.
20772 * localedata/locales/be_BY: Likewise.
20773 * localedata/locales/ber_DZ: Likewise.
20774 * localedata/locales/ber_MA: Likewise.
20775 * localedata/locales/bg_BG: Likewise.
20776 * localedata/locales/br_FR: Likewise.
20777 * localedata/locales/br_FR@euro: Likewise.
20778 * localedata/locales/ca_ES: Likewise.
20779 * localedata/locales/cns11643_stroke: Likewise.
20780 * localedata/locales/crh_UA: Likewise.
20781 * localedata/locales/cs_CZ: Likewise.
20782 * localedata/locales/csb_PL: Likewise.
20783 * localedata/locales/cv_RU: Likewise.
20784 * localedata/locales/cy_GB: Likewise.
20785 * localedata/locales/da_DK: Likewise.
20786 * localedata/locales/dz_BT: Likewise.
20787 * localedata/locales/en_CA: Likewise.
20788 * localedata/locales/eo: Likewise.
20789 * localedata/locales/es_CU: Likewise.
20790 * localedata/locales/es_EC: Likewise.
20791 * localedata/locales/es_ES: Likewise.
20792 * localedata/locales/es_US: Likewise.
20793 * localedata/locales/et_EE: Likewise.
20794 * localedata/locales/fa_IR: Likewise.
20795 * localedata/locales/fi_FI: Likewise.
20796 * localedata/locales/fil_PH: Likewise.
20797 * localedata/locales/fur_IT: Likewise.
20798 * localedata/locales/gez_ER@abegede: Likewise.
20799 * localedata/locales/ha_NG: Likewise.
20800 * localedata/locales/hr_HR: Likewise.
20801 * localedata/locales/hsb_DE: Likewise.
20802 * localedata/locales/hu_HU: Likewise.
20803 * localedata/locales/ig_NG: Likewise.
20804 * localedata/locales/ik_CA: Likewise.
20805 * localedata/locales/is_IS: Likewise.
20806 * localedata/locales/iso14651_t1_pinyin: Likewise.
20807 * localedata/locales/kk_KZ: Likewise.
20808 * localedata/locales/ku_TR: Likewise.
20809 * localedata/locales/ky_KG: Likewise.
20810 * localedata/locales/ln_CD: Likewise.
20811 * localedata/locales/lt_LT: Likewise.
20812 * localedata/locales/lv_LV: Likewise.
20813 * localedata/locales/mi_NZ: Likewise.
20814 * localedata/locales/ml_IN: Likewise.
20815 * localedata/locales/mn_MN: Likewise.
20816 * localedata/locales/mr_IN: Likewise.
20817 * localedata/locales/mt_MT: Likewise.
20818 * localedata/locales/nb_NO: Likewise.
20819 * localedata/locales/om_KE: Likewise.
20820 * localedata/locales/os_RU: Likewise.
20821 * localedata/locales/pl_PL: Likewise.
20822 * localedata/locales/ps_AF: Likewise.
20823 * localedata/locales/ro_RO: Likewise.
20824 * localedata/locales/ru_RU: Likewise.
20825 * localedata/locales/ru_UA: Likewise.
20826 * localedata/locales/sc_IT: Likewise.
20827 * localedata/locales/se_NO: Likewise.
20828 * localedata/locales/si_LK: Likewise.
20829 * localedata/locales/sq_AL: Likewise.
20830 * localedata/locales/sv_FI: Likewise.
20831 * localedata/locales/sv_FI@euro: Likewise.
20832 * localedata/locales/sv_SE: Likewise.
20833 * localedata/locales/szl_PL: Likewise.
20834 * localedata/locales/tg_TJ: Likewise.
20835 * localedata/locales/ti_ER: Likewise.
20836 * localedata/locales/tk_TM: Likewise.
20837 * localedata/locales/tl_PH: Likewise.
20838 * localedata/locales/tr_TR: Likewise.
20839 * localedata/locales/tt_RU: Likewise.
20840 * localedata/locales/tt_RU@iqtelif: Likewise.
20841 * localedata/locales/ug_CN: Likewise.
20842 * localedata/locales/uk_UA: Likewise.
20843 * localedata/locales/uz_UZ: Likewise.
20844 * localedata/locales/uz_UZ@cyrillic: Likewise.
20845 * localedata/locales/vi_VN: Likewise.
20846 * localedata/locales/yi_US: Likewise.
20847 * localedata/locales/yo_NG: Likewise.
20848
ce6636b0
MF
208492018-02-27 Mike FABIAN <mfabian@redhat.com>
20850
20851 * gen-locales.mk: Make test files which contain @ modifiers in their
20852 name work.
20853 * localedata/gen-locale.sh: Likewise.
20854
ac3a3b4b
MF
208552018-02-27 Mike FABIAN <mfabian@redhat.com>
20856
20857 * posix/tst-fnmatch.input: Fix results for range expressions
20858 for non C locales.
20859 * posix/tst-regexloc.c: Do not use a range expression for
20860 de_DE.ISO-8859-1 locale.
20861
770cbe14
MF
208622018-02-27 Mike FABIAN <mfabian@redhat.com>
20863
20864 * posix/bug-regex5.c: Fix test case because with the new
20865 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20866 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20867 file.
20868
0fc355d9
MF
208692018-02-27 Mike FABIAN <mfabian@redhat.com>
20870
20871 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20872 downloaded from ISO, the collation order of @-. and space has changed.
20873 Therefore, this test file needed to be adapted.
20874 * localedata/fr_CA.UTF-8.in: Likewise.
20875 * localedata/fr_FR.UTF-8.in: Likewise.
20876 * localedata/uk_UA.UTF-8.in: Likewise.
20877
43f3893f
MF
208782018-02-27 Mike FABIAN <mfabian@redhat.com>
20879
20880 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20881 order of ȥ in the new iso14651_t1_common file.
20882 * localedata/pl_PL.UTF-8.in: Likewise.
20883
df74ef78
MF
208842018-02-27 Mike FABIAN <mfabian@redhat.com>
20885
20886 * localedata/locales/iso14651_t1_common: Add sections for various
20887 scripts to the iso14651_t1_common file.
20888
d5adfbad
MF
208892018-02-27 Mike FABIAN <mfabian@redhat.com>
20890
20891 * localedata/locales/iso14651_t1_common: Use the code point of a
20892 character in the fourth collation level instead of IGNORE for all
20893 entries which have IGNORE on all 4 levels.
20894
5f5a9610
MF
208952018-02-27 Mike FABIAN <mfabian@redhat.com>
20896
20897 * localedata/locales/iso14651_t1_common: Add some convenient collation
20898 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20899 rules similar to those in CLDR.
20900
8a97e900
MF
209012018-02-27 Mike FABIAN <mfabian@redhat.com>
20902
20903 * localedata/locales/iso14651_t1_common: The new version of this
20904 file downloaded from ISO contained several syntax errors which
20905 are fixed by this patch.
20906
bbdd2fba
MF
209072018-02-27 Mike FABIAN <mfabian@redhat.com>
20908
20909 * localedata/locales/iso14651_t1_common: replace all <U.....>
20910 with <U000.....> because glibc understands only 4 digit or 8 digit
20911
1569e551
MF
209122018-02-27 Mike FABIAN <mfabian@redhat.com>
20913
20914 * localedata/locales/iso14651_t1_common: Necessary changes
20915 to make the file downloaded from ISO usable by glibc.
20916
9479b6d5
MF
209172018-02-27 Mike FABIAN <mfabian@redhat.com>
20918
20919 [BZ #14095]
20920 * localedata/locales/iso14651_t1_common: Update file to
20921 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20922
03b540b3
ST
209232018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20924
20925 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20926 of <nptl/pthreadP.h>
20927 (thread_attr_compare): Move function to...
eb937a52 20928 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 20929 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 20930 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 20931
20602c72
JM
209322018-02-26 Joseph Myers <joseph@codesourcery.com>
20933
f54d8f73
JM
20934 * string/strcoll_l.c: Include <libc-diag.h>.
20935 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20936 declarations of seq1 and seq2.
20937
20602c72
JM
20938 [BZ #15105]
20939 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20940 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20941
f5f473a9
DL
209422018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20943
20944 [BZ #22433]
20945 [BZ #22807]
20946 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20947 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20948 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20949 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20950 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20951 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20952
398c6fdd
TMQMF
209532018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20954
20955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20956 macros used in __ptrace_request.
20957
f5d1f629
L
209582018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20959
20960 [BZ #22792]
20961 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20962 to $(CC).
20963 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20964 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20965 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20966 <tcb-offsets.h>.
20967
54412d20
JM
209682018-02-23 Joseph Myers <joseph@codesourcery.com>
20969
20970 [BZ #15105]
20971 * ctype/ctype.c (tolower): Use libc_hidden_def.
20972 (toupper): Likewise.
20973 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20974 [!_ISOMAC] (toupper): Likewise.
20975
81be4b5e
MF
209762018-02-23 Mike FABIAN <mfabian@redhat.com>
20977
20978 * localedata/Makefile: Remove --quiet argument when
20979 installing locales
20980
9d5cfd8e
MF
209812018-02-23 Mike FABIAN <mfabian@redhat.com>
20982
20983 [BZ #17438]
20984 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20985 in d_fmt.
20986 * localedata/locales/pt_PT (LC_TIME): likewise
20987
6c7269f3
MF
209882018-02-23 Mike FABIAN <mfabian@redhat.com>
20989
20990 [BZ #22646]
20991 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20992 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20993 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20994
92aabad9
AZ
209952018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20996
4cdc25a4
AZ
20997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20998
27761a10
AZ
20999 * nptl/Makefile (routines): Remove unregister-atfork.
21000 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21001 (fork_handler_alloc): Remove function.
21002 (fork_handlers, fork_handler_init): New variables.
21003 (__fork_lock): Rename to atfork_lock.
21004 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21005 to use a dynamic array to add/remove atfork handlers.
21006 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21007 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21008 Remove declaration.
21009 (fork_handler): Remove next, refcntr, and need_signal member.
21010 (__run_fork_handler_type): New enum.
21011 (__run_fork_handlers): New prototype.
21012 * nptl/register-atfork.c: Remove file.
21013 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21014
92aabad9
AZ
21015 * sysdeps/nptl/nptl-signals.h: Move to ...
21016 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21017 comments.
21018 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21019 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21020 unnecessary check for SIGTIMER.
21021 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21022 remove unnecessary removal of SIGTIMER.
21023 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21024 include-signals.h rename.
21025 * nptl/pthreadP.h: Likewise.
21026 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21027 __is_internal_signal instead of __nptl_is_internal_signal.
21028
6b5c8607 210292018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 21030
7e04eb29 21031 [BZ # 22884]
fdcc6253
AW
21032 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21033 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21034 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21035 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21036
8090720a
DD
210372018-02-22 DJ Delorie <dj@delorie.com>
21038
21039 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21040
6ca24c43
SP
210412018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21042
21043 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21044 do_misaligned, not misaligned8.
21045
e9537ddd
SE
210462018-02-22 Steve Ellcey <sellcey@cavium.com>
21047
21048 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21049 Add memcpy_thunderx2.
21050 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21051 Increment to 4.
21052 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21053 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21054 and IS_THUNDERX2PA checks.
21055 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21056 Use macro to set name appropriately.
21057 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21058 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21059 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21060 New macro.
21061 (IS_THUNDERX2): New macro.
21062
6e336476
SL
210632018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21064
21065 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21066
34957904
ZW
210672018-02-21 Zack Weinberg <zackw@panix.com>
21068
30bfee26
ZW
21069 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21070 Define here, unconditionally.
21071 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21072 * libio/libioP.h: Remove #if 0 blocks.
21073 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21074 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21075 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21076
21077 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21078 Assume weak_alias is always defined.
21079
21080 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21081 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21082 Remove #if 0 and #ifdef TODO blocks.
21083 Assume text_set_element is always defined.
21084
21085 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21086 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21087 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21088
df6c012b
ZW
21089 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21090 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21091 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21092 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21093 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21094 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21095 Reformat bit flags for _flags field to make occupancy clearer.
21096 Update commentary.
21097 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21098 Keep definitions consistent with those in libio/libio.h.
21099
21100 * libio/libio.h (_IO_file_flags): Remove macro.
21101 All uses changed to _flags.
21102
177aad3f
ZW
21103 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21104 (__HAVE_COLUMN, _IO_BE): Don't define.
21105 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21106 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21107 * libio/libioP.h (EOF): Don't define.
21108 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21109 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21110 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21111 testing _IO_UNIFIED_JUMPTABLES.
21112
9964a145
ZW
21113 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21114 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21115 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21116 (_IO_size_t): Delete; all uses changed to size_t.
21117 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21118 (_IO_off_t): Delete; all uses changed to off_t.
21119 (_IO_off64_t): Delete; all uses changed to off64_t.
21120 (_IO_pid_t): Delete; all uses changed to pid_t.
21121 (_IO_uid_t): Delete; all uses changed to uid_t.
21122 (_IO_wint_t): Delete; all uses changed to wint_t.
21123 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21124 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21125 (_IO_cookie_io_functions_t): Delete; all uses changed to
21126 cookie_io_functions_t.
21127 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21128 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21129 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21130 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21131
21132 * libio/iofopncook.c: Remove unnecessary forward declarations.
21133 * libio/iolibio.h: Correct outdated commentary.
21134 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21135 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21136 Remove unnecessary casts.
21137 * stdio-common/getline.c: Use _IO_getdelim directly.
21138 Don't redefine ssize_t.
21139 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21140 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21141 Remove outdated comments.
21142 * stdio-common/vfscanf.c: Don't redefine va_list.
21143
34957904
ZW
21144 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21145 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21146 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21147 which are always true, and __cplusplus, which is always false.
21148
30ac923d
JM
211492018-02-21 Joseph Myers <joseph@codesourcery.com>
21150
039c721a
JM
21151 [BZ #15105]
21152 [BZ #19463]
21153 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21154 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21155 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21156 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21157 libc_hidden_proto.
21158 [!_ISOMAC] (putc_unlocked): Likewise.
21159 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21160 define inline if [__USE_EXTERN_INLINES].
21161 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21162 putc_unlocked.
21163
30ac923d
JM
21164 [BZ #15105]
21165 [BZ #19463]
21166 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21167 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21168 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21169 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21170 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21171 getc_unlocked.
21172 * time/tzfile.c (__tzfile_read): Likewise.
21173
7ec5f946
MF
211742018-02-21 Mike FABIAN <mfabian@redhat.com>
21175
21176 [BZ #22517]
21177 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21178
0d217f40
RJ
211792018-02-21 Rical Jasan <ricaljasan@pacific.net>
21180
21181 * io/fcntl.h: Fix a typo in a comment.
21182
862b4502
RJ
211832018-02-21 Rical Jasan <ricaljasan@pacific.net>
21184
21185 [BZ #22862]
21186 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21187 define _DEFAULT_SOURCE.
21188 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21189
999a6dab
FW
211902018-02-21 Florian Weimer <fweimer@redhat.com>
21191
21192 [BZ #20890]
21193 * elf/cache.c (save_cache): Call fsync on temporary file before
21194 renaming it.
21195 (save_aux_cache): Call fdatasync on temporary file before renaming
21196 it.
21197
52a01100
FW
211982018-02-21 Florian Weimer <fweimer@redhat.com>
21199
21200 [BZ #22787]
21201 * include/caller.h: Remove file.
21202 * elf/dl-caller.c: Likewise.
21203 * elf/Makefile (dl-routines): Remove dl-caller.
21204 (shared-only-routines): Do not add dl-caller.
21205 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21206 __check_caller.
21207 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21208 member.
21209 (dl_open_worker): Do not call __check_caller.
21210 (_dl_open): Do not set caller_dl_open member.
21211 * elf/rtld.c (_rtld_global_ro): Do not initialize
21212 _dl_check_caller member.
21213 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21214 _dl_check_caller member.
21215 (_dl_check_caller): Remove declaration.
21216 * sysdeps/unix/sysv/linux/dl-execstack.c
21217 (_dl_make_stack_executable): Do not call __check_caller.
21218
b5bf62e4
ST
212192018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21220
21221 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 21222 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 21223
e8d190b9
RJ
212242018-02-20 Rical Jasan <ricaljasan@pacific.net>
21225
21226 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21227 description.
21228
6a3962c4
RJ
212292018-02-20 Rical Jasan <ricaljasan@pacific.net>
21230
da81ae64 21231 [BZ #16335]
6a3962c4
RJ
21232 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21233 of 199606L, 200112L, and 200809L.
21234 (_XOPEN_SOURCE): Document special values of 600 and 700.
21235 (_ISOC11_SOURCE): Document macro.
21236 (_ATFILE_SOURCE): Likewise.
21237 (_FORTIFY_SOURCE): Likewise.
21238
ec481ad8
JM
212392018-02-19 Joseph Myers <joseph@codesourcery.com>
21240
21241 [BZ #15105]
21242 [BZ #19463]
21243 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21244 and define as weak alias of __ferror_unlocked. Use
21245 libc_hidden_weak.
21246 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21247 libc_hidden_proto.
21248 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21249 function if [__USE_EXTERN_INLINES].
21250 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21251 ferror_unlocked.
21252
7d15ef84
RJ
212532018-02-19 Rical Jasan <ricaljasan@pacific.net>
21254
21255 [BZ #6889]
21256 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21257
f8d79582
AJ
212582018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21259
21260 [BZ #22818]
21261 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21262 the GLIBC_2.1 version.
21263
56456a2a
AJ
212642018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21265
21266 [BZ #21508]
21267 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21268 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21269 intl/tst-gettext-de.po from po/de.po by removing the
21270 POT-Creation-Date line.
21271 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21272 ../po/de.po.
21273 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21274 ../po/de.po.
21275
13768813
ST
212762018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21277
21278 * mach/Makefile (headers): Add mach/param.h.
21279 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21280 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
21281 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21282 (__ptsname_r): Move implementation to...
21283 (__ptsname_internal): ... new function. Add filling the STP
21284 structure.
13768813 21285
6aca1b61
JDA
212862018-02-17 John David Anglin <danglin@gcc.gnu.org>
21287
21288 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21289 idouble to 1 ULP.
21290
16efad51
RJ
212912018-02-16 Rical Jasan <ricaljasan@pacific.net>
21292
21293 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21294 syntax.
21295
87245073
SL
212962018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21297
21298 * nptl/Makefile (tst-mutex8-ENV): Delete.
21299 * nptl/tst-mutex8.c (check_type):
21300 Add runtime check if mutex will be elided.
21301
7fc03cf3
JM
213022018-02-15 Joseph Myers <joseph@codesourcery.com>
21303
db9881ec
JM
21304 [BZ #20980]
21305 [BZ #21234]
21306 * manual/install.texi (Configuring and compiling): Describe
21307 passing CC and CFLAGS on configure command line, not as
21308 environment variables. Use @code markup on those variables.
21309 Specify what options go in CC and what go in CFLAGS. Note the
21310 requirement to compile with optimization.
21311 * INSTALL: Regenerated.
21312
3785b31c
JM
21313 [BZ #18124]
21314 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21315 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21316 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21317 __sigprocmask instead of sigprocmask.
21318 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21319 Likewise.
21320 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21321 __sigsetjmp and sigprocmask.
21322
055ac2a7
JM
21323 [BZ #15105]
21324 * include/argz.h (argz_next): Use libc_hidden_proto.
21325 (__argz_next): Likewise.
21326 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21327 (argz_next): Use libc_hidden_weak.
21328
e4452a2d
JM
21329 [BZ #15105]
21330 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21331 libc_hidden_proto.
21332 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21333 libc_hidden_def.
21334
499b3153
JM
21335 [BZ #15105]
21336 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21337 libc_hidden_proto.
21338 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21339
7fc03cf3
JM
21340 [BZ #15105]
21341 [BZ #19463]
21342 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21343 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21344 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21345 (__feof_unlocked): New declaration, and inline function if
21346 [__USE_EXTERN_INLINES].
21347 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21348 instead of feof_unlocked.
21349 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21350 * nss/nsswitch.c (nss_parse_file): Likewise.
21351 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21352 Likewise.
21353 * time/getdate.c (__getdate_r): Likewise.
21354 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21355 Define as macro to call __feof_unlocked.
21356
0c8a67a5
WD
213572018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21358
21359 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21360
610ee1fc
WD
213612018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21362
21363 * math/Makefile: Remove mpexp.c and mplog.c
21364 * sysdeps/i386/fpu/mpexp.c: Delete file.
21365 * sysdeps/i386/fpu/mplog.c: Likewise.
21366 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21367 * sysdeps/ia64/fpu/mplog.c: Likewise.
21368 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21369 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21370 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21371 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21372 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21373 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21374 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21375 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21376 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21377 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21378 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21379 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21380 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21381 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21382 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21383 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21384
8e7196c8
SL
213852018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21386
21387 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21388
4f55ad0b
AZ
213892018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21390
21391 * sysdeps/sh/libm-test-ulps: Update.
21392
261a851c
TMQMF
213932018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21394
21395 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21396 idouble to 1 ULP.
21397
e16deca6
ZW
213982018-02-12 Zack Weinberg <zackw@panix.com>
21399
21400 [BZ #19239]
21401 * posix/sys/types.h: Don't include sys/sysmacros.h.
21402 * misc/sys/sysmacros.h: Remove the conditional deprecation
21403 warnings for the macros defined by this header.
21404
de800d83
SN
214052018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21406
21407 * manual/probes.texi: Remove slowexp probes.
21408 * math/Makefile: Remove slowexp.
21409 * sysdeps/generic/math_private.h (__slowexp): Remove.
21410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21411 document error bounds.
21412 * sysdeps/i386/fpu/slowexp.c: Remove.
21413 * sysdeps/ia64/fpu/slowexp.c: Remove.
21414 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21415 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21416 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21417 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21418 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21419 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21420 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21421 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21422 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21425
c3d466cb
WD
214262018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21427
21428 [BZ #13932]
21429 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21430 * benchtests/pow-inputs: Update comment for slow path cases.
21431 * manual/probes.texi (slowpow_p10): Delete removed probe.
21432 (slowpow_p10): Likewise.
21433 * math/Makefile: Remove halfulp.c and slowpow.c.
21434 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21435 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21436 (__halfulp): Remove.
21437 (__slowpow): Remove.
21438 * sysdeps/i386/fpu/halfulp.c: Delete file.
21439 * sysdeps/i386/fpu/slowpow.c: Likewise.
21440 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21441 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21443 improve comments and add error analysis.
21444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21445 (power1): Remove function:
21446 (log1): Remove error argument, add error analysis.
21447 (my_log2): Remove function.
21448 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21450 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21451 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21452 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21453 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21454 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21455 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21459 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21461 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21462
7bb087bd
ST
214632018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21464
21465 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21466 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21467
2fd4bbaa
DL
214682018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21469
21470 [BZ #22433]
21471 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21472 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21473 and PTRACE_SETHBPREGS.
21474
402ecba4
ZW
214752018-02-10 Zack Weinberg <zackw@panix.com>
21476
21477 [BZ #22830]
21478 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21479 correctly.
21480 * malloc/tst-malloc-stats-cancellation.c: New test case.
21481 * malloc/Makefile: Add new test case.
21482
4f5b921e
WD
214832018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21484
21485 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21486
a85b70db
JM
214872018-02-10 Joseph Myers <joseph@codesourcery.com>
21488
d8742dd8
JM
21489 * math/Makefile (libm-narrow-fns): Add add.
21490 (libm-test-funcs-narrow): Likewise.
21491 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21492 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21493 * math/gen-auto-libm-tests.c (test_functions): Add add.
21494 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21495 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21496 (NARROW_ADD_TRIVIAL): Likewise.
21497 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21498 macro.
21499 (__daddl): Likewise.
21500 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21501 dadd.
21502 (CFLAGS-nldbl-dadd.c): New variable.
21503 (CFLAGS-nldbl-fadd.c): Likewise.
21504 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21505 __nldbl_daddl.
21506 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21507 prototype.
21508 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21509 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21510 * math/auto-libm-test-in: Add tests of add.
21511 * math/auto-libm-test-out-narrow-add: New generated file.
21512 * math/libm-test-narrow-add.inc: New file.
21513 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21516 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21517 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21518 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21520 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21521 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21526 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21527 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21528 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21529 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21530 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21532 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21533 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21534 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21536 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21559
a85b70db
JM
21560 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21561 (f128-pairs): New variable.
21562 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21563 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21564 to CFLAGS.
21565 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21566 Also make tests add $(f128-loader-link) to gnulib-tests.
21567
6a1ff640
DD
215682018-02-09 DJ Delorie <dj@redhat.com>
21569
21570 [BZ #22827]
21571 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21572 64-bit ELF type for 64-bit ELF objects.
21573
bfd47587
JM
215742018-02-09 Joseph Myers <joseph@codesourcery.com>
21575
31958338
JM
21576 * math/libm-test-driver.c (snan_tests_arg): New variable.
21577 * math/libm-test-support.h (snan_tests_arg): New declaration.
21578 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21579
8e554659
JM
21580 * math/Makefile (test-type-pairs): New variable.
21581 (test-type-pairs-f64xf128-yes): Likewise.
21582 (tests): Add test-narrow-macros.
21583 (libm-test-funcs-narrow): New variable.
21584 (libm-test-c-narrow): Likewise.
21585 (generated): Add $(libm-test-c-narrow).
21586 (libm-tests-base-narrow): New variable.
21587 (libm-tests-narrow): Likewise.
21588 (libm-tests): Add $(libm-tests-narrow).
21589 (libm-tests-for-type): Handle $(libm-tests-narrow).
21590 (libm-test-c-narrow-obj): New variable.
21591 ($(libm-test-c-narrow-obj)): New rule.
21592 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21593 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21594 $(o-iterator) to set dependencies and CFLAGS.
21595 * math/gen-auto-libm-tests.c: Document use for narrowing
21596 functions.
21597 (output_for_one_input_case): Take argument NARROW.
21598 (generate_output): Likewise. Update call to
21599 output_for_one_input_case.
21600 (main): Take --narrow option. Update call to generate_output.
21601 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21602 (apply_lit): Update call to _apply_lit.
21603 (apply_arglit): New function.
21604 (parse_args): Handle "a" arguments.
21605 (parse_auto_input): Handle format names using ":".
21606 * math/README.libm-test: Document "a" parameter type.
21607 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21608 (ARG_TYPE_TRUE_MIN): Likewise.
21609 (ARG_TYPE_MAX): Likwise.
21610 (ARG_MIN_EXP): Likewise.
21611 (ARG_MAX_EXP): Likewise.
21612 (ARG_MANT_DIG): Likewise.
21613 (TEST_COND_arg_ibm128): Likewise.
21614 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21615 (TEST_COND_arg_fmt): New macro.
21616 (init_max_error): Update prototype.
21617 * math/libm-test-support.c (test_ibm128): New variable.
21618 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21619 instead of using [TEST_COND_ibm128] conditional.
21620 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21621 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21622 [TEST_NARROW] (TEST_MSG): New definition.
21623 (arg_plus_zero): New macro.
21624 (arg_minus_zero): Likewise.
21625 (arg_plus_infty): Likewise.
21626 (arg_minus_infty): Likewise.
21627 (arg_qnan_value_pl): Likewise.
21628 (arg_qnan_value): Likewise.
21629 (arg_snan_value_pl): Likewise.
21630 (arg_snan_value): Likewise.
21631 (arg_max_value): Likewise.
21632 (arg_min_value): Likewise.
21633 (arg_min_subnorm_value): Likewise.
21634 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21635 (RUN_TEST_LOOP_aa_f): New macro.
21636 (TEST_SUFF): New macro.
21637 (TEST_SUFF_STR): Likewise.
21638 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21639 (TEST_COND_any_ibm128): New macro.
21640 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21641 this_func. Update call to init_max_error.
21642 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21643 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21644 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21645 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21646 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21647 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21648 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21649 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21650 * math/test-math-vector.h (TEST_NARROW): Likewise.
21651 * math/test-arg-double.h: New file.
21652 * math/test-arg-float128.h: Likewise.
21653 * math/test-arg-float32x.h: Likewise.
21654 * math/test-arg-float64.h: Likewise.
21655 * math/test-arg-float64x.h: Likewise.
21656 * math/test-arg-ldouble.h: Likewise.
21657 * math/test-math-narrow.h: Likewise.
21658 * math/test-narrow-macros.c: Likewise.
21659 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21660 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21661 test-narrow-macros-ldbl-64.
21662 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21663
63716ab2
JM
21664 * math/bits/mathcalls-narrow.h: New file.
21665 * include/bits/mathcalls-narrow.h: Likewise.
21666 * math/math-narrow.h: Likewise.
21667 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21668 (__MATHCALL_NARROW_ARGS_2): Likewise.
21669 (__MATHCALL_NARROW_ARGS_3): Likewise.
21670 (__MATHCALL_NARROW_NORMAL): Likewise.
21671 (__MATHCALL_NARROW_REDIR): Likewise.
21672 (__MATHCALL_NARROW): Likewise.
21673 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21674 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21675 defined.
21676 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21677 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21678 (libm-narrow-fns): New variable.
21679 (libm-narrow-types-basic): Likewise.
21680 (libm-narrow-types-ldouble-yes): Likewise.
21681 (libm-narrow-types-float128-yes): Likewise.
21682 (libm-narrow-types-float128-alias-yes): Likewise.
21683 (libm-narrow-types): Likewise.
21684 (libm-routines): Add narrowing functions.
21685 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21686 (libc_feholdexcept_setroundf128): New macro.
21687 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21688 * sysdeps/ieee754/float128/float128_private.h: Include
21689 <math/math-narrow.h>.
21690 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21691 Undefine and redefine.
21692 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21693 (libm_alias_float_ldouble): Undefine and redefine.
21694 (libm_alias_double_ldouble): Likewise.
21695
bfd47587
JM
21696 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21697
3f8d9d58
WD
216982018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21699
21700 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21701 FPCR/FPSR.
21702
1f6676d7
RJ
217032018-02-09 Rical Jasan <ricaljasan@pacific.net>
21704
21705 * manual/creature.texi: Convert references to gcc.info to gcc.
21706 * manual/stdio.texi: Likewise.
21707 * manual/string.texi: Likewise.
21708
d80441dd
JM
217092018-02-07 Joseph Myers <joseph@codesourcery.com>
21710
15081be9
JM
21711 [BZ #17979]
21712 * posix/bits/types.h (__int_least8_t): New typedef.
21713 (__uint_least8_t): Likewise.
21714 (__int_least16_t): Likewise.
21715 (__uint_least16_t): Likewise.
21716 (__int_least32_t): Likewise.
21717 (__uint_least32_t): Likewise.
21718 (__int_least64_t): Likewise.
21719 (__uint_least64_t): Likewise.
21720 * sysdeps/generic/stdint.h (int_least8_t): Define using
21721 __int_least8_t.
21722 (int_least16_t): Define using __int_least16_t.
21723 (int_least32_t): Define using __int_least32_t.
21724 (int_least64_t): Define using __int_least64_t.
21725 (uint_least8_t): Define using __uint_least8_t.
21726 (uint_least16_t): Define using __uint_least16_t.
21727 (uint_least32_t): Define using __uint_least32_t.
21728 (uint_least64_t): Define using __uint_least64_t.
21729 * wcsmbs/uchar.h: Include <bits/types.h>.
21730 (char16_t): Define using __uint_least16_t conditional only on
21731 [!__USE_ISOCXX11].
21732 (char32_t): Define using __uint_least32_t conditional only on
21733 [!__USE_ISOCXX11].
21734 * wcsmbs/test-char-types.c: New file.
21735 * wcsmbs/Makefile (tests): Add test-char-types.
21736
d80441dd
JM
21737 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21738 version to 4.0.1.
21739
6c6c962a
ZW
217402018-02-07 Zack Weinberg <zackw@panix.com>
21741
63fb8f9a
ZW
21742 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21743 Delete all contents except for definitions of _G_HAVE_MMAP and
21744 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21745 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21746 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21747 change as above.
21748
21749 * libio/libio.h: Don't include bits/_G_config.h here.
21750 Include stddef.h with __need_wchar_t defined. Include
21751 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21752 Define _IO_iconv_t here, directly.
21753 Don't define _IO_HAVE_ST_BLKSIZE.
21754 * libio/libioP.h: Include _G_config.h here. Move include of
21755 shlib-compat.h up with rest of includes. Simplify conditionals
21756 controlling definition of _IO_JUMPS_OFFSET.
21757
21758 * csu/init.c: Remove always-true #if around entire file.
21759 Don't include stdio.h. Set _IO_stdin_used to hardwired
21760 constant 0x20001, and update commentary.
21761 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21762 Replace all uses of _G_va_list with __gnuc_va_list.
21763 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21764 instead of #if _IO_HAVE_ST_BLKSIZE.
21765 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21766 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21767 not #ifdef.
21768
6c6c962a
ZW
21769 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21770 multiple-include guard to match.
21771 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21772 into this file.
21773 Remove preprocessor conditionals that are always true and/or
21774 redundant to other preprocessor conditionals in the same nest.
21775 Include shlib-compat.h unconditionally.
21776 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21777 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21778 defined after including stdio.h.
21779 Use __BEGIN_DECLS/__END_DECLS.
21780
21781 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21782 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21783 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21784
a4fea3f2
ZW
217852018-02-07 Zack Weinberg <zackw@panix.com>
21786
21787 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21788 New single-type headers split from _G_config.h.
21789 * libio/bits/types/cookie_io_functions_t.h
21790 * libio/bits/types/struct_FILE.h
21791 New single-type headers split from libio.h.
21792
21793 * libio/Makefile: Install the above new headers. Don't install
21794 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21795 bits/libio-ldbl.h.
21796 * libio/_G_config.h, libio/libio.h: Delete file.
21797
21798 * libio/bits/libio.h: Remove improper-inclusion guard.
21799 Include stdio.h and don't repeat anything that it does.
21800 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21801 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21802 __io_read_fn as cookie_read_function_t,
21803 __io_write_fn as cookie_write_function_t,
21804 __io_seek_fn as cookie_seek_function_t,
21805 __io_close_fn as cookie_close_function_t,
21806 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21807 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21808 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 21809 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
21810 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21811 and _IO_ferror_unlocked.
21812 Move prototypes of __uflow and __overflow...
21813
21814 * libio/stdio.h: ...here. Don't include bits/libio.h.
21815 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 21816 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
21817 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21818 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21819 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21820 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21821 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21822 __ssize_t, not _IO_ssize_t. Unconditionally define
21823 BUFSIZ as 8192 and EOF as (-1).
21824
21825 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21826 macros from bits/types/struct_FILE.h instead of _IO_* macros
21827 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21828 instead of _IO_ssize_t.
21829 * libio/bits/stdio2.h: Similarly.
21830
21831 * libio/iolibio.h: Add multiple-include guard.
21832 Include bits/libio.h after stdio.h.
21833 * libio/libioP.h: Add multiple-include guard.
21834 Include stdio.h and bits/libio.h before iolibio.h.
21835
6c6c962a 21836 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
21837 * include/bits/types/cookie_io_functions_t.h
21838 * include/bits/types/struct_FILE.h: New wrappers.
21839
21840 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
21841 Get definitions of _G_fpos_t and _G_fpos64_t from
21842 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21843 respectively. Remove improper-inclusion guards.
a4fea3f2 21844
6c6c962a 21845 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 21846 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 21847 libio.h and _G_config.h.
a4fea3f2 21848
ce999220
JM
218492018-02-07 Joseph Myers <joseph@codesourcery.com>
21850
8b4a1182
JM
21851 [BZ #15105]
21852 [BZ #19463]
21853 * include/sys/sysmacros.h [!_ISOMAC]
21854 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21855 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21856 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21857 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21858 libc_hidden_proto.
21859 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21860 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21861 Likewise.
21862 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21863 Undefine and redefine to add use __gnu_dev_ prefix.
21864 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21865 Likewise.
21866 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21867 and define as hidden inline function.
21868 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21869 Likewise.
21870 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21871 Likewise.
21872 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21873 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21874 (gnu_dev_minor): Likewise.
21875 (gnu_dev_makedev): Likewise.
21876 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21877 makedev.
21878 * posix/wordexp.c (exec_comm_child): Likewise.
21879 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21880 instead of minor and __gnu_dev_major instead of major.
21881 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21882 __gnu_dev_major instead of major.
21883 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21884 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21885 instead of gnu_dev_minor.
21886 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21887 (SLAVE_P): Likewise.
21888 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21889 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21890 instead of major.
21891
ce999220
JM
21892 [BZ #21313]
21893 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21894 in another place.
21895 * locale/weightwc.h (findidx): Likewise.
21896
b7c83ca3
WD
218972018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21898
21899 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21900 (slowlog_inexact): Likewise
21901 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21902 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21903
388ff7bd
IG
219042018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21905
21906 [BZ #22797]
21907 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21908 missing second underscore to parameter name.
21909
663e7d78
JM
219102018-02-06 Joseph Myers <joseph@codesourcery.com>
21911
0d40d0ec
JM
21912 [BZ #14508]
21913 [BZ #15512]
21914 [BZ #17082]
21915 [BZ #20530]
21916 * bits/byteswap.h: Update file comment. Do not include
21917 <bits/byteswap-16.h>.
21918 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21919 constant.
21920 (__bswap_16): Define as inline function.
21921 (__bswap_constant_32): Reformat definition.
21922 (__bswap_32): Always define as inline function, not macro, using
21923 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21924 otherwise __bswap_constant_32.
21925 (__bswap_constant_64): Reformat definition. Do not use
21926 __extension__ here.
21927 (__bswap_64): Always define as inline function, not macro. Use
21928 __extension__ on function definition. Use __builtin_bswap64 if
21929 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21930 * string/test-endian-file-scope.c: New file.
21931 * string/test-endian-sign-conversion.c: Likewise.
21932 * string/Makefile (headers): Remove bits/byteswap-16.h.
21933 (tests): Add test-endian-file-scope and
21934 test-endian-sign-conversion.
21935 (CFLAGS-test-endian-sign-conversion.c): New variable.
21936 * bits/byteswap-16.h: Remove file.
21937 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21938 * sysdeps/ia64/bits/byteswap.h: Likewise.
21939 * sysdeps/m68k/bits/byteswap.h: Likewise.
21940 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21941 * sysdeps/s390/bits/byteswap.h: Likewise.
21942 * sysdeps/tile/bits/byteswap.h: Likewise.
21943 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21944 * sysdeps/x86/bits/byteswap.h: Likewise.
21945
383e87c9
JM
21946 [BZ #17721]
21947 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21948 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21949 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21950 199901L] (__restrict): Define to restrict.
21951
d92c2759
JM
21952 [BZ #19667]
21953 * string/testcopy.c: Include <support/support.h>. Do not include
21954 <malloc.h>. Use <support/test-driver.c>.
21955 (main): Rename to do_test. Make static. Use xmalloc instead of
21956 malloc.
21957
625fb764
JM
21958 [BZ #13575]
21959 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21960 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21961 (SSIZE_MAX): Define to INT_MAX.
21962 * posix/test-ssize-max.c: New file.
21963 * posix/Makefile (tests): Add test-ssize-max.
21964
02325d6c
JM
21965 [BZ #19668]
21966 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21967 <support/support.h>. Do not include <malloc.h>.
21968 (query_auxv): Use xmalloc instead of malloc.
21969
663e7d78
JM
21970 [BZ #14553]
21971 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21972 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21973 instead of loff_t.
21974
6b5c8607 219752018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
21976
21977 [BZ #18023]
21978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21979 Use scratch_buffer instead of extend_alloca.
21980
de6da571
ZW
219812018-02-06 Zack Weinberg <zackw@panix.com>
21982
26c07172
ZW
21983 * libio/stdio.h: Don't define getc or putc as macros.
21984 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21985 not _IO_getc and _IO_putc.
21986
de6da571
ZW
21987 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21988 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21989
92669d6e
JM
219902018-02-06 Joseph Myers <joseph@codesourcery.com>
21991
c2b84df9
JM
21992 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21993 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21994
41376f8c
JM
21995 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21996
d28bf648
JM
21997 [BZ #14890]
21998 * elf/elf.h (NT_PRFPREG): New macro.
21999 (NT_S390_VXRS_LOW): Likewise.
22000 (NT_S390_VXRS_HIGH): Likewise.
22001 (NT_S390_GS_CB): Likewise.
22002 (NT_S390_GS_BC): Likewise.
22003 (NT_S390_RI_CB): Likewise.
22004
e76def72
JM
22005 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22006 (MAP_SYNC): New macro.
22007 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22008 Likewise.
22009 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22010 (MAP_SYNC): Likewise.
22011 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22012 (MAP_SYNC): Likewise.
22013 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22014 (MAP_SYNC): Likewise.
22015 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22016 (MAP_SYNC): Likewise.
22017 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22018 (MAP_SYNC): Likewise.
22019 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22020 (MAP_SYNC): Likewise.
22021 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22022 Likewise.
22023 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22024 Likewise.
22025
92669d6e
JM
22026 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22027 (MAP_SHARED_VALIDATE): New macro.
22028 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22029 (MAP_SHARED_VALIDATE): Likewise.
22030
6a5cac49
L
220312018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22032
22033 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22034 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22035 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22036
b44e0dfb
L
220372018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22038
22039 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22040 (DT_NUM): Updated to 35.
22041
f886c16c
L
220422018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22043
22044 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22045 __builtin_expect with __glibc_likely and __glibc_unlikely.
22046 (elf_machine_rela): Likewise.
22047 (elf_machine_lazy_rel): Likewise.
22048
06fbebff
L
220492018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22050
22051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 22052 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
22053 (elf_machine_lazy_rel): Likewise.
22054
371b220f
L
220552018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22056
22057 [BZ #22638]
22058 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22059 SHARED.
65805016 22060 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 22061
f649a1b8
AS
220622018-02-05 Andreas Schwab <schwab@suse.de>
22063
22064 [BZ #22761]
22065 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22066 string.
22067
9fdb340e
ST
220682018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22069
22070 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22071 not check against PTHREAD_STACK_MIN.
22072
09e56b9e
SM
220732018-02-02 Sean McKean <smckean83@gmail.com>
22074
22075 [BZ #22735]
22076 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22077
d4b4a00a
FW
220782018-02-02 Florian Weimer <fweimer@redhat.com>
22079
22080 [BZ #22753]
22081 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22082 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22083 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22084 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22085 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22086 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22087 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22088 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22089 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22090 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22091 * misc/tst-preadvwritev2.c (do_test): Call it.
22092 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22093
3dfcbfa1
SP
220942018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22095
84c94d2f
SP
22096 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22097
96e6a716
SP
22098 * benchtests/bench-memcmp.c: Print json instead of plain text.
22099
3dfcbfa1
SP
22100 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22101 every test run.
22102
049375e2
JM
221032018-02-01 Joseph Myers <joseph@codesourcery.com>
22104
39f898c6
JM
22105 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22106 version to 4.15.
22107 (s390_sthyi): New syscall.
22108
6f9a3dd8
JM
22109 * sysdeps/generic/ldbl-classify-compat.h: New file.
22110 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22111 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22112 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22113 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22114 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22115 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22117 <ldbl-classify-compat.h>.
22118 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22119 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22120 <ldbl-classify-compat.h>.
22121 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22122 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22123 <ldbl-classify-compat.h>.
22124 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22126 <ldbl-classify-compat.h>.
22127 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22129 <ldbl-classify-compat.h>.
22130 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22132 <ldbl-classify-compat.h>.
22133 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22134 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22135 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22136 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22137 * sysdeps/microblaze/math_private.h: Likewise.
22138 * sysdeps/nios2/math_private.h: Likewise.
22139 * sysdeps/sh/math_private.h: Likewise.
22140
eb65a3d5
JM
22141 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22142 * sysdeps/m68k/coldfire/math_private.h: ... here.
22143 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22144 * sysdeps/tile/math_private.h: Likewise.
22145 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22146 Remove macro.
22147 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22148 Likewise.
22149
8a6bb1d0
JM
22150 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22151 Remove macro.
22152 (libc_fetestexcept): Likewise.
22153 (libc_feupdateenv_test): Likewise.
22154 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22155 (libc_fetestexcept): Likewise.
22156 (libc_feupdateenv_test): Likewise.
22157 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22158 (libc_fetestexcept): Likewise.
22159 (libc_feupdateenv_test): Likewise.
22160 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22161 (libc_fetestexcept): Likewise.
22162 (libc_feupdateenv_test): Likewise.
22163
ae1fcb7b
JM
22164 * sysdeps/generic/math_private.h
22165 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22166 New inline function.
22167 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22168 Likewise.
22169
b1c347e2
JM
22170 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22171 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22172 * sysdeps/generic/math_private.h
22173 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22174 inline function.
22175 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22176 Likewise.
22177 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22178 Likewise.
22179 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22180 Likewise.
22181 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22182 Likewise.
22183 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22184 Likewise.
22185 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22186 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22187 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22188 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22189 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22190 (__fegetenv): Likewise.
22191 (fesetenv): Likewise.
22192 (__fesetenv): Likewise.
22193 (feupdateenv): Likewise.
22194 (__feupdateenv): Likewise.
22195 (fegetround): Likewise.
22196 (__fegetround): Likewise.
22197 (fesetround): Likewise.
22198 (__fesetround): Likewise.
22199
d23a4962
JM
22200 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22201 (feraiseexcept): New macro.
22202 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22203 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22204 Remove macro.
22205 (__feraiseexcept): Likewise.
22206 (feclearexcept): Likewise.
22207 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22208 (__feraiseexcept): Likewise.
22209 (feclearexcept): Likewise.
22210 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22211 (__feraiseexcept): Likewise.
22212 (feclearexcept): Likewise.
22213 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22214 (__feraiseexcept): Likewise.
22215 (feclearexcept): Likewise.
22216 (fetestexcept): Likewise.
22217
5f167950
JM
22218 * sysdeps/m68k/coldfire/math-tests.h: New file.
22219
ccc9035a
JM
22220 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22221 * sysdeps/m68k/bits/fenv.h: ... here.
22222 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22223 not define.
22224 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22225 Likewise.
22226 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22227 Likewise.
22228 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22229 Likewise.
22230 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22231 Likewise.
22232 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22233 Define to 0.
22234 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22235 (__FE_UNDEFINED): New enum constant.
22236 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22237 Do not define.
22238 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22239 Likewise.
22240 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22241 Likewise.
22242 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22243 to match generic bits/fenv.h.
22244 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22245 Do not define.
22246
049375e2
JM
22247 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22248 packed on bits.
22249 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22250 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22251 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22252 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22253
f1d73681
CD
222542018-02-01 Carlos O'Donell <carlos@redhat.com>
22255 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22256 Joseph Myers <joseph@codesourcery.com>
22257
22258 [BZ #21314]
22259 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22260 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22261 computation using c.
22262 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22263 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22264 computation using c.
22265
242cbc90
DL
222662018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22267
086ee48e
DL
22268 * version.h (RELEASE): Set to "development".
22269 (VERSION): Set to "2.27.9000".
22270 * NEWS (2.28): New section.
22271
23158b08
DL
22272 * version.h (RELEASE): Set to "stable".
22273 (VERSION): Set to "2.27".
22274 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22275
242cbc90
DL
22276 * NEWS: Add the list of bugs fixed in 2.27.
22277
673e2305
AZ
222782018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22279
22280 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22281 against PTHREAD_STACK_MIN.
22282
ced64e01
DL
222832018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22284
22285 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22286 New entries.
ab74d59f 22287 (Rafał Lużyński, Andreas Schwab): Update.
ced64e01 22288
ab74d59f 222892018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
c10c9a5e
RL
22290
22291 [BZ #10871]
22292 * NEWS: List the languages which actually use the alternative
22293 months feature in this release. Also explain that "alt_mon" and
22294 "ab_alt_mon" are optional.
22295
650ba77a
IM
222962018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22297
22298 [BZ #22765]
22299 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22300
93493119
DL
223012018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22302
22303 * manual/install.texi (Tools for Compilation): Update the newest
22304 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22305 * INSTALL: Regenerated.
22306
363e4519 223072018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
22308
22309 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22310 instead of __builtin_expect.
22311
d7536874
FW
223122018-01-30 Florian Weimer <fweimer@redhat.com>
22313
22314 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22315 data.
22316 * nss/tst-nss-getpwent.c (do_test): Likewise.
22317
ab74d59f 223182018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
9a1b267d
RL
22319
22320 [BZ #10871]
22321 * localedata/locales/hr_HR (mon): Rename to...
22322 (alt_mon): This.
22323 (mon): Import from CLDR (genitive case).
22324 (d_t_fmt): Update the comment.
22325
9a179328
AS
223262018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22327
22328 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22329 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22330 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22331
e01e0ddc
ST
223322018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22333
22334 * mach/Versions: Fix version when __mach_host_self_ was added.
22335 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22336 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22337 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22338 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22339 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22340 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22341 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22342 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22343 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22344 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22345 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22346 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
22347 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22348 || to respect codestyle.
2aadb705
ST
22349 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22350 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
22351 * malloc/malloc.c: Include <assert.h>.
22352 (assert): Do not define.
22353 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
22354 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22355 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 22356 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 22357 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 22358
521877e1
PD
223592018-01-29 Darius Rad <darius@bluespec.com>
22360
22361 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22362
532cf290
PD
223632018-01-29 Palmer Dabbelt <palmer@sifive.com>
22364
22365 * sysdeps/init_array/crti.S (.section .init_array): Add
22366 PREINIT_FUNCTION when defined.
40ca951b 22367 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 22368 * config.h.in: Regenerate.
ba9e25a6
PD
22369 * manual/platform.texi: Add RISC-V documenation for
22370 __riscv_flush_icache.
c776fa11
PD
22371 * sysdeps/riscv/__longjmp.S: New file.
22372 * sysdeps/riscv/backtrace.c: Likewise.
22373 * sysdeps/riscv/bits/endian.h: Likewise.
22374 * sysdeps/riscv/bits/setjmp.h: Likewise.
22375 * sysdeps/riscv/bits/wordsize.h: Likewise.
22376 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22377 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22378 * sysdeps/riscv/dl-trampoline.S: Likewise.
22379 * sysdeps/riscv/gccframe.h: Likewise.
22380 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22381 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22382 * sysdeps/riscv/machine-gmon.h: Likewise.
22383 * sysdeps/riscv/memusage.h: Likewise.
22384 * sysdeps/riscv/setjmp.S: Likewise.
22385 * sysdeps/riscv/sys/asm.h: Likewise.
22386 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
22387 * sysdeps/riscv/dl-tls.h: New file.
22388 * sysdeps/riscv/libc-tls.c: Likewise.
22389 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22390 * sysdeps/riscv/nptl/tls.h: Likewise.
22391 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
22392 * sysdeps/riscv/bits/fenv.h: New file.
22393 * sysdeps/riscv/e_sqrtl.c: Likewise.
22394 * sysdeps/riscv/fpu_control.h: Likewise.
22395 * sysdeps/riscv/math-tests.h: Likewise.
22396 * sysdeps/riscv/nofpu/Implies: Likewise.
22397 * sysdeps/riscv/sfp-machine.h: Likewise.
22398 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
22399 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22400 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22401 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22402 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22403 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22404 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22405 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22406 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22407 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22408 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22409 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22410 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22411 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22412 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22413 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22414 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22415 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22416 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22417 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22418 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22419 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22420 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22421 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22422 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22423 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22424 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22425 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22426 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22427 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22428 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22429 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22430 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22431 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22432 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22433 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22434 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22435 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22436 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22437 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22438 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22439 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22440 * sysdeps/riscv/rvf/math_private.h: Likewise.
22441 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22442 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22443 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22444 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22445 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22446 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22447 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22448 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22449 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22450 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22451 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22452 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22453 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22454 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22455 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22456 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
22457 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22458 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22459 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22460 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
22461 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22462 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22463 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22464 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22465 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22466 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22467 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22468 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22469 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
22470 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22471 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22472 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22473 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22474 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22475 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22476 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22477 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22478 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22479 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22480 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22481 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22482 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22483 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22484 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22485 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22486 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22487 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22488 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22489 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22490 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22491 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
22492 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22493 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22494 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
22495 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22496 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22497 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22498 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22499 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22500 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22501 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22502 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22503 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22504 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22505 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22506 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22507 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22508 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
22509 * sysdeps/riscv/Implies: New file.
22510 * sysdeps/riscv/Makefile: Likewise.
22511 * sysdeps/riscv/configure: Likewise.
22512 * sysdeps/riscv/configure.ac: Likewise.
22513 * sysdeps/riscv/nptl/Makefile: Likewise.
22514 * sysdeps/riscv/preconfigure: Likewise.
22515 * sysdeps/riscv/rv64/Implies-after: Likewise.
22516 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22517 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22518 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22519 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22520 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22521 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22522 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22523 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22524 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22525 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22526 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
22527 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22528 (Config): Likewise.
532cf290 22529
cdd14619
FW
225302018-01-29 Florian Weimer <fweimer@redhat.com>
22531
22532 [BZ #22701]
22533 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22534 libnsl_hidden_proto.
22535 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22536 libnsl_hidden_proto.
22537 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22538 * nis/Makefile (libnsl-routines): Add nss-default only for
22539 build-obsolete-nsl.
22540 * nis/nis_defaults.c (__nis_default_ttl): Add
22541 libnsl_hidden_nolink_def.
22542 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22543 declaration.
22544 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22545 * nis/ypclnt.c (yp_maplist): Likewise.
22546
b7ccb5de
RN
225472018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22548
22549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22550 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22551
522623e4
JM
225522018-01-29 Joseph Myers <joseph@codesourcery.com>
22553
e3aa6999
JM
22554 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22555 clean -dxfq for git updates when replacing sources.
22556
088de7d0
JM
22557 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22558 --disable-libcilkrts unconditionally, not just for the final GCC
22559 build for Hurd.
22560
522623e4
JM
22561 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22562 version to 4.15.
22563
ab74d59f 225642018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
8b406f87
RL
22565
22566 [BZ #10871]
22567 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22568 case).
22569
ab74d59f 225702018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
105e90bd
RL
22571
22572 [BZ #10871]
22573 * localedata/locales/be_BY (mon): Rename to...
22574 (alt_mon): This, then synchronize with CLDR (nominative case).
22575 (abmon): Rename to...
22576 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22577 (mon): Import from CLDR (genitive case).
22578 (abmon): Likewise.
22579 * localedata/locales/be_BY@latin (mon): Rename to...
22580 (alt_mon): This.
22581 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22582
22583 * localedata/locales/be_BY@latin (lang_name): Reworded to
22584 "biełaruskaja mova".
22585
ab74d59f 225862018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
561cb414
RL
22587
22588 [BZ #10871]
22589 * localedata/locales/el_CY (mon): Renamed to...
22590 (alt_mon): This.
22591 (mon): Import from CLDR (genitive case).
22592 * localedata/locales/el_GR: Likewise.
22593
ab74d59f 225942018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
f7bdf30d
RL
22595
22596 [BZ #10871]
22597 * localedata/locales/ru_RU (mon): Rename to...
22598 (alt_mon): This.
22599 (abmon): Rename to...
22600 (ab_alt_mon): This.
22601 (mon): Import from CLDR (genitive case).
22602 (abmon): Copy from the old content except the 5th month which is
22603 now in the genitive case, even when abbreviated.
22604 * localedata/locales/ru_UA: Likewise.
22605 * time/tst-strptime.c (day_tests): Add an actual example of
22606 a difference between %b and %Ob in Russian.
22607
85285a0c
ST
226082018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22609
22610 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
22611 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22612 a `c' variable.
3538a4b6 22613 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
22614 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22615 <sys/wait.h>, <time.h>, <sys/uio.h>.
22616 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 22617 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
22618 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22619 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22620 return 0.
05ebfe87
ST
22621 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22622 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
22623 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22624 instead of void *.
22625 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22626 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
22627 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22628 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
22629 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22630 and make them the default for now.
903d3633
ST
22631 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22632 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
22633 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22634 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22635 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22636 MACH_IPC_COMPAT.
06fac9f5
ST
22637 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22638 __task_terminate would ever return successfully.
f8177753
ST
22639 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22640 to global scope.
41cdb1eb
ST
22641 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22642 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
22643 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22644 critical section to make code simpler and avoid warning.
22645 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22646 critical section to make code simpler and avoid warning.
844bf921
ST
22647 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22648 const char * instead of char *.
f8bee46c
ST
22649 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22650 __hurd_file_name_split, hurd_file_name_split,
22651 __hurd_directory_name_split, hurd_directory_name_split,
22652 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22653 hurd_file_name_path_lookup): Make lookup function parameter take a
22654 const char *name instead of char *name.
22655 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22656 __hurd_directory_name_split): Likewise.
22657 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22658 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
22659 * sysdeps/mach/hurd/check_native.c: New file.
22660 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
22661 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22662 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
22663 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22664 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
22665 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22666 (do_test_bz20181): Rename accordingly.
22667 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
22668 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22669 <sys/mount.h>.
28f6186f
ST
22670 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22671 version only if __USE_EXTERN_INLINES is defined.
22672 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22673 __hurd_sockfail): Likewise.
22674 (_hurd_fd_get): Always declare functions, and provide inline versions
22675 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22676 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22677 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22678 _hurd_port_set): Always declare functions, and provide inline versions
22679 only if __USE_EXTERN_INLINES and _LIBC are defined and
22680 IS_IN(libc).
22681 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22682 _hurd_critical_section_unlock): Likewise.
22683 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22684 * __hurd_threadvar_location): Likewise.
22685 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22686 _hurd_userlink_clear): Likewise.
22687 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22688 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22689 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22690 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22691 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22692 __spin_lock_locked): Likewise.
22693 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22694 __spin_lock_locked): Likewise.
22695 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22696 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22697 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22698 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22699 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
22700 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22701 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
22702 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22703 check size against PTHREAD_STACK_MIN.
625ba81e
ST
22704 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22705 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
22706 * mach/Makefile (user-interfaces): Add mach/gnumach.
22707 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22708 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
22709 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22710 instead of invalid -1.
1f89ac71
ST
22711 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22712 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22713 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22714 <net/ppp_defs.h>.
85285a0c 22715
1fd1e27c 227162018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
22717
22718 * hurd/fcntl-internal.h: New file.
22719
3854c5a8
JC
227202018-01-27 James Clarke <jrtc27@jrtc27.com>
22721
7e23a7dd
JC
22722 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22723
3854c5a8
JC
22724 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22725
5503f413
AS
227262018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22727
22728 [BZ #22701]
22729 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22730 Build only shared objects.
22731
caaf7804
CD
227322018-01-26 Carlos O'Donell <carlos@redhat.com>
22733
22734 * README: Update for hppa.
22735
1cbf818d
PM
227362018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22737
caaf7804
CD
22738 * sysdeps/sparc/fpu/libm-test-ulps: Update
22739 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 22740
caaf7804 227412018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
22742
22743 Revert:
22744
22745 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 [BZ #22563]
22748 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22749 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22750 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22751 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22752 to feature_1.
22753
22754 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22755
22756 [BZ #22563]
22757 * bits/types/__cancel_jmp_buf_tag.h: New file.
22758 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22759 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22760 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22761 * nptl/Makefile (headers): Add
22762 bits/types/__cancel_jmp_buf_tag.h.
22763 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22764 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22765 * sysdeps/nptl/pthread.h: Include
22766 <bits/types/__cancel_jmp_buf_tag.h>.
22767 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22768 __cancel_jmp_buf.
22769 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22770
ab74d59f 227712018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
65f6c94e
RL
22772
22773 [BZ #10871]
22774 * localedata/locales/uk_UA (mon): Renamed to...
22775 (alt_mon): This.
22776 (alt_digits): "0" removed and then renamed to...
22777 (mon): This.
22778 (date_fmt): Definition changed not to use the alternative
22779 digits hack.
22780
fb58aac5
PD
227812018-01-25 Palmer Dabbelt <palmer@sifive.com>
22782
22783 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22784 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22785 * elf/elf.h (EF_RISCV_RVC): New define.
22786 (EF_RISCV_FLOAT_ABI): Likewise.
22787 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22788 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22789 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22790 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22791 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22792 define.
22793 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22794
128c43a2
AS
227952018-01-25 Andreas Schwab <schwab@suse.de>
22796
22797 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22798 single quotes.
22799 * sysdeps/gnu/configure: Regenerate.
22800 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22801 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22803 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22804 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22805 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22806 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22807 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22808
f9015003
ST
228092018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22810
48130690 22811 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 22812 URL, and run autoconf, make it the default for now.
f9015003 22813
91b2cffa
JM
228142018-01-24 Joseph Myers <joseph@codesourcery.com>
22815
3005b705
JM
22816 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22817 soft-float ColdFire configuration.
22818
69231fab
JM
22819 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22820 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22821 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22822
d4c7e1d0
JM
22823 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22824 MicroBlaze file.
22825
0cfe5be5
JM
22826 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22827 ....
22828 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22829 ... here.
22830 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22831 New file.
22832
91b2cffa
JM
22833 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22834 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22835 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22836 file.
22837
c739e191
SN
228382018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22839
22840 [BZ #22742]
22841 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22842 Rename to __reserved and add comment.
22843 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22844 Rename to __reserved.
22845
394b5bac
JM
228462018-01-24 Joseph Myers <joseph@codesourcery.com>
22847
22848 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22849 i686-gnu configurations.
22850 (Context.run_builds): Include mig, gnumach and hurd in components
22851 considered.
22852 (Context.checkout): Add mig, gnumach and hurd to components.
22853 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22854 hurd.
22855 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22856 (Config.build): Install gnumach headers, build mig and install
22857 hurd headers for 'gnu' OS.
22858 (Config.install_gnumach_headers): New function.
22859 (Config.install_hurd_headers): Likewise.
22860 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22861 when building for 'gnu' OS.
22862
28c3f14f
TK
228632018-01-23 Tobias Klauser <tklauser@distanz.ch>
22864
22865 * manual/tunables.texi (Hardware Capability Tunables): Fix
22866 spelling.
22867
0f5e2da1
RJ
228682018-01-22 Rical Jasan <ricaljasan@pacific.net>
22869
22870 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22871 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22872 (ALTMON_11, ALTMON_12): Improve documentation.
22873 * manual/time.texi (strftime): Likewise.
22874
ab74d59f 228752018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
7817b14a
RL
22876
22877 [BZ #10871]
22878 * localedata/locales/pl_PL: Alternative month names added,
22879 primary month names are genitive now.
22880 * time/tst-strptime.c (day_tests): Actually use a genitive case
22881 of a month name in Polish language.
22882
ab74d59f 228832018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22390764
RL
22884
22885 [BZ #10871]
22886 * manual/locale.texi: Document ALTMON_1..12 constants for
22887 nl_langinfo. Specify when to use ALTMON instead of MON.
22888 * manual/time.texi (strftime, strptime): Document GNU extension
22889 permitting O modifier with %B and %b. Specify when to use
22890 %OB instead of %B.
22891
ab74d59f 228922018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
761a585c
RL
22893
22894 [BZ #10871]
22895 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22896 names, define them as the same as abbreviated month names explicitly.
22897 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22898 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22899 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22900 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22901 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22902 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22903 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22904 _NL_WABALTMON_12): New enum constants.
22905 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22906 wab_alt_mon, and ab_alt_mon_defined members.
22907 (time_output): Output ab_alt_mon and wab_alt_mon members.
22908 (time_read): Read them, initialize them as copies of abmon and wabmon
22909 respectively if they are missing, initialize ab_alt_mon_defined.
22910 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22911 * locale/programs/locfile-kw.h: Regenerate.
22912 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22913 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22914 and ru_RU.UTF-8.
22915 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22916 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22917 (__strftime_internal): Handle %Ob and %Oh formats.
22918 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22919 (__strptime_internal): Handle %Ob and %Oh formats.
22920 * time/tst-strptime.c (day_tests): Add more tests to parse different
22921 forms of month names including the new %Ob format specifier.
22922
ab74d59f 229232018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
95cb863a
RL
22924
22925 [BZ #10871]
22926 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22927 define them as the same as primary full month names explicitly.
22928 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22929 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22930 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22931 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22932 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22933 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22934 _NL_WALTMON_12): New enum constants.
22935 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22936 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22937 macros.
22938 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22939 walt_mon, and alt_mon_defined members.
22940 (time_output): Output alt_mon and walt_mon members.
22941 (time_read): Read them, initialize them as copies of mon and wmon
22942 respectively if they are missing, initialize alt_mon_defined.
22943 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22944 * locale/programs/locfile-kw.h: Regenerate.
22945 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22946 * localedata/tst-langinfo.c (map): Add tests for the new constants
22947 ALTMON_1 .. ALTMON_12.
22948 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22949 and pl_PL.UTF-8.
22950 * time/strftime_l.c (f_altmonth): New macro.
22951 (__strftime_internal): Handle %OB format.
22952 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22953 (__strptime_internal): Handle %OB format.
22954 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22955 of month names including the new %OB format specifier.
22956
4612268a
TMQMF
229572018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22958
22959 [BZ #22685]
22960 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22961 from ABORT_TRANSACTION.
22962 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22963 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22964 ABORT_TRANSACTION_IMPL): Likewise.
22965 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22966 Linux code, but remove the code that aborts transactions.
22967
64f63cb4
ST
229682018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22969
22970 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22971
ab74d59f 229722018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
32ac6e92
RL
22973
22974 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22975 in date: "2004-14-09" should be "2004-09-14".
22976 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22977 "2003-15-09" should be "2003-09-15".
22978
8e448310
AS
229792018-01-18 Arjun Shankar <arjun@redhat.com>
22980
22981 [BZ #22343]
71aa429b 22982 [BZ #22774]
4590634f 22983 CVE-2018-6485
71aa429b 22984 CVE-2018-6551
8e448310
AS
22985 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22986 after padding.
22987 (_int_memalign): check for integer overflow before calling
22988 _int_malloc.
22989 * malloc/tst-malloc-too-large.c: New test.
22990 * malloc/Makefile: Add tst-malloc-too-large.
22991
ab74d59f 229922018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
e234d7cb
RL
22993
22994 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22995 in date: "2017-24-07" should be "2017-07-24".
22996 * localedata/locales/mai_IN: Likewise.
22997 * localedata/locales/mai_NP: Likewise.
22998
48b66019
DL
229992018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23000
23001 * po/ru.po: Update translations.
23002
1eeddc58
JM
230032018-01-17 Joseph Myers <joseph@codesourcery.com>
23004
23005 [BZ #22719]
23006 * sysdeps/hppa/backtrace.c: New file.
23007
207a72e2
L
230082018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23009
23010 [BZ #22715]
23011 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23012 align La_x86_64_retval to VEC_SIZE.
23013
4942c4ea
JM
230142018-01-16 Joseph Myers <joseph@codesourcery.com>
23015
23016 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23017 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23018
10d200db
FW
230192018-01-16 Florian Weimer <fweimer@redhat.com>
23020
23021 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23022 Move tst-thread-exit-clobber ...
23023 [$(CXX)] (tests-unsupported): ... to here.
23024
953c49cc
SN
230252018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23026
23027 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23028 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23029 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23030 (_dl_aarch64_cap_flags): Update.
23031 (_DL_HWCAP_COUNT): Update.
23032
afce1991
SN
230332018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23034
23035 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23036 (_DL_HWCAP_LAST): Remove.
23037 (_DL_HWCAP_COUNT): Move to ...
23038 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23039 (_DL_HWCAP_COUNT): ... here.
23040
b725132d
FW
230412018-01-16 Florian Weimer <fweimer@redhat.com>
23042
23043 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23044 mode with GNU extensions.
23045
c9e613a7
AH
230462018-01-15 Alan Hayward <alan.hayward@arm.com>
23047
23048 * elf/elf.h (NT_ARM_SVE): Define.
23049
860b0240
FW
230502018-01-15 Florian Weimer <fweimer@redhat.com>
23051
23052 [BZ #22636]
23053 * nptl/tst-minstack-throw.cc: New file.
23054 * nptl/Makefile (tests): Add tst-minstack-throw.
23055 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23056 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23057
16d0f6ac
JM
230582018-01-15 Joseph Myers <joseph@codesourcery.com>
23059
23060 * scripts/build-many-glibcs.py (Context.checkout): Default
23061 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23062 version to 1.1.0.
23063
505d3910
CD
230642018-01-13 Carlos O'Donell <carlos@redhat.com>
23065
23066 [BZ #22707]
23067 * elf/elf.h (DF_1_STUB): Define.
23068 (DF_1_PIE): Define.
23069
af1e6be4
TMQMF
230702018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23071
23072 [BZ #22697]
23073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23074 Do not add 0.5 to integer or out-of-range arguments.
23075
98d13ce0
DL
230762018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23077
23078 * po/bg.po: Update translations.
23079 * po/cs.po: Likewise.
23080 * po/de.po: Likewise.
23081 * po/ko.po: Likewise.
23082 * po/pl.po: Likewise.
23083 * po/sv.po: Likewise.
23084 * po/uk.po: Likewise.
23085 * po/vi.po: Likewise.
23086
3d1d7928
SN
230872018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23088
23089 * aarch64/start.S (_start): Use __wrap_main.
23090 (__wrap_main): New local symbol.
23091
52a713fd
DL
230922018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23093
23094 [BZ #22679]
23095 CVE-2018-1000001
23096 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23097 generic_getcwd if the path returned by getcwd syscall is not absolute.
23098 * io/tst-getcwd-abspath.c: New test.
23099 * io/Makefile (tests): Add tst-getcwd-abspath.
23100
249a5895
IK
231012018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23102
23103 * malloc/malloc.c (malloc_consolidate): Add size check.
23104
1a51e46e
FW
231052018-01-12 Florian Weimer <fweimer@redhat.com>
23106
23107 * support/write_message.c (write_message): Preserve errno.
23108 * support/check.c (print_failure): Likewise.
23109 * support/support_test_verify_impl.c (support_test_verify_impl):
23110 Likewise.
23111 * support/support_test_compare_failure.c
23112 (support_test_compare_failure): Likewise.
23113
9a08a366
FW
231142018-01-12 Florian Weimer <fweimer@redhat.com>
23115
23116 [BZ #22701]
23117 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23118 Prevent installation of libnsl.so.
23119 (libnsl-inhibit-o): Do not build (or install) static libraries.
23120
80647883 231212018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
23122
23123 [BZ #22657]
23124 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23125 before the day number which may produce a double space.
23126 (date_fmt): Likewise.
23127
c8924f1f
JM
231282018-01-12 Joseph Myers <joseph@codesourcery.com>
23129
23130 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23131 instead of fegetenv.
23132
da09e6fa
JM
231332018-01-11 Joseph Myers <joseph@codesourcery.com>
23134
23135 [BZ #22702]
23136 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23137 comment to say exceptions are discarded.
23138 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23139 __fegetenv.
23140 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23141 be enabled.
23142
08c6e952
FW
231432018-01-11 Florian Weimer <fweimer@redhat.com>
23144
23145 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23146 and error message.
23147
d8b77890
FW
231482018-01-11 Florian Weimer <fweimer@redhat.com>
23149
23150 [BZ #22636]
23151 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23152 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23153
b303185d
JM
231542018-01-10 Joseph Myers <joseph@codesourcery.com>
23155
23156 [BZ #22693]
23157 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23158 negative arguments in test for NaN or infinity argument.
23159
ee61d028
DL
231602018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23161
23162 * po/libc.pot: Regenerate.
23163
f993b875
FW
231642018-01-10 Florian Weimer <fweimer@redhat.com>
23165
23166 [BZ #22636]
23167 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23168 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23169
09085ede
ST
231702018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23171
23172 * hurd/hurd/fd.h: Include <fcntl.h>
23173 (__hurd_at_flags): New function.
23174 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23175 with call to __hurd_at_flags.
23176 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23177 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23178 __faccessat
23179 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23180 (__access_noerrno): Use __faccessat_common instead of access_common.
23181 (__access): Likewise.
23182 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23183 with a call to __faccessat.
23184 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23185 (__faccessat_common): ... this. Move implementation of __access into it when
23186 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23187 reauthenticate_cwdir_at helper to implement AT mechanism.
23188 (__faccessat_noerrno): New function, just calls __faccessat_common.
23189 (__faccessat): New function, just calls __faccessat_common.
23190 (faccessat): Define weak alias.
23191
12727488
JM
231922018-01-10 Joseph Myers <joseph@codesourcery.com>
23193
87faac55
JM
23194 [BZ #22691]
23195 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23196 (CFLAGS-s_fmaxmagl.c): New variable.
23197 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23198
12727488
JM
23199 [BZ #22690]
23200 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23201 long int for arguments of possibly overflowing addition or
23202 subtraction.
23203 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23204
e134ca17
JM
232052018-01-09 Joseph Myers <joseph@codesourcery.com>
23206
b2584ac2
JM
23207 [BZ #22688]
23208 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23209 (CFLAGS-e_remainderl.c): New variable.
23210
e134ca17
JM
23211 [BZ #22687]
23212 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23213 variable.
23214 (CFLAGS-s_cacoshl.c): Likewise.
23215 (CFLAGS-s_casinhl.c): Likewise.
23216 (CFLAGS-s_catanl.c): Likewise.
23217 (CFLAGS-s_catanhl.c): Likewise.
23218 (CFLAGS-s_cexpl.c): Likewise.
23219 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23220 (CFLAGS-s_csinhl.c): Likewise.
23221 (CFLAGS-s_clogl.c): Likewise.
23222 (CFLAGS-s_clog10l.c): Likewise.
23223 (CFLAGS-s_csinl.c): Likewise.
23224 (CFLAGS-s_csqrtl.c): Likewise.
23225
d31a4a48
ST
232262017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
232272017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
23228
23229 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23230 (_hurd_exec_paths): New function.
23231 * hurd/hurd.h (_hurd_exec): Deprecate function.
23232 (_hurd_exec_paths): Declare function.
23233 * hurd/Versions: Export _hurd_exec_paths.
23234 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23235 (__execve): Use __getcwd to build absolute path, and use
23236 _hurd_exec_paths instead of _hurd_exec.
23237 * sysdeps/mach/hurd/spawni.c: Likewise.
23238 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23239 _hurd_exec.
23240
d7ff3f11
DL
232412018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23242
23243 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23244 test instead of failing in case of ENOENT returned by posix_openpt.
23245
401311cf
FW
232462018-01-08 Florian Weimer <fweimer@redhat.com>
23247
23248 resolv: Support binary labels in test framework.
23249 * support/resolv_test.c (struct to_be_freed): Remove.
23250 (struct compressed_name): New.
23251 (allocate_compressed_name, ascii_tolower)
23252 (compare_compressed_name): New functions.
23253 (struct resolv_response_builder): Update type of
23254 compression_offsets for use with tsearch. Rempve to_be_freed.
23255 (response_push_pointer_to_free): Remove function.
23256 (resolv_response_add_name): Rewrite using struct compressed_name
23257 and tsearch instead of hsearch_r.
23258 (response_builder_allocate): Remove initialization of
23259 compression_offsets.
23260 (response_builder_free): Update for removal of to_be_freed. Use
23261 tdestroy instead of hdestroy_r.
23262 * resolv/Makefile (tests): Add tst-resolv-binary.
23263 (tst-resolv-binary): Link with -lresolv -lpthread.
23264
2b3aa446
FW
232652018-01-08 Florian Weimer <fweimer@redhat.com>
23266
23267 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23268 time. Pass positive flag instead of negative flag to
23269 support_test_compare_failure.
23270 (support_test_compare_failure): Change negative parameter to
23271 positive.
23272 * support/support_test_compare_failure.c (report)
23273 (support_test_compare_failure): Likewise.
23274 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23275 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23276
630f4cc3
SN
232772018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23278
23279 [BZ #22637]
23280 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23281 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23282 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23283 stacksize.
23284 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23285
c70e4e9c
L
232862018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23287
23288 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23289 Add s_sincosf-sse2 and s_sincosf-fma.
23290 (CFLAGS-s_sincosf-fma.c): New.
23291 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23292 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23293 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23294 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23295 __sincosf is defined.
23296
579396ee
FW
232972018-01-08 Florian Weimer <fweimer@redhat.com>
23298
23299 * nptl/tst-thread-exit-clobber.cc: New file.
23300 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23301 C++11 mode.
23302 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23303 (tests): Add tst-thread-exit-clobber.
23304 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23305
dabd75b6
FW
233062018-01-08 Florian Weimer <fweimer@redhat.com>
23307
23308 * support/check.h (support_static_assert): Define.
23309 (TEST_COMPARE): Use it.
23310
c2e014cc
AJ
233112018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23312
23313 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23314 [!__RLIM_T_MATCHES_RLIM64_T]
23315 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23316 __getrlimit64. Add libc_hidden_weak.
23317
31a98837
PD
233182018-01-06 Palmer Dabbelt <palmer@sifive.com>
23319
23320 * elf/elf.h (R_RISCV_NONE): New define.
23321 (R_RISCV_32): Likewise.
23322 (R_RISCV_64): Likewise.
23323 (R_RISCV_RELATIVE): Likewise.
23324 (R_RISCV_COPY): Likewise.
23325 (R_RISCV_JUMP_SLOT): Likewise.
23326 (R_RISCV_TLS_DTPMOD32): Likewise.
23327 (R_RISCV_TLS_DTPMOD64): Likewise.
23328 (R_RISCV_TLS_DTPREL32): Likewise.
23329 (R_RISCV_TLS_DTPREL64): Likewise.
23330 (R_RISCV_TLS_TPREL32): Likewise.
23331 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
23332 * Makerules (make-link-multidir): Make directories before linking into
23333 them.
150bbac1
PD
23334 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23335 define.
23336 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
23337 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23338 in subdirectories of lib.
8e13c51b
PD
23339 * nptl/Makefile (/librt.so): Always depend on
23340 "$(shared-thread-library)".
31a98837 23341
fad7d57e
ST
233422018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23343
23344 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
23345 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23346 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23347 (___tls_get_addr).
23348 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
23349 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23350 "-O2 -march=i686".
01c7e549 23351 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
23352 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23353 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23354 * sysdeps/gnu/glob-lstat-compat.c: New file.
23355 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 23356 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 23357
3a32b716
TMQMF
233582018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23359
23360 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23361 Reserve 16 chars to reloc_addr before calling _itoa_word.
23362
24731685
AJ
233632018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23364
23365 [BZ #22678]
23366 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23367 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23368
19be56d8
AJ
23369 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23370 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23371
a6d0afb5
AJ
23372 * resource/tst-getrlimit.c: Add copyright header.
23373
8e900969
AJ
233742018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23375 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23376
23377 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23378 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23379 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23380 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23381 instead.
23382 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23383 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23384 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23385 RLIM64_INFINITY): Fix values to match the kernel ones.
23386 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23387 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23388 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23389 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23390 getrlimit64@@GLIBC_2_27.
23391 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23392 and setrlimit64.
23393 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23394 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23395 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23396 setrlimit, getrlimit64 and setrlimit64.
23397
0d0bc784
AJ
233982018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23399
23400 [BZ #22648]
23401 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23402 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23403
ba374b6d
JM
234042018-01-04 Joseph Myers <joseph@codesourcery.com>
23405
23406 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23407 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23408 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23409
4854ddd8
AZ
234102018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23411
b0a4eca2
AZ
23412 [BZ #15479]
23413 [BZ #22666]
23414 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23415 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23416
4854ddd8
AZ
23417 [BZ #15479]
23418 [BZ #22665]
23419 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23420 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23421 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23422 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23423
8a5df95f
FW
234242018-01-04 Florian Weimer <fweimer@redhat.com>
23425
23426 [BZ #22667]
23427 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23428 Align the stack before calling exit.
23429 * stdlib/tst-makecontext-align.c: New file.
23430 * stdlib/Makefile (tests): Add tst-makecontext-align.
23431
82eef55f
FW
234322018-01-04 Florian Weimer <fweimer@redhat.com>
23433
23434 Add support for calling dlvsym from libc.so.
23435 * include/dlfcn.h (__libc_dlvsym): Declare.
23436 * elf/Makefile (tests-static-internal): Add
23437 tst-libc_dlvsym-static.
23438 (tests-internal): Add tst-libc_dlvsym.
23439 (modules-names): Add tst-libc_dlvsym-dso.
23440 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23441 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23442 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23443 object tst-libc_dlvsym-dso.so needs to be built before running
23444 these tests.
23445 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23446 * elf/Versions: Export __libc_dlvsym.
23447 * elf/dl-libc.c (struct do_dlvsym_args): New.
23448 (do_dlvsym, __libc_dlvsym): New functions.
23449 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23450 (_dl_open_hook2): New variable.
23451 (__libc_register_dl_open_hook): Set it.
23452 * elf/tst-libc_dlvsym-dso.c: New file.
23453 * elf/tst-libc_dlvsym-static.c: Likewise.
23454 * elf/tst-libc_dlvsym.c: Likewise.
23455 * elf/tst-libc_dlvsym.h: Likewise.
23456
1714fc06
ST
234572018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23458
23459 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23460 include <sys/mount.h>.
23461
3c7d0312
WD
234622018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23463
23464 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23465 Add __NO_MATH_ERRNO__ check.
23466
7eff0954
JM
234672018-01-02 Joseph Myers <joseph@codesourcery.com>
23468
23469 * sysdeps/mips/mips32/libm-test-ulps: Update.
23470 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23471
77f49956
FW
234722018-01-02 Florian Weimer <fweimer@redhat.com>
23473
23474 * misc/tst-pselect.c: Add copyright header.
23475
363e4519 234762018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
23477
23478 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23479 comment.
23480 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23481 comment.
23482 (settrlimit): Rename into setrlimit.
23483 (__sttrlimit): Rename into __setrlimit.
23484
3e4226ff
AJ
23485 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23486 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23487 never defined in that case.
23488
b9256ab6
JM
234892018-01-02 Joseph Myers <joseph@codesourcery.com>
23490
28fd6a44
JM
23491 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23492
a4933a15
JM
23493 * sysdeps/arm/libm-test-ulps: Update.
23494
b9256ab6
JM
23495 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23496 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23497
4cf82d23
RS
234982018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23499
23500 * NEWS: Add cosf and sincosf to list of optimized functions.
23501
6a9dd7a7
AJ
235022018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23503
23504 [BZ #22660]
23505 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23506 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23507 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23508 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23509
dbba87d5
DL
235102018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23511
b05cb613
DL
23512 [BZ #22433]
23513 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23514
dbba87d5
DL
23515 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23516 making a copy of it.
23517
688903eb
JM
235182018-01-01 Joseph Myers <joseph@codesourcery.com>
23519
66ac23de
JM
23520 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23521 trailing whitespace removed.
23522 * scripts/config.guess: Update to version 2018-01-01.
23523 * scripts/config.sub: Update to version 2018-01-01.
23524 * scripts/move-if-change: Update from gnulib.
23525
09533208
JM
23526 * NEWS: Update copyright dates.
23527 * catgets/gencat.c (print_version): Likewise.
23528 * csu/version.c (banner): Likewise.
23529 * debug/catchsegv.sh: Likewise.
23530 * debug/pcprofiledump.c (print_version): Likewise.
23531 * debug/xtrace.sh (do_version): Likewise.
23532 * elf/ldconfig.c (print_version): Likewise.
23533 * elf/ldd.bash.in: Likewise.
23534 * elf/pldd.c (print_version): Likewise.
23535 * elf/sotruss.sh: Likewise.
23536 * elf/sprof.c (print_version): Likewise.
23537 * iconv/iconv_prog.c (print_version): Likewise.
23538 * iconv/iconvconfig.c (print_version): Likewise.
23539 * locale/programs/locale.c (print_version): Likewise.
23540 * locale/programs/localedef.c (print_version): Likewise.
23541 * login/programs/pt_chown.c (print_version): Likewise.
23542 * malloc/memusage.sh (do_version): Likewise.
23543 * malloc/memusagestat.c (print_version): Likewise.
23544 * malloc/mtrace.pl: Likewise.
23545 * manual/libc.texinfo: Likewise.
23546 * nptl/version.c (banner): Likewise.
23547 * nscd/nscd.c (print_version): Likewise.
23548 * nss/getent.c (print_version): Likewise.
23549 * nss/makedb.c (print_version): Likewise.
23550 * posix/getconf.c (main): Likewise.
23551 * scripts/test-installation.pl: Likewise.
23552 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23553
688903eb
JM
23554 * All files with FSF copyright notices: Update copyright dates
23555 using scripts/update-copyrights.
23556 * locale/programs/charmap-kw.h: Regenerated.
23557 * locale/programs/locfile-kw.h: Likewise.
23558
4f820792
ZW
235592017-12-31 Zack Weinberg <zackw@panix.com>
23560
23561 * libio/bits/libio-ldbl.h: Correct check for improper
23562 inclusion. Add own multiple include guard.
23563
3e3c904d
AJ
235642017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23565 Dmitry V. Levin <ldv@altlinux.org>
23566
23567 [BZ #22625]
31f96325 23568 CVE-2017-16997
3e3c904d
AJ
23569 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23570 string token expansion. Check for NULL pointer or empty string possibly
23571 returned by expand_dynamic_string_token.
23572 (decompose_rpath): Check for empty path after dynamic string
23573 token expansion.
23574
7e21972b
DL
235752017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23576
c48831d0
DL
23577 [BZ #22433]
23578 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23579
ac583f50
DL
23580 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23581 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23582 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23583 and PTRACE_SYSCALL.
23584 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23585 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23589 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23590
7e21972b
DL
23591 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23592 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23593 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23594 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23596 bits/ptrace-shared.h.
23597 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23598 <bits/ptrace-shared.h>.
23599 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23600 __ptrace_peeksiginfo_flags, ptrace): Remove.
23601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23605 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23606
72f29e3a
AJ
236072017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23608
23609 [BZ #17804]
23610 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23611 end of the loop. Improve comments.
23612
54e4efc2
AJ
236132017-12-29 Zack Weinberg <zackw@panix.com>
23614
23615 [BZ #22615]
23616 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23617 might be set on success.
23618
f8aa69be
AJ
236192017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23620
23621 [BZ #22611]
23622 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23623 is unchanged on success.
23624
97f13188
DL
236252017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23626
2bd86632
DL
23627 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23628 updated.
23629 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23630 expand_dynamic_string_token): Likewise.
23631 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23632 is_path argument.
23633
1c36e1e6
DL
23634 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23635 contains ':'.
23636
97f13188
DL
23637 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23638 is set and name contains ':', and all code depending on these checks.
23639
48a8f832
ZW
236402017-12-24 Zack Weinberg <zackw@panix.com>
23641
23642 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23643 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23644 respectively.
23645 * libio/libio.h: Rename the original version of this file to
23646 libio/bits/libio.h. Error out if not included by stdio.h or the
23647 stub libio.h.
23648 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23649 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23650 if not included by bits/libio.h or the stub _G_config.h.
23651 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23652 sysdeps/unix/sysv/linux/bits. Error out if not included by
23653 bits/libio.h or the stub _G_config.h.
23654 * libio/stdio.h: Include bits/libio.h, not libio.h.
23655 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23656 well as libio.h and _G_config.h.
23657
23658 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23659 * libio/strfile.h, stdio-common/vfscanf.c
23660 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23661 Include stdio.h, not _G_config.h nor libio.h.
23662 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23663 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23664
23665 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23666
a47ad79a
DL
236672017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23668
23669 [BZ #22347]
23670 * stdlib/getrandom.c (getrandom): Fix comment.
23671 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23672
363e4519 236732017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 23674
f5c558f3
AJ
23675 [BZ #21161]
23676 * manual/arith.texi (strtoul): Fix a typo.
23677
e65a5644
AJ
23678 [BZ #22596]
23679 * manual/arith.texi (finite): Fix the description of the return
23680 value.
23681
ed8ae46b
EB
236822017-12-22 Eric Blake <ebb9@byu.net>
23683
23684 Avoid gcc warnings on cygwin
23685 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23686 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23687 Avoid unused variable.
23688
bad7a0c8
FW
236892017-12-22 Florian Weimer <fweimer@redhat.com>
23690
23691 * io/Makefile (routines): Add copy_file_range.
23692 (tests): Add tst-copy_file_range.
23693 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23694 * io/Versions (GLIBC_2.27): Export copy_file_range.
23695 * io/copy_file_range-compat.c: New file.
23696 * io/copy_file_range.c: Likewise.
23697 * io/tst-copy_file_range-compat.c: Likewise.
23698 * io/tst-copy_file_range.c: Likewise.
23699 * manual/llio.texi (Copying File Data): New section.
23700 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23701 * support/Makefile (libsupport-routines): Add support-xfstat,
23702 xftruncate, xlseek.
23703 * support/support-xfstat.c: New file.
23704 * support/xftruncate.c: Likewise.
23705 * support/xlseek.c: Likewise.
23706 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23707 * sysdeps/unix/sysv/linux/**.abilist: Update.
23708 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23709
6cb86fd2
SN
237102017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23711
23712 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23713 disable-multi-arch variant to aarch64-linux-gnu.
23714
41d11b15
JM
237152017-12-20 Joseph Myers <joseph@codesourcery.com>
23716
23717 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23718 trailing whitespace removed.
23719 * scripts/config.guess: Update to version 2017-12-17.
23720 * scripts/config.sub: Update to version 2017-11-23.
23721 * scripts/install-sh: Update to version 2017-09-23.17.
23722 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23723
4735850f
AZ
237242017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23725
8d2d239c
AZ
23726 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23727 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23728 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23729 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23730 * sysdeps/tile/crtn.S: Likewise.
23731 * sysdeps/tile/dl-start.S (_start): Likewise.
23732 * sysdeps/tile/dl-trampoline.S: Likewise.
23733 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23734 * sysdeps/tile/start.S (_start): Likewise.
23735 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23736 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23737 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23738 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23739 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23740 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23741 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23742
24d1d8ec
AZ
23743 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23744 comment.
23745 * sysdeps/tile/preconfigure: Remove tilegx folder.
23746 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23747 * sysdeps/tile/Implies: ... here.
23748 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23749 * sysdeps/tile/Makefile: ... here.
23750 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23751 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23752 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23753 * sysdeps/tile/bits/wordsize.h: ... here.
23754 * sysdeps/tile/tilegx/*: Move to ...
23755 * sysdeps/tile/*: ... here.
23756 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23757 * sysdeps/tile/tilegx32/Implies: ... here.
23758 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23759 * sysdeps/tile/tilegx64/Implies: ... here.
23760 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23761 to ...
23762 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23763 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23764 * sysdeps/unix/sysv/linux/tile/*: ... here.
23765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23766 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23768 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23769
ed95f611
AZ
23770 * README: Remove tilepro-*-linux-gnu from supported architecture.
23771 * scripts/build-many-glibcs.py: Likewise.
23772 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23773 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23774 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23775 elf_machine_matches_host, elf_machine_dynamic,
23776 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23777 howto, elf_machine_rela): Likewise.
23778 * sysdeps/tile/dl-start.S (_start): Likewise.
23779 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23780 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23781 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23782 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23783 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23784 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23785 Likewise.
23786 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23787 * sysdeps/tile/preconfigure: Likewise.
23788 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23789 POINTER_CHK_GUARD): Likewise.
23790 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23791 * sysdeps/tile/start.S (_start): Likewise.
23792 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23793 Likewise.
23794 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23795 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23796 CMOVNEZ): Remove.
23797 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23798 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23799 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23800 Likewise.
23801 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23802 * sysdeps/tile/tilepro/Implies: Remove file.
23803 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23804 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23805 * sysdeps/tile/tilepro/memchr.c: Likewise.
23806 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23807 * sysdeps/tile/tilepro/memset.c: Likewise.
23808 * sysdeps/tile/tilepro/memusage.h: Likewise.
23809 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23810 * sysdeps/tile/tilepro/strchr.c: Likewise.
23811 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23812 * sysdeps/tile/tilepro/strlen.c: Likewise.
23813 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23814 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23815 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23816 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23817 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23818 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23819 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23820 Likewise.
23821 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23822 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23823 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23824 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23825 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23826 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23827 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23828 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23829 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23830 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23831 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23832 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23833 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23834 tilepro mention in comment.
23835
4735850f
AZ
23836 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23837 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23838 * nptl/pthread_join_common.c: New file: common function used on
23839 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23840 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23841 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23842 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23843 (cleanup): Move definition to pthread_join_common.c.
23844 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23845 Remove superflous checks.
23846 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23847 Likewise.
23848
8bfb461e
SN
238492017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23850
23851 * sysdeps/aarch64/libm-test-ulps: Update.
23852
4e001969
AZ
238532017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23854
23855 * sysdeps/aarch64/memset.S (MEMSET): Define.
23856
8a26ad2a
FW
238572017-12-20 Florian Weimer <fweimer@redhat.com>
23858
23859 [BZ #22635]
23860 nptl: Provide full implementation of pthread_self in libc.so.
23861 * nptl/Makefile (routines): Add pthread_self.
23862 (libpthread-routines): Replace pthread_self with
23863 compat-pthread_self.
23864 * nptl/forward.c (pthread_self): Remove.
23865 * nptl/nptl-init.c (pthread_functions): Do not initialize
23866 ptr_pthread_self.
23867 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23868 * nptl/compat-pthread_self.c: New file.
23869 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23870 Remove ptr_pthread_self.
23871
5069ff32
AR
238722017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23873
23874 * posix/regcomp.c: Fix spelling in comments.
23875 * posix/regex.h: Likewise.
23876 * posix/regex_internal.c: Likewise.
23877 * posix/regexec.c: Likewise.
23878
c85e54ac
GG
238792017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23880
23881 [BZ #22377]
23882 * math/Makefile [C++] (tests): Add test for iseqsig.
23883 * math/math.h [C++] (iseqsig): New implementation, which does
23884 not rely on __MATH_TG/__builtin_types_compatible_p.
23885 * math/test-math-iseqsig.cc: New file.
23886 * sysdeps/powerpc/powerpc64le/Makefile
23887 (CFLAGS-test-math-iseqsig.cc): New variable.
23888
10e93d96
DL
238892017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23890
23891 * elf/dl-load.c (is_trusted_path): Remove.
23892 (fillin_rpath): Remove check_trusted argument and its use,
23893 all callers changed.
23894
ce16eb52
L
238952017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23896
23897 [BZ #22630]
23898 * Makeconfig (link-pie-before-libc): Replace -pie with
23899 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23900 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23901 (tst-dlopen-aout-no-pie): New.
23902 (LDFLAGS-tst-prelink): Removed.
23903 (tst-prelink-no-pie): New.
23904 (LDFLAGS-tst-main1): Removed.
23905 (tst-main1-no-pie): New.
23906 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23907 (tst-gmon-no-pie): New.
23908
126adc89
L
239092017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23910
23911 * manual/install.texi: Document that --enable-static-pie
23912 implies PIE.
23913 * INSTALL: Regenerated.
23914
648615e1
BE
239152017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23916
23917 [BZ #21309]
23918 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23919 unsigned.
23920
f1e00502
JM
239212017-12-19 Joseph Myers <joseph@codesourcery.com>
23922
23923 Revert:
23924
23925 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23926
23927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23928
23929 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23930
23931 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23932 <errno.h>. Include "eexp.tbl".
23933 (half): New constant.
23934 (one): Likewise.
23935 (__ieee754_exp): Rewrite.
23936 (__slowexp): Remove prototype.
23937 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23938 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23939 * sysdeps/i386/fpu/slowexp.c: Likewise.
23940 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23941 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23942 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23943 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23944 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23945 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23946 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23947 comment.
23948 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23949 (CPPFLAGS-slowexp.c): Remove variable.
23950 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23951 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23952 (CFLAGS-slowexp-fma.c): Remove variable.
23953 (CFLAGS-slowexp-fma4.c): Likewise.
23954 (CFLAGS-slowexp-avx.c): Likewise.
23955 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23956 define as macro.
23957 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23959 * math/Makefile (type-double-routines): Remove slowexp.
23960 * manual/probes.texi (slowexp_p6): Remove.
23961 (slowexp_p32): Likewise.
23962
d711a00f
AZ
239632017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23964
e184ac3a
AZ
23965 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23966 arithmetic.
23967
d711a00f
AZ
23968 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23969
6f58c10d
JM
239702017-12-19 Joseph Myers <joseph@codesourcery.com>
23971
23972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23973
6fd0a3c6
PM
239742017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23975
23976 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23977 <errno.h>. Include "eexp.tbl".
23978 (half): New constant.
23979 (one): Likewise.
23980 (__ieee754_exp): Rewrite.
23981 (__slowexp): Remove prototype.
23982 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23983 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23984 * sysdeps/i386/fpu/slowexp.c: Likewise.
23985 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23986 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23987 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23990 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23991 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23992 comment.
23993 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23994 (CPPFLAGS-slowexp.c): Remove variable.
23995 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23996 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23997 (CFLAGS-slowexp-fma.c): Remove variable.
23998 (CFLAGS-slowexp-fma4.c): Likewise.
23999 (CFLAGS-slowexp-avx.c): Likewise.
24000 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24001 define as macro.
24002 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24004 * math/Makefile (type-double-routines): Remove slowexp.
24005 * manual/probes.texi (slowexp_p6): Remove.
24006 (slowexp_p32): Likewise.
24007
3bb1ef58 240082017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 24009 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
24010
24011 [BZ #22603]
24012 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24013 addition.
24014
554e3d51
AZ
240152017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24016
24017 [BZ #22605]
24018 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24019 code.
24020
cba595c3
L
240212017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24022
24023 [BZ #22563]
24024 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24025 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24026 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24027 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24028 to feature_1.
24029
f81ddabf
L
240302017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24031
24032 [BZ #22563]
24033 * bits/types/__cancel_jmp_buf_tag.h: New file.
24034 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24035 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24036 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24037 * nptl/Makefile (headers): Add
24038 bits/types/__cancel_jmp_buf_tag.h.
24039 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24040 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24041 * sysdeps/nptl/pthread.h: Include
24042 <bits/types/__cancel_jmp_buf_tag.h>.
24043 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24044 __cancel_jmp_buf.
24045 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24046
1a49fc59
L
240472017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24048
24049 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24050 --enable-static-pie variants to x86_64, x32 and i686.
24051
8e52f573
JM
240522017-12-19 Joseph Myers <joseph@codesourcery.com>
24053
66425185
JM
24054 [BZ #22631]
24055 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24056 argument for attrubutes. All callers changed.
24057 (__inline_mathop1): Likewise. All callers changed.
24058 (__inline_mathop): Likewise. All callers changed.
24059 [__USE_MISC] (scalbn): Use __inline_forward instead of
24060 __inline_forward_c.
24061 [__USE_ISOC99] (scalbln): Likewise.
24062 [__USE_ISOC99] (nearbyint): Likewise.
24063 [__USE_ISOC99] (lrint): Likewise.
24064 [__USE_MISC] (scalbnf): Likewise.
24065 [__USE_ISOC99] (scalblnf): Likewise.
24066 [__USE_ISOC99] (nearbyintf): Likewise.
24067 [__USE_ISOC99] (lrintf): Likewise.
24068 [__USE_MISC] (scalbnl): Likewise.
24069 [__USE_ISOC99] (scalblnl): Likewise.
24070 [__USE_ISOC99] (nearbyintl): Likewise.
24071 [__USE_ISOC99] (lrintl): Likewise.
24072 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24073 __inline_mathop and __m81_defun changed.
24074
8e52f573
JM
24075 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24076 CPU or FPU for ARM hard-float configurations.
24077
1421f39b
JM
240782017-12-18 Joseph Myers <joseph@codesourcery.com>
24079
40c4162d
JM
24080 * nptl/tst-attr3.c: Include <libc-diag.h>.
24081 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24082
5983df32
JM
24083 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24084
1421f39b
JM
24085 * string/tester.c (test_strncat): Also disable -Warray-bounds
24086 warnings for two tests.
24087
00c714df
L
240882017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24089
24090 [BZ #22614]
24091 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24092 $(cc-pie-default) == yes.
24093 * config.make.in (cc-pie-default): New.
24094 * configure.ac (libc_cv_pie_default): Renamed to ...
24095 (libc_cv_cc_pie_default): This.
24096 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24097 * configure: Regenerated.
24098
8e1472d2
FW
240992017-12-18 Florian Weimer <fweimer@redhat.com>
24100
24101 [BZ #20204]
24102 ld.so: Harden dl-libc/libdl hooks.
24103 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24104 (rtld_active): New function.
24105 * dlfcn/dladdr.c (__dladdr): Call it.
24106 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24107 * dlfcn/dlclose.c (__dlcose): Likewise.
24108 * dlfcn/dlerror.c (__dlerror): Likewise.
24109 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24110 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24111 * dlfcn/dlopen.c (__dlopen): Likewise.
24112 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24113 * dlfcn/dlsym.c (__dlsym): Likewise.
24114 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24115 * libio/vtables.c (_IO_vtable_check): Likewise.
24116 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24117 (__libc_dlclose): Likewise.
24118 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24119 assignment.
24120
49b036bc
JM
241212017-12-18 Joseph Myers <joseph@codesourcery.com>
24122
24123 [BZ #22446]
24124 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24125 buffers for readlink input and output.
24126
368b6c8d
ST
241272017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24128
c85c564d
ST
24129 [BZ #22624]
24130 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24131 inhibit_stack_protector.
24132
368b6c8d
ST
24133 [BZ #22624]
24134 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24135 inhibit_stack_protector.
24136
bb195224
DL
241372017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24138
24139 [BZ #22627]
24140 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24141 code and invocation.
24142
14d886ed
SN
241432017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24144
24145 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24146
7d38eb38
AJ
241472017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24148
24149 [BZ #22505]
24150 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24151
2e77deef
RS
241522017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24153
24154 * sysdeps/s390/fpu/libm-test-ulps: Update.
24155
0b9bef6d
RS
241562017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24157
24158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24159
984ae996
RS
241602017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24161
24162 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24163 constants to s_sincosf.h file.
24164 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24165 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24166 implementation.
24167 * sysdeps/ieee754/flt-32/s_sincosf.h:
24168 New file.
24169
363e4519 241702017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
24171
24172 [BZ #14681]
24173 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24174 before mtrace.
24175
9d7a3741
L
241762017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 [BZ #19574]
24179 * INSTALL: Regenerated.
24180 * Makeconfig (real-static-start-installed-name): New.
24181 (pic-default): Updated for --enable-static-pie.
24182 (pie-default): New for --enable-static-pie.
24183 (default-pie-ldflag): Likewise.
24184 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24185 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24186 Replace $(static-start-installed-name) with
24187 $(real-static-start-installed-name).
24188 (+prectorT): Updated for --enable-static-pie.
24189 (+postctorT): Likewise.
24190 (CFLAGS-.o): Add $(pie-default).
24191 (CFLAGS-.op): Likewise.
24192 * NEWS: Mention --enable-static-pie.
24193 * config.h.in (ENABLE_STATIC_PIE): New.
24194 * configure.ac (--enable-static-pie): New configure option.
24195 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24196 (have-static-pie): Likewise.
24197 Enable static PIE if linker supports --no-dynamic-linker.
24198 (ENABLE_STATIC_PIE): New AC_DEFINE.
24199 (enable-static-pie): New LIBC_CONFIG_VAR.
24200 * configure: Regenerated.
24201 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24202 gr$(start-installed-name) for --enable-static-pie.
24203 (extra-objs): Likewise.
24204 (install-lib): Likewise.
24205 (extra-objs): Add static-reloc.o and static-reloc.os
24206 ($(objpfx)$(start-installed-name)): Also depend on
24207 $(objpfx)static-reloc.o.
24208 ($(objpfx)r$(start-installed-name)): New.
24209 ($(objpfx)g$(start-installed-name)): Also depend on
24210 $(objpfx)static-reloc.os.
24211 ($(objpfx)gr$(start-installed-name)): New.
24212 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24213 in libc.a.
24214 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24215 initimage.
24216 * csu/static-reloc.c: New file.
24217 * elf/Makefile (routines): Add dl-reloc-static-pie.
24218 (elide-routines.os): Likewise.
24219 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24220 (tst-tls1-static-non-pie-no-pie): New.
24221 * elf/dl-reloc-static-pie.c: New file.
24222 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24223 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24224 STATIC_PIE_BOOTSTRAP.
24225 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24226 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24227 (tests-static): Likewise.
24228 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24229 (tst-gmon-static-no-pie): New.
24230 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24231 (CRT-tst-gmon-static-pie): Likewise.
24232 (tst-gmon-static-pie-ENV): Likewise.
24233 (tests-special): Likewise.
24234 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24235 (clean-tst-gmon-static-pie-data): Likewise.
24236 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24237 * gmon/tst-gmon-static-pie.c: New file.
24238 * manual/install.texi: Document --enable-static-pie.
24239 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24240 (_dl_get_dl_main_map): Likewise.
24241 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24242 * sysdeps/x86_64/configure.ac: Likewise.
24243 * sysdeps/i386/configure: Regenerated.
24244 * sysdeps/x86_64/configure: Likewise.
24245 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24246 (ASFLAGS-.op): Likewise.
24247
95511aab
JM
242482017-12-15 Joseph Myers <joseph@codesourcery.com>
24249
24250 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24251 * posix/tst-mmap-offset.c (fname): Use /tmp.
24252 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24253
a7e3edf4
SE
242542017-12-15 Steve Ellcey <sellcey@cavium.com>
24255
24256 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24257
d232f2e1
TS
242582017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24259
24260 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24261 errno.
24262
174edbde
JM
242632017-12-15 Joseph Myers <joseph@codesourcery.com>
24264
5170fa49
JM
24265 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24266 --with-float=hard for arm-linux-gnueabihf configurations.
24267
f2da2fd8
JM
24268 [BZ #14121]
24269 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24270 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24271 ($(mo-installed)): Use $(objpfx)%.mo.
24272 (realclean): Remove rule.
24273
0c4fe28d
JM
24274 * po/Makefile (linguas): Remove rule and dependencies.
24275 (linguas.mo): Likewise.
24276 (.PHONY): Do not depend on linguas and linguas.mo.
24277 (podir): Remove variable.
24278 (pofiles): Likewise.
24279 [$(pofiles)] (%.po): Remove rule.
24280
174edbde
JM
24281 * sysdeps/sparc/sparc32/Makefile
24282 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24283 start-of-line whitespace in argument of echo.
24284 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24285 with whitespace. Generate __wrap_.udiv alias.
24286 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24287 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24288 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24289 * sysdeps/sparc/sparc32/urem.S: Likewise.
24290
1e36806f
RS
242912017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24292
24293 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24294 for aligned inputs.
24295
aa6932aa
SP
242962017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24297
5f1603c3
SP
24298 * benchtests/bench-strcmp.c: Print output in JSON format.
24299
aa6932aa
SP
24300 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24301
3ff3dfa5
FW
243022017-12-14 Florian Weimer <fweimer@redhat.com>
24303
24304 [BZ #22607]
24305 CVE-2017-1000409
24306 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24307 the expanded path string.
24308
8a0b17e4
FW
243092017-12-14 Florian Weimer <fweimer@redhat.com>
24310
24311 [BZ #22606]
24312 CVE-2017-1000408
24313 * elf/dl-load.c (system_dirs): Update comment.
24314 (nsystem_dirs_len): Use array_length.
24315 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24316
f58bd7f0
FW
243172017-12-14 Florian Weimer <fweimer@redhat.com>
24318
24319 Simplify compiling most of support/ outside of glibc.
24320 * support/check_addrinfo.c: Include <string.h>.
24321 * support/check_dns_packet.c: Likewise.
24322 * support/check_hostent.c: Likewise.
24323 * support/support_can_chroot.c: Include <support/xunistd.h>.
24324 * support/support_format_addrinfo.c: Include <stdlib.h>
24325 * support/support_format_dns_packet.c: Include <stdbool.h>.
24326 * support/support_format_hostent.c: Include <stdlib.h>.
24327 * support/support_format_netent.c: Likewise.
24328 * support/support_write_string.c: Include <support/xunistd.h>.
24329 * support/xdlfcn.c: Include <stddef.h>.
24330
4ca945e9
L
243312017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24334
1b6e07f8
PM
243352017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24336 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24337
e6a1c5dc
PM
24338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24339 (sysdeps_routines): Add memset-niagara7.
24340 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24341 Likewise.
24342 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24343 file.
24344 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24345 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24346 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24347 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24348 Add niagara7 option.
24349 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24350 memset.
24351
1b6e07f8
PM
24352 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24353 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24354 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24355 Likewise.
24356 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24357 New file.
24358 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24359 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24360 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24361 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24362 and __memmove_niagara7.
24363 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24364 Add niagara7 option.
24365 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24366 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24367 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24368 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24369 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24370
bfb7bf22
JM
243712017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24372
767a26d6
JM
24373 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24374 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24375 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24376 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24377
bfb7bf22
JM
24378 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24379 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24380 _dl_sparc_cap_flags array.
24381 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24382
2bce01eb
SP
243832017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24384
24385 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24386 time whenever possible.
24387
363e4519 243882017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
24389
24390 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24391 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24392
6f7c0092
JM
243932017-12-12 Joseph Myers <joseph@codesourcery.com>
24394
24395 * soft-fp/fmadf4.c: Move to ....
24396 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24397 * soft-fp/fmasf4.c: Move to ....
24398 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24399 * soft-fp/fmatf4.c: Move to ....
24400 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24401 * sysdeps/ieee754/soft-fp/Makefile: New file.
24402 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24403 * sysdeps/arm/preconfigure: Regenerated.
24404 * sysdeps/arm/nofpu/Implies: New file.
24405 * sysdeps/arm/s_fma.c: Remove file.
24406 * sysdeps/arm/s_fmaf.c: Likewise.
24407 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24408 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24409 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24410 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24411 * sysdeps/microblaze/s_fma.c: Remove file.
24412 * sysdeps/microblaze/s_fmaf.c: Likewise.
24413 * sysdeps/mips/mips32/nofpu/Implies: New file.
24414 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24415 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24416 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24417 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24418 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24419 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24420 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24421 implementation.
24422 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24423 * sysdeps/nios2/s_fma.c: Remove file.
24424 * sysdeps/nios2/s_fmaf.c: Likewise.
24425 * sysdeps/sh/nofpu/Implies: New file.
24426 * sysdeps/sh/s_fma.c: Remove file.
24427 * sysdeps/sh/s_fmaf.c: Likewise.
24428 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24429 * sysdeps/tile/s_fma.c: Remove file.
24430 * sysdeps/tile/s_fmaf.c: Likewise.
24431
ac817e08
L
244322017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24433
24434 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24435 Add s_cosf-sse2 and s_cosf-fma.
24436 (CFLAGS-s_cosf-fma.c): New.
24437 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24438 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24439 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24440
eb428576
SE
244412017-12-12 Steve Ellcey <sellcey@cavium.com>
24442
24443 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24444
c80acdc3
AZ
244452017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24446
cc683f7e
AZ
24447 * libio/Makefile (tests): Add tst-bz22415.
24448 (tst-bz22415-ENV): New rule.
24449 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24450 (tests-special): Add tst-bz22415-mem.out.
24451 ($(objpfx)tst-bz22415-mem.out): New rule.
24452 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24453 in case of a successful seek operation.
24454 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24455 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24456 buffer is required.
24457 * libio/tst-bz22415.c: New test.
24458
c80acdc3
AZ
24459 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24460
363e4519 244612017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
24462
24463 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24464 __IPC_64 to 0 to avoid IPC_64 being set.
24465
4e0dca54
SN
244662017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24467
24468 [BZ #22593]
24469 * math/bits/mathcalls.h (nextafter): Remove const.
24470 (nexttoward): Likewise.
24471
8df5d347
JM
244722017-12-12 Joseph Myers <joseph@codesourcery.com>
24473
24474 * configure.ac (--with-fp): Remove configure option.
24475 (with_fp_cond): New variable.
24476 (libc_cv_with_fp): New configure test. Use this variable instead
24477 of with_fp.
24478 * configure: Regenerated.
24479 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24480 * manual/install.texi (Configuring and compiling): Remove
24481 --without-fp.
24482 * INSTALL: Regenerated.
24483 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24484 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24485 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24486 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24487 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24488 use --without-fp to configure glibc.
24489
0cee1257
RJ
244902017-12-12 Rical Jasan <ricaljasan@pacific.net>
24491
24492 * manual/locale.texi (nl_langinfo): Fix a typo.
24493
363e4519 244942017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
24495
24496 [BZ #22588]
24497 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24498
36975e8e
L
244992017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24500
24501 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24502 (CFLAGS-argp-parse.c): Likewise.
24503 (CFLAGS-argp-fmtstream.c): Likewise.
24504 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24505 (CPPFLAGS-sha512-crypt.c): Likewise.
24506 (CPPFLAGS-md5-crypt.c): Likewise.
24507 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24508 (CFLAGS-stack_chk_fail_local.c): Likewise.
24509 (CFLAGS-backtrace.c): Likewise.
24510 (CFLAGS-sprintf_chk.c): Likewise.
24511 (CFLAGS-snprintf_chk.c): Likewise.
24512 (CFLAGS-vsprintf_chk.c): Likewise.
24513 (CFLAGS-vsnprintf_chk.c): Likewise.
24514 (CFLAGS-asprintf_chk.c): Likewise.
24515 (CFLAGS-vasprintf_chk.c): Likewise.
24516 (CFLAGS-obprintf_chk.c): Likewise.
24517 (CFLAGS-dprintf_chk.c): Likewise.
24518 (CFLAGS-vdprintf_chk.c): Likewise.
24519 (CFLAGS-printf_chk.c): Likewise.
24520 (CFLAGS-fprintf_chk.c): Likewise.
24521 (CFLAGS-vprintf_chk.c): Likewise.
24522 (CFLAGS-vfprintf_chk.c): Likewise.
24523 (CFLAGS-gets_chk.c): Likewise.
24524 (CFLAGS-fgets_chk.c): Likewise.
24525 (CFLAGS-fgets_u_chk.c): Likewise.
24526 (CFLAGS-fread_chk.c): Likewise.
24527 (CFLAGS-fread_u_chk.c): Likewise.
24528 (CFLAGS-swprintf_chk.c): Likewise.
24529 (CFLAGS-vswprintf_chk.c): Likewise.
24530 (CFLAGS-wprintf_chk.c): Likewise.
24531 (CFLAGS-fwprintf_chk.c): Likewise.
24532 (CFLAGS-vwprintf_chk.c): Likewise.
24533 (CFLAGS-vfwprintf_chk.c): Likewise.
24534 (CFLAGS-fgetws_chk.c): Likewise.
24535 (CFLAGS-fgetws_u_chk.c): Likewise.
24536 (CFLAGS-read_chk.c): Likewise.
24537 (CFLAGS-pread_chk.c): Likewise.
24538 (CFLAGS-pread64_chk.c): Likewise.
24539 (CFLAGS-recv_chk.c): Likewise.
24540 (CFLAGS-recvfrom_chk.c): Likewise.
24541 (CFLAGS-tst-longjmp_chk.c): Likewise.
24542 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24543 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24544 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24545 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24546 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24547 (CFLAGS-tst-chk1.c): Likewise.
24548 (CFLAGS-tst-chk2.c): Likewise.
24549 (CFLAGS-tst-chk3.c): Likewise.
24550 (CFLAGS-tst-chk4.cc): Likewise.
24551 (CFLAGS-tst-chk5.cc): Likewise.
24552 (CFLAGS-tst-chk6.cc): Likewise.
24553 (CFLAGS-tst-lfschk1.c): Likewise.
24554 (CFLAGS-tst-lfschk2.c): Likewise.
24555 (CFLAGS-tst-lfschk3.c): Likewise.
24556 (CFLAGS-tst-lfschk4.cc): Likewise.
24557 (CFLAGS-tst-lfschk5.cc): Likewise.
24558 (CFLAGS-tst-lfschk6.cc): Likewise.
24559 (CFLAGS-tst-ssp-1.c): Likewise.
24560 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24561 (CFLAGS-scandir64.c): Likewise.
24562 (CFLAGS-scandir-tail.c): Likewise.
24563 (CFLAGS-scandir64-tail.c): Likewise.
24564 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24565 (CFLAGS-dl-tunables.c): Likewise.
24566 (CFLAGS-dl-runtime.c): Likewise.
24567 (CFLAGS-dl-lookup.c): Likewise.
24568 (CFLAGS-dl-iterate-phdr.c): Likewise.
24569 (CFLAGS-vismain.c): Likewise.
24570 (CFLAGS-tst-linkall-static.c): Likewise.
24571 (CFLAGS-tst-linkall-static.c): Likewise.
24572 (CPPFLAGS-dl-load.c): Likewise.
24573 (CFLAGS-ldconfig.c): Likewise.
24574 (CFLAGS-dl-cache.c): Likewise.
24575 (CFLAGS-cache.c): Likewise.
24576 (CFLAGS-rtld.c): Likewise.
24577 (CFLAGS-multiload.c): Likewise.
24578 (CFLAGS-filtmod1.c): Likewise.
24579 (CFLAGS-tst-align.c): Likewise.
24580 (CFLAGS-tst-align2.c): Likewise.
24581 (CFLAGS-tst-alignmod.c): Likewise.
24582 (CFLAGS-tst-alignmod2.c): Likewise.
24583 (CPPFLAGS-tst-execstack.c): Likewise.
24584 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24585 (CFLAGS-tst-latepthreadmod.c): Likewise.
24586 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24587 (CFLAGS-getgrnam_r.c): Likewise.
24588 (CFLAGS-getgrent_r.c): Likewise.
24589 (CFLAGS-getgrent.c): Likewise.
24590 (CFLAGS-fgetgrent.c): Likewise.
24591 (CFLAGS-fgetgrent_r.c): Likewise.
24592 (CFLAGS-putgrent.c): Likewise.
24593 (CFLAGS-initgroups.c): Likewise.
24594 (CFLAGS-getgrgid.c): Likewise.
24595 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24596 (CFLAGS-getsgent.c): Likewise.
24597 (CFLAGS-fgetsgent.c): Likewise.
24598 (CFLAGS-fgetsgent_r.c): Likewise.
24599 (CFLAGS-putsgent.c): Likewise.
24600 (CFLAGS-getsgnam.c): Likewise.
24601 (CFLAGS-getsgnam_r.c): Likewise.
24602 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24603 (CFLAGS-iconv_charmap.c): Likewise.
24604 (CFLAGS-dummy-repertoire.c): Likewise.
24605 (CFLAGS-charmap.c): Likewise.
24606 (CFLAGS-linereader.c): Likewise.
24607 (CFLAGS-simple-hash.c): Likewise.
24608 (CFLAGS-gconv_conf.c): Likewise.
24609 (CFLAGS-iconvconfig.c): Likewise.
24610 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24611 (CFLAGS-gethstbyad.c): Likewise.
24612 (CFLAGS-gethstbynm_r.c): Likewise.
24613 (CFLAGS-gethstbynm.c): Likewise.
24614 (CFLAGS-gethstbynm2_r.c): Likewise.
24615 (CFLAGS-gethstbynm2.c): Likewise.
24616 (CFLAGS-gethstent_r.c): Likewise.
24617 (CFLAGS-gethstent.c): Likewise.
24618 (CFLAGS-rcmd.c): Likewise.
24619 (CFLAGS-getnetbynm_r.c): Likewise.
24620 (CFLAGS-getnetbynm.c): Likewise.
24621 (CFLAGS-getnetbyad_r.c): Likewise.
24622 (CFLAGS-getnetbyad.c): Likewise.
24623 (CFLAGS-getnetent_r.c): Likewise.
24624 (CFLAGS-getnetent.c): Likewise.
24625 (CFLAGS-getaliasent_r.c): Likewise.
24626 (CFLAGS-getaliasent.c): Likewise.
24627 (CFLAGS-getrpcent_r.c): Likewise.
24628 (CFLAGS-getrpcent.c): Likewise.
24629 (CFLAGS-getservent_r.c): Likewise.
24630 (CFLAGS-getservent.c): Likewise.
24631 (CFLAGS-getprtent_r.c): Likewise.
24632 (CFLAGS-getprtent.c): Likewise.
24633 (CFLAGS-either_ntoh.c): Likewise.
24634 (CFLAGS-either_hton.c): Likewise.
24635 (CFLAGS-getnetgrent.c): Likewise.
24636 (CFLAGS-getnetgrent_r.c): Likewise.
24637 (CFLAGS-tst-checks-posix.c): Likewise.
24638 (CFLAGS-tst-sockaddr.c): Likewise.
24639 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24640 (CFLAGS-tst-translit.c): Likewise.
24641 (CFLAGS-tst-gettext2.c): Likewise.
24642 (CFLAGS-tst-codeset.c): Likewise.
24643 (CFLAGS-tst-gettext3.c): Likewise.
24644 (CFLAGS-tst-gettext4.c): Likewise.
24645 (CFLAGS-tst-gettext5.c): Likewise.
24646 (CFLAGS-tst-gettext6.c): Likewise.
24647 * io/Makefile (CFLAGS-open.c): Likewise.
24648 (CFLAGS-open64.c): Likewise.
24649 (CFLAGS-creat.c): Likewise.
24650 (CFLAGS-creat64.c): Likewise.
24651 (CFLAGS-fcntl.c): Likewise.
24652 (CFLAGS-poll.c): Likewise.
24653 (CFLAGS-ppoll.c): Likewise.
24654 (CFLAGS-lockf.c): Likewise.
24655 (CFLAGS-statfs.c): Likewise.
24656 (CFLAGS-fstatfs.c): Likewise.
24657 (CFLAGS-statvfs.c): Likewise.
24658 (CFLAGS-fstatvfs.c): Likewise.
24659 (CFLAGS-fts.c): Likewise.
24660 (CFLAGS-fts64.c): Likewise.
24661 (CFLAGS-ftw.c): Likewise.
24662 (CFLAGS-ftw64.c): Likewise.
24663 (CFLAGS-lockf.c): Likewise.
24664 (CFLAGS-posix_fallocate.c): Likewise.
24665 (CFLAGS-posix_fallocate64.c): Likewise.
24666 (CFLAGS-fallocate.c): Likewise.
24667 (CFLAGS-fallocate64.c): Likewise.
24668 (CFLAGS-read.c): Likewise.
24669 (CFLAGS-write.c): Likewise.
24670 (CFLAGS-test-stat.c): Likewise.
24671 (CFLAGS-test-lfs.c): Likewise.
24672 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24673 (CFLAGS-fputc.c): Likewise.
24674 (CFLAGS-fputwc.c): Likewise.
24675 (CFLAGS-freopen64.c): Likewise.
24676 (CFLAGS-freopen.c): Likewise.
24677 (CFLAGS-fseek.c): Likewise.
24678 (CFLAGS-fseeko64.c): Likewise.
24679 (CFLAGS-fseeko.c): Likewise.
24680 (CFLAGS-ftello64.c): Likewise.
24681 (CFLAGS-ftello.c): Likewise.
24682 (CFLAGS-fwide.c): Likewise.
24683 (CFLAGS-genops.c): Likewise.
24684 (CFLAGS-getc.c): Likewise.
24685 (CFLAGS-getchar.c): Likewise.
24686 (CFLAGS-getwc.c): Likewise.
24687 (CFLAGS-getwchar.c): Likewise.
24688 (CFLAGS-iofclose.c): Likewise.
24689 (CFLAGS-iofflush.c): Likewise.
24690 (CFLAGS-iofgetpos64.c): Likewise.
24691 (CFLAGS-iofgetpos.c): Likewise.
24692 (CFLAGS-iofgets.c): Likewise.
24693 (CFLAGS-iofgetws.c): Likewise.
24694 (CFLAGS-iofputs.c): Likewise.
24695 (CFLAGS-iofputws.c): Likewise.
24696 (CFLAGS-iofread.c): Likewise.
24697 (CFLAGS-iofsetpos64.c): Likewise.
24698 (CFLAGS-iofsetpos.c): Likewise.
24699 (CFLAGS-ioftell.c): Likewise.
24700 (CFLAGS-iofwrite.c): Likewise.
24701 (CFLAGS-iogetdelim.c): Likewise.
24702 (CFLAGS-iogetline.c): Likewise.
24703 (CFLAGS-iogets.c): Likewise.
24704 (CFLAGS-iogetwline.c): Likewise.
24705 (CFLAGS-ioputs.c): Likewise.
24706 (CFLAGS-ioseekoff.c): Likewise.
24707 (CFLAGS-ioseekpos.c): Likewise.
24708 (CFLAGS-iosetbuffer.c): Likewise.
24709 (CFLAGS-iosetvbuf.c): Likewise.
24710 (CFLAGS-ioungetc.c): Likewise.
24711 (CFLAGS-ioungetwc.c): Likewise.
24712 (CFLAGS-oldfileops.c): Likewise.
24713 (CFLAGS-oldiofclose.c): Likewise.
24714 (CFLAGS-oldiofgetpos64.c): Likewise.
24715 (CFLAGS-oldiofgetpos.c): Likewise.
24716 (CFLAGS-oldiofsetpos64.c): Likewise.
24717 (CFLAGS-oldiofsetpos.c): Likewise.
24718 (CFLAGS-peekc.c): Likewise.
24719 (CFLAGS-putc.c): Likewise.
24720 (CFLAGS-putchar.c): Likewise.
24721 (CFLAGS-putwc.c): Likewise.
24722 (CFLAGS-putwchar.c): Likewise.
24723 (CFLAGS-rewind.c): Likewise.
24724 (CFLAGS-wfileops.c): Likewise.
24725 (CFLAGS-wgenops.c): Likewise.
24726 (CFLAGS-oldiofopen.c): Likewise.
24727 (CFLAGS-iofopen.c): Likewise.
24728 (CFLAGS-iofopen64.c): Likewise.
24729 (CFLAGS-oldtmpfile.c): Likewise.
24730 (CFLAGS-tst_putwc.c): Likewise.
24731 * locale/Makefile (CFLAGS-md5.c): Likewise.
24732 (CFLAGS-charmap.c): Likewise.
24733 (CFLAGS-locfile.c): Likewise.
24734 (CFLAGS-charmap-dir.c): Likewise.
24735 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24736 (CFLAGS-getpt.c): Likewise.
24737 (CFLAGS-pt_chown.c): Likewise.
24738 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24739 (CFLAGS-obstack.c): Likewise.
24740 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24741 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24742 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24743 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24744 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24745 (CFLAGS-test-tgmath.c): Likewise.
24746 (CFLAGS-test-tgmath2.c): Likewise.
24747 (CFLAGS-test-tgmath-ret.c): Likewise.
24748 (CFLAGS-test-powl.c): Likewise.
24749 (CFLAGS-test-snan.c): Likewise.
24750 (CFLAGS-test-signgam-finite.c): Likewise.
24751 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24752 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24753 (CFLAGS-test-signgam-uchar.c): Likewise.
24754 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24755 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24756 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24757 (CFLAGS-test-signgam-uint.c): Likewise.
24758 (CFLAGS-test-signgam-uint-init.c): Likewise.
24759 (CFLAGS-test-signgam-uint-static.c): Likewise.
24760 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24761 (CFLAGS-test-signgam-ullong.c): Likewise.
24762 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24763 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24764 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24765 (CFLAGS-test-math-cxx11.cc): Likewise.
24766 (CFLAGS-test-math-isinff.cc): Likewise.
24767 (CFLAGS-test-math-iszero.cc): Likewise.
24768 (CFLAGS-test-math-issignaling.cc): Likewise.
24769 (CFLAGS-test-math-iscanonical.cc): Likewise.
24770 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24771 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24772 (CFLAGS-test-flt-eval-method.c): Likewise.
24773 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24774 (CFLAGS-test-finite-macros.c): Likewise.
24775 * misc/Makefile (CFLAGS-select.c): Likewise.
24776 (CFLAGS-tsearch.c): Likewise.
24777 (CFLAGS-lsearch.c): Likewise.
24778 (CFLAGS-pselect.c): Likewise.
24779 (CFLAGS-readv.c): Likewise.
24780 (CFLAGS-writev.c): Likewise.
24781 (CFLAGS-preadv.c): Likewise.
24782 (CFLAGS-preadv64.c): Likewise.
24783 (CFLAGS-pwritev.c): Likewise.
24784 (CFLAGS-pwritev64.c): Likewise.
24785 (CFLAGS-preadv2.c): Likewise.
24786 (CFLAGS-preadv64v2.c): Likewise.
24787 (CFLAGS-pwritev2.c): Likewise.
24788 (CFLAGS-pwritev64v2.c): Likewise.
24789 (CFLAGS-usleep.c): Likewise.
24790 (CFLAGS-syslog.c): Likewise.
24791 (CFLAGS-error.c): Likewise.
24792 (CFLAGS-getpass.c): Likewise.
24793 (CFLAGS-mkstemp.c): Likewise.
24794 (CFLAGS-mkstemp64.c): Likewise.
24795 (CFLAGS-getsysstats.c): Likewise.
24796 (CFLAGS-getusershell.c): Likewise.
24797 (CFLAGS-err.c): Likewise.
24798 (CFLAGS-tst-tsearch.c): Likewise.
24799 (CFLAGS-msync.c): Likewise.
24800 (CFLAGS-fdatasync.c): Likewise.
24801 (CFLAGS-fsync.c): Likewise.
24802 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24803 (CFLAGS-unwind.c): Likewise.
24804 (CFLAGS-unwind-forcedunwind.c): Likewise.
24805 (CFLAGS-pthread_cancel.c): Likewise.
24806 (CFLAGS-pthread_setcancelstate.c): Likewise.
24807 (CFLAGS-pthread_setcanceltype.c): Likewise.
24808 (CFLAGS-cancellation.c): Likewise.
24809 (CFLAGS-libc-cancellation.c): Likewise.
24810 (CFLAGS-pthread_exit.c): Likewise.
24811 (CFLAGS-forward.c): Likewise.
24812 (CFLAGS-pthread_testcancel.c): Likewise.
24813 (CFLAGS-pthread_join.c): Likewise.
24814 (CFLAGS-pthread_timedjoin.c): Likewise.
24815 (CFLAGS-pthread_once.c): Likewise.
24816 (CFLAGS-pthread_cond_wait.c): Likewise.
24817 (CFLAGS-sem_wait.c): Likewise.
24818 (CFLAGS-sem_timedwait.c): Likewise.
24819 (CFLAGS-fcntl.c): Likewise.
24820 (CFLAGS-lockf.c): Likewise.
24821 (CFLAGS-pread.c): Likewise.
24822 (CFLAGS-pread64.c): Likewise.
24823 (CFLAGS-pwrite.c): Likewise.
24824 (CFLAGS-pwrite64.c): Likewise.
24825 (CFLAGS-wait.c): Likewise.
24826 (CFLAGS-waitpid.c): Likewise.
24827 (CFLAGS-sigwait.c): Likewise.
24828 (CFLAGS-msgrcv.c): Likewise.
24829 (CFLAGS-msgsnd.c): Likewise.
24830 (CFLAGS-tcdrain.c): Likewise.
24831 (CFLAGS-open.c): Likewise.
24832 (CFLAGS-open64.c): Likewise.
24833 (CFLAGS-pause.c): Likewise.
24834 (CFLAGS-recv.c): Likewise.
24835 (CFLAGS-send.c): Likewise.
24836 (CFLAGS-accept.c): Likewise.
24837 (CFLAGS-sendto.c): Likewise.
24838 (CFLAGS-connect.c): Likewise.
24839 (CFLAGS-recvfrom.c): Likewise.
24840 (CFLAGS-recvmsg.c): Likewise.
24841 (CFLAGS-sendmsg.c): Likewise.
24842 (CFLAGS-close.c): Likewise.
24843 (CFLAGS-read.c): Likewise.
24844 (CFLAGS-write.c): Likewise.
24845 (CFLAGS-nanosleep.c): Likewise.
24846 (CFLAGS-sigsuspend.c): Likewise.
24847 (CFLAGS-msync.c): Likewise.
24848 (CFLAGS-fdatasync.c): Likewise.
24849 (CFLAGS-fsync.c): Likewise.
24850 (CFLAGS-pt-system.c): Likewise.
24851 (CFLAGS-tst-cleanup2.c): Likewise.
24852 (CFLAGS-tst-cleanupx2.c): Likewise.
24853 (CFLAGS-flockfile.c): Likewise.
24854 (CFLAGS-ftrylockfile.c): Likewise.
24855 (CFLAGS-funlockfile.c): Likewise.
24856 (CFLAGS-tst-initializers1.c): Likewise.
24857 (CFLAGS-tst-initializers1-c89.c): Likewise.
24858 (CFLAGS-tst-initializers1-c99.c): Likewise.
24859 (CFLAGS-tst-initializers1-c11.c): Likewise.
24860 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24861 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24862 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24863 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24864 (CFLAGS-nscd_getgr_r.c): Likewise.
24865 (CFLAGS-nscd_gethst_r.c): Likewise.
24866 (CFLAGS-nscd_getai.c): Likewise.
24867 (CFLAGS-nscd_initgroups.c): Likewise.
24868 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24869 (CFLAGS-pause.c): Likewise.
24870 (CFLAGS-pread.c): Likewise.
24871 (CFLAGS-pread64.c): Likewise.
24872 (CFLAGS-pwrite.c): Likewise.
24873 (CFLAGS-pwrite64.c): Likewise.
24874 (CFLAGS-sleep.c): Likewise.
24875 (CFLAGS-wait.c): Likewise.
24876 (CFLAGS-waitid.c): Likewise.
24877 (CFLAGS-waitpid.c): Likewise.
24878 (CFLAGS-getopt.c): Likewise.
24879 (CFLAGS-wordexp.c): Likewise.
24880 (CFLAGS-sysconf.c): Likewise.
24881 (CFLAGS-pathconf.c): Likewise.
24882 (CFLAGS-fpathconf.c): Likewise.
24883 (CFLAGS-spawn.c): Likewise.
24884 (CFLAGS-spawnp.c): Likewise.
24885 (CFLAGS-spawni.c): Likewise.
24886 (CFLAGS-glob.c): Likewise.
24887 (CFLAGS-glob64.c): Likewise.
24888 (CFLAGS-getconf.c): Likewise.
24889 (CFLAGS-nanosleep.c): Likewise.
24890 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24891 (CFLAGS-getpwent.c): Likewise.
24892 (CFLAGS-getpw.c): Likewise.
24893 (CFLAGS-fgetpwent_r.c): Likewise.
24894 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24895 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24896 (CFLAGS-mq_timedreceive.c): Likewise.
24897 (CFLAGS-mq_timedsend.c): Likewise.
24898 (CFLAGS-clock_nanosleep.c): Likewise.
24899 (CFLAGS-librt-cancellation.c): Likewise.
24900 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24901 (CFLAGS-getspent.c): Likewise.
24902 (CFLAGS-fgetspent.c): Likewise.
24903 (CFLAGS-fgetspent_r.c): Likewise.
24904 (CFLAGS-putspent.c): Likewise.
24905 (CFLAGS-getspnam.c): Likewise.
24906 (CFLAGS-getspnam_r.c): Likewise.
24907 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24908 (CFLAGS-sigsuspend.c): Likewise.
24909 (CFLAGS-sigtimedwait.c): Likewise.
24910 (CFLAGS-sigwait.c): Likewise.
24911 (CFLAGS-sigwaitinfo.c): Likewise.
24912 (CFLAGS-sigreturn.c): Likewise.
24913 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24914 (CFLAGS-vfwprintf.c): Likewise.
24915 (CFLAGS-tmpfile.c): Likewise.
24916 (CFLAGS-tmpfile64.c): Likewise.
24917 (CFLAGS-tempname.c): Likewise.
24918 (CFLAGS-psignal.c): Likewise.
24919 (CFLAGS-vprintf.c): Likewise.
24920 (CFLAGS-cuserid.c): Likewise.
24921 (CFLAGS-errlist.c): Likewise.
24922 (CFLAGS-siglist.c): Likewise.
24923 (CFLAGS-scanf15.c): Likewise.
24924 (CFLAGS-scanf17.c): Likewise.
24925 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24926 (CFLAGS-msort.c): Likewise.
24927 (CFLAGS-qsort.c): Likewise.
24928 (CFLAGS-system.c): Likewise.
24929 (CFLAGS-fmtmsg.c): Likewise.
24930 (CFLAGS-strfmon.c): Likewise.
24931 (CFLAGS-strfmon_l.c): Likewise.
24932 (CFLAGS-strfromd.c): Likewise.
24933 (CFLAGS-strfromf.c): Likewise.
24934 (CFLAGS-strfroml.c): Likewise.
24935 (CFLAGS-tst-bsearch.c): Likewise.
24936 (CFLAGS-tst-qsort.c): Likewise.
24937 (CFLAGS-tst-makecontext2.c): Likewise.
24938 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24939 (CFLAGS-xnlm_prot.c): Likewise.
24940 (CFLAGS-xrstat.c): Likewise.
24941 (CFLAGS-xyppasswd.c): Likewise.
24942 (CFLAGS-xklm_prot.c): Likewise.
24943 (CFLAGS-xrex.c): Likewise.
24944 (CFLAGS-xsm_inter.c): Likewise.
24945 (CFLAGS-xmount.c): Likewise.
24946 (CFLAGS-xrusers.c): Likewise.
24947 (CFLAGS-xspray.c): Likewise.
24948 (CFLAGS-xnfs_prot.c): Likewise.
24949 (CFLAGS-xrquota.c): Likewise.
24950 (CFLAGS-xkey_prot.c): Likewise.
24951 (CFLAGS-auth_unix.c): Likewise.
24952 (CFLAGS-key_call.c): Likewise.
24953 (CFLAGS-pmap_rmt.c): Likewise.
24954 (CFLAGS-clnt_perr.c): Likewise.
24955 (CFLAGS-openchild.c): Likewise.
24956 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24957 (CFLAGS-msgsnd.c): Likewise.
24958 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24959 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24960 (CFLAGS-tzset.c): Likewise.
24961 (CFLAGS-getdate.c): Likewise.
24962 (CFLAGS-test_time.c): Likewise.
24963 (CPPFLAGS-tst-tzname.c): Likewise.
24964 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24965 (CFLAGS-zic.c): Likewise.
24966 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24967 (CFLAGS-wcswidth.c): Likewise.
24968 (CFLAGS-wcstol.c): Likewise.
24969 (CFLAGS-wcstoul.c): Likewise.
24970 (CFLAGS-wcstoll.c): Likewise.
24971 (CFLAGS-wcstoull.c): Likewise.
24972 (CFLAGS-wcstod.c): Likewise.
24973 (CFLAGS-wcstold.c): Likewise.
24974 (CFLAGS-wcstof128.c): Likewise.
24975 (CFLAGS-wcstof.c): Likewise.
24976 (CFLAGS-wcstol_l.c): Likewise.
24977 (CFLAGS-wcstoul_l.c): Likewise.
24978 (CFLAGS-wcstoll_l.c): Likewise.
24979 (CFLAGS-wcstoull_l.c): Likewise.
24980 (CFLAGS-wcstod_l.c): Likewise.
24981 (CFLAGS-wcstold_l.c): Likewise.
24982 (CFLAGS-wcstof128_l.c): Likewise.
24983 (CFLAGS-wcstof_l.c): Likewise.
24984 (CPPFLAGS-tst-wchar-h.c): Likewise.
24985 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 24986
f4b2aea6
PC
249872017-12-11 Paul A. Clarke <pc@us.ibm.com>
24988
24989 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24990
c9cd7b0c
AZ
249912017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24992 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24993
24994 * manual/tunables.texi (Hardware Capability Tunables): Document
24995 glibc.tune.cached_memopt.
24996 * sysdeps/powerpc/cpu-features.c: New file.
24997 * sysdeps/powerpc/cpu-features.h: New file.
24998 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24999 _dl_powerpc_cpu_features.
25000 * sysdeps/powerpc/dl-tunables.list: New file.
25001 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25002 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25003 (INIT_ARCH): Initialize use_aligned_memopt.
25004 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25005 IS_IN(rtld))]: Restrict dl_platform_init availability and
25006 initialize CPU features used by tunables.
25007 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25008 Add memcpy-power8-cached.
25009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25010 __memcpy_power8_cached.
25011 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25012 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25013 New file.
25014
e70c6fee
L
250152017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25016
25017 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25018 (CFLAGS-noinl-tester.c): Likewise.
25019 (CFLAGS-tst-strlen.c): Likewise.
25020 (CFLAGS-stratcliff.c): Likewise.
25021 (CFLAGS-test-ffs.c): Likewise.
25022 (CFLAGS-tst-inlcall.c): Likewise.
25023 (CFLAGS-tst-xbzero-opt.c): Likewise.
25024 (CFLAGS-memcpy.c): Likewise.
25025 (CFLAGS-wordcopy.c): Likewise.
25026
dee94366
SL
250272017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25028
25029 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25030 Store r15 on stack and add cfi rule.
25031 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25032 Likewise.
25033
363e4519 250342017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
25035
25036 [BZ #22577]
25037 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25038 call.
25039
9d0ffa60
L
250402017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25041
25042 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25043 Add s_sinf-sse2 and s_sinf-fma.
25044 (CFLAGS-s_sinf-fma.c): New.
25045 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25046 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25047 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25048
9574c7b6
L
250492017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25050
25051 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25052
d15e83c5
JM
250532017-12-07 Joseph Myers <joseph@codesourcery.com>
25054
25055 [BZ #22568]
25056 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25057 part of result to imaginary part of argument if it is zero and the
25058 real part of the argument is not finite.
25059 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25060 of result to real part of argument if it is zero and the imaginary
25061 part of the argument is not finite.
25062
d89756eb
MF
250632017-12-07 Mike FABIAN <mfabian@redhat.com>
25064
25065 [BZ #22524]
25066 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25067 and to the list of locales to be built for testing.
25068 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25069 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25070 and build the collation rules upon that.
25071
1f9055ce
JM
250722017-12-07 Joseph Myers <joseph@codesourcery.com>
25073
25074 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25075 * manual/math.texi (Mathematics): Document support for _Float32.
25076 * math/Makefile (test-types): Add float32.
25077 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25078 * stdlib/Versions (GLIBC_2.27): Likewise.
25079 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25080 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25081 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25082 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25084 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25085 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25086 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25087 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25088 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25090 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25092 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25094 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25095 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25096 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25097 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25098 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25100 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25101 Likewise.
25102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25103 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25104 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25105 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25106 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25108 Likewise.
25109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25110 Likewise.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25112 Likewise.
25113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25114 Likewise.
25115
25116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25117 Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25119 Likewise.
25120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25121 Likewise.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25123 Likewise.
25124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25125 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25126 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25127 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25128 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25132 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25133 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25135 Likewise.
25136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25137 Likewise.
25138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25139 Likewise.
25140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25141 Likewise.
25142 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25143 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25144 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25148 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25149 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25150
5244527d
JM
251512017-12-06 Joseph Myers <joseph@codesourcery.com>
25152
fb1ca2aa
JM
25153 * stdlib/strtof.c: Include <bits/floatn.h>
25154 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25155 and later undefine as macro. Define as weak alias if
25156 [!USE_WIDE_CHAR].
25157 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25158 and later undefine as macro. Define as weak alias if
25159 [USE_WIDE_CHAR].
25160 * stdlib/strtof_l.c: Include <bits/floatn.h>
25161 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25162 and later undefine as macro. Define as weak alias if
25163 [!USE_WIDE_CHAR].
25164 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25165 and later undefine as macro. Define as weak alias if
25166 [USE_WIDE_CHAR].
25167
fc10cc3f
JM
25168 * stdlib/strfromf.c: Include <bits/floatn.h>.
25169 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25170 and later undefine as macro and define as weak alias.
25171
e420d228
JM
25172 * math/test-float32.h: New file.
25173
26007a2f
JM
25174 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25175 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25176 (libm_alias_float_other_r): Create f32 alias.
25177 (libm_alias_float_r): Use semicolon before call to
25178 libm_alias_float_other_r.
25179
c191f64c
JM
25180 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25181 second argument to libm_alias_float_other.
25182 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25183 second argument to libm_alias_float_other.
25184 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25185 argument to libm_alias_float_other.
25186
5244527d
JM
25187 [BZ #22561]
25188 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25189 real part of result for argument 0 + i * NaN.
25190 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25191 results for tests of 0 + i * NaN.
25192
d73fac82
AZ
251932017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25194
25195 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25196
7ec094e8
DM
251972017-12-06 David S. Miller <davem@davemloft.net>
25198
25199 * sysdeps/sparc/fpu/libm-test-ulps: Update
25200 exp_{downward,towardzero,upward} ulps.
25201
53994f12
JM
252022017-12-06 Joseph Myers <joseph@codesourcery.com>
25203
1dbe6f64
JM
25204 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25205 variables static.
25206
53994f12
JM
25207 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25208 (Y0_2D): Likewise.
25209 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25210 (Y0_2D): Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25212 (Y0_2D): Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25214 (Y0_2D): Likewise.
25215
62ea2193
MF
252162017-12-06 Mike FABIAN <mfabian@redhat.com>
25217
25218 [BZ #22515]
25219 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25220 and to the list of locales to be built for testing.
25221 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25222 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25223 and build the collation rules upon that.
25224
87235d70
RS
252252017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25226
25227 * NEWS: Add sinf to list of optimized functions.
25228
0d93b7fd
JM
252292017-12-06 Joseph Myers <joseph@codesourcery.com>
25230
25231 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25232 (__HAVE_FLOAT32X): Likewise.
25233 * manual/math.texi (Mathematics): Document support for _Float64
25234 and _Float32x.
25235 * math/Makefile (test-types): Add float64 and float32x.
25236 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25237 functions.
25238 * stdlib/Versions (GLIBC_2.27): Likewise.
25239 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25240 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25241 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25242 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25243 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25244 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25245 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25246 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25247 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25248 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25249 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25250 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25251 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25252 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25253 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25254 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25255 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25256 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25257 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25258 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25260 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25261 Likewise.
25262 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25263 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25264 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25265 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25266 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25268 Likewise.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25270 Likewise.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25272 Likewise.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25274 Likewise.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25276 Likewise.
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25278 Likewise.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25280 Likewise.
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25282 Likewise.
25283 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25284 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25285 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25286 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25287 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25288 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25289 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25291 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25292 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25294 Likewise.
25295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25296 Likewise.
25297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25298 Likewise.
25299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25300 Likewise.
25301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25307 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25308 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25309
f7787234
JM
253102017-12-05 Joseph Myers <joseph@codesourcery.com>
25311
25312 * bits/floatn-common.h: Include <bits/long-double.h>.
25313 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25314 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25315 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25316 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25317 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25318 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25319 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25320 (__builtin_huge_valf64): Use __builtin_huge_vall.
25321 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25322 (__builtin_inff64): Use __builtin_infl.
25323 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25324 (__builtin_nanf64): Use __builtin_nanl.
25325 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25326 (__builtin_nansf64): Use __builtin_nansl.
25327
363e4519
DL
253282017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25329 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 25330 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
25331
25332 * elf/dl-tunables.list: Add elision parameters.
25333 * manual/tunables.texi: Add entries about elision tunable.
25334 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25335 Add callback functions to dynamically enable/disable elision.
25336 Add multiple callbacks functions to set elision parameters.
25337 Deleted __libc_enable_secure check.
25338 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25339 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25340 * configure: Regenerated.
25341 * configure.ac: Option enable_lock_elision was deleted.
25342 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25343 * config.make.in: Remove references to enable_lock_elision.
25344 * manual/install.texi: Elision configure option was removed.
25345 * INSTALL: Regenerated to remove enable_lock_elision.
25346 * nptl/Makefile:
25347 Disable elision so it can verify error case for destroying a mutex.
25348 * sysdeps/powerpc/nptl/elide.h:
25349 Cleanup ENABLE_LOCK_ELISION check.
25350 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25351 * sysdeps/s390/configure: Regenerated.
25352 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25353 * nptl/tst-mutex8.c:
25354 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25355 * sysdeps/powerpc/powerpc32/sysdep.h:
25356 Deleted all ENABLE_LOCK_ELISION checks.
25357 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25358 * sysdeps/powerpc/sysdep.h: Likewise.
25359 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25360 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25361 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25362 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25363 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25364 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25365 enable-lock-elision.
25366
a5a2a76b
JM
253672017-12-05 Joseph Myers <joseph@codesourcery.com>
25368
25369 * stdlib/strtod.c: Include <bits/floatn.h>.
25370 (BUILD_DOUBLE): New macro.
25371 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25372 (strtof64): Define and later undefine as macro. Define as weak
25373 alias if [!USE_WIDE_CHAR].
25374 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25375 (wcstof64): Define and later undefine as macro. Define as weak
25376 alias if [USE_WIDE_CHAR].
25377 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25378 (strtof32x): Define and later undefine as macro. Define as weak
25379 alias if [!USE_WIDE_CHAR].
25380 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25381 (wcstof32x): Define and later undefine as macro. Define as weak
25382 alias if [USE_WIDE_CHAR].
25383 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25384 (BUILD_DOUBLE): New macro.
25385 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25386 (strtof64_l): Define and later undefine as macro. Define as weak
25387 alias if [!USE_WIDE_CHAR].
25388 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25389 (wcstof64_l): Define and later undefine as macro. Define as weak
25390 alias if [USE_WIDE_CHAR].
25391 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25392 (strtof32x_l): Define and later undefine as macro. Define as weak
25393 alias if [!USE_WIDE_CHAR].
25394 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25395 (wcstof32x_l): Define and later undefine as macro. Define as weak
25396 alias if [USE_WIDE_CHAR].
25397
94d80dfc
AZ
253982017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25399
25400 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25401 (reduced): Use ones as double instead of integer.
25402
00d54af7
SN
254032017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25404
25405 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25406
f2d64d62
JM
254072017-12-05 Joseph Myers <joseph@codesourcery.com>
25408
1f70eae4
JM
25409 * stdlib/strfromd.c: Include <bits/floatn.h>.
25410 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25411 and later undefine as macro and define as weak alias.
25412 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25413 Likewise.
25414
e2c4dce5
JM
25415 * math/test-float32x.h: New file.
25416 * math/test-float64.h: Likewise.
25417
f2d64d62
JM
25418 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25419 (libm_alias_double_other_r_f64): New macro.
25420 (libm_alias_double_other_r_f32x): Likewise.
25421 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25422 libm_alias_double_other_r_f32x.
25423 (libm_alias_double_r): Use semicolon before call to
25424 libm_alias_double_other_r.
25425 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25426 <bits/floatn.h>.
25427 (libm_alias_double_other_r_f64): New macro.
25428 (libm_alias_double_other_r_f32x): Likewise.
25429 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25430 libm_alias_double_other_r_f32x.
25431
91c318e7
L
254322017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25433
25434 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25435 int.
25436 (SINF_FUNC): Likewise. Replace floor with simple casts.
25437
de9661d6
MF
254382017-12-05 Mike FABIAN <mfabian@redhat.com>
25439
25440 [BZ #22517]
25441 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25442 and to the list of locales to be built for testing.
25443 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25444 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25445 and build the collation rules upon that.
25446
f18b8dc7
CM
254472017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25448
25449 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25450 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25451 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25452 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25453 instead of __insn__xxx.
25454 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25455 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25456 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25457 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25458 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25459 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25460
446d22e9
FW
254612017-12-05 Florian Weimer <fweimer@redhat.com>
25462
25463 Linux: Implement interfaces for memory protection keys
25464 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25465 xsignal, xsysconf.
25466 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25467 * support/xunistd.h (xsysconf): Declare.
25468 * support/xraise.c: New file.
25469 * support/xsigaction.c: Likewise.
25470 * support/xsignal.c: Likewise.
25471 * support/xsysconf.c: Likewise.
25472 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25473 pkey_set, pkey_get, pkey_mprotect.
25474 [misc] (tests): Add tst-pkey.
25475 (tst-pkey): Link with -lpthread.
25476 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25477 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25478 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25479 (PKEY_DISABLE_WRITE): Define.
25480 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25481 Declare.
25482 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25483 (SEGV_PKUERR): Add.
25484 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25485 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25486 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25487 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25488 Add.
25489 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25490 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25491 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25492 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25493 * sysdeps/unix/sysv/linux/**.abilist: Update.
25494
da616c14
FW
254952017-12-05 Florian Weimer <fweimer@redhat.com>
25496
25497 * support/tst-test_compare.c (subprocess): Use long long instead
25498 of long argument for consistent type width across 32-bit and
25499 64-bit architectures.
25500 (do_test): Adjust expected output.
25501
216933b2
JM
255022017-12-05 Joseph Myers <joseph@codesourcery.com>
25503
25504 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25505 (cosf): Define using libm_alias_float.
25506 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25507 (fabsf): Define using libm_alias_float.
25508 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25509 (fmaf): Define using libm_alias_float.
25510 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25511 (rintf): Define using libm_alias_float.
25512 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25513 (sinf): Define using libm_alias_float.
25514 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25515 <libm-alias-float.h>.
25516 (modff): Define using libm_alias_float.
25517 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25518 <libm-alias-float.h>.
25519 (logbf): Define using libm_alias_float.
25520 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25521 <libm-alias-float.h>.
25522 (ceilf): Define using libm_alias_float.
25523 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25524 <libm-alias-float.h>.
25525 (copysignf): Define using libm_alias_float.
25526 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25527 <libm-alias-float.h>.
25528 (floorf): Define using libm_alias_float.
25529 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25530 <libm-alias-float.h>.
25531 (llrintf): Define using libm_alias_float.
25532 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25533 <libm-alias-float.h>.
25534 (llroundf): Define using libm_alias_float.
25535 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25536 <libm-alias-float.h>.
25537 (lrintf): Define using libm_alias_float.
25538 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25539 <libm-alias-float.h>.
25540 (lroundf): Define using libm_alias_float.
25541 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25542 <libm-alias-float.h>.
25543 (nearbyintf): Define using libm_alias_float.
25544 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25545 <libm-alias-float.h>.
25546 (rintf): Define using libm_alias_float.
25547 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25548 <libm-alias-float.h>.
25549 (roundf): Define using libm_alias_float.
25550 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25551 <libm-alias-float.h>.
25552 (truncf): Define using libm_alias_float.
25553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25554 Include <libm-alias-float.h>.
25555 (ceilf): Define using libm_alias_float.
25556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25557 Include <libm-alias-float.h>.
25558 (copysignf): Define using libm_alias_float.
25559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25560 Include <libm-alias-float.h>.
25561 (floorf): Define using libm_alias_float.
25562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25563 Include <libm-alias-float.h>.
25564 (llrintf): Define using libm_alias_float.
25565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25566 Include <libm-alias-float.h>.
25567 (llroundf): Define using libm_alias_float.
25568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25569 Include <libm-alias-float.h>.
25570 (logbf): Define using libm_alias_float.
25571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25572 Include <libm-alias-float.h>.
25573 (lrintf): Define using libm_alias_float.
25574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25575 Include <libm-alias-float.h>.
25576 (lroundf): Define using libm_alias_float.
25577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25578 Include <libm-alias-float.h>.
25579 (modff): Define using libm_alias_float.
25580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25581 Include <libm-alias-float.h>.
25582 (roundf): Define using libm_alias_float.
25583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25584 Include <libm-alias-float.h>.
25585 (truncf): Define using libm_alias_float.
25586 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25587 <libm-alias-float.h>.
25588 (llrintf): Define using libm_alias_float.
25589 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25590 <libm-alias-float.h>.
25591 (llroundf): Define using libm_alias_float.
25592 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25593 <libm-alias-float.h>.
25594 (ceilf): Define using libm_alias_float.
25595 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25596 <libm-alias-float.h>.
25597 (floorf): Define using libm_alias_float.
25598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25599 <libm-alias-float.h>.
25600 (llroundf): Define using libm_alias_float.
25601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25602 <libm-alias-float.h>.
25603 (lroundf): Define using libm_alias_float.
25604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25605 <libm-alias-float.h>.
25606 (roundf): Define using libm_alias_float.
25607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25608 <libm-alias-float.h>.
25609 (truncf): Define using libm_alias_float.
25610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25611 <libm-alias-float.h>.
25612 (copysignf): Define using libm_alias_float.
25613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25614 <libm-alias-float.h>.
25615 (llrintf): Define using libm_alias_float.
25616 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25617 <libm-alias-float.h>.
25618 (llroundf): Define using libm_alias_float.
25619 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25620 <libm-alias-float.h>.
25621 (lrintf): Define using libm_alias_float.
25622 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25623 <libm-alias-float.h>.
25624 (lroundf): Define using libm_alias_float.
25625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25626 <libm-alias-float.h>.
25627 (ceilf): Define using libm_alias_float.
25628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25629 <libm-alias-float.h>.
25630 (copysignf): Define using libm_alias_float.
25631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25632 <libm-alias-float.h>.
25633 (cosf): Define using libm_alias_float.
25634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25635 <libm-alias-float.h>.
25636 (floorf): Define using libm_alias_float.
25637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25638 <libm-alias-float.h>.
25639 (llrintf): Define using libm_alias_float.
25640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25641 <libm-alias-float.h>.
25642 (llroundf): Define using libm_alias_float.
25643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25644 <libm-alias-float.h>.
25645 (logbf): Define using libm_alias_float.
25646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25647 <libm-alias-float.h>.
25648 (modff): Define using libm_alias_float.
25649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25650 <libm-alias-float.h>.
25651 (roundf): Define using libm_alias_float.
25652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25653 <libm-alias-float.h>.
25654 (sinf): Define using libm_alias_float.
25655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25656 <libm-alias-float.h>.
25657 (truncf): Define using libm_alias_float.
25658 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25659 <libm-alias-float.h>.
25660 (ceilf): Define using libm_alias_float.
25661 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25662 <libm-alias-float.h>.
25663 (copysignf): Define using libm_alias_float.
25664 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25665 <libm-alias-float.h>.
25666 (floorf): Define using libm_alias_float.
25667 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25668 <libm-alias-float.h>.
25669 (llrintf): Define using libm_alias_float.
25670 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25671 <libm-alias-float.h>.
25672 (llroundf): Define using libm_alias_float.
25673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25674 <libm-alias-float.h>.
25675 (nearbyintf): Define using libm_alias_float.
25676 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25677 <libm-alias-float.h>.
25678 (rintf): Define using libm_alias_float.
25679 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25680 <libm-alias-float.h>.
25681 (roundf): Define using libm_alias_float.
25682 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25683 <libm-alias-float.h>.
25684 (truncf): Define using libm_alias_float.
25685 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25686 <libm-alias-float.h>.
25687 (ceilf): Define using libm_alias_float.
25688 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25689 <libm-alias-float.h>.
25690 (floorf): Define using libm_alias_float.
25691 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25692 <libm-alias-float.h>.
25693 (llroundf): Define using libm_alias_float.
25694 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25695 <libm-alias-float.h>.
25696 (roundf): Define using libm_alias_float.
25697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25698 <libm-alias-float.h>.
25699 (truncf): Define using libm_alias_float.
25700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25701 <libm-alias-float.h>.
25702 (copysignf): Define using libm_alias_float.
25703 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25704 <libm-alias-float.h>.
25705 (llrintf): Define using libm_alias_float.
25706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25707 <libm-alias-float.h>.
25708 (llroundf): Define using libm_alias_float.
25709 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25710 <libm-alias-float.h>.
25711 (cosf): Define using libm_alias_float.
25712 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25713 <libm-alias-float.h>.
25714 (llrintf): Define using libm_alias_float.
25715 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25716 <libm-alias-float.h>.
25717 (llroundf): Define using libm_alias_float.
25718 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25719 <libm-alias-float.h>.
25720 (sinf): Define using libm_alias_float.
25721
93485524
FW
257222017-12-04 Florian Weimer <fweimer@redhat.com>
25723
25724 * support/check.h (TEST_COMPARE): Define.
25725 (support_test_compare_failure): Declare.
25726 * support/Makefile (libsupport-routines): Add
25727 support_test_compare_failure.
25728 (tests): Add tst-test_compare.
25729 * support /support_test_compare_failure.c: New file.
25730 * support/tst-test_compare.c: Likewise.
25731
96b06a19
MF
257322017-12-04 Mike FABIAN <mfabian@redhat.com>
25733
25734 [BZ #22527]
25735 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25736 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25737 available, this rewrite of the collation rules does reproduce
25738 the test file in the same order.
25739
1f6d91f3
MF
257402017-12-04 Mike FABIAN <mfabian@redhat.com>
25741
25742 [BZ #10580]
25743 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25744 digraphs in the month and day names. Using single code points for
25745 digraphs is deprecated. While there are dedicated Unicode
25746 codepoints, for the digraphs, these are included for backwards
25747 compatibility and modern texts use a sequence of Basic Latin
25748 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25749 This makes the month and day names agree exactly with CLDR now,
25750 CLDR does not use the single code points for the digraphs either.
25751
2e49fed8
CM
257522017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25753
25754 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25755
73895b49
JM
257562017-12-04 Joseph Myers <joseph@codesourcery.com>
25757
25758 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25759 of floor.
25760
4c1d801a
SP
257612017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25762
25763 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25764 Define only for libc.so.
25765
478593e6
SL
257662017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25767
25768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25769 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 25770 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
25771 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25773
7863a711
RS
257742017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25775
25776 [BZ #5997]
25777 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25778
800a496a
JDA
257792017-12-02 John David Anglin <danglin@gcc.gnu.org>
25780
b3f7fb12
JDA
25781 [BZ libc/19170]
25782 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25783 PREINIT_FUNCTION_WEAK is nonzero.
25784 (gmon_initializer): New function. Put procedure label for it in
25785 .init_array section.
25786 (_init): Don't call PREINIT_FUNCTION.
25787 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25788 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25789 value when map argument is null.
25790
800a496a
JDA
25791 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25792 depi instruction from PIC pc-relative sequence.
25793 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25794 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25795 (elf_machine_load_address): Likewise.
25796 (elf_machine_runtime_setup): Likewise.
25797
d17542d2
JM
257982017-12-02 Joseph Myers <joseph@codesourcery.com>
25799
25800 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25801 <libm-alias-double.h>.
25802 (logb): Define using libm_alias_double.
25803 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25804 <libm-alias-double.h>.
25805 (copysign): Define using libm_alias_double.
25806 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25807 <libm-alias-double.h>.
25808 (llrint): Define using libm_alias_double.
25809 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25810 <libm-alias-double.h>.
25811 (llround): Define using libm_alias_double.
25812 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25813 <libm-alias-double.h>.
25814 (lrint): Define using libm_alias_double.
25815 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25816 <libm-alias-double.h>.
25817 (lround): Define using libm_alias_double.
25818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25819 Include <libm-alias-double.h>.
25820 (copysign): Define using libm_alias_double.
25821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25822 Include <libm-alias-double.h>.
25823 (llrint): Define using libm_alias_double.
25824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25825 Include <libm-alias-double.h>.
25826 (llround): Define using libm_alias_double.
25827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25828 <libm-alias-double.h>.
25829 (logb): Define using libm_alias_double.
25830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25831 Include <libm-alias-double.h>.
25832 (lrint): Define using libm_alias_double.
25833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25834 Include <libm-alias-double.h>.
25835 (lround): Define using libm_alias_double.
25836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25837 <libm-alias-double.h>.
25838 (llrint): Define using libm_alias_double.
25839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25840 <libm-alias-double.h>.
25841 (llround): Define using libm_alias_double.
25842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25843 <libm-alias-double.h>.
25844 (llround): Define using libm_alias_double.
25845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25846 <libm-alias-double.h>.
25847 (lround): Define using libm_alias_double.
25848 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25849 <libm-alias-double.h>.
25850 (copysign): Define using libm_alias_double.
25851 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25852 <libm-alias-double.h>.
25853 (llrint): Define using libm_alias_double.
25854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25855 <libm-alias-double.h>.
25856 (llround): Define using libm_alias_double.
25857 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25858 <libm-alias-double.h>.
25859 (lrint): Define using libm_alias_double.
25860 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25861 <libm-alias-double.h>.
25862 (lround): Define using libm_alias_double.
25863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25864 <libm-alias-double.h>.
25865 (copysign): Define using libm_alias_double.
25866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25867 <libm-alias-double.h>.
25868 (llrint): Define using libm_alias_double.
25869 (lrint): Likewise.
25870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25871 <libm-alias-double.h>.
25872 (llround): Define using libm_alias_double.
25873 (lround): Likewise.
25874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25875 <libm-alias-double.h>.
25876 (logb): Define using libm_alias_double.
25877 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25878 <libm-alias-double.h>.
25879 (copysign): Define using libm_alias_double.
25880 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25881 <libm-alias-double.h>.
25882 (llrint): Define using libm_alias_double.
25883 (lrint): Likewise.
25884 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25885 <libm-alias-double.h>.
25886 (llround): Define using libm_alias_double.
25887 (lround): Likewise.
25888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25889 <libm-alias-double.h>.
25890 (llround): Define using libm_alias_double.
25891 (lround): Likewise.
25892 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25893 <libm-alias-double.h>.
25894 (copysign): Define using libm_alias_double.
25895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25896 <libm-alias-double.h>.
25897 (llrint): Define using libm_alias_double.
25898 (lrint): Likewise.
25899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25900 <libm-alias-double.h>.
25901 (llround): Define using libm_alias_double.
25902 (lround): Likewise.
25903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25904 <libm-alias-double.h>.
25905 (llrint): Define using libm_alias_double.
25906 (lrint): Likewise.
25907 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25908 <libm-alias-double.h>.
25909 (llround): Define using libm_alias_double.
25910 (lround): Likewise.
25911
ec2cf3f4
JM
259122017-12-01 Joseph Myers <joseph@codesourcery.com>
25913
0ddde474
JM
25914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25915 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25916 compat symbol based on llround.
25917
0d5ba561
JM
25918 * sysdeps/powerpc/power7/fpu/s_logb.c
25919 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25920 symbol based on __logb, not on logb.
25921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25922 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25924 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25925
51ea3b20
JM
25926 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25927 (rint): Define using libm_alias_double.
25928 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25929 <libm-alias-double.h>.
25930 (modf): Define using libm_alias_double.
25931 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25932 <libm-alias-double.h>.
25933 (ceil): Define using libm_alias_double.
25934 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25935 <libm-alias-double.h>.
25936 (floor): Define using libm_alias_double.
25937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25938 <libm-alias-double.h>.
25939 (nearbyint): Define using libm_alias_double.
25940 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25941 <libm-alias-double.h>.
25942 (rint): Define using libm_alias_double.
25943 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25944 <libm-alias-double.h>.
25945 (round): Define using libm_alias_double.
25946 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25947 <libm-alias-double.h>.
25948 (trunc): Define using libm_alias_double.
25949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25950 <libm-alias-double.h>.
25951 (ceil): Define using libm_alias_double.
25952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25953 Include <libm-alias-double.h>.
25954 (floor): Define using libm_alias_double.
25955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25956 <libm-alias-double.h>.
25957 (modf): Define using libm_alias_double.
25958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25959 Include <libm-alias-double.h>.
25960 (round): Define using libm_alias_double.
25961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25962 Include <libm-alias-double.h>.
25963 (trunc): Define using libm_alias_double.
25964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25965 <libm-alias-double.h>.
25966 (ceil): Define using libm_alias_double.
25967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25968 <libm-alias-double.h>.
25969 (floor): Define using libm_alias_double.
25970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25971 <libm-alias-double.h>.
25972 (round): Define using libm_alias_double.
25973 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25974 <libm-alias-double.h>.
25975 (trunc): Define using libm_alias_double.
25976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25977 <libm-alias-double.h>.
25978 (ceil): Define using libm_alias_double.
25979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25980 <libm-alias-double.h>.
25981 (floor): Define using libm_alias_double.
25982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25983 <libm-alias-double.h>.
25984 (modf): Define using libm_alias_double.
25985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25986 <libm-alias-double.h>.
25987 (round): Define using libm_alias_double.
25988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25989 <libm-alias-double.h>.
25990 (trunc): Define using libm_alias_double.
25991 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25992 <libm-alias-double.h>.
25993 (ceil): Define using libm_alias_double.
25994 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25995 <libm-alias-double.h>.
25996 (floor): Define using libm_alias_double.
25997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25998 <libm-alias-double.h>.
25999 (nearbyint): Define using libm_alias_double.
26000 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26001 <libm-alias-double.h>.
26002 (rint): Define using libm_alias_double.
26003 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26004 <libm-alias-double.h>.
26005 (round): Define using libm_alias_double.
26006 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26007 <libm-alias-double.h>.
26008 (trunc): Define using libm_alias_double.
26009 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26010 <libm-alias-double.h>.
26011 (ceil): Define using libm_alias_double.
26012 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26013 <libm-alias-double.h>.
26014 (floor): Define using libm_alias_double.
26015 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26016 <libm-alias-double.h>.
26017 (round): Define using libm_alias_double.
26018 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26019 <libm-alias-double.h>.
26020 (trunc): Define using libm_alias_double.
26021
ec2cf3f4
JM
26022 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26023 (fabs): Define using libm_alias_double.
26024 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26025 (fma): Define using libm_alias_double.
26026 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26027 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26028 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26029 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26030
5b7bd975
AZ
260312017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26032
0594b13f
AZ
26033 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26034
dbdfcf3b
AZ
26035 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26036 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26037 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26038
5b7bd975
AZ
26039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26040 due redirect macro.
26041
ef9ecfa6
AS
260422017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26043
26044 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26045
5b4e5e78
AZ
260462017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26047
2a14526b
AZ
26048 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26049 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26050 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26051 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26052
dbeb74ef 26053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
26054 (libm-sysdep_routines): Add s_nearbyintf-generic and
26055 s_nearbyint-generic.
26056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26057 New file.
26058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26060 Likewise.
26061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26062 Likewise.
26063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26064 file.
26065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26066 Likewise.
26067
26068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
26069 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26071 file.
26072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26074 Likewise.
26075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26078
fa7ded96
AZ
26079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26080 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26082 file.
26083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26085 Likewise.
26086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26089
e240cf0e
AZ
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26091 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26093 file.
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26096 Likewise.
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26100
5b4e5e78
AZ
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26102 (sysdep_calls): New rule.
26103 (sysdep_routines): Use sysdep_calls as base.
26104 (libm-sysdep_routines): Add generic rule for symbols shared with
26105 libc. Add s_copysign-generic and s_copysign-generic objects.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26107 New file.
26108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26110 Likewise.
26111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26114
d985adae
MF
261152017-12-01 Mike FABIAN <mfabian@redhat.com>
26116
26117 [BZ #22519]
26118 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26119 the list of locales to be built for testing.
26120 * localedata/is_IS.UTF-8.in: New file.
26121 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26122 on iso14651_t1.
26123
ff84a0e0
JM
261242017-12-01 Joseph Myers <joseph@codesourcery.com>
26125
26126 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26127 <libm-alias-float.h>.
26128 (fabsf): Define using libm_alias_float.
26129
ef5d8b43
L
261302017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26131
26132 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26133
c0535adf
JM
261342017-11-30 Joseph Myers <joseph@codesourcery.com>
26135
f938b397
JM
26136 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26137 <libm-alias-float.h>.
26138 (fabsf): Define using libm_alias_float.
26139 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26140 <libm-alias-float.h>.
26141 (lrintf): Define using libm_alias_float.
26142 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26143 <libm-alias-float.h>.
26144 (rintf): Define using libm_alias_float.
26145
2251fad0
JM
26146 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26147 <libm-alias-double.h>.
26148 (fabs): Define using libm_alias_double.
26149 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26150 <libm-alias-double.h>.
26151 (lrint): Define using libm_alias_double.
26152 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26153 <libm-alias-double.h>.
26154 (rint): Define using libm_alias_double.
26155
e53df1de
JM
26156 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26157 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26158 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26159 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26160 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26161 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26162 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26163 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26164 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26165 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26166 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26167 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26168 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26169 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26170 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26171 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26172 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26173 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26174 s_atan_template.c.
26175 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26176 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26177 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26178 s_ceil_template.c.
26179 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26180 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26181 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26182 s_cos_template.c.
26183 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26184 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26185 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26186 s_expm1_template.c.
26187 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26188 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26189 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26190 s_fabs_template.c.
26191 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26192 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26193 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26194 s_floor_template.c.
26195 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26196 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26197 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26198 s_frexp_template.c.
26199 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26200 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26201 s_lrint_template.c.
26202 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26203 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26204 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26205 s_modf_template.c.
26206 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26207 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26208 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26209 s_nearbyint_template.c.
26210 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26211 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26212 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26213 s_remquo_template.c.
26214 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26215 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26216 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26217 s_rint_template.c.
26218 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26219 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26220 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26221 s_sin_template.c.
26222 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26223 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26224 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26225 s_sincos_template.c.
26226 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26227 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26228 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26229 s_tan_template.c.
26230 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26231 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26232 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26233 s_tanh_template.c.
26234 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26235 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26236 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26237 s_trunc_template.c.
26238 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26239 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26240 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26241 s_atan.c instead of including s_atan.c.
26242 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26243 s_atanf.c instead of including s_atanf.c.
26244 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26245 s_atanl.c instead of including s_atanl.c.
26246 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26247 instead of s_atan.c.
26248 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26249 instead of s_atanf.c.
26250 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26251 instead of s_atanl.c.
26252
c0535adf
JM
26253 * scripts/update-copyrights: Do not handle intl/plural.c
26254 specially.
26255
1faaf703
JB
262562017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26257
26258 [BZ #22432]
26259 * configure.ac (BISON): Require to be present.
26260 * configure: Regenerated.
26261 * intl/Makefile (generated): Add plural.c.
26262 [$(BISON) != no]: Make code unconditional.
26263 (plural.c): Change rule to $(objpfx)plural.c.
26264 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26265 * intl/plural.c: Remove.
26266 * manual/install.texi (Tools for Compilation): Document bison as
26267 required.
26268 * INSTALL: Regenerated.
26269
faec6323
JM
262702017-11-30 Joseph Myers <joseph@codesourcery.com>
26271
bd6ea9ed
JM
26272 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26273 <libm-alias-double.h>.
26274 (llrint): Define using libm_alias_double.
26275 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26276 <libm-alias-float.h>.
26277 (llrintf): Define using libm_alias_float.
26278 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26279 <libm-alias-ldouble.h>.
26280 (llrintl): Define using libm_alias_ldouble.
26281
faec6323
JM
26282 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26283 declare_mgen_alias instead of weak_alias.
26284 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26285 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26286 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26287
023cade3
AZ
262882017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26289
9e2279a0
AZ
26290 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26291 Add add_n-generic.
26292 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26293 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26294 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26295
75f37c71
AZ
26296 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26297 Add submul_1-generic.
26298 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26299 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26300 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26301
b70cbbfc 26302 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
26303 Add addmul_1-generic.
26304 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26305 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26306 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26307
26308 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
26309 Add sub_n-generic.
26310 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26311 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26313
023cade3
AZ
26314 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26315 Add mul_1-generic.
26316 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26317 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26318 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26319
fbb5fd03
MF
263202017-11-30 Mike FABIAN <mfabian@redhat.com>
26321
26322 According to CLDR, collation rules for Serbian and Bosnian
26323 should be the same as for Croatian.
26324
26325 [BZ #22534]
26326 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26327 and to the list of locales to be built for testing.
26328 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26329 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26330 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26331 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26332
5e56e937
MF
263332017-11-30 Mike FABIAN <mfabian@redhat.com>
26334
26335 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26336 to make test case pass.
26337 * localedata/hr_HR.UTF-8.in: Add more test strings.
26338
cf4341ca
MF
263392017-11-30 Mike FABIAN <mfabian@redhat.com>
26340
26341 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26342
363e4519 263432017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
26344
26345 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26346 the list of locales to built for testing.
26347 * localedata/hr_HR.UTF-8.in: New file.
26348
363e4519 263492017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
26350
26351 [BZ #10580]
26352 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26353 iso14651_t1.
26354 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26355 CLDR (except use ligatures for the digraphs, CLDR does not use
26356 the ligatures), add first_workday, some fixes in the date and time
26357 formats.
26358 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26359 for Đ and đ.
26360 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26361 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26362 Add int_p_cs_precedes and int_n_cs_precedes.
26363 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26364 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26365 LC_MONETARY now).
26366 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26367 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26368 name_miss.
26369 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26370 and lang_lib. Change postal_fmt.
26371
f33632cc
L
263722017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26373
26374 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26375 <setjmp.h>.
26376 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26377 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26378 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26379 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26380 * sysdeps/generic/setjmpP.h: New file.
26381 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26382 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26383 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26384 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26385 Add jmp_buf-ssp.sym.
26386 (tests): Add tst-saved_mask-1.
26387
34697694
AS
263882017-11-30 Arjun Shankar <arjun@redhat.com>
26389
26390 [BZ #22375]
37ac8e63 26391 CVE-2017-17426
34697694
AS
26392 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26393 instead of request2size.
26394
3e5efdbd
JM
263952017-11-30 Joseph Myers <joseph@codesourcery.com>
26396
18305fba
JM
26397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26398 (__lllrint): Remove alias.
26399 (lllrint): Likewise.
26400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26401 (__lllrintf): Likewise.
26402 (lllrintf): Likewise.
26403
3e5efdbd
JM
26404 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26405 <libm-alias-float.h>.
26406 (copysignf): Define using libm_alias_float.
26407 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26408 <libm-alias-float.h>.
26409 (fabsf): Define using libm_alias_float.
26410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26411 Include <libm-alias-float.h>.
26412 (copysignf): Define using libm_alias_float.
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26414 <libm-alias-float.h>.
26415 (fabsf): Define using libm_alias_float.
26416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26417 <libm-alias-float.h>.
26418 (fdimf): Define using libm_alias_float.
26419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26420 <libm-alias-float.h>.
26421 (fmaf): Define using libm_alias_float.
26422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26423 <libm-alias-float.h>.
26424 (llrintf): Define using libm_alias_float.
26425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26426 Include <libm-alias-float.h>.
26427 (nearbyintf): Define using libm_alias_float.
26428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26429 <libm-alias-float.h>.
26430 (rintf): Define using libm_alias_float.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26432 <libm-alias-float.h>.
26433 (llrintf): Define using libm_alias_float.
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26435 <libm-alias-float.h>.
26436 (lrintf): Define using libm_alias_float.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26438 <libm-alias-float.h>.
26439 (nearbyintf): Define using libm_alias_float.
26440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26441 <libm-alias-float.h>.
26442 (rintf): Define using libm_alias_float.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26444 <libm-alias-float.h>.
26445 (ceilf): Define using libm_alias_float.
26446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26447 <libm-alias-float.h>.
26448 (floorf): Define using libm_alias_float.
26449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26450 <libm-alias-float.h>.
26451 (fmaf): Define using libm_alias_float.
26452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26453 <libm-alias-float.h>.
26454 (lrintf): Define using libm_alias_float.
26455 (llrintf): Likewise.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26457 <libm-alias-float.h>.
26458 (nearbyintf): Define using libm_alias_float.
26459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26460 <libm-alias-float.h>.
26461 (rintf): Define using libm_alias_float.
26462 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26463 <libm-alias-float.h>.
26464 (truncf): Define using libm_alias_float.
26465 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26466 <libm-alias-float.h>.
26467 (copysignf): Define using libm_alias_float.
26468 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26469 <libm-alias-float.h>.
26470 (fabsf): Define using libm_alias_float.
26471 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26472 <libm-alias-float.h>.
26473 (lrintf): Define using libm_alias_float.
26474 (llrintf): Likewise.
26475 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26476 <libm-alias-float.h>.
26477 (nearbyintf): Define using libm_alias_float.
26478 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26479 <libm-alias-float.h>.
26480 (rintf): Define using libm_alias_float.
26481
011fba7e
JM
264822017-11-29 Joseph Myers <joseph@codesourcery.com>
26483
875cd548
JM
26484 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26485 <libm-alias-double.h>.
26486 (copysign): Define using libm_alias_double.
26487 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26488 <libm-alias-double.h>.
26489 (fabs): Define using libm_alias_double.
26490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26491 Include <libm-alias-double.h>.
26492 (copysign): Define using libm_alias_double.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26494 <libm-alias-double.h>.
26495 (fabs): Define using libm_alias_double.
26496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26497 <libm-alias-double.h>.
26498 (fdim): Define using libm_alias_double.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26500 <libm-alias-double.h>.
26501 (fma): Define using libm_alias_double.
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26503 <libm-alias-double.h>.
26504 (llrint): Define using libm_alias_double.
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26506 Include <libm-alias-double.h>.
26507 (nearbyint): Define using libm_alias_double.
26508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26509 <libm-alias-double.h>.
26510 (rint): Define using libm_alias_double.
26511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26512 <libm-alias-double.h>.
26513 (fabs): Define using libm_alias_double.
26514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26515 <libm-alias-double.h>.
26516 (llrint): Define using libm_alias_double.
26517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26518 <libm-alias-double.h>.
26519 (nearbyint): Define using libm_alias_double.
26520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26521 <libm-alias-double.h>.
26522 (rint): Define using libm_alias_double.
26523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26524 <libm-alias-double.h>.
26525 (ceil): Define using libm_alias_double.
26526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26527 <libm-alias-double.h>.
26528 (floor): Define using libm_alias_double.
26529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26530 <libm-alias-double.h>.
26531 (fma): Define using libm_alias_double.
26532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26533 <libm-alias-double.h>.
26534 (lrint): Define using libm_alias_double.
26535 (llrint): Likewise.
26536 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26537 <libm-alias-double.h>.
26538 (nearbyint): Define using libm_alias_double.
26539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26540 <libm-alias-double.h>.
26541 (rint): Define using libm_alias_double.
26542 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26543 <libm-alias-double.h>.
26544 (trunc): Define using libm_alias_double.
26545 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26546 <libm-alias-double.h>.
26547 (copysign): Define using libm_alias_double.
26548 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26549 <libm-alias-double.h>.
26550 (fabs): Define using libm_alias_double.
26551 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26552 <libm-alias-double.h>.
26553 (lrint): Define using libm_alias_double.
26554 (llrint): Likewise.
26555 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26556 <libm-alias-double.h>.
26557 (nearbyint): Define using libm_alias_double.
26558 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26559 <libm-alias-double.h>.
26560 (rint): Define using libm_alias_double.
26561
cf4ebc27
JM
26562 [BZ #22229]
26563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26564 <math_ldbl_opt.h>.
26565 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26566
0c097378
JM
26567 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26568 SPARC --disable-multi-arch glibc variants.
26569
34bb10aa
JM
26570 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26571 <libm-alias-float.h>.
26572 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26573 if [SHARED].
26574 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26575 <libm-alias-float.h>.
26576 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26577 if [SHARED].
26578 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26579 <libm-alias-float.h>.
26580 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26581 if [SHARED].
26582 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26583 <libm-alias-float.h>.
26584 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26585 if [SHARED].
26586 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26587 <libm-alias-float.h>.
26588 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26589 if [SHARED].
26590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26591 <libm-alias-float.h>.
26592 (ceilf): Define using libm_alias_float.
26593 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26594 <libm-alias-float.h>.
26595 (floorf): Define using libm_alias_float.
26596 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26597 <libm-alias-float.h>.
26598 (fmaf): Define using libm_alias_float.
26599 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26600 <libm-alias-float.h>.
26601 (nearbyintf): Define using libm_alias_float.
26602 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26603 <libm-alias-float.h>.
26604 (rintf): Define using libm_alias_float.
26605 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26606 <libm-alias-float.h>.
26607 (truncf): Define using libm_alias_float.
26608 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26609 (copysignf): Define using libm_alias_float.
26610 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26611 (cosf): Define using libm_alias_float.
26612 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26613 (fabsf): Define using libm_alias_float.
26614 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26615 (fmaxf): Define using libm_alias_float.
26616 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26617 (fminf): Define using libm_alias_float.
26618 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26619 (llrintf): Define using libm_alias_float.
26620 [!__ILP32__] (lrintf): Likewise.
26621 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26622 (sincosf): Define using libm_alias_float.
26623 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26624 (sinf): Define using libm_alias_float.
26625 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26626 (lrintf): Define using libm_alias_float.
26627
011fba7e
JM
26628 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26629 <libm-alias-double.h>.
26630 (atan): Define using libm_alias_double.
26631 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26632 <libm-alias-double.h>.
26633 (ceil): Define using libm_alias_double.
26634 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26635 <libm-alias-double.h>.
26636 (floor): Define using libm_alias_double.
26637 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26638 <libm-alias-double.h>.
26639 (fma): Define using libm_alias_double.
26640 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26641 <libm-alias-double.h>.
26642 (nearbyint): Define using libm_alias_double.
26643 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26644 <libm-alias-double.h>.
26645 (rint): Define using libm_alias_double.
26646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26647 <libm-alias-double.h>.
26648 (sin): Define using libm_alias_double.
26649 (cos): Likewise.
26650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26651 <libm-alias-double.h>.
26652 (tan): Define using libm_alias_double.
26653 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26654 <libm-alias-double.h>.
26655 (trunc): Define using libm_alias_double.
26656 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26657 (copysign): Define using libm_alias_double.
26658 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26659 (fabs): Define using libm_alias_double.
26660 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26661 (fmax): Define using libm_alias_double.
26662 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26663 (fmin): Define using libm_alias_double.
26664 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26665 (llrint): Define using libm_alias_double.
26666 [!__ILP32__] (lrint): Likewise.
26667 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26668 (lrint): Define using libm_alias_double.
26669
1cbd7bfe
AZ
266702017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26671
21bfcc3d
AZ
26672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26673 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26674 objects.
26675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26681
522228dd
AZ
26682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26683 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26684 objects.
26685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26691
2a6f4fab
AZ
26692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26693 (libm-sysdep_routines): Add s_nearbyint-generic and
26694 s_nearbyintf-generic objects.
26695 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26696 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26697 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26698 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26699 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26700 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26701
712b5b83
AZ
26702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26703 Add s_finitef-generic and s_finite-generic objects.
26704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26710
c96d3335
AZ
26711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26712 Add s_isinff-generic and s_isinf-generic objects.
26713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26719
c6862a23
AZ
26720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26721 Add s_isnanf-generic and s_isnan-generic objects.
26722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26728
1cbd7bfe
AZ
26729 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26730 macro.
26731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26732 rule.
26733 (sysdep_routines): Use sysdep_calls as base.
26734 (libm-sysdep_routines): Add generic rule for symbols shared with
26735 libc. Add s_signbit-generic and s_signbitf-generic objects.
26736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26742
aa1142c5
JM
267432017-11-29 Joseph Myers <joseph@codesourcery.com>
26744
26745 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26746 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26747 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26748 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26749 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26750 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26751 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26752 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26753 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26754 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26755 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26756 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26757 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26758 libm_alias_float_r.
26759 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26760 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26761 (logf): Likewise.
26762 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26763 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26764 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26765 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26766 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26767 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26768 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26769 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26770 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26771 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26772 libm_alias_float.
26773 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26774 (cosf): Likewise.
26775 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26776 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26777 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26778 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26779 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26780 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26781 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26782 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26783 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26784 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26785 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26786 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26787 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26788 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26789 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26790 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26791 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26792 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26793 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26794 libm_alias_float.
26795 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26796 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26797 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26798 * sysdeps/ia64/fpu/w_lgammaf_main.c
26799 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26800 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26801
363e4519
DL
268022017-11-28 Mike FABIAN <mfabian@redhat.com>
26803 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
26804
26805 [BZ #17750]
26806 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26807 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26808 accents sorting.
26809 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26810 sorting.
26811 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26812 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26813 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26814 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26815 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26816 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26817 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26818 instead of “ifdef DIACRIT_BACKWARD”.
26819
a55430cb
AZ
268202017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26821
26822 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26823 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26824 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26825 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26826 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26827 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26834 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26835 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26836 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26837 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26838 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26839 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26841 ($(have-as-vis3) == yes): Remove conditional.
26842 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26843 Likewise.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26845 file.
26846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26847 file.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26849 file.
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26851 file.
26852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26858 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26859 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26860
0609ec0a
JM
268612017-11-29 Joseph Myers <joseph@codesourcery.com>
26862
26863 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26864 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26865 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26866 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26867 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26868 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26869 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26870 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26871 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26872 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26873 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26874 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26875 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26876 libm_alias_double_r.
26877 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26878 (log): Likewise.
26879 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26880 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26881 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26882 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26883 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26884 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26885 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26886 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26887 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26888 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26889 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26890 libm_alias_double.
26891 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26892 (cos): Likewise.
26893 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26894 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26895 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26896 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26897 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26898 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26899 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26900 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26901 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26902 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26903 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26904 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26905 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26906 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26907 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26908 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26909 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26910 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26911 libm_alias_double.
26912 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26913 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26914 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26915 * sysdeps/ia64/fpu/w_lgamma_main.c
26916 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26917 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26918
d5bfa34a
JDA
269192017-11-28 John David Anglin <danglin@gcc.gnu.org>
26920
26921 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26922 address of $global$ into %dp register earlier. Use pc-relative
26923 instruction sequence for PIC case.
26924
bc4e8f9b
JM
269252017-11-28 Joseph Myers <joseph@codesourcery.com>
26926
e4602cba
JM
26927 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26928 (asinhf): Define using libm_alias_float.
26929 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26930 (atanf): Define using libm_alias_float.
26931 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26932 (cbrtf): Define using libm_alias_float.
26933 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26934 (ceilf): Define using libm_alias_float.
26935 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26936 (copysignf): Define using libm_alias_float.
26937 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26938 (expm1f): Define using libm_alias_float.
26939 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26940 (fabsf): Define using libm_alias_float.
26941 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26942 (floorf): Define using libm_alias_float.
26943 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26944 (fmaxf): Define using libm_alias_float.
26945 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26946 (fminf): Define using libm_alias_float.
26947 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26948 (frexpf): Define using libm_alias_float.
26949 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26950 (llrintf): Define using libm_alias_float.
26951 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26952 (logbf): Define using libm_alias_float.
26953 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26954 (lrintf): Define using libm_alias_float.
26955 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26956 (nearbyintf): Define using libm_alias_float.
26957 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26958 (remquof): Define using libm_alias_float.
26959 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26960 (rintf): Define using libm_alias_float.
26961 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26962 (truncf): Define using libm_alias_float.
26963 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26964 <libm-alias-float.h>.
26965 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26966 if [SHARED].
26967 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26968 <libm-alias-float.h>.
26969 (expf): Define using libm_alias_float, or libm_alias_float_other
26970 if [SHARED].
26971 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26972 <libm-alias-float.h>.
26973 (log2f): Define using libm_alias_float, or libm_alias_float_other
26974 if [SHARED].
26975 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26976 <libm-alias-float.h>.
26977 (logf): Define using libm_alias_float, or libm_alias_float_other
26978 if [SHARED].
26979 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26980 <libm-alias-float.h>.
26981 (powf): Define using libm_alias_float, or libm_alias_float_other
26982 if [SHARED].
26983 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26984 <libm-alias-float.h>.
26985 (cosf): Define using libm_alias_float.
26986 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26987 <libm-alias-float.h>.
26988 (sincosf): Define using libm_alias_float.
26989 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26990 <libm-alias-float.h>.
26991 (sinf): Define using libm_alias_float.
26992 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26993 (fmaxf): Define using libm_alias_float.
26994 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26995 (fminf): Define using libm_alias_float.
26996 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26997 <libm-alias-float.h>.
26998 (fmaf): Define using libm_alias_float.
26999
bc4e8f9b
JM
27000 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27001 (asinh): Define using libm_alias_double.
27002 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27003 (atan): Define using libm_alias_double.
27004 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27005 (cbrt): Define using libm_alias_double.
27006 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27007 (ceil): Define using libm_alias_double.
27008 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27009 (copysign): Define using libm_alias_double.
27010 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27011 (expm1): Define using libm_alias_double.
27012 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27013 (fabs): Define using libm_alias_double.
27014 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27015 (fdim): Define using libm_alias_double.
27016 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27017 (floor): Define using libm_alias_double.
27018 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27019 (fmax): Define using libm_alias_double.
27020 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27021 (fmin): Define using libm_alias_double.
27022 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27023 (frexp): Define using libm_alias_double.
27024 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27025 (llrint): Define using libm_alias_double.
27026 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27027 (logb): Define using libm_alias_double.
27028 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27029 (lrint): Define using libm_alias_double.
27030 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27031 (nearbyint): Define using libm_alias_double.
27032 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27033 (remquo): Define using libm_alias_double.
27034 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27035 (rint): Define using libm_alias_double.
27036 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27037 (trunc): Define using libm_alias_double.
27038 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27039 (fmax): Define using libm_alias_double.
27040 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27041 (fmin): Define using libm_alias_double.
27042 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27043 (fma): Define using libm_alias_double.
27044
8d81ce0c
L
270452017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27046
27047 [BZ #22370]
27048 * elf/dl-hwcaps.c (ROUND): Removed.
27049 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27050 and ELF_NOTE_NEXT_OFFSET.
27051 * elf/dl-load.c (ROUND): Removed.
27052 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27053 * elf/readelflib.c (ROUND): Removed.
27054 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27055 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27056 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27057 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27058
6940bd96
JM
270592017-11-28 Joseph Myers <joseph@codesourcery.com>
27060
313ba463
JM
27061 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27062 [!__fmaf] (fmaf): Define using libm_alias_float.
27063
6940bd96
JM
27064 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27065 [!__fma] (fma): Define using libm_alias_double.
27066 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27067
22c69b6a
MF
270682017-11-28 Mike FABIAN <mfabian@redhat.com>
27069
27070 [BZ #22336]
27071 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27072 and implement the collation rules for cs from CLDR on top of that.
27073 * Makefile: Add cs_CZ.UTF-8 to test-input.
27074 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27075
8d7d3ba8
SP
270762017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27077
27078 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27079
0422ed1e
VR
270802017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27081 Icarus Sparry <icarus.w.sparry@intel.com>
27082
27083 * benchtests/Makefile:Add BENCHSET to allow subsets of
27084 benchmarks to be run.
27085 * benchtests/README: Add documentation for: Running subsets of
27086 benchmarks.
27087
0595e360
VR
270882017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27089
d5090db3
VR
27090 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27091 range of tests names.
27092
0595e360
VR
27093 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27094 result from property and remove "max", min" and "mean" from
27095 required properties based on benchtests/bench-skeleton.c.
27096
b4c645c2
FW
270972017-11-28 Florian Weimer <fweimer@redhat.com>
27098
27099 [BZ #20826]
27100 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27101 due to Internet requirement.
27102 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27103 tst-getaddrinfo5.
27104 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27105
88684de7
AZ
271062017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27107
69056564
AZ
27108 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27109 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27110 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27111 (sysdep_routines): Add memset-ultra1.
27112 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27113 file.
27114 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27115 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27116 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27117 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27118 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27119 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27120 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27121 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27122
88684de7
AZ
27123 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27124 file.
27125 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27126 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27127 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27128 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27129 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27130 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27131 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27132 macro.
27133 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27134 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27135 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27136 (sysdep_routines): Add memcpy-ultra1.
27137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27138 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27139
d8124864
JM
271402017-11-28 Joseph Myers <joseph@codesourcery.com>
27141
f433d0b3
JM
27142 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27143 (cfloat_versions): Take function argument without trailing 'f'.
27144 Call libm_alias_float_other.
27145 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27146 * sysdeps/alpha/fpu/cargf.c: Likewise.
27147 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27148 * sysdeps/alpha/fpu/conjf.c: Likewise.
27149 * sysdeps/alpha/fpu/crealf.c: Likewise.
27150 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27151 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27152 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27153 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27154 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27155 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27156 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27157 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27158 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27159 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27160 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27161 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27162 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27163 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27164 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27165 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27166 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27167 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27168 (clog10f): Use libm_alias_float_other.
27169 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27170 (ceilf): Define using libm_alias_float.
27171 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27172 (copysignf): Define using libm_alias_float.
27173 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27174 (fabsf): Define using libm_alias_float.
27175 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27176 (floorf): Define using libm_alias_float.
27177 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27178 (fmaxf): Define using libm_alias_float.
27179 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27180 (fminf): Define using libm_alias_float.
27181 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27182 (lrintf): Define using libm_alias_float.
27183 (llrintf): Likewise.
27184 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27185 (lroundf): Define using libm_alias_float.
27186 (llroundf): Likewise.
27187 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27188 (rintf): Define using libm_alias_float.
27189 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27190 (truncf): Define using libm_alias_float.
27191
15ff4900
JM
27192 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27193 (ceilf): Define using libm_alias_float.
27194 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27195 (floorf): Define using libm_alias_float.
27196 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27197 (fmaf): Define using libm_alias_float.
27198 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27199 (fmaxf): Define using libm_alias_float.
27200 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27201 (fminf): Define using libm_alias_float.
27202 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27203 (llrintf): Define using libm_alias_float.
27204 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27205 (llroundf): Define using libm_alias_float.
27206 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27207 (lrintf): Define using libm_alias_float.
27208 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27209 (lroundf): Define using libm_alias_float.
27210 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27211 <libm-alias-float.h>.
27212 (nearbyintf): Define using libm_alias_float.
27213 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27214 (rintf): Define using libm_alias_float.
27215 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27216 (roundf): Define using libm_alias_float.
27217 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27218 (truncf): Define using libm_alias_float.
27219
5de60638
JM
27220 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27221 (ceil): Define using libm_alias_double.
27222 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27223 (copysign): Define using libm_alias_double.
27224 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27225 (fabs): Define using libm_alias_double.
27226 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27227 (floor): Define using libm_alias_double.
27228 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27229 (fmax): Define using libm_alias_double.
27230 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27231 (fmin): Define using libm_alias_double.
27232 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27233 (lrint): Define using libm_alias_double.
27234 (llrint): Likewise.
27235 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27236 (lround): Define using libm_alias_double.
27237 (llround): Likewise.
27238 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27239 (rint): Define using libm_alias_double.
27240 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27241 (trunc): Define using libm_alias_double.
27242
d8124864
JM
27243 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27244 (libm_alias_double_r): Add semicolon after weak_alias call.
27245
f07d2ec8
JM
272462017-11-27 Joseph Myers <joseph@codesourcery.com>
27247
27248 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27249 (ceil): Define using libm_alias_double.
27250 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27251 (floor): Define using libm_alias_double.
27252 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27253 (fma): Define using libm_alias_double.
27254 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27255 (fmax): Define using libm_alias_double.
27256 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27257 (fmin): Define using libm_alias_double.
27258 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27259 (llrint): Define using libm_alias_double.
27260 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27261 (llround): Define using libm_alias_double.
27262 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27263 (lrint): Define using libm_alias_double.
27264 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27265 (lround): Define using libm_alias_double.
27266 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27267 (nearbyint): Define using libm_alias_double.
27268 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27269 (rint): Define using libm_alias_double.
27270 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27271 (round): Define using libm_alias_double.
27272 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27273 (trunc): Define using libm_alias_double.
27274
4bab0224
FW
272752017-11-27 Florian Weimer <fweimer@redhat.com>
27276
27277 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27278 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27279 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27280 (tests): Add tst-mlock2.
27281 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27283 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27284 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27285 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27286 for mlock. Document mlock2.
27287
a23aa5b7
JM
272882017-11-27 Joseph Myers <joseph@codesourcery.com>
27289
27290 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27291 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27292 Likewise.
27293 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27294 Likewise.
27295 * sysdeps/x86/Makeconfig: New file.
27296 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27297 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27298 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27299 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27300 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27301 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27302 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27303 Likewise.
27304 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27305 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27306 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27307 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27308 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27309 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27310 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27311 * manual/math.texi (Mathematics): Document support for _Float64x.
27312 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27313 * stdlib/Versions (GLIBC_2.27): Likewise.
27314 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27315 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27317 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27319 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27320 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27321 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27322 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27323 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27324 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27325 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27327 Likewise.
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27329 Likewise.
27330 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27332 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27333 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27334 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27335 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27336 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27338 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27339 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27340 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27342 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27343 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27344
c2c299fd
AS
273452017-11-27 Andreas Schwab <schwab@suse.de>
27346
27347 * elf/Makefile (dl-routines): Add dl-sort-maps.
27348 * elf/dl-sort-maps.c: New file.
27349 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27350 (_dl_sort_maps): Declare.
27351 * elf/dl-fini.c (_dl_sort_fini): Remove.
27352 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27353 * elf/dl-close.c (_dl_close_worker): Likewise.
27354 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27355 open-coding it.
27356 * elf/dl-open.c (dl_open_worker): Likewise.
27357
9d4b0117
JM
273582017-11-24 Joseph Myers <joseph@codesourcery.com>
27359
de61465c
JM
27360 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27361 using libm_alias_float128.
27362 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27363 Likewise.
27364 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27365 Likewise.
27366 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27367 (setpayloadsigf128): Likewise.
27368 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27369 Likewise.
27370 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27371 Likewise.
27372
9ae6d171
JM
27373 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27374 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27375 -mfloat128 to CFLAGS.
27376 ($(foreach
27377 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27378 Likewise.
27379 (CFLAGS-libm-test-support-float64x.c): New variable.
27380 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27381 $(f128-loader-link) to gnulib-tests.
27382
6e70d156
JM
27383 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27384 (libm_alias_float128_other_r): If
27385 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27386 alias.
27387 (libm_alias_float128_r): Add semicolon after weak_alias call.
27388 * sysdeps/generic/libm-alias-ldouble.h
27389 (libm_alias_ldouble_other_r_f128): New macro.
27390 (libm_alias_ldouble_other_r_f64x): Likewise.
27391 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27392 and libm_alias_ldouble_other_r_f64x.
27393 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27394 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27395 (libm_alias_ldouble_other_r_f128): New macro.
27396 (libm_alias_ldouble_other_r_f64x): Likewise.
27397 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27398 and libm_alias_ldouble_other_r_f64x.
27399
df2806cd
JM
27400 * stdlib/strfroml.c: Always include <stdlib.h>.
27401 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27402 undefine as macro and define as weak alias.
27403 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27404 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27405 <stdlib.h>.
27406 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27407 Define and later undefine as macro and define as weak alias.
27408
0df4fe35
JM
27409 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27410 Define and later undefine as macro. Define as weak alias if
27411 [!USE_WIDE_CHAR].
27412 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27413 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27414 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27415 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27416 Define and later undefine as macro. Define as weak alias if
27417 [!USE_WIDE_CHAR].
27418 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27419 Define and later undefine as macro. Define as weak alias if
27420 [USE_WIDE_CHAR].
27421 * sysdeps/ieee754/float128/strtof128_l.c
27422 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27423 Define and later undefine as macro. Define as weak alias if
27424 [!USE_WIDE_CHAR].
27425 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27426 Define and later undefine as macro. Define as weak alias if
27427 [USE_WIDE_CHAR].
27428 * sysdeps/ieee754/ldbl-128/strtold_l.c
27429 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27430 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27431 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27432 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27433 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27434 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27435 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27436 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27437 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27438 * sysdeps/ieee754/ldbl-96/strtold_l.c
27439 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27440 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27441 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27442 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27443
ae7207d0
JM
27444 * math/test-float64x.h: New file.
27445 * math/Makefile (type-float64x-yes): New variable.
27446 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27447
9596fc69
JM
27448 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27449 function-like macro.
27450 (min_of_type_): Likewise.
27451 (min_of_type_l): Likewise.
27452 (min_of_type_f128): Likewise.
27453 (min_of_type): Pass () as last argument of __MATH_TG.
27454
46453c3c
JM
27455 * stdlib/tst-strtod-round-skeleton.c
27456 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27457 headers.
27458
01e659e7
JM
27459 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27460 for combinations of long double with _Float64 and _Float64x.
27461
5c60afdd
JM
27462 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27463 (__DECL_SIMD_cosf32): Likewise.
27464 (__DECL_SIMD_cosf64): Likewise.
27465 (__DECL_SIMD_cosf32x): Likewise.
27466 (__DECL_SIMD_cosf64x): Likewise.
27467 (__DECL_SIMD_cosf128x): Likewise.
27468 (__DECL_SIMD_sinf16): Likewise.
27469 (__DECL_SIMD_sinf32): Likewise.
27470 (__DECL_SIMD_sinf64): Likewise.
27471 (__DECL_SIMD_sinf32x): Likewise.
27472 (__DECL_SIMD_sinf64x): Likewise.
27473 (__DECL_SIMD_sinf128x): Likewise.
27474 (__DECL_SIMD_sincosf16): Likewise.
27475 (__DECL_SIMD_sincosf32): Likewise.
27476 (__DECL_SIMD_sincosf64): Likewise.
27477 (__DECL_SIMD_sincosf32x): Likewise.
27478 (__DECL_SIMD_sincosf64x): Likewise.
27479 (__DECL_SIMD_sincosf128x): Likewise.
27480 (__DECL_SIMD_logf16): Likewise.
27481 (__DECL_SIMD_logf32): Likewise.
27482 (__DECL_SIMD_logf64): Likewise.
27483 (__DECL_SIMD_logf32x): Likewise.
27484 (__DECL_SIMD_logf64x): Likewise.
27485 (__DECL_SIMD_logf128x): Likewise.
27486 (__DECL_SIMD_expf16): Likewise.
27487 (__DECL_SIMD_expf32): Likewise.
27488 (__DECL_SIMD_expf64): Likewise.
27489 (__DECL_SIMD_expf32x): Likewise.
27490 (__DECL_SIMD_expf64x): Likewise.
27491 (__DECL_SIMD_expf128x): Likewise.
27492 (__DECL_SIMD_powf16): Likewise.
27493 (__DECL_SIMD_powf32): Likewise.
27494 (__DECL_SIMD_powf64): Likewise.
27495 (__DECL_SIMD_powf32x): Likewise.
27496 (__DECL_SIMD_powf64x): Likewise.
27497 (__DECL_SIMD_powf128x): Likewise.
27498
9d4b0117
JM
27499 * stdlib/Versions (libc): Move entries for wcstof128 and
27500 wcstof128_l to ....
27501 * wcsmbs/Versions (libc): ... here.
27502 Include <float128-abi.h>.
27503
7911dd47
FW
275042017-11-24 Florian Weimer <fweimer@redhat.com>
27505
27506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27507 bits/mman-shared.h.
27508 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27509 <bits/mman-shared.h>.
27510 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27511 to ...
27512 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27513 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27514 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27515 <bits/mman-shared.h>.
27516
c45d78aa
AZ
275172017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27518
27519 [BZ #22457]
27520 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27521 posix_memalign/free.
27522 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27523
3ffc4cc1
MF
275242017-11-22 Mike FABIAN <mfabian@redhat.com>
27525
27526 [BZ #22469]
27527 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27528 and implement the collation rules for pl from CLDR on top of that.
27529 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27530 of locales to be built for testing.
27531 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27532
3a327316
JM
275332017-11-23 Joseph Myers <joseph@codesourcery.com>
27534
27535 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27536 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27537 libm_alias_ldouble_other.
27538 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27539 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27540 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27541 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27542 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27543 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27544 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27545 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27546 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27547 libm_alias_ldouble_r.
27548 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27549 libm_alias_ldouble_other.
27550 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27551 (log10l): Likewise.
27552 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27553 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27554 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27555 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27556 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27557 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27558 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27559 (atan2l): Likewise.
27560 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27561 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27562 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27563 libm_alias_ldouble.
27564 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27565 (cosl): Likewise.
27566 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27567 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27568 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27569 (expl): Likewise.
27570 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27571 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27572 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27573 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27574 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27575 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27576 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27577 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27578 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27579 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27580 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27581 libm_alias_ldouble.
27582 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27583 libm_alias_ldouble_other.
27584 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27585 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27586 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27587 libm_alias_ldouble.
27588 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27589 libm_alias_ldouble_other.
27590 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27591 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27592 * sysdeps/ia64/fpu/w_lgammal_main.c
27593 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27594 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27595
0a947e06
FW
275962017-11-23 Florian Weimer <fweimer@redhat.com>
27597
27598 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27599 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27600 alike. Remove freeres marker.
27601 * malloc/arena.c (arena_thread_freeres): Call
27602 tcache_thread_shutdown.
27603
67f36c79
FW
276042017-11-23 Florian Weimer <fweimer@redhat.com>
27605
27606 [BZ #22459]
27607 Export nscd hash function as __nss_hash.
27608 * include/nss.h (__nss_hash): Declare.
27609 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27610 symbol.
27611 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27612 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27613 of __nscd_hash.
27614 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27615 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27616 * nss/Makefiles (routines): Add nss_hash.
27617 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27618 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27619 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27620 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27621
cccb6d4e
FW
276222017-11-23 Florian Weimer <fweimer@redhat.com>
27623
27624 [BZ #22478]
27625 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27626 Return error code, not -1.
27627 * signal/tst-sigwait-eintr.c: New file.
27628 * signal/Makefile (tests): Add tst-sigwait-eintr.
27629
59d2cbb1
FW
276302017-11-23 Florian Weimer <fweimer@redhat.com>
27631
27632 Linux: Add memfd_create system call wrapper
27633 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27634 tst-memfd_create.
27635 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27636 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27637 [__USE_GNU] (memfd_create): Declare.
27638 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27639 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27640 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27641 * sysdeps/unix/sysv/linux/**.abilist: Update.
27642 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27643
a90d1ac2
JM
276442017-11-22 Joseph Myers <joseph@codesourcery.com>
27645
0a9d1d62
JM
27646 * localedata/gen-locale.sh: Fix typo in variable name.
27647
754034c4
JM
27648 * resolv/res_debug.c (p_secstodate): Condition definition on
27649 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27650 directly as __p_secstodate, and as a compat symbol. Do not use
27651 libresolv_hidden_def.
27652 * resolv/resolv.h (p_secstodate): Remove macro and function
27653 declaration.
27654 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27655 using p_secstodate.
27656 * include/resolv.h (__p_secstodate): Do not use
27657 libresolv_hidden_proto.
27658 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27659 (tests-internal): ... here.
27660 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27661 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27662 and declare and use __p_secstodate and use compat_symbol_reference
27663 in that case.
27664 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27665 implementation returning 77.
27666
f120cda6
JM
27667 [BZ #22463]
27668 * resolv/res_debug.c: Include <libc-diag.h>.
27669 (p_secstodate): Assert time_t at least as wide as u_long. On
27670 overflow, use integer seconds since the epoch as output, or use
27671 "<overflow>" as output and set errno to EOVERFLOW if integer
27672 seconds since the epoch would be 14 or more characters.
27673 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27674 for sprintf call.
27675 * resolv/tst-p_secstodate.c: New file.
27676 * resolv/Makefile (tests): Add tst-p_secstodate.
27677 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27678
a90d1ac2
JM
27679 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27680 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27681 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27682
0285e6bd
PE
276832017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27684
27685 * posix/regcomp.c (init_word_char): Add comments.
27686
4bae6150
JM
276872017-11-22 Joseph Myers <joseph@codesourcery.com>
27688
27689 [BZ #22447]
27690 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27691 strlen to compute length of ut_user and set trailing NUL byte of
27692 result explicitly.
27693
4b7af5fc
MF
276942017-11-21 Mike FABIAN <mfabian@redhat.com>
27695
27696 [BZ #15537]
27697 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27698 using “copy "iso14651_t1"” and then implementing the
27699 collation rules for lv from CLDR on top of that.
27700 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27701 of locales to be built for testing.
27702 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27703 sorting.
27704
922bb78c
JM
277052017-11-21 Joseph Myers <joseph@codesourcery.com>
27706
27707 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27708 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27709 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27710 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27711 [__USE_MISC] (MADV_HWPOISON): New macro.
27712 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27713
a3aaa598
AZ
277142017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27715
27716 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27717 -Wmissing-braces on GCC 4.9.
27718
8beba15d
SL
277192017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27720
27721 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27722 * sysdeps/s390/s390-32/start.S (_start): Likewise
27723 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27724 (thread_start): Likewise.
27725 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27726 (thread_start): Likewise.
27727 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27728 (__makecontext_ret): Likewise.
27729 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27730 (__makecontext_ret): Likewise.
27731
80eb52e3
SL
277322017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27733
27734 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27735 __wcschrnul): Remove attribute_hidden.
27736
567d8c1f
PE
277372017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27738
27739 regex: don't assume uint64_t or uint32_t
27740 This avoids -Werror=overflow errors for 32-bit systems in
27741 the 64-bit case. Problem reported by Joseph Myers in:
27742 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27743 Also, when this code is used in Gnulib it ports to platforms
27744 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27745 them, and on some 32-bit compilers there is no uint64_t.
27746 Problem reported by Gianluigi Tiesi in:
27747 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27748 * posix/regcomp.c (init_word_char): Don't assume that the types
27749 uint64_t and uint32_t exist. Adapted from Gnulib patch
27750 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27751 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27752
4d7632ff
SP
277532017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27754
5a67c4fa
SP
27755 * sysdeps/aarch64/memset-reg.h: New file.
27756 * sysdeps/aarch64/memset.S: Use it.
27757 (__memset): Rename to MEMSET macro.
27758 [ZVA_MACRO]: Use zva_macro.
27759 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27760 Add memset_generic and memset_falkor.
27761 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27762 (__libc_ifunc_impl_list): Add memset ifuncs.
27763 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27764 local variable zva_size.
27765 * sysdeps/aarch64/multiarch/memset.c: New file.
27766 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27767 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27768 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27769 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27770 (DCZID_DZP_MASK): New macro.
27771 (DCZID_BS_MASK): Likewise.
27772 (init_cpu_features): Read and set zva_size.
27773 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27774 (struct cpu_features): New member zva_size.
27775
eb332f9f
SP
27776 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27777 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27778 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27779
4d7632ff
SP
27780 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27781 backwards. Fix timing computation.
27782 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27783 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27784 on memset by N at a time. Fix timing computation.
27785
a465b89e
FW
277862017-11-20 Florian Weimer <fweimer@redhat.com>
27787
27788 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27789 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27790
0f74bbf5
FW
277912017-11-19 Florian Weimer <fweimer@redhat.com>
27792
27793 manual: Document mprotect
27794 * manual/memory.texi (Memory Protection): New section.
27795 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27796 documentation of PROT_* flags and reference the Memory Protection
27797 section instead.
27798
f6e965ee
FW
277992017-11-19 Florian Weimer <fweimer@redhat.com>
27800
27801 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27802 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27803 (Scatter-Gather): ... to here. Remove misleading comment.
27804
363e4519 278052017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 27806
5f9d1949
CB
27807 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27808 style.
27809
ea69a5c8
CB
27810 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27811 when /proc/<pid>/setgroups does not exist.
27812
8db7f48c
FW
278132017-11-18 Florian Weimer <fweimer@redhat.com>
27814
27815 * sysdeps/unix/sysv/linux/tst-ttyname.c
27816 (become_root_in_mount_ns): Remove.
27817 (do_in_chroot_1): Call support_enter_mount_namespace.
27818 (do_in_chroot_2): Likewise.
27819 (do_test): Call support_become_root early.
27820
273a0c49
FW
278212017-11-18 Florian Weimer <fweimer@redhat.com>
27822
27823 * support/namespace.h (support_enter_mount_namespace): Declare.
27824 * support/support_enter_mount_namespace.c: New file.
27825 * support/Makefile (libsupport-routines): Add
27826 support_enter_mount_namespace.
27827
8adfb0ee
FW
278282017-11-18 Florian Weimer <fweimer@redhat.com>
27829
27830 * support/temp_file.c (support_create_temp_directory): Use
27831 test_dir and do not rely on the presence of the XXXXXX suffix.
27832 * support/temp_file.h (support_create_temp_directory): Update
27833 comment.
27834 * support/tst-xreadlink.c (do_test): Adjust.
27835 * support/support_chroot.c (support_chroot_create): Likewise.
27836
df0c40ee
TMQMF
278372017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27838
27839 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27840 macro.
27841 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27842 htm-no-suspend.
27843
015c6dc2
JM
278442017-11-17 Joseph Myers <joseph@codesourcery.com>
27845
f58e5f48
JM
27846 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27847 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27848 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27849 (ceill): Define using libm_alias_ldouble.
27850 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27851 <libm-alias-ldouble.h>.
27852 (copysignl): Define using libm_alias_ldouble.
27853 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27854 (fabsl): Define using libm_alias_ldouble.
27855 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27856 (floorl): Define using libm_alias_ldouble.
27857 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27858 (fmaxl): Define using libm_alias_ldouble.
27859 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27860 (fminl): Define using libm_alias_ldouble.
27861 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27862 (llrintl): Define using libm_alias_ldouble.
27863 (lrintl): Likewise.
27864 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27865 <libm-alias-ldouble.h>.
27866 (nearbyintl): Define using libm_alias_ldouble.
27867 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27868 (truncl): Define using libm_alias_ldouble.
27869 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27870 <libm-alias-ldouble.h>.
27871 (lrintl): Define using libm_alias_ldouble.
27872
2ce30701
JM
27873 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27874 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27875 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27876 (asinhl): Define using libm_alias_ldouble.
27877 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27878 (atanl): Define using libm_alias_ldouble.
27879 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27880 (cbrtl): Define using libm_alias_ldouble.
27881 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27882 (ceill): Define using libm_alias_ldouble.
27883 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27884 (copysignl): Define using libm_alias_ldouble.
27885 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27886 (fabsl): Define using libm_alias_ldouble.
27887 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27888 (floorl): Define using libm_alias_ldouble.
27889 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27890 (fmaxl): Define using libm_alias_ldouble.
27891 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27892 (fminl): Define using libm_alias_ldouble.
27893 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27894 (frexpl): Define using libm_alias_ldouble.
27895 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27896 (llrintl): Define using libm_alias_ldouble.
27897 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27898 (logbl): Define using libm_alias_ldouble.
27899 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27900 (lrintl): Define using libm_alias_ldouble.
27901 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27902 (nearbyintl): Define using libm_alias_ldouble.
27903 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27904 (nextafterl): Define using libm_alias_ldouble.
27905 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27906 (remquol): Define using libm_alias_ldouble.
27907 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27908 (rintl): Define using libm_alias_ldouble.
27909 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27910 (truncl): Define using libm_alias_ldouble.
27911 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27912 (fmaxl): Define using libm_alias_ldouble.
27913 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27914 (fminl): Define using libm_alias_ldouble.
27915
015c6dc2
JM
27916 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27917 to C syntax instead of availability and properties of types.
27918 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27919 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27920 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27921 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27922 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27923 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27924
ce003e5d
FW
279252017-11-17 Florian Weimer <fweimer@redhat.com>
27926
27927 support_become_root: Enable file creation in namespaces.
27928 * support/support_become_root.c (setup_mapping): New function.
27929 (support_become_root): Call it.
27930
e7df6c5c
JM
279312017-11-17 Joseph Myers <joseph@codesourcery.com>
27932
27933 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27934 macro.
27935
58a813bf
AZ
279362017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27937
27938 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27939 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27940
f97773d1
JM
279412017-11-16 Joseph Myers <joseph@codesourcery.com>
27942
6a6aa1f3
JM
27943 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27944
f97773d1
JM
27945 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27946 version to 4.14.
27947
a306c790
SP
279482017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27949
7b0fb870
SP
27950 * INSTALL: Fix botched up regeneration.
27951
27952 * NEWS: Update sourceare link to https.
a306c790
SP
27953 * configure.ac: Likewise.
27954 * crypt/md5test-giant.c: Likewise.
27955 * dlfcn/bug-atexit1.c: Likewise.
27956 * dlfcn/bug-atexit2.c: Likewise.
27957 * localedata/README: Likewise.
27958 * malloc/tst-mallocfork.c: Likewise.
27959 * manual/install.texi: Likewise.
27960 * nptl/tst-pthread-getattr.c: Likewise.
27961 * stdio-common/tst-fgets.c: Likewise.
27962 * stdio-common/tst-fwrite.c: Likewise.
27963 * sunrpc/Makefile: Likewise.
27964 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27965 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
27966 * configure: Regenerate.
27967 * INSTALL: Regenerate.
a306c790 27968
7532837d
MS
279692017-11-15 Martin Sebor <msebor@redhat.com>
27970
27971 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27972 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27973 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27974
495a56fd
LS
279752017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27976
d9611e30
LS
27977 [BZ #22145]
27978 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27979 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27980
a09dfc19
LS
27981 [BZ #22145]
27982 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27983 Defer is_pty check until end of the function.
27984 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27985
2fbce9c2
LS
27986 [BZ #22145]
27987 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27988 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27989 (ttyname): Likewise.
27990 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27991 (__ttyname_r): Likewise.
27992
d10d6cab
LS
27993 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27994 int to bool.
27995
9b5a8750
LS
27996 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27997
495a56fd
LS
27998 * manual/terminal.texi (Is It a Terminal):
27999 Mention ENODEV for ttyname and ttyname_r.
28000
fa680dc6
JM
280012017-11-15 Joseph Myers <joseph@codesourcery.com>
28002
78cde19f
JM
28003 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28004 constant and macro.
28005
fa680dc6
JM
28006 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28007 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28008 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28009 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28010 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28011 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28012
ad4f43a2
AZ
280132017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28014
1ba1d8a4
AZ
28015 * signal/sigrelse.c (sigrelse): Optimize implementation.
28016
ad4f43a2
AZ
28017 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28018 (__sigpause): Rely on __sigsuspend to implement single thread
28019 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28020
d0212d42
JM
280212017-11-15 Joseph Myers <joseph@codesourcery.com>
28022
28023 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28024 kernel version to 4.14.
28025
2180fee1
SE
280262017-11-15 Steve Ellcey <sellcey@cavium.com>
28027
28028 [BZ #22442]
28029 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28030 Check if ifname is too long.
28031
cad7ca39
LS
280322017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28033
28034 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28035
58c9f659
MF
280362017-11-15 Mike FABIAN <mfabian@redhat.com>
28037
28038 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28039 was accidentally lost.
28040
0fa87c01
MF
280412017-11-15 Mike FABIAN <mfabian@redhat.com>
28042
28043 * localedata/locales/az_IR: Add standard copyright header.
28044
34eb4157
FW
280452017-11-15 Florian Weimer <fweimer@redhat.com>
28046
28047 [BZ #22439]
28048 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28049 not just the top one. Output a new "subheaps" statistic.
28050
7a9368a1
FW
280512017-11-15 Florian Weimer <fweimer@redhat.com>
28052
28053 [BZ #22408]
28054 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28055 under the per-arena lock.
28056 * malloc/Makefile (tests): Add tst-malloc_info.
28057 (tst-malloc_info): Link with libpthread.
28058 * malloc/tst-malloc_info.c: New file.
28059
be3a79a3
JM
280602017-11-15 Joseph Myers <joseph@codesourcery.com>
28061
28062 [BZ #21660]
28063 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28064 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28065 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28066 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28067 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28068 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28069 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28070 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28072 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28073 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28079 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28080 (__floating_type): Likewise.
28081 (__real_integer_type): Likewise.
28082 (__complex_integer_type): Likewise.
28083 (__expr_is_real): Likewise.
28084 (__tgmath_real_type_sub): Likewise.
28085 (__tgmath_real_type): Likewise.
28086 (__tgmath_complex_type_sub): Likewise.
28087 (__tgmath_complex_type): Likewise.
28088 (__TGMATH_F128): Likewise.
28089 (__TGMATH_CF128): Likewise.
28090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28091 new macros.
28092 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28093 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28094 Likewise.
28095 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28096 Likewise.
28097 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28098 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28099 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28100 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28101 Likewise.
28102 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28103 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28104 Likewise.
28105 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28106 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28107 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28108 Likewise.
28109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28110 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28111 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28112 (cimag): Likewise.
28113 (creal): Likewise.
28114
ec72135e
JM
281152017-11-14 Joseph Myers <joseph@codesourcery.com>
28116
2e64ec9c
JM
28117 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28118 for stpncpy calls for GCC 8.
28119 (test_strncat): Disable -Wstringop-truncation warning for strncat
28120 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28121 strncat call for GCC 7.
28122 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28123 calls for GCC 8.
28124 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28125 trailing NUL.
28126
ec72135e
JM
28127 * string/bug-strncat1.c: Include <libc-diag.h>.
28128 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28129
363e4519 281302017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
28131
28132 [BZ #22387]
28133 * localedata/locales/aa_DJ: Improved readibility by replacing
28134 <Uxxxx> sequences in the ASCII printable range by their ASCII
28135 character equivalents.
28136 * localedata/locales/aa_ER: Likewise.
28137 * localedata/locales/aa_ER@saaho: Likewise.
28138 * localedata/locales/aa_ET: Likewise.
28139 * localedata/locales/af_ZA: Likewise.
28140 * localedata/locales/agr_PE: Likewise.
28141 * localedata/locales/ak_GH: Likewise.
28142 * localedata/locales/am_ET: Likewise.
28143 * localedata/locales/anp_IN: Likewise.
28144 * localedata/locales/ar_AE: Likewise.
28145 * localedata/locales/ar_BH: Likewise.
28146 * localedata/locales/ar_DZ: Likewise.
28147 * localedata/locales/ar_EG: Likewise.
28148 * localedata/locales/ar_IN: Likewise.
28149 * localedata/locales/ar_IQ: Likewise.
28150 * localedata/locales/ar_JO: Likewise.
28151 * localedata/locales/ar_KW: Likewise.
28152 * localedata/locales/ar_LB: Likewise.
28153 * localedata/locales/ar_LY: Likewise.
28154 * localedata/locales/ar_MA: Likewise.
28155 * localedata/locales/ar_OM: Likewise.
28156 * localedata/locales/ar_QA: Likewise.
28157 * localedata/locales/ar_SA: Likewise.
28158 * localedata/locales/ar_SD: Likewise.
28159 * localedata/locales/ar_SS: Likewise.
28160 * localedata/locales/ar_SY: Likewise.
28161 * localedata/locales/ar_TN: Likewise.
28162 * localedata/locales/ar_YE: Likewise.
28163 * localedata/locales/as_IN: Likewise.
28164 * localedata/locales/ast_ES: Likewise.
28165 * localedata/locales/ayc_PE: Likewise.
28166 * localedata/locales/az_AZ: Likewise.
28167 * localedata/locales/az_IR: Likewise.
28168 * localedata/locales/be_BY: Likewise.
28169 * localedata/locales/be_BY@latin: Likewise.
28170 * localedata/locales/bem_ZM: Likewise.
28171 * localedata/locales/ber_DZ: Likewise.
28172 * localedata/locales/ber_MA: Likewise.
28173 * localedata/locales/bg_BG: Likewise.
28174 * localedata/locales/bhb_IN: Likewise.
28175 * localedata/locales/bho_IN: Likewise.
28176 * localedata/locales/bi_VU: Likewise.
28177 * localedata/locales/bn_BD: Likewise.
28178 * localedata/locales/bn_IN: Likewise.
28179 * localedata/locales/bo_CN: Likewise.
28180 * localedata/locales/bo_IN: Likewise.
28181 * localedata/locales/br_FR: Likewise.
28182 * localedata/locales/brx_IN: Likewise.
28183 * localedata/locales/bs_BA: Likewise.
28184 * localedata/locales/byn_ER: Likewise.
28185 * localedata/locales/ca_AD: Likewise.
28186 * localedata/locales/ca_ES: Likewise.
28187 * localedata/locales/ca_FR: Likewise.
28188 * localedata/locales/ca_IT: Likewise.
28189 * localedata/locales/ce_RU: Likewise.
28190 * localedata/locales/chr_US: Likewise.
28191 * localedata/locales/cmn_TW: Likewise.
28192 * localedata/locales/crh_UA: Likewise.
28193 * localedata/locales/cs_CZ: Likewise.
28194 * localedata/locales/csb_PL: Likewise.
28195 * localedata/locales/cv_RU: Likewise.
28196 * localedata/locales/cy_GB: Likewise.
28197 * localedata/locales/da_DK: Likewise.
28198 * localedata/locales/de_AT: Likewise.
28199 * localedata/locales/de_BE: Likewise.
28200 * localedata/locales/de_CH: Likewise.
28201 * localedata/locales/de_DE: Likewise.
28202 * localedata/locales/de_IT: Likewise.
28203 * localedata/locales/de_LI: Likewise.
28204 * localedata/locales/de_LU: Likewise.
28205 * localedata/locales/doi_IN: Likewise.
28206 * localedata/locales/dv_MV: Likewise.
28207 * localedata/locales/dz_BT: Likewise.
28208 * localedata/locales/el_CY: Likewise.
28209 * localedata/locales/el_GR: Likewise.
28210 * localedata/locales/en_AG: Likewise.
28211 * localedata/locales/en_AU: Likewise.
28212 * localedata/locales/en_BW: Likewise.
28213 * localedata/locales/en_CA: Likewise.
28214 * localedata/locales/en_DK: Likewise.
28215 * localedata/locales/en_GB: Likewise.
28216 * localedata/locales/en_HK: Likewise.
28217 * localedata/locales/en_IE: Likewise.
28218 * localedata/locales/en_IL: Likewise.
28219 * localedata/locales/en_IN: Likewise.
28220 * localedata/locales/en_NG: Likewise.
28221 * localedata/locales/en_NZ: Likewise.
28222 * localedata/locales/en_PH: Likewise.
28223 * localedata/locales/en_SG: Likewise.
28224 * localedata/locales/en_US: Likewise.
28225 * localedata/locales/en_ZA: Likewise.
28226 * localedata/locales/en_ZM: Likewise.
28227 * localedata/locales/en_ZW: Likewise.
28228 * localedata/locales/eo: Likewise.
28229 * localedata/locales/es_AR: Likewise.
28230 * localedata/locales/es_BO: Likewise.
28231 * localedata/locales/es_CL: Likewise.
28232 * localedata/locales/es_CO: Likewise.
28233 * localedata/locales/es_CR: Likewise.
28234 * localedata/locales/es_CU: Likewise.
28235 * localedata/locales/es_DO: Likewise.
28236 * localedata/locales/es_EC: Likewise.
28237 * localedata/locales/es_ES: Likewise.
28238 * localedata/locales/es_GT: Likewise.
28239 * localedata/locales/es_HN: Likewise.
28240 * localedata/locales/es_MX: Likewise.
28241 * localedata/locales/es_NI: Likewise.
28242 * localedata/locales/es_PA: Likewise.
28243 * localedata/locales/es_PE: Likewise.
28244 * localedata/locales/es_PR: Likewise.
28245 * localedata/locales/es_PY: Likewise.
28246 * localedata/locales/es_SV: Likewise.
28247 * localedata/locales/es_US: Likewise.
28248 * localedata/locales/es_UY: Likewise.
28249 * localedata/locales/es_VE: Likewise.
28250 * localedata/locales/et_EE: Likewise.
28251 * localedata/locales/eu_ES: Likewise.
28252 * localedata/locales/eu_ES@euro: Likewise.
28253 * localedata/locales/fa_IR: Likewise.
28254 * localedata/locales/ff_SN: Likewise.
28255 * localedata/locales/fi_FI: Likewise.
28256 * localedata/locales/fil_PH: Likewise.
28257 * localedata/locales/fo_FO: Likewise.
28258 * localedata/locales/fr_BE: Likewise.
28259 * localedata/locales/fr_CA: Likewise.
28260 * localedata/locales/fr_CH: Likewise.
28261 * localedata/locales/fr_FR: Likewise.
28262 * localedata/locales/fr_LU: Likewise.
28263 * localedata/locales/fur_IT: Likewise.
28264 * localedata/locales/fy_DE: Likewise.
28265 * localedata/locales/fy_NL: Likewise.
28266 * localedata/locales/ga_IE: Likewise.
28267 * localedata/locales/gd_GB: Likewise.
28268 * localedata/locales/gez_ER: Likewise.
28269 * localedata/locales/gez_ET: Likewise.
28270 * localedata/locales/gl_ES: Likewise.
28271 * localedata/locales/gu_IN: Likewise.
28272 * localedata/locales/gv_GB: Likewise.
28273 * localedata/locales/ha_NG: Likewise.
28274 * localedata/locales/hak_TW: Likewise.
28275 * localedata/locales/he_IL: Likewise.
28276 * localedata/locales/hi_IN: Likewise.
28277 * localedata/locales/hif_FJ: Likewise.
28278 * localedata/locales/hne_IN: Likewise.
28279 * localedata/locales/hr_HR: Likewise.
28280 * localedata/locales/hsb_DE: Likewise.
28281 * localedata/locales/ht_HT: Likewise.
28282 * localedata/locales/hu_HU: Likewise.
28283 * localedata/locales/hy_AM: Likewise.
28284 * localedata/locales/i18n: Likewise.
28285 * localedata/locales/ia_FR: Likewise.
28286 * localedata/locales/id_ID: Likewise.
28287 * localedata/locales/ig_NG: Likewise.
28288 * localedata/locales/ik_CA: Likewise.
28289 * localedata/locales/is_IS: Likewise.
28290 * localedata/locales/it_CH: Likewise.
28291 * localedata/locales/it_IT: Likewise.
28292 * localedata/locales/iu_CA: Likewise.
28293 * localedata/locales/ja_JP: Likewise.
28294 * localedata/locales/ka_GE: Likewise.
28295 * localedata/locales/kk_KZ: Likewise.
28296 * localedata/locales/kl_GL: Likewise.
28297 * localedata/locales/kn_IN: Likewise.
28298 * localedata/locales/ko_KR: Likewise.
28299 * localedata/locales/kok_IN: Likewise.
28300 * localedata/locales/ks_IN: Likewise.
28301 * localedata/locales/ks_IN@devanagari: Likewise.
28302 * localedata/locales/ku_TR: Likewise.
28303 * localedata/locales/kw_GB: Likewise.
28304 * localedata/locales/ky_KG: Likewise.
28305 * localedata/locales/lb_LU: Likewise.
28306 * localedata/locales/lg_UG: Likewise.
28307 * localedata/locales/li_BE: Likewise.
28308 * localedata/locales/li_NL: Likewise.
28309 * localedata/locales/lij_IT: Likewise.
28310 * localedata/locales/ln_CD: Likewise.
28311 * localedata/locales/lo_LA: Likewise.
28312 * localedata/locales/lt_LT: Likewise.
28313 * localedata/locales/lv_LV: Likewise.
28314 * localedata/locales/lzh_TW: Likewise.
28315 * localedata/locales/mag_IN: Likewise.
28316 * localedata/locales/mai_IN: Likewise.
28317 * localedata/locales/mg_MG: Likewise.
28318 * localedata/locales/mhr_RU: Likewise.
28319 * localedata/locales/mi_NZ: Likewise.
28320 * localedata/locales/mk_MK: Likewise.
28321 * localedata/locales/ml_IN: Likewise.
28322 * localedata/locales/mn_MN: Likewise.
28323 * localedata/locales/mni_IN: Likewise.
28324 * localedata/locales/mr_IN: Likewise.
28325 * localedata/locales/ms_MY: Likewise.
28326 * localedata/locales/mt_MT: Likewise.
28327 * localedata/locales/my_MM: Likewise.
28328 * localedata/locales/nan_TW: Likewise.
28329 * localedata/locales/nan_TW@latin: Likewise.
28330 * localedata/locales/nb_NO: Likewise.
28331 * localedata/locales/nds_DE: Likewise.
28332 * localedata/locales/nds_NL: Likewise.
28333 * localedata/locales/ne_NP: Likewise.
28334 * localedata/locales/nhn_MX: Likewise.
28335 * localedata/locales/niu_NU: Likewise.
28336 * localedata/locales/niu_NZ: Likewise.
28337 * localedata/locales/nl_AW: Likewise.
28338 * localedata/locales/nl_BE: Likewise.
28339 * localedata/locales/nl_NL: Likewise.
28340 * localedata/locales/nn_NO: Likewise.
28341 * localedata/locales/nr_ZA: Likewise.
28342 * localedata/locales/nso_ZA: Likewise.
28343 * localedata/locales/oc_FR: Likewise.
28344 * localedata/locales/om_ET: Likewise.
28345 * localedata/locales/om_KE: Likewise.
28346 * localedata/locales/or_IN: Likewise.
28347 * localedata/locales/os_RU: Likewise.
28348 * localedata/locales/pa_IN: Likewise.
28349 * localedata/locales/pa_PK: Likewise.
28350 * localedata/locales/pap_AW: Likewise.
28351 * localedata/locales/pap_CW: Likewise.
28352 * localedata/locales/pl_PL: Likewise.
28353 * localedata/locales/ps_AF: Likewise.
28354 * localedata/locales/pt_BR: Likewise.
28355 * localedata/locales/pt_PT: Likewise.
28356 * localedata/locales/quz_PE: Likewise.
28357 * localedata/locales/raj_IN: Likewise.
28358 * localedata/locales/ro_RO: Likewise.
28359 * localedata/locales/ru_RU: Likewise.
28360 * localedata/locales/ru_UA: Likewise.
28361 * localedata/locales/rw_RW: Likewise.
28362 * localedata/locales/sa_IN: Likewise.
28363 * localedata/locales/sat_IN: Likewise.
28364 * localedata/locales/sc_IT: Likewise.
28365 * localedata/locales/sd_IN: Likewise.
28366 * localedata/locales/sd_IN@devanagari: Likewise.
28367 * localedata/locales/se_NO: Likewise.
28368 * localedata/locales/sgs_LT: Likewise.
28369 * localedata/locales/shs_CA: Likewise.
28370 * localedata/locales/si_LK: Likewise.
28371 * localedata/locales/sid_ET: Likewise.
28372 * localedata/locales/sk_SK: Likewise.
28373 * localedata/locales/sl_SI: Likewise.
28374 * localedata/locales/sm_WS: Likewise.
28375 * localedata/locales/so_DJ: Likewise.
28376 * localedata/locales/so_ET: Likewise.
28377 * localedata/locales/so_KE: Likewise.
28378 * localedata/locales/so_SO: Likewise.
28379 * localedata/locales/sq_AL: Likewise.
28380 * localedata/locales/sq_MK: Likewise.
28381 * localedata/locales/sr_ME: Likewise.
28382 * localedata/locales/sr_RS: Likewise.
28383 * localedata/locales/sr_RS@latin: Likewise.
28384 * localedata/locales/ss_ZA: Likewise.
28385 * localedata/locales/st_ZA: Likewise.
28386 * localedata/locales/sv_FI: Likewise.
28387 * localedata/locales/sv_SE: Likewise.
28388 * localedata/locales/sw_KE: Likewise.
28389 * localedata/locales/sw_TZ: Likewise.
28390 * localedata/locales/szl_PL: Likewise.
28391 * localedata/locales/ta_IN: Likewise.
28392 * localedata/locales/ta_LK: Likewise.
28393 * localedata/locales/tcy_IN: Likewise.
28394 * localedata/locales/te_IN: Likewise.
28395 * localedata/locales/tg_TJ: Likewise.
28396 * localedata/locales/th_TH: Likewise.
28397 * localedata/locales/the_NP: Likewise.
28398 * localedata/locales/ti_ER: Likewise.
28399 * localedata/locales/ti_ET: Likewise.
28400 * localedata/locales/tig_ER: Likewise.
28401 * localedata/locales/tk_TM: Likewise.
28402 * localedata/locales/tl_PH: Likewise.
28403 * localedata/locales/tn_ZA: Likewise.
28404 * localedata/locales/to_TO: Likewise.
28405 * localedata/locales/tpi_PG: Likewise.
28406 * localedata/locales/tr_CY: Likewise.
28407 * localedata/locales/tr_TR: Likewise.
28408 * localedata/locales/ts_ZA: Likewise.
28409 * localedata/locales/tt_RU: Likewise.
28410 * localedata/locales/tt_RU@iqtelif: Likewise.
28411 * localedata/locales/ug_CN: Likewise.
28412 * localedata/locales/uk_UA: Likewise.
28413 * localedata/locales/unm_US: Likewise.
28414 * localedata/locales/ur_IN: Likewise.
28415 * localedata/locales/ur_PK: Likewise.
28416 * localedata/locales/uz_UZ: Likewise.
28417 * localedata/locales/uz_UZ@cyrillic: Likewise.
28418 * localedata/locales/ve_ZA: Likewise.
28419 * localedata/locales/vi_VN: Likewise.
28420 * localedata/locales/wa_BE: Likewise.
28421 * localedata/locales/wae_CH: Likewise.
28422 * localedata/locales/wal_ET: Likewise.
28423 * localedata/locales/wo_SN: Likewise.
28424 * localedata/locales/xh_ZA: Likewise.
28425 * localedata/locales/yi_US: Likewise.
28426 * localedata/locales/yo_NG: Likewise.
28427 * localedata/locales/yue_HK: Likewise.
28428 * localedata/locales/yuw_PG: Likewise.
28429 * localedata/locales/zh_CN: Likewise.
28430 * localedata/locales/zh_HK: Likewise.
28431 * localedata/locales/zh_SG: Likewise.
28432 * localedata/locales/zh_TW: Likewise.
28433 * localedata/locales/zu_ZA: Likewise.
28434
cae87e64
FW
284352017-11-13 Florian Weimer <fweimer@redhat.com>
28436
28437 * support/next_to_fault.h, support/next_to_fault.c: New files.
28438 * support/Makefile (libsupport-routines): Add next_to_fault.
28439 * resolv/tst-inet_pton.c (struct next_to_fault)
28440 (next_to_fault_allocate, next_to_fault_free): Remove.
28441 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28442
4a306ef1
L
284432017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * elf/dl-support.c: Include <dl-procruntime.c>.
28446 * include/link.h: Include <link_map.h>.
28447 * sysdeps/generic/dl-procruntime.c: New file.
28448 * sysdeps/generic/link_map.h: Likewise.
28449 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28450 the writable ld.so namespace.
28451
e69897bf
PE
284522017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28453
28454 timezone: pacify GCC -Wstringop-truncation
28455 Problem reported by Martin Sebor in:
28456 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28457 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28458
1ffe1ccb
FW
284592017-11-12 Florian Weimer <fweimer@redhat.com>
28460
eceed671
FW
28461 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28462 tst-xreadlink.
28463 (tests): Add tst-xreadlink.
1ffe1ccb
FW
28464 * support/support.h (xstrndup): Declare.
28465 * support/xunistd.h (xunlink, xreadlink): Declare.
28466 * support/temp_file.h (support_create_temp_directory): Declare.
28467 * support/temp_file.c (support_create_temp_directory): New function.
28468 * support/support_chroot.c (support_chroot_create): Use it.
28469 * support/xreadlink.c: New file.
28470 * support/xstrndup.c: Likewise.
28471 * support/xunlink.c: Likewise.
28472 * support/tst-xreadlink.c: Likewise.
28473
456b40a9
JDA
284742017-11-11 John David Anglin <danglin@gcc.gnu.org>
28475
28476 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28477
c0a25aa9
FW
284782017-11-11 Florian Weimer <fweimer@redhat.com>
28479
28480 [BZ #22409]
28481 [BZ #22412]
28482 * resolv/res_comp.c (printable_string, binary_hnok)
28483 (binary_leading_dash): New functions.
28484 (res_hnok): Reimplement using these functions and ns_name_pton.
28485 (res_ownok): Likewise.
28486 (res_mailok): Reimplement using printable_string, ns_name_pton and
28487 binary_hnok.
28488 (res_dnok): Reimplement using printable_string and ns_name_pton.
28489 * resolv/tst-res_hnok.c (tests): Add additional tests.
28490 (LETTERDIGITS, PRINTABLE): Define.
28491 (do_test): Adjust one_char results.
28492
9e0ad304
FW
284932017-11-11 Florian Weimer <fweimer@redhat.com>
28494
28495 [BZ #22413]
28496 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28497 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28498
e2a9fca8
FW
284992017-11-11 Florian Weimer <fweimer@redhat.com>
28500
28501 * resolv/tst-ns_name_pton.c: New file.
28502 * resolv/Makefile (tests): Add tst-ns_name_pton.
28503 (tst-ns_name_pton): Link against libresolv.
28504
5c1a6923
FW
285052017-11-11 Florian Weimer <fweimer@redhat.com>
28506
28507 * resolv/tst-res_hnok.c: New file.
28508 * resolv/Makefile (tests): Add tst-res_hnok.
28509 (tst-res_hnok): Link against libresolv.
28510
a19c0a1d
FW
285112017-11-11 Florian Weimer <fweimer@redhat.com>
28512
28513 * resolv/tst-resolv-network.c: Use test framework instead explicit
28514 main function.
28515
8cb5295d
L
285162017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28517
28518 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28519 <jmp_buf-macros.h>.
28520 [!_ISOMAC] (STR_HELPER): New.
28521 [!_ISOMAC] (STR): Likewise.
28522 [!_ISOMAC] (TEST_SIZE): Likewise.
28523 [!_ISOMAC] (TEST_ALIGN): Likewise.
28524 [!_ISOMAC] (TEST_OFFSET): Likewise.
28525 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28526 field offsets of jmp_buf as well as sigjmp_buf.
28527 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28528 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28529 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28530 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28531 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28532 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28533 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28534 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28535 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28536 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28537 Likewise.
28538 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28539 Likewise.
28540 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28542 Likewise.
28543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28544 Likewise.
28545 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28546 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28547 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28548 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28549 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28551 Likewise.
28552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28553 Likewise.
28554 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28555 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28556 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28557
58c4a161
JM
285582017-11-07 Joseph Myers <joseph@codesourcery.com>
28559
3683b423
JM
28560 * include/float.h
28561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28562 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28564 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28566 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28568 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28570 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28572 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28574 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28576 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28578 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28580 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28582 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28584 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28586 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28588 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28590 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28592 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28594 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28596 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28598 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28600 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28602 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28604 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28606 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28608 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28610 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28612 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28614 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28616 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28618 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28620 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28622 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28624 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28626 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28628 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28630 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28632 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28634 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28636 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28638 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28640 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28642 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28644 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28646 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28648 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28649
58c4a161
JM
28650 * stdlib/tst-strtod.h (F16): New macro.
28651 (F32): Likewise.
28652 (F64): Likewise.
28653 (F32X): Likewise.
28654 (F64X): Likewise.
28655 (F128X): Likewise.
28656 (IF_FLOAT16): Likewise.
28657 (IF_FLOAT32): Likewise.
28658 (IF_FLOAT64): Likewise.
28659 (IF_FLOAT32X): Likewise.
28660 (IF_FLOAT64X): Likewise.
28661 (IF_FLOAT128X): Likewise.
28662 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28663 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28664 (STRTOD_TEST_FOREACH): Likewise.
28665 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28666 (CHOOSE_f64): Likewise.
28667 (CHOOSE_f32x): Likewise.
28668 (CHOOSE_f64x): Likewise.
28669
feda96a1
AS
286702017-11-07 Andreas Schwab <schwab@suse.de>
28671
28672 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28673
1bd0cbb8
MF
286742017-11-07 Mike FABIAN <mfabian@redhat.com>
28675
28676 [BZ #22403]
28677 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28678 to be escaped.
28679 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28680 to be escaped.
28681
363e4519 286822017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
28683
28684 [BZ #22403]
28685 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28686 to be escaped.
28687 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28688 to be escaped.
28689 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28690 to be escaped.
28691
dff91cd4
AZ
286922017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28693
06be6368
AZ
28694 [BZ #22298]
28695 * nptl/allocatestack.c (allocate_stack): Check if
28696 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28697 __PTHREAD_MUTEX_HAVE_PREV is defined.
28698 * nptl/descr.h (pthread): Likewise.
28699 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28700 Likewise.
28701 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28702 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28703 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28704 * sysdeps/nptl/bits/thread-shared-types.h
28705 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28706 defines.
28707 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28708 of __WORDSIZE for internal layout.
28709 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28710 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28711 instead of __WORDSIZE whether to use an union for __spins and __list
28712 fields.
28713 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28714 case.
28715 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28716 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28717 defines.
28718 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28719 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28720 Likewise.
28721 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28723 Likewise.
28724 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28726 Likewise.
28727 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28729 Likewise.
28730 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28732 Likewise.
28733 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28735 Likewise.
28736 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28738 Likewise.
28739 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28741 Likewise.
28742 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28744 Likewise.
28745 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28746 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28747 Likewise.
28748 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28749 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28750 Likewise.
28751 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28753 Likewise.
28754 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28756 Likewise.
28757 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28759 Likewise.
28760
72b3c6ee
AZ
28761 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28762 New macros.
28763 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28764 checks for expected input type size.
28765 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28766 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28767 Likewise.
28768 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28769 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28770 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28771 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28772 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28773 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28774 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28775 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28776 superflous runtime assert check.
28777 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28778 Likewise.
28779 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28780 Likewise.
28781 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28782 Likewise.
28783 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28784 Likewise.
28785 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28786 Likewise.
28787 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28788 Likewise.
28789 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28790 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28791 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28792 Likewise.
28793 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28794 Likewise.
28795 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28796 Likewise.
28797 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28798 Likewise.
28799 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28800 Likewise.
28801 * nptl/pthread_attr_setinheritsched.c
28802 (__pthread_attr_setinheritsched): Likewise.
28803 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28804 Likewise.
28805 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28806 Likewise.
28807 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28808 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28809 __old_pthread_attr_setstack): Likewise.
28810 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28811 Likewise.
28812 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28813 Likewise.
28814 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28815 Likewise.
28816 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28817 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28818 Likewise.
28819 * nptl/tst-typesizes.c: Remove file.
28820
dff91cd4
AZ
28821 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28822 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28823 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28824 checks for internal pthread_mutex_t offsets.
28825 * sysdeps/aarch64/nptl/pthread-offsets.h
28826 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28827 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28828 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28829 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28830 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28831 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28832 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28833 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28834 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28835 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28836 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28837 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28838 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28839 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28840 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28841 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28842 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28843 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28844
b7fc95f8
FW
288452017-11-07 Florian Weimer <fweimer@redhat.com>
28846
28847 * bits/mman-linux.h: Move ...
28848 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28849 comment.
28850 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28851 outdated comment.
28852
6b860364
RS
288532017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28854
28855 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28856 Redefine STRNLEN as __strnlen_power8.
28857
802c1f16
AZ
288582017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28859
d83da3a4
AZ
28860 * signal/sighold.c (sighold): Optimize implementation.
28861
6a4235f1
AZ
28862 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28863 __NR_rt_sigqueueinfo.
28864
8b0e795a
AZ
28865 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28866 __sigtimedwait.
28867 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28868 assume __NR_rt_sigtimedwait.
28869 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28870 and add LIBC_CANCEL_HANDLED for cancellation marking.
28871 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28872
a1a638dd
AZ
28873 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28874 (sysdeps_routines): Add memchr_noneon.
28875 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28876 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28877 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28878 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28879 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28880 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28881 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28882
802c1f16
AZ
28883 * sysdeps/arm/arm-ifunc.h: New file.
28884 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28885 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28886 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28887 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28888 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28889 (__memcpy_neon): Avoid create hidden alias.
28890 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28891 (__memcpy_vfp): Likewise.
28892 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28893 (sysdep_routines): Add memcpy_arm.
28894 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28895
abcb584d
L
288962017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28897
28898 [BZ #22362]
28899 * Makerules (make-link-multidir): New.
28900 * config.make.in (multidir): New.
28901 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28902 * configure: Regenerated.
28903 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28904 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28905 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28906 New target.
28907
4e2dff67
JM
289082017-11-06 Joseph Myers <joseph@codesourcery.com>
28909
28910 [BZ #22402]
28911 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28912 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28913
a1c7cd3c
MF
289142017-11-04 Mike FABIAN <mfabian@redhat.com>
28915
28916 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28917 to be escaped.
28918
b9af29c0
FW
289192017-11-04 Florian Weimer <fweimer@redhat.com>
28920
28921 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28922
4ca70e1a
JM
289232017-11-03 Joseph Myers <joseph@codesourcery.com>
28924
28925 * math/math.h [__HAVE_DISTINCT_FLOAT16
28926 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28927 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28928 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28929 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28930 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28931 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28932 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28933 (__MATH_TG_F32): New macro.
28934 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28935 (__MATH_TG_F64X): Likewise.
28936 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28937 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28938
ba0e6668
DL
289392017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28940
28941 * po/de.po: Update translations.
28942 * po/ru.po: Likewise.
28943
bc18a6d3
FW
289442017-11-03 Florian Weimer <fweimer@redhat.com>
28945
28946 * manual/filesys.texi (Hard Links): Document linkat.
28947
97255170
JM
289482017-11-03 Joseph Myers <joseph@codesourcery.com>
28949
86ec4865
JM
28950 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28951 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28952 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28953 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28954 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28955 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28956 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28957 the same as _Float128.
28958 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28959 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28960 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28961
97255170
JM
28962 * stdlib/stdlib.h
28963 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28964 Declare.
28965 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28966 Likewise.
28967 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28968 Likewise.
28969 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28970 (strtof32x): Likewise.
28971 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28972 (strtof64x): Likewise.
28973 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28974 (strtof128x): Likewise.
28975 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28976 (strfromf16): Likewise.
28977 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28978 (strfromf32): Likewise.
28979 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28980 (strfromf64): Likewise.
28981 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28982 (strfromf32x): Likewise.
28983 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28984 (strfromf64x): Likewise.
28985 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28986 (strfromf128x): Likewise.
28987 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28988 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28989 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28990 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28991 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28992 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28993
6d58ce5e
RH
289942017-11-03 Richard Henderson <rth@twiddle.net>
28995
28996 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28997
659ca267
SN
289982017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28999
29000 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29001
94d2f0af
SN
290022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29003
29004 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29005 DT_TLSDESC_GOT initialization.
29006 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29007 (_dl_tlsdesc_resolve_hold): Likewise.
29008 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29009 (_dl_tlsdesc_resolve_hold): Likewise.
29010 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29011 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29012
28e1ddf3
SN
290132017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29014
29015 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29016
0ca3d1d6
SN
290172017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29018
29019 [BZ #18572]
29020 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29021 non-lazily for R_ARM_TLS_DESC.
29022
2c1d4e5f
SN
290232017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29024
29025 [BZ #17078]
29026 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29027 R_ARM_TLS_DESC case.
29028 (elf_machine_lazy_rel): Remove the prelink check.
29029
91c5a366
SN
290302017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29031
29032 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29033 DT_TLSDESC_GOT initialization.
29034 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29035 (_dl_tlsdesc_resolve_rela): Likewise.
29036 (_dl_tlsdesc_resolve_hold): Likewise.
29037 (_dl_tlsdesc_undefweak): Remove ldar.
29038 (_dl_tlsdesc_dynamic): Likewise.
29039 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29040 (_dl_tlsdesc_resolve_rela): Likewise.
29041 (_dl_tlsdesc_resolve_hold): Likewise.
29042 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29043 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29044 (_dl_tlsdesc_resolve_rela): Likewise.
29045 (_dl_tlsdesc_resolve_hold): Likewise.
29046
b7cf203b
SN
290472017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29048
29049 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29050 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29051
0cc5b022
SN
290522017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29053
29054 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29055 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29056
43ddff2e
JM
290572017-11-02 Joseph Myers <joseph@codesourcery.com>
29058
29059 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29060 Declare.
29061 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29062 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29063 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29064 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29065 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29066 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29067 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29068 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29069 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29070 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29071 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29072
5baac970
MF
290732017-11-02 Mike FABIAN <mfabian@redhat.com>
29074
29075 [BZ #22382]
29076 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29077 * localedata/locales/tpi_PG: Add standard header.
29078
ef11081f
FW
290792017-11-02 Florian Weimer <fweimer@redhat.com>
29080
29081 test-errno-linux: quotactl can fail with EPERM in containers.
29082 * sysdeps/unix/sysv/linux/test-errno-linux.c
29083 (LIST, LIST_FORWARD): New macros.
29084 (check_error_in_list): New function.
29085 (test_wrp_rv): Accept list of permitted error codes.
29086 (test_wrp_rv2): Remove.
29087 (test_wrp): Call test_wrp_rv with list of error codes.
29088 (test_wrp2): Accept list of error codes.
29089 (do_test): Adjust. Allow EPERM for quotactl.
29090
d10b132b
FW
290912017-11-02 Florian Weimer <fweimer@redhat.com>
29092
29093 * stdio-common/bug16.c (do_test): Use array_length.
29094 * stdio-common/errlist.c (_sys_nerr): Likewise.
29095 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29096 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29097 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29098 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29099 (do_test): Use array_length.
29100 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29101 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29102 * stdio-common/tst-printf-round.c (do_test): Likewise.
29103 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29104 (CHECK): Use array_length.
29105 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29106 * stdio-common/tstscanf.c (main): Likewise.
29107 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29108
c94a5688
FW
291092017-11-02 Florian Weimer <fweimer@redhat.com>
29110
29111 Add array_length and array_end macros.
29112 * include/array_length.h: New file.
29113
2fac6a6c
FW
291142017-11-02 Florian Weimer <fweimer@redhat.com>
29115
29116 [BZ #22332]
29117 * posix/tst-glob-tilde.c (do_noescape): New variable.
29118 (one_test): Process it.
29119 (do_test): Set do_noescape. Add unescaping test case.
29120
2f1b212e
JM
291212017-11-01 Joseph Myers <joseph@codesourcery.com>
29122
260fbd0a
JM
29123 * math/complex.h
29124 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29125 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29126 with appropriate macros defined and undefined.
29127 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29129 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29130 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29131 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29132 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29133 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29134 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29135 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29136 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29137
2f1b212e
JM
29138 * math/complex.h
29139 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29140 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29141 that for long double. Do not condition define and undefine of
29142 _Mdouble_complex_ on [__CFLOAT128].
29143
95b93c6e
L
291442017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29145
29146 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29147 of <sysdeps/generic/sysdep.h>.
29148 (ALIGNARG): Removed.
29149 (ASM_SIZE_DIRECTIVE): Likewise.
29150 (ENTRY): Likewise.
29151 (END): Likewise.
29152 (ENTRY_CHK): Likewise.
29153 (END_CHK): Likewise.
29154 (syscall_error): Likewise.
29155 (mcount): Likewise.
29156 (PSEUDO_END): Likewise.
29157 (L): Likewise.
29158 (atom_text_section): Likewise.
29159 * sysdeps/x86/sysdep.h: New file.
29160 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29161 of <sysdeps/generic/sysdep.h>.
29162 (ALIGNARG): Removed.
29163 (ASM_SIZE_DIRECTIVE): Likewise.
29164 (ENTRY): Likewise.
29165 (END): Likewise.
29166 (ENTRY_CHK): Likewise.
29167 (END_CHK): Likewise.
29168 (syscall_error): Likewise.
29169 (mcount): Likewise.
29170 (PSEUDO_END): Likewise.
29171 (L): Likewise.
29172 (atom_text_section): Likewise.
29173
ab74d59f 291742017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
1bb36539
RL
29175
29176 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29177 category of LC_CTYPE set to "i18n:2012".
29178 * localedata/locales/i18n_ctype: Regenerate.
29179
067f5d97 291802017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 29181
87bbc4cf
YN
29182 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29183 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29184 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29185 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29186
e8681faa
YN
29187 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29188 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29190 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29191
540af6e2
JM
291922017-10-31 Joseph Myers <joseph@codesourcery.com>
29193
43e66283
JM
29194 * math/complex.h
29195 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29196 New macro.
29197 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29198 Likewise.
29199 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29200 Likewise.
29201 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29202 (CMPLXF32X): Likewise.
29203 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29204 (CMPLXF64X): Likewise.
29205 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29206 (CMPLXF128X): Likewise.
29207
540af6e2
JM
29208 * math/math.h
29209 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29210 (__MATH_EVAL_FMT2): Define to add 0.0f.
29211
58af72b4
AM
292122017-10-31 Alan Modra <amodra@gmail.com>
29213
29214 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29215 include sysdep.h.
29216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29230 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29231 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29234 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29241 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29242 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29243 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29244 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29245 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29246 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29247 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29248 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29249 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29250 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29251 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29252 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29254 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29256 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29257 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29258 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29259 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29260 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29261 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29262 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29263 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29264 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29265 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29266 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29267 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29273 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29285
29286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29287 include sysdep.h and math_ldbl_opt.h.
29288
29289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29290 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29315
112f30b3
AM
293162017-10-31 Alan Modra <amodra@gmail.com>
29317
29318 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29319 string/strncase_l.c, not string/strncase.c.
29320 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29321 (libc_hidden_def): Redefine.
29322
e9e7eced
AM
293232017-10-31 Alan Modra <amodra@gmail.com>
29324
29325 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29326 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29327 (__strcasecmp): Don't define.
29328
f7b465cf
AM
293292017-10-31 Alan Modra <amodra@gmail.com>
29330
29331 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29332 IS_IN (libc).
29333 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29335 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29336
d46b09f9
AM
293372017-10-31 Alan Modra <amodra@gmail.com>
29338
29339 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29340 USE_AS_STPNCPY.
29341
e9b8e194
AM
293422017-10-31 Alan Modra <amodra@gmail.com>
29343
29344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29345 Redefine only when SHARED.
29346
eda162dd
JM
293472017-10-30 Joseph Myers <joseph@codesourcery.com>
29348
b61afe8c
JM
29349 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29350 Include <bits/math-finite.h> with appropriate macros defined and
29351 undefined.
29352 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29353 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29354 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29355 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29356 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29357
eda162dd
JM
29358 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29359 [!_Mlong_double_] (_Mlong_double_): Likewise.
29360 [!_Mfloat16_] (_Mfloat16_): Likewise.
29361 [!_Mfloat32_] (_Mfloat32_): Likewise.
29362 [!_Mfloat64_] (_Mfloat64_): Likewise.
29363 [!_Mfloat128_] (_Mfloat128_): Likewise.
29364 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29365 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29366 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29367 (_Mdouble_): Define without indirection through those macros.
29368 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29369 [!_Mfloat128_] (_Mfloat128_): Likewise.
29370 [_Mlong_double_] (_Mlong_double_): Likewise.
29371 (_Mdouble_): Define without indirection through those macros.
29372 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29373 not add -D_Mlong_double_=double.
29374 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29375 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29376
4ad5106e
L
293772017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29378
29379 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29380
fe326df7
L
293812017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29382
29383 * sysdeps/x86/libc-start.c: Reformat.
29384
c5cc4514
L
293852017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29386
29387 [BZ #22353]
29388 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29389 (1): Renamed to ...
29390 (L(Src0)): This.
29391 (L(Src1)): New.
29392 (L(Src2)): Likewise.
29393 (L(1)): Renamed to ...
29394 (L(Src3)): This.
29395
ce12269f
JM
293962017-10-30 Joseph Myers <joseph@codesourcery.com>
29397
29398 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29399 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29400 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29401 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29402 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29403 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29404 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29405 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29406 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29407 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29408 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29409 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29410 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29411 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29412 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29413 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29414 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29415 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29416 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29417 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29418 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29419 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29420 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29421 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29422 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29423 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29424 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29425 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29426 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29427 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29428 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29429 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29430 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29431 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29432 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29433 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29434 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29435 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29436 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29437 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29438 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29439 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29440 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29441 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29442 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29443 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29444 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29445 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29446 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29447 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29448 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29449 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29450 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29451 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29452 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29453 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29454 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29455 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29456 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29457 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29458 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29459 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29460 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29461 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29462 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29463 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29464
4484b9e2
FW
294652017-10-30 Florian Weimer <fweimer@redhat.com>
29466
29467 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29468 always defined.
29469 * io/tst-mkdirat.c (do_test): Likewise.
29470 * io/tst-mkfifoat.c (do_test): Likewise.
29471 * io/tst-mknodat.c (do_test): Likewise.
29472 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29473 * locale/programs/locale.c (select_dirs): Likewise.
29474 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29475 * posix/bug-glob2.c (my_readdir): Likewise.
29476 * posix/tst-dir.c (main): Likewise.
29477 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29478 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29479
68fe16dd
FW
294802017-10-30 Florian Weimer <fweimer@redhat.com>
29481
29482 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29483 just __USE_GNU.
29484
dadf23f0
FW
294852017-10-30 Florian Weimer <fweimer@redhat.com>
29486
29487 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29488 Convert to support/test-driver.c.
29489 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29490 New macro parameters.
29491 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29492 * posix/tst-gnuglob.c: New file.
29493 * posix/tst-gnuglob64.c: Likewise.
29494 * posix/Makefile (tests): Add tst-gnuglob64.
29495
363e4519 294962017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
29497
29498 [BZ #19485]
29499 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29500 and use a better translation for March in “mon”.
29501 * localedata/locales/csb_PL: Use more ASCII to improve the
29502 readability of the source.
29503
b110af82
MF
295042017-10-30 Mike FABIAN <mfabian@redhat.com>
29505
29506 [BZ #13953]
29507 * localedata/locales/km_KH: Use ASCII as much
29508 as possible for better readability of the source and
29509 remove useless comments.
29510 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29511 was commented out and apparently wrong anyway because it was
29512 using Lao characters. If Buddhist era should be used
29513 for km_KH, a native speaker should write the correct formaat
29514 for Khmer.
29515 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29516 (According to CLDR, the first weekday for Cambodia is Sunday).
29517 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29518 (These were using Lao characters which must be wrong. If we get
29519 the correct data from a native speaker, we could add it back, until
29520 then it is better not to have name_mr and name_mrs at all than
29521 having it wrong).
29522
ab74d59f 295232017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
f301e533
RL
29524
29525 * locale/loadlocale.c: Correct size of
29526 _nl_value_type_LC_<category> arrays.
29527
7e9d7073
JM
295282017-10-27 Joseph Myers <joseph@codesourcery.com>
29529
29530 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29531 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29532 with appropriate macros defined and undefined.
29533 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29534 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29535 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29536 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29537 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29538
63d3b468
L
295392017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29540
29541 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29542 "-O2 -march=i586".
29543
a4cc02c7
MF
295442017-10-27 Mike FABIAN <mfabian@redhat.com>
29545
29546 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29547 with lowercase letters to make it agree with CLDR.
29548
1e5971ec
MF
295492017-10-27 Mike FABIAN <mfabian@redhat.com>
29550
29551 [BZ #15260]
29552 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29553 first letters of yesstr and nostr in yesexpr and noexpr,
29554 not for the full words.
29555 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29556 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29557 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29558 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29559 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29560 first letters of yesstr and nostr in yesexpr and noexpr,
29561 until now only English was matched in yesexpr and noexpr.
29562 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29563 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29564 fil but not for tl. As tl and fil are very similar, using fil
29565 is probably better than using English.
29566
363e4519 295672017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
29568
29569 [BZ #21706]
29570 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29571 in yesstr and nostr.
29572
5d220788
JM
295732017-10-26 Joseph Myers <joseph@codesourcery.com>
29574
ecc7da5b
JM
29575 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29576 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29577 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29578 Likewise.
29579 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29580 Likewise.
29581 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29582 Likewise.
29583 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29584 Likewise.
29585 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29586 (SNANF128X): Likewise.
29587
5d220788
JM
29588 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29589 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29590 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29591 (HUGE_VAL_F32): Likewise.
29592 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29593 (HUGE_VAL_F64): Likewise.
29594 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29595 (HUGE_VAL_F32X): Likewise.
29596 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29597 (HUGE_VAL_F64X): Likewise.
29598 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29599 (HUGE_VAL_F128X): Likewise.
29600
363e4519 296012017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
29602
29603 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29604 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29605 for the br_FR locale.
29606
363e4519 296072017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
29608
29609 [BZ #21706]
29610 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29611
337ff3c5
CD
296122017-10-25 Carlos O'Donell <carlos@redhat.com>
29613
02eec681
CD
29614 * locale/programs/record-status.h: Define globals, and function
29615 prototypes. Move function bodies...
29616 * locale/programs/record-status.c: ... to here. New file.
29617 * iconv/Makefile (iconv_prog-modules): Add record-status.
29618 * locale/Makefile (lib-modules): Likewise.
29619 * iconv/iconv_prog.c: Remove verbose.
29620 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29621 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29622 record a warning about ASCII compatibility.
29623 * locale/programs/ld-monetary.c (monetary_finish): If
29624 warn_int_curr_symbol is true then record a warning about the symbol
29625 not being in our ISO 4217 list.
29626 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29627 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29628 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29629 (OPT_NO_WARN): Define.
29630 (OPT_WARN): Define.
29631 (options): Add entry for --no-warnings, and --warnings.
29632 (set_warnings): New function to enable/disable warnings.
29633 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29634 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29635 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29636 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29637 Pass flags to generate_locale.
29638 (generate_locale): Accept new flag argument and pass it to localedef
29639 invocation.
29640 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29641 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29642
56fa555a
CD
29643 * localedata/Makefile (test-input-data): Use full file name.
29644 * localedata/da_DK.in: Rename to...
29645 * localedata/da_DK.ISO-8859-1.in: ...this.
29646 * localedata/de_DE.in: Rename to...
29647 * localedata/de_DE.ISO-8859-1.in: ...this.
29648 * localedata/en_US.in: Rename to...
29649 * localedata/en_US.ISO-8859-1.in: ...this.
29650 * localedata/fr_FR.in: Rename to...
29651 * localedata/fr_FR.UTF-8.in: ... this.
29652 * localedata/hr_HR.in: Rename to...
29653 * localedata/hr_HR.ISO-8859-2.in: ...this.
29654 * localedata/hu_HU.in: Rename to...
29655 * localedata/hu_HU.UTF-8.in: ...this.
29656 * localedata/si_LK.in: Rename to...
29657 * localedata/si_LK.UTF-8.in: ...this.
29658 * localedata/sv_SE.in: Rename to...
29659 * localedata/sv_SE.ISO-8859-1.in: ...this.
29660 * localedata/tr_TR.in: Rename to...
29661 * localedata/tr_TR.UTF-8.in: ...this.
29662 * localedata/uk_UA.in: Rename to...
29663 * localedata/uk_UA.UTF-8.in: ...this.
29664 * localedata/sort-test.sh: Test file is locale name with the
29665 suffix.
29666
337ff3c5
CD
29667 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29668 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29669 file.
29670 * localedata/locales/i18n_ctype: Regenerate.
29671 * localedata/locales/tr_TR: Likewise.
29672 * localedata/locales/translit_circle: Likewise.
29673 * localedata/locales/translit_cjk_compat: Likewise.
29674 * localedata/locales/translit_combining: Likewise.
29675 * localedata/locales/translit_compat: Likewise.
29676 * localedata/locales/translit_font: Likewise.
29677 * localedata/locales/translit_fraction: Likewise.
29678
63da5cd4
RS
296792017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29680
29681 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29682 lxvd2x/stxvd2x with lvx/stvx.
29683 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29684
a122dbfb
L
296852017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29686
29687 * include/alloc_buffer.h: Replace "if if " with "if " in
29688 comments.
29689 * sysdeps/mips/memcpy.S: Likkewise.
29690 * sysdeps/mips/memset.S: Likewise.
29691 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29692 Likewise.
29693 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29694 Likewise.
29695 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29696 Likewise.
29697
9be7530c
MF
296982017-10-25 Mike FABIAN <mfabian@redhat.com>
29699
29700 [BZ #15261]
29701 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29702 yesexpr and noexpr.
29703 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29704 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29705 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29706 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29707 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29708 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29709 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29710
6ccbf6ff
MF
297112017-10-25 Mike FABIAN <mfabian@redhat.com>
29712
29713 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29714 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29715 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29716 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29717 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29718 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29719 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29720 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29721 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29722 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29723 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29724 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29725
58b1a7ea
MF
297262017-10-25 Mike FABIAN <mfabian@redhat.com>
29727
29728 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29729 as possible for better readability of the source.
29730 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29731 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29732 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29733 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29734 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29735 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29736 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29737 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29738 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29739 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29740 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29741 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29742 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29743 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29744 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29745 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29746 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29747 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29748 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29749 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29750 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29751 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29752 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29753 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29754 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29755 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29756 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29757 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29758 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29759 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29760 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29761 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29762 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29763 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29764 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29765 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29766 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29767 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29768 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29769 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29770 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29771 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29772 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29773 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29774 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29775 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29776 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29777 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29778 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29779 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29780 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29781 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29782 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29783 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29784 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29785 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29786 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29787 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29788 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29789 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29790 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29791 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29792 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29793 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29794 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29795 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29796 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29797 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29798 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29799 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29800 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29801 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29802 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29803 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29804 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29805 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29806 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29807 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29808 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29809 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29810 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29811 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29812 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29813 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29814 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29815 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29816 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29817 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29818 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29819 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29820 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29821 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29822 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29823 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29824 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29825 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29826 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29827 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29828 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29829 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29830 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29831 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29832 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29833 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29834 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29835 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29836 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29837 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29838 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29839 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29840 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29841 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29842 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29843 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29844 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29845 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29846 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29847 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29848 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29849 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29850 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29851 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29852 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29853 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29854 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29855 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29856 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29857 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29858 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29859 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29860 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29861 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29862 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29863 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29864 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29865 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29866 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29867 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29868 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29869 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29870 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29871 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29872 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29873 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29874 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29875 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29876 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29877 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29878 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29879 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29880 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29881 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29882 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29883 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29884 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29885 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29886 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29887 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29888 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29889 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29890 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29891 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29892 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29893 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29894 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29895 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29896 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29897 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29898 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29899 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29900 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29901 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29902 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29903 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29904
17e78edb
MF
299052017-10-25 Mike FABIAN <mfabian@redhat.com>
29906
29907 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29908 (Use first letters of yesstr and nostr correctly instead of using
29909 full words).
29910
74e7284f
MF
299112017-10-25 Mike FABIAN <mfabian@redhat.com>
29912
29913 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29914 (Use first letters of yesstr and nostr correctly).
29915
b41a0ff1
MF
299162017-10-25 Mike FABIAN <mfabian@redhat.com>
29917
29918 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29919 also check for the first characters of yesstr and nostr.
29920 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29921 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29922
d971f380
MF
299232017-10-25 Mike FABIAN <mfabian@redhat.com>
29924
29925 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29926 also check for Chinese characters.
29927
effc9e1d
MF
299282017-10-25 Mike FABIAN <mfabian@redhat.com>
29929
29930 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29931 match also for the contents of yesstr and nostr. As the first letter
29932 of yesstr and nostr is equal, checking only for the first letter
29933 is not enough.
29934
10320881
MF
299352017-10-25 Mike FABIAN <mfabian@redhat.com>
29936
29937 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29938 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29939
d8682a15
MF
299402017-10-25 Mike FABIAN <mfabian@redhat.com>
29941
29942 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29943 of main contributor.
29944
1bfb86ae
MF
299452017-10-25 Mike FABIAN <mfabian@redhat.com>
29946
29947 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29948 instead of using English.
29949
da33d60b
MF
299502017-10-25 Mike FABIAN <mfabian@redhat.com>
29951
29952 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29953 by including the first letters of nostr and yesexpr in the regexp.
29954 Also make it more readable by using ASCII where possible.
29955
725bbb3e
MF
299562017-10-25 Mike FABIAN <mfabian@redhat.com>
29957
29958 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29959 the first letter of nostr in the regexp. It agrees with CLDR now.
29960 Also make it more readable by using ASCII where possible.
29961
fe043d8a
MF
299622017-10-24 Mike FABIAN <mfabian@redhat.com>
29963
29964 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29965 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29966 these strings contain a U+17D6 (which somewhat looks like a colon)
29967 instead of a real colon to separate the full words for “yes”
29968 and “no” from the single letter responses.
29969
360a8df3
MF
299702017-10-24 Mike FABIAN <mfabian@redhat.com>
29971
29972 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29973 it agree with CLDR (include the first letter of yesstr).
29974 Also make it more readable by using ASCII where possible.
29975
bab7b6b0
MF
299762017-10-24 Mike FABIAN <mfabian@redhat.com>
29977
29978 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29979 and improve yesexpr and noexpr. The yesstr and nostr apparently
29980 came from CLDR. And CLDR has a bug there: these strings contain
29981 a U+0903 (which looks like a colon) instead of a real colon
29982 to separate the full words for “yes” and “no” from the single
29983 letter responses.
29984
3e79f758
MF
299852017-10-24 Mike FABIAN <mfabian@redhat.com>
29986
29987 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29988 letters of the full yesstr and nostr in yesexpr and noexpr.
29989
4960c879
MF
299902017-10-24 Mike FABIAN <mfabian@redhat.com>
29991
29992 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29993 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29994 * localedata/locales/an_ES: Make source more readable by using ASCII
29995 where possible.
29996
b06a054f
MF
299972017-10-24 Mike FABIAN <mfabian@redhat.com>
29998
29999 [BZ #20952]
30000 * localedata/locales/yuw_PG: New file.
30001 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30002 * locale/iso-639.def: Add Yau (Uruwa).
30003
905a7725
WD
300042017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30005
30006 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30007
3f6bb8a3
WD
300082017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30009
30010 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30011 (__libc_realloc): Likewise.
30012 (_mid_memalign): Likewise.
30013 (__libc_calloc): Likewise.
30014
1d479c8c
MF
300152017-10-23 Mike FABIAN <mfabian@redhat.com>
30016
30017 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30018 by adding the generic +1 and -0 as in all other locales.
30019 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30020 day names and make it more readable by using ASCII where possible.
30021
91c3985c
JM
300222017-10-24 Joseph Myers <joseph@codesourcery.com>
30023
30024 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30025 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30026
aa95a241
AZ
300272017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30028
30029 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30030 WNOHANG in waitpid call.
30031
db9bab09
SP
300322017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30033
a2e0a7f1
SP
30034 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30035 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30036
db9bab09
SP
30037 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30038 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30039 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30040 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30041 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30042 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30043 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30044 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30045 variables.
30046
5062680c
MC
300472017-10-23 Michael Collison <michael.collison@arm.com>
30048
30049 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30050 with __builtin_sqrt.
30051 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30052 with __builtin_sqrtf.
30053 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30054 with __builtin_ceil.
30055 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30056 with __builtin_ceilf.
30057 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30058 with __builtin_floor.
30059 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30060 with __builtin_floorf.
30061 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30062 with __builtin_fma.
30063 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30064 with __builtin_fmaf.
30065 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30066 with __builtin_fmax.
30067 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30068 with __builtin_fmaxf.
30069 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30070 with __builtin_fmin.
30071 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30072 with __builtin_fminf.
30073 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30074 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30075 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30076 with builtin_rint and conversion to int.
30077 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30078 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30079 with builtin_llround.
30080 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30081 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30082 with builtin_rint and conversion to long int.
30083 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30084 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30085 with builtin_lround.
30086 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30087 with builtin_lroundf.
30088 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30089 statements with __builtin_nearbyint.
30090 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30091 statements with __builtin_nearbyintf.
30092 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30093 with __builtin_rint.
30094 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30095 with __builtin_rintf.
30096 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30097 with __builtin_round.
30098 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30099 with __builtin_roundf.
30100 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30101 with __builtin_trunc.
30102 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30103 with __builtin_truncf.
be080b6c
SN
30104 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30105 and s_l[l]round[f].c too.
5062680c 30106
174935af
AM
301072017-10-23 Alan Modra <amodra@gmail.com>
30108
30109 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30110 Adjust stack after restoring regs. Add missing LR cfi_restore.
30111
750a0e49
AM
301122017-10-23 Alan Modra <amodra@gmail.com>
30113
30114 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30115 Move LR save and frame setup/teardown and LR restore to
30116 immediately around memset call. Provide cfi.
30117
5313581c
L
301182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30119
30120 * sysdeps/i386/fpu/e_powf.S: Removed.
30121 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30122 * sysdeps/i386/fpu/w_powf.c: Likewise.
30123 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30124 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30125 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30126 Add e_powf-sse2.
30127 (CFLAGS-e_powf-sse2.c): New.
30128 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30129 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30130
6089a3ee
L
301312017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30132
30133 * sysdeps/i386/fpu/e_log2f.S: Removed.
30134 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30135 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30136 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30137 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30138 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30139 Add e_log2f-sse2.
30140 (CFLAGS-e_log2f-sse2.c): New.
30141 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30142 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30143
80bb5935
L
301442017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30145
30146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30147 Add e_powf-fma.
30148 (CFLAGS-e_powf-fma.c): New.
30149 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30150 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30151
5c7adbd8
L
301522017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30153
30154 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30155 Add e_log2f-fma.
30156 (CFLAGS-e_log2f-fma.c): New.
30157 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30158 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30159
0ccc7153
L
301602017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30161
30162 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30163 Add e_logf-fma.
30164 (CFLAGS-e_logf-fma.c): New.
30165 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30166 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30167
fe596486
L
301682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30169
30170 * sysdeps/i386/fpu/e_logf.S: Removed.
30171 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30172 * sysdeps/i386/fpu/w_logf.c: Likewise.
30173 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30174 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30175 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30176 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30177 Add e_logf-sse2.
30178 (CFLAGS-e_logf-sse2.c): New.
30179 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30180 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30181
7eda65f6
L
301822017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30183
30184 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30185 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30186 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30187 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30188 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30189 Add e_exp2f-sse2.
30190 (CFLAGS-e_exp2f-sse2.c): New.
30191 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30192 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30193
5d15c969
L
301942017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30195
30196 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30197 Add e_exp2f-fma.
30198 (CFLAGS-e_exp2f-fma.c): New.
30199 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30200 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30201
b2f6137e
L
302022017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30203
30204 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30205 * sysdeps/i386/fpu/e_expf.S: Likewise.
30206 * sysdeps/i386/fpu/math_errf.c: Likewise.
30207 * sysdeps/i386/fpu/w_expf.c: Likewise.
30208 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30210 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30211 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30212 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30213 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30214 Remove e_expf-ia32.
30215 (CFLAGS-e_expf-sse2.c): New.
30216 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30217 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30218
e1f59beb
L
302192017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30220
30221 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30222 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30223 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30224 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30225 e_expf.c.
30226 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30227 New.
30228 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30229 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30230 Renamed to ...
30231 (__redirect_expf): This.
30232 (SYMBOL_NAME): Changed to expf.
30233 (__ieee754_expf): Renamed to ...
30234 (__expf): This.
30235 (__GI___expf): This.
30236 (__ieee754_expf): Add strong_alias.
30237 (__expf_finite): Likewise.
30238 (__expf): New.
30239 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30240
363e4519 302412017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
30242
30243 [BZ #22332]
30244 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30245 unescaping.
30246
e80fc1fc
FW
302472017-10-21 Florian Weimer <fweimer@redhat.com>
30248
30249 * posix/Makefile (tests): Add tst-glob-tilde.
30250 (tests-special): Add tst-glob-tilde-mem.out
30251 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30252 (tst-glob-tilde-mem.out): Add mtrace check.
30253 * posix/tst-glob-tilde.c: New file.
30254
797ba44b
JM
302552017-10-20 Joseph Myers <joseph@codesourcery.com>
30256
30257 * bits/floatn-common.h: New file.
30258 * math/Makefile (headers): Add bits/floatn-common.h.
30259 * bits/floatn.h: Include <bits/floatn-common.h>.
30260 * sysdeps/ia64/bits/floatn.h: Likewise.
30261 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30262 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30263 * sysdeps/powerpc/bits/floatn.h: Likewise.
30264 * sysdeps/x86/bits/floatn.h: Likewise.
30265
fe05e1cb
AZ
302662017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30267
8f6f5362
AZ
30268 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30269 indicates whether compiler emits an warning for alias for
30270 functions with incompatible types.
30271
fe05e1cb
AZ
30272 [BZ #22273]
30273 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30274 the auxiliary process is terminated by a signal before calling _exit
30275 or execve.
30276
b52b0d79
L
302772017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30278
30279 [BZ #21265]
30280 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30281 New.
30282 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30283 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30284 and bit_arch_XSAVEC_Usable if needed.
30285 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30286 and bit_arch_Use_dl_runtime_resolve_opt.
30287 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30288 Removed.
30289 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30290 (bit_arch_Prefer_No_AVX512): Updated.
30291 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30292 (bit_arch_XSAVEC_Usable): New.
30293 (STATE_SAVE_OFFSET): Likewise.
30294 (STATE_SAVE_MASK): Likewise.
30295 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30296 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30297 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30298 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30299 (index_arch_XSAVEC_Usable): New.
30300 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30301 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30302 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30303 is enabled.
30304 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30305 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30306 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30307 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30308 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30309 _dl_runtime_resolve_xsavec.
30310 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30311 Removed.
30312 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30313 instead of VEC_SIZE.
30314 (REGISTER_SAVE_BND0): Removed.
30315 (REGISTER_SAVE_BND1): Likewise.
30316 (REGISTER_SAVE_BND3): Likewise.
30317 (REGISTER_SAVE_RAX): Always defined to 0.
30318 (VMOV): Removed.
30319 (_dl_runtime_resolve_avx): Likewise.
30320 (_dl_runtime_resolve_avx_slow): Likewise.
30321 (_dl_runtime_resolve_avx_opt): Likewise.
30322 (_dl_runtime_resolve_avx512): Likewise.
30323 (_dl_runtime_resolve_avx512_opt): Likewise.
30324 (_dl_runtime_resolve_sse): Likewise.
30325 (_dl_runtime_resolve_sse_vex): Likewise.
30326 (USE_FXSAVE): New.
30327 (_dl_runtime_resolve_fxsave): Likewise.
30328 (USE_XSAVE): Likewise.
30329 (_dl_runtime_resolve_xsave): Likewise.
30330 (USE_XSAVEC): Likewise.
30331 (_dl_runtime_resolve_xsavec): Likewise.
30332 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30333 Removed.
30334 (_dl_runtime_resolve_avx512_opt): Likewise.
30335 (_dl_runtime_resolve_avx): Likewise.
30336 (_dl_runtime_resolve_avx_opt): Likewise.
30337 (_dl_runtime_resolve_sse): Likewise.
30338 (_dl_runtime_resolve_sse_vex): Likewise.
30339 (_dl_runtime_resolve_fxsave): New.
30340 (_dl_runtime_resolve_xsave): Likewise.
30341 (_dl_runtime_resolve_xsavec): Likewise.
30342
363e4519 303432017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
30344
30345 [BZ #22320]
30346 CVE-2017-15670
30347 * posix/glob.c (__glob): Fix one-byte overflow.
30348
6d43de4b
WD
303492017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30350
30351 * malloc/malloc.c (sysdep-cancel.h): Add include.
30352
a15d53e2
WD
303532017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30354
30355 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30356
b9a558e7
WH
303572017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30358
30359 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30360 (tests): Remove $(objpfx)ga_test depdendency.
30361 * resolv/ga_test.c: Remove file.
30362
b6b08b8e
MF
303632017-10-20 Mike FABIAN <mfabian@redhat.com>
30364
30365 [BZ #18812]
30366 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30367 * localedata/locales/kab_DZ: New file.
30368
9ba7e810
L
303692017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30370
30371 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30372 _dl_relocate_static_pie instead of _dl_start to compute load
30373 address in static PIE.
30374
4027a4fd
L
303752017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30376
30377 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30378
2f9314b4
MF
303792017-10-20 Mike FABIAN <mfabian@redhat.com>
30380
30381 [BZ #13605]
30382 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30383 * localedata/locales/shn_MM: New file.
30384
63b4baa4
FW
303852017-10-20 Florian Weimer <fweimer@redhat.com>
30386
30387 [BZ #22321]
30388 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30389 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30390 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30391 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30392 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30393 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30394
95ccb619
L
303952017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30396
30397 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30398
37bb78cb
JM
303992017-10-19 Joseph Myers <joseph@codesourcery.com>
30400
76f2ed92
JM
30401 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30402
37bb78cb
JM
30403 [BZ #22322]
30404 * sysdeps/mips/bits/long-double.h: Move to ....
30405 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30406
d74e6f6c
WD
304072017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30408
30409 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30410
363e4519 304112017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
30412 H.J. Lu <hongjiu.lu@intel.com>
30413
30414 [BZ #22299]
30415 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30416 GLRO(dl_platform) to NULL.
30417 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30418 (modules-names): Add tst-platformmod-1 and
30419 x86_64/tst-platformmod-2.
30420 (CFLAGS-tst-platform-1.c): New.
30421 (CFLAGS-tst-platformmod-1.c): Likewise.
30422 (CFLAGS-tst-platformmod-2.c): Likewise.
30423 (LDFLAGS-tst-platformmod-2.so): Likewise.
30424 ($(objpfx)tst-platform-1): Likewise.
30425 ($(objpfx)tst-platform-1.out): Likewise.
30426 (tst-platform-1-ENV): Likewise.
30427 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30428 * sysdeps/x86_64/tst-platform-1.c: New file.
30429 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30430 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30431
4b0fa403
MF
304322017-10-19 Mike FABIAN <mfabian@redhat.com>
30433
30434 [BZ #13994]
30435 * locale/iso-639.def: Add Karbi.
30436 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30437 * localedata/locales/mjw_IN: New file.
30438
81325b12
JM
304392017-10-18 Joseph Myers <joseph@codesourcery.com>
30440
30441 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30442 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30443 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30444 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30445 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30446 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30447 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30448 <bits/floatn.h>.
30449 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30450 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30451 * manual/math.texi (Mathematics): Document additional architecture
30452 support for _Float128.
30453 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30454 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30455 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30456 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30457 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30458 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30460 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30461 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30463 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30464 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30465 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30466 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30467 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30468
a68ba2f3
SN
304692017-10-18 Renlin Li <renlin.li@arm.com>
30470
30471 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30472 _DYNAMIC symbol to calculate load address.
30473
346729f6
PC
304742017-10-18 Paul A. Clarke <pc@us.ibm.com>
30475
30476 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30477 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30478 summary bits.
30479 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30480 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30481
508b1e71
MF
304822017-10-18 Mike FABIAN <mfabian@redhat.com>
30483
30484 [BZ #16777]
30485 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30486 and improve readability by using more ASCII.
30487 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30488 and improve readability by using more ASCII.
30489
2c2245b9
WD
304902017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30491
30492 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30493 not all targets support atomics on bool.
30494
13c92696
JM
304952017-10-17 Joseph Myers <joseph@codesourcery.com>
30496
30497 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30498 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30499 __f128.
30500 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30501 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30502 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30503 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30504 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30505 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30506
71d85045
AZ
305072017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30508
30509 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30510 defines.
30511
3381be5c
WD
305122017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30513
30514 [BZ #22159]
30515 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30516 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30517 (do_check_remalloced_chunk): Fix build bug.
30518 (do_check_malloc_state): Add assert that checks arena->top.
30519 (malloc_consolidate): Remove initialization.
30520 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 30521 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 30522
e956075a
WD
305232017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30524
30525 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30526 (have_fastchunks): Remove.
30527 (clear_fastchunks): Remove.
30528 (set_fastchunks): Remove.
30529 (malloc_state): Add have_fastchunks.
30530 (malloc_init_state): Use have_fastchunks.
30531 (do_check_malloc_state): Remove incorrect invariant checks.
30532 (_int_malloc): Use have_fastchunks.
30533 (_int_free): Likewise.
30534 (malloc_consolidate): Likewise.
30535
e4dd4ace
WD
305362017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30537
30538 * malloc/malloc.c (tcache_put): Inline.
30539 (tcache_get): Inline.
30540
5bf58bc7
AJ
305412017-10-17 Jordi Mallach <jordi@gnu.org>
30542
30543 Aurelien Jarno <aurelien@aurel32.net>
30544 [BZ #2522]
30545 * localedata/locales/ca_ES@valencia: New file.
30546 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30547
386e1c26
RN
305482017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30549
30550 [BZ #22296]
30551 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30552 < 6.x
30553
4e17c78e
AZ
305542017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30555
3d265601
AZ
30556 * scripts/build-many-glibcs.py (Context.add_all_configs):
30557 Add arm-linux-gnueabihf multiarch extra_glibcs.
30558
4e17c78e
AZ
30559 * sysdeps/generic/ifunc-init.h: New file.
30560 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30561
56a752ab
MF
305622017-10-17 Mike FABIAN <mfabian@redhat.com>
30563
30564 [BZ #22019]
30565 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30566 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30567 * stdlib/tst-strfmon_l.c: adapt test case.
30568
c38a4bfd
JM
305692017-10-16 Joseph Myers <joseph@codesourcery.com>
30570
30571 * sysdeps/generic/float128-abi.h: New file.
30572 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30573 non-__prefixed symbols to ....
30574 * math/Versions: ... here. Include <float128-abi.h>.
30575 * stdlib/Versions ... and here. Include <float128-abi.h>
30576
76009b26
FW
305772017-10-16 Florian Weimer <fweimer@redhat.com>
30578
30579 * version.h (VERSION): Switch to ".9000" as the development
30580 version suffix.
30581
7ece6cd5
FW
305822017-10-16 Florian Weimer <fweimer@redhat.com>
30583
30584 [BZ #22050]
30585 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30586 compat_symbol_reference to access non-default version.
30587
d8287b36
FW
305882017-10-16 Florian Weimer <fweimer@redhat.com>
30589
30590 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30591
3480ddc4
CD
305922017-10-16 Carlos O'Donell <carlos@redhat.com>
30593
30594 * include/shlib-compat.h (compat_symbol_reference): Update
30595 comment.
30596
02010e79
JM
305972017-10-16 Joseph Myers <joseph@codesourcery.com>
30598
596f7013
JM
30599 * math/Makefile (test-types): Add
30600 $(type-float128-$(float128-alias-fcts)).
30601 * math/test-float128.h (TYPE_STR): Define conditional on
30602 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30603 (ULP_IDX): Likewise.
30604 (ULP_I_IDX): Likewise.
30605
02010e79
JM
30606 * stdlib/strtold.c: Include <bits/floatn.h>
30607 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30608 and later undefine as macro. Define as weak alias if
30609 [!USE_WIDE_CHAR].
30610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30611 and later undefine as macro. Define as weak alias if
30612 [USE_WIDE_CHAR].
30613 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30614 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30615 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30616 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30617 Define and later undefine as macro. Define as weak alias if
30618 [USE_WIDE_CHAR].
30619 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30620 <bits/floatn.h>.
30621 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30622 Define and later undefine as macro. Define as weak alias if
30623 [!USE_WIDE_CHAR].
30624 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30625 Define and later undefine as macro. Define as weak alias if
30626 [USE_WIDE_CHAR].
30627
ea91c315
CD
306282017-10-15 Carlos O'Donell <carlos@redhat.com>
30629
30630 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30631 record_verbose messages.
30632
8e57c943
L
306332017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30634
30635 [BZ #22052]
30636 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30637 to silence -O3 -Wall warning with GCC 7.
30638
a4777c46
L
306392017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30640
30641 * Makeconfig (+link-static-before-libc): Use the first of
30642 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30643 * gmon/Makefile (tests): Add tst-gmon-static.
30644 (tests-static): Likewise.
30645 (CFLAGS-tst-gmon-static.c): New.
30646 (CRT-tst-gmon-static): Likewise.
30647 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30648 (tst-gmon-static-ENV): Likewise.
30649 (tests-special): Likewise.
30650 ($(objpfx)tst-gmon-static.out): Likewise.
30651 (clean-tst-gmon-static-data): Likewise.
30652 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30653 * gmon/tst-gmon-static-gprof.sh: New file.
30654 * gmon/tst-gmon-static.c: Likewise.
30655
bc3821bb
CD
306562017-10-13 Carlos O'Donell <carlos@redhat.com>
30657
30658 [BZ #22295]
30659 * locale/programs/linereader.c (get_string): Don't warn on
30660 non-symbolic character.
30661
a3e23a2c
CD
30662 [BZ #22294]
30663 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30664 int_curr_symbol.
30665
f16491eb
CD
30666 [BZ #22292]
30667 * locale/programs/record-status.h: New file
30668 * locale/programs/locale.c: Add comment.
30669 * locale/programs/charmap-dir.c: Don't include error.h.
30670 (charmap_opendir): Use record_error.
30671 * locale/programs/charmap.c: Don't include error.h.
30672 (charmap_read): Use record_error, and record_warning.
30673 (parse_charmap): Likewise.
30674 * locale/programs/ld-address.c: Don't include error.h.
30675 (address_finish): Use record_error, and record_warning.
30676 * locale/programs/ld-collate.c: Don't include error.h.
30677 (collate_finish): Use record_error, and record_error_at_line.
30678 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30679 (ctype_class_new): Likewise.
30680 (ctype_map_new): Likewise.
30681 (set_one_default): Likewise.
30682 (set_class_defaults): Likewise.
30683 (translit_flatten): Likewise.
30684 (allocate_arrays): Use record_error, and record_verbose.
30685 * locale/programs/ld-identification.c: Don't include error.h.
30686 (indentation_finish): Use record_error and record_warning.
30687 * locale/programs/ld-measurement.c: Don't include error.h.
30688 (measurement_finish): Use record_error.
30689 * locale/programs/ld-messages.c
30690 (message_finish): Likewise.
30691 * locale/programs/ld-monetary.c
30692 (monetary_finish): Likewise.
30693 * locale/programs/ld-name.c (name_finish): Use record_error
30694 and record_warning.
30695 * locale/programs/ld-numeric.c
30696 (numeric_finish): Use record_error.
30697 * locale/programs/ld-paper.c: Don't include error.h.
30698 (paper_finish): Use record_error.
30699 * locale/programs/ld-telephone.c: Don't include error.h.
30700 (telephone_finish): Use record_error.
30701 * locale/programs/ld-time.c (time_finish): Likewise.
30702 * locale/programs/linereader.h (lr_error): Make inline func.
30703 * locale/programs/localedef.c: Define recorded_warning_count,
30704 and recorded_error_count.
30705 (main): Use record_error. Use recorded_error_count and
30706 recorded_warning_count to issue correct error returns.
30707 (add_to_readlist): Use record_error.
30708 (find_locale): Likewise.
30709 (load_locale): Likewise.
30710 * locale/programs/localedef.h: Remove be_quiet
30711 and WITH_CUR_LOCALE.
30712 * locale/programs/locarchive.c (compare_from_file): Use
30713 record_error.
30714 * locale/programs/locfile.c (write_locale_data): Use
30715 record_error.
30716 * locale/programs/repertoire.c: Dont include error.h.
30717 (repertoire_complain): Use record_error.
30718 * localedata/tst-fmon.sh: Expect failures from localedef.
30719 * localedata/tst-locale.sh: Likewise.
30720 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30721
8dc8be75
CD
30722 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30723 (REPORTS): Likewise.
30724 (check): Likewise.
30725 (i18n): Rename to...
30726 (i18n_ctype): ...this.
30727 (i18n-report): Rename to...
30728 (i18n_ctype-report): ...this.
30729 * localedata/locales/i18n_ctype: Regenerate.
30730 * localedata/locales/i18n: copy i18n_ctype.
30731
f8718a9e
JM
307322017-10-13 Joseph Myers <joseph@codesourcery.com>
30733
18c08b96
JM
30734 * stdlib/strfroml.c: Include <bits/floatn.h>.
30735 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30736 Define before include of <stdlib.h> and undefine afterwards, then
30737 define as weak alias.
30738
f8718a9e
JM
30739 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30740 Undefine and restore default definition. Use
30741 libm_alias_ldouble_other.
30742
e4f530da
PZ
307432017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30744
30745 [BZ #22153]
30746 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30747 in coredumps.
30748
86445888
JC
307492017-10-13 James Clarke <jrtc27@jrtc27.com>
30750
30751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30752 Assign sym_map to be map for local symbols, as TLS relocations
30753 use sym_map to determine whether the symbol is defined and to
30754 extract the TLS information.
30755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30757
179dcdb7
TMQMF
307582017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30759
e8dbd6a3
TMQMF
30760 [BZ #22189]
30761 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30762 (math_force_eval): Add powerpc version.
30763
179dcdb7
TMQMF
30764 [BZ #22142]
30765 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30766 -DBL_MAX.
30767 (do_test): Likewise.
30768 * stdio-common/tst-printf.sh: Likewise.
30769 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30770 ifdef clause in order to set the carry bit right. Replace r0 by
30771 0 without changing the behavior.
30772
7d25d410
JM
307732017-10-13 Joseph Myers <joseph@codesourcery.com>
30774
006e7664
JM
30775 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30776 <libm-alias-ldouble.h>.
30777 (fabsl): Define using libm_alias_ldouble.
30778 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30779 <libm-alias-ldouble.h>.
30780 (fabsl): Define using libm_alias_ldouble.
30781
1def91b3
JM
30782 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30783 Remove conditional code.
30784
7d25d410
JM
30785 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30786 Rename to __clog10_internal_l.
30787 (__clog10_internal_l): Define aliases using
30788 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30789 with __clog10.
30790
077ee129
RS
307912017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30792
30793 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30794 * benchtests/sincosf-inputs: New file.
30795 * benchtests/cosf-inputs: New file.
30796 * benchtests/sinf-inputs: New file.
30797
5ba41de9
SN
307982017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30799
30800 * posix/tst-spawn.c (do_test): Wait for both children.
30801
d165ca64
L
308022017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30803
30804 [BZ #22284]
30805 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30806 tests-pie): Add tst-gmon-pie.
30807 (CFLAGS-tst-gmon-pie.c): New.
30808 (CRT-tst-gmon-pie): Likewise.
30809 (tst-gmon-pie-ENV): Likewise.
30810 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30811 ($(objpfx)tst-gmon-pie.out): Likewise.
30812 (clean-tst-gmon-pie-data): Likewise.
30813 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30814 * gmon/gmon.c [PIC]: Include <link.h>.
30815 [PIC] (callback): New function.
30816 (write_hist): Add an argument for load address. Subtract load
30817 address from PCs.
30818 (write_call_graph): Likewise.
30819 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30820 it to write_hist and write_call_graph.
7bacdcfc 30821 * gmon/tst-gmon-pie.c: New file.
d165ca64 30822
bc9620d0
JM
308232017-10-11 Joseph Myers <joseph@codesourcery.com>
30824
30825 * math/Makefile (test-types-basic): New variable.
30826 (test-types): Likewise.
30827 (libm-test-support): Use $(test-types) instead of $(types).
30828 (libm-tests-base-normal): Likewise.
30829 (libm-tests-base-finite): Likewise.
30830 (libm-tests-base-inline): Likewise.
30831 (generated): Likewise.
30832 ($(objpfx)libm-test-support-$(t).c): Likewise.
30833 (libm-tests-for-type iterator): Likewise.
30834 (libm-test-support iterator): Likewise.
30835 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30836 (ulp_idx): Use ULP_IDX.
30837 * math/test-ldouble.h: Include <float.h>.
30838 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30839 (ULP_IDX): New macro.
30840 (ULP_I_IDX): Likewise.
30841 * math/test-double.h (ULP_IDX): Likewise.
30842 (ULP_I_IDX): Likewise.
30843 * math/test-float.h (ULP_IDX): Likewise.
30844 (ULP_I_IDX): Likewise.
30845 * math/test-float128.h (ULP_IDX): Likewise.
30846 (ULP_I_IDX): Likewise.
30847
09c76a74
AZ
308482017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30849
30850 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30851 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30852 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30853 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30854 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30855 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30856 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30859 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30860 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30861 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30862 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30864 (SINGLE_THREAD_BY_GLOBAL): Define.
30865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30866 Likewise.
30867 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30868 Likewise.
30869 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30870 Likewise.
30871 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30872 Likewise.
30873 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30874 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30876 Likewise.
30877
2faa42da
AS
308782017-10-11 Andreas Schwab <schwab@suse.de>
30879
30880 * nis/Makefile (aux): Remove.
30881 * nscd/Makefile (aux): Add nscd_hash.
30882 (nscd-modules): Likewise.
30883 ($(objpfx)nscd): Don't depend on libnsl.
30884 * nscd/nscd_hash.c: New file.
30885 * nscd/nscd_hash.h: Likewise.
30886 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30887 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30888 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30889 instead of <nis/rpcsvc/nis.h>.
30890 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30891
d8425e11
FW
308922017-10-11 Florian Weimer <fweimer@redhat.com>
30893
30894 [BZ #22078]
30895 Avoid large NSS buffers with many addresses, aliases.
30896 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30897 using dynarrays and struct alloc_buffer.
30898 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30899 (tst-nss-files-hosts-multi): Link with -ldl.
30900 * nss/tst-nss-files-hosts-multi.c: New file.
30901
78e806fd
FW
309022017-10-11 Florian Weimer <fweimer@redhat.com>
30903
30904 [BZ #18023]
30905 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30906 scratch_buffer. Eliminate gotos.
30907
541f19ba
JM
309082017-10-11 Joseph Myers <joseph@codesourcery.com>
30909
0ff64d3a
JM
30910 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30911 libm_alias_ldouble_other.
30912 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30913 undefine and redefine.
30914 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30915 (exp10l): Do not define here.
30916 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30917 (weak_alias): Undefine and redefine.
30918 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30919 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30920 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30921 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30922
541f19ba
JM
30923 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30924 [!__fma] (fma): Define using libm_alias_double.
30925 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30926 [!__fmaf] (fmaf): Define using libm_alias_float.
30927 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30928 (fmal): Define using libm_alias_ldouble.
30929
24b6515d
JM
309302017-10-10 Joseph Myers <joseph@codesourcery.com>
30931
30932 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30933 New macro.
30934 (libm_alias_double_other): Likewise.
30935 (libm_alias_double_r): Use libm_alias_double_other_r.
30936 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30937 New macro.
30938 (libm_alias_float_other): Likewise.
30939 (libm_alias_float_r): Use libm_alias_float_other_r.
30940 * sysdeps/generic/libm-alias-float128.h
30941 (libm_alias_float128_other_r): New macro.
30942 (libm_alias_float128_other): Likewise.
30943 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30944 * sysdeps/generic/libm-alias-ldouble.h
30945 (libm_alias_ldouble_other_r): New macro.
30946 (libm_alias_ldouble_other): Likewise.
30947 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30948 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30949 (libm_alias_double_other_r): New macro.
30950 (libm_alias_double_other): Likewise.
30951 (libm_alias_double_r): Use libm_alias_double_other_r.
30952 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30953 (libm_alias_ldouble_other_r): New macro.
30954 (libm_alias_ldouble_other): Likewise.
30955 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30956 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30957 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30958 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30959 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30960 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30961 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30962 * math/w_exp2f.c: Use libm_alias_float_other.
30963 * math/w_expf.c: Likewise.
30964 * math/w_log2f.c: Likewise.
30965 * math/w_logf.c: Likewise.
30966 * math/w_powf.c: Likewise.
30967 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30968 [!__exp2f]: Use libm_alias_float_other.
30969 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30970 [!__expf]: Use libm_alias_float_other.
30971 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30972 [!__log2f]: Use libm_alias_float_other.
30973 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30974 [!__logf]: Use libm_alias_float_other.
30975 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30976 [!__powf]: Use libm_alias_float_other.
30977
8ed70de2
FW
309782017-10-10 Florian Weimer <fweimer@redhat.com>
30979
30980 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30981 function.
30982 (_nss_files_gethostbyname3_r): Call it.
30983
a8dce619
JM
309842017-10-09 Joseph Myers <joseph@codesourcery.com>
30985
30986 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30987 error. Remove default definition of declare_mgen_alias.
30988 [!declare_mgen_alias_r]: Likewise.
30989 * sysdeps/generic/math-type-macros-double.h
30990 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30991 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30992 (declare_mgen_alias_r): Likewise.
30993 * sysdeps/generic/math-type-macros-float128.h
30994 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30995 * sysdeps/generic/math-type-macros-ldouble.h
30996 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30997 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30998 macro.
30999 (declare_mgen_alias_r_s): Likewise.
31000 (declare_mgen_alias_r): Likewise.
31001 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31002 (lgamma_r): Define using libm_alias_double_r.
31003 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31004 (lgammaf_r): Define using libm_alias_float_r.
31005 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31006 (lgammal_r): Define using libm_alias_ldouble_r.
31007 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31008 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31009
bedac136
AZ
310102017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31011
31012 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31013 extern declaration.
31014
c7509db2
JM
310152017-10-09 Joseph Myers <joseph@codesourcery.com>
31016
31017 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31018
d6c064e9
JW
310192017-10-09 Jonathan Wakely <jwakely@redhat.com>
31020
31021 [BZ #21326]
31022 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31023 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31024 * math/Makefile (test-math-cxx11): New test.
31025 * math/test-math-cxx11.cc: New file.
31026
98e07420
CB
310272017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31028
31029 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31030
645ac9aa
CB
31031 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31032 call to allocate the slave pty file descriptor.
31033
fd3b4e7c
JM
310342017-10-06 Joseph Myers <joseph@codesourcery.com>
31035
f85a176f
JM
31036 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31037 [!__fma] (fma): Define using libm_alias_double.
31038 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31039 [!__fma] (fma): Define using libm_alias_double.
31040
fd3b4e7c
JM
31041 * sysdeps/ieee754/float128/float128_private.h: Include
31042 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31043 (libm_alias_ldouble_r): Undefine and redefine.
31044 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31045 <libm-alias-ldouble.h>.
31046 (asinhl): Define using libm_alias_ldouble.
31047 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31048 <libm-alias-ldouble.h>.
31049 (atanl): Define using libm_alias_ldouble.
31050 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31051 <libm-alias-ldouble.h>.
31052 (cbrtl): Define using libm_alias_ldouble.
31053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31054 <libm-alias-ldouble.h>.
31055 (ceill): Define using libm_alias_ldouble.
31056 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31057 <libm-alias-ldouble.h>.
31058 (copysignl): Define using libm_alias_ldouble.
31059 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31060 <libm-alias-ldouble.h>.
31061 (cosl): Define using libm_alias_ldouble.
31062 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31063 <libm-alias-ldouble.h>.
31064 (erfl): Define using libm_alias_ldouble.
31065 (erfcl): Likewise.
31066 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31067 <libm-alias-ldouble.h>.
31068 (expm1l): Define using libm_alias_ldouble.
31069 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31070 <libm-alias-ldouble.h>.
31071 (fabsl): Define using libm_alias_ldouble.
31072 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31073 <libm-alias-ldouble.h>.
31074 (floorl): Define using libm_alias_ldouble.
31075 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31076 <libm-alias-ldouble.h>.
31077 (fmal): Define using libm_alias_ldouble.
31078 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31079 <libm-alias-ldouble.h>.
31080 (frexpl): Define using libm_alias_ldouble.
31081 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31082 libm_alias_ldouble.
31083 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31084 <libm-alias-ldouble.h>.
31085 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31086 libm_alias_ldouble.
31087 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31088 <libm-alias-ldouble.h>.
31089 (getpayloadl): Define using libm_alias_ldouble.
31090 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31091 <libm-alias-ldouble.h>.
31092 (llrintl): Define using libm_alias_ldouble.
31093 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31094 <libm-alias-ldouble.h>.
31095 (llroundl): Define using libm_alias_ldouble.
31096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31097 <libm-alias-ldouble.h>.
31098 (logbl): Define using libm_alias_ldouble.
31099 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31100 <libm-alias-ldouble.h>.
31101 (lrintl): Define using libm_alias_ldouble.
31102 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31103 <libm-alias-ldouble.h>.
31104 (lroundl): Define using libm_alias_ldouble.
31105 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31106 <libm-alias-ldouble.h>.
31107 (modfl): Define using libm_alias_ldouble.
31108 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31109 <libm-alias-ldouble.h>.
31110 (nearbyintl): Define using libm_alias_ldouble.
31111 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31112 <libm-alias-ldouble.h>.
31113 (nextafterl): Define using libm_alias_ldouble.
31114 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31115 <libm-alias-ldouble.h>.
31116 (nextupl): Define using libm_alias_ldouble.
31117 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31118 <libm-alias-ldouble.h>.
31119 (remquol): Define using libm_alias_ldouble.
31120 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31121 <libm-alias-ldouble.h>.
31122 (rintl): Define using libm_alias_ldouble.
31123 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31124 <libm-alias-ldouble.h>.
31125 (roundevenl): Define using libm_alias_ldouble.
31126 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31127 <libm-alias-ldouble.h>.
31128 (roundl): Define using libm_alias_ldouble.
31129 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31130 using libm_alias_ldouble.
31131 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31132 <libm-alias-ldouble.h>.
31133 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31134 Define using libm_alias_ldouble.
31135 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31136 <libm-alias-ldouble.h>.
31137 (sincosl): Define using libm_alias_ldouble.
31138 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31139 <libm-alias-ldouble.h>.
31140 (sinl): Define using libm_alias_ldouble.
31141 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31142 <libm-alias-ldouble.h>.
31143 (tanhl): Define using libm_alias_ldouble.
31144 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31145 <libm-alias-ldouble.h>.
31146 (tanl): Define using libm_alias_ldouble.
31147 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31148 <libm-alias-ldouble.h>.
31149 (totalorderl): Define using libm_alias_ldouble.
31150 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31151 <libm-alias-ldouble.h>.
31152 (totalordermagl): Define using libm_alias_ldouble.
31153 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31154 <libm-alias-ldouble.h>.
31155 (truncl): Define using libm_alias_ldouble.
31156 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31157 libm_alias_ldouble.
31158 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31159 libm_alias_ldouble.
31160 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31161 <libm-alias-ldouble.h>.
31162 (weak_alias): Do not undefine and redefine.
31163 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31164 (copysignl): Define with long_double_symbol only if [IS_IN
31165 (libc)].
31166 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31167 <libm-alias-ldouble.h>.
31168 (weak_alias): Do not undefine and redefine.
31169 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31170 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31171 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31172 <libm-alias-ldouble.h>.
31173 (weak_alias): Do not undefine and redefine.
31174 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31175 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31176 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31177 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31180 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31181 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31183 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31184 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31186 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31193 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31194 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31200
1e26d351
CD
312012017-10-06 Carlos O'Donell <carlos@redhat.com>
31202
31203 [BZ #22111]
31204 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31205 (tcache_thread_freeres): Set tcache_shutting_down before
31206 freeing the tcache.
31207 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31208 * malloc/tst-malloc-tcache-leak.c: New file.
31209
d1386762
RS
312102017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31211
31212 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31213 back to powerpc32 file.
31214 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31215 (memrchr): Add __memrchr_power8 to ifunc list.
31216 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31217 extra bytes for unaligned inputs.
31218
6dff1983
JM
312192017-10-06 Joseph Myers <joseph@codesourcery.com>
31220
31221 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31222 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31226
86f9568a
JM
312272017-10-05 Joseph Myers <joseph@codesourcery.com>
31228
0db0b931
JM
31229 * sysdeps/arm/libm-test-ulps: Update.
31230
86f9568a
JM
31231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31232 <libm-alias-ldouble.h>.
31233 (asinhl): Define using libm_alias_ldouble.
31234 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31235 <libm-alias-ldouble.h>.
31236 (cbrtl): Define using libm_alias_ldouble.
31237 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31238 <libm-alias-ldouble.h>.
31239 (copysignl): Define using libm_alias_ldouble.
31240 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31241 <libm-alias-ldouble.h>.
31242 (cosl): Define using libm_alias_ldouble.
31243 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31244 <libm-alias-ldouble.h>.
31245 (erfl): Define using libm_alias_ldouble.
31246 (erfcl): Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31248 <libm-alias-ldouble.h>.
31249 (fmal): Define using libm_alias_ldouble.
31250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31251 <libm-alias-ldouble.h>.
31252 (frexpl): Define using libm_alias_ldouble.
31253 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31254 libm_alias_ldouble.
31255 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31256 <libm-alias-ldouble.h>.
31257 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31258 libm_alias_ldouble.
31259 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31260 <libm-alias-ldouble.h>.
31261 (getpayloadl): Define using libm_alias_ldouble.
31262 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31263 <libm-alias-ldouble.h>.
31264 (llrintl): Define using libm_alias_ldouble.
31265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31266 <libm-alias-ldouble.h>.
31267 (llroundl): Define using libm_alias_ldouble.
31268 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31269 <libm-alias-ldouble.h>.
31270 (lrintl): Define using libm_alias_ldouble.
31271 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31272 <libm-alias-ldouble.h>.
31273 (lroundl): Define using libm_alias_ldouble.
31274 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31275 <libm-alias-ldouble.h>.
31276 (modfl): Define using libm_alias_ldouble.
31277 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31278 <libm-alias-ldouble.h>.
31279 (nextupl): Define using libm_alias_ldouble.
31280 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31281 <libm-alias-ldouble.h>.
31282 (remquol): Define using libm_alias_ldouble.
31283 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31284 <libm-alias-ldouble.h>.
31285 (roundevenl): Define using libm_alias_ldouble.
31286 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31287 <libm-alias-ldouble.h>.
31288 (roundl): Define using libm_alias_ldouble.
31289 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31290 using libm_alias_ldouble.
31291 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31292 <libm-alias-ldouble.h>.
31293 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31294 <libm-alias-ldouble.h>.
31295 (setpayloadsigl): Define using libm_alias_ldouble.
31296 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31297 <libm-alias-ldouble.h>.
31298 (sincosl): Define using libm_alias_ldouble.
31299 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31300 <libm-alias-ldouble.h>.
31301 (sinl): Define using libm_alias_ldouble.
31302 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31303 <libm-alias-ldouble.h>.
31304 (tanhl): Define using libm_alias_ldouble.
31305 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31306 <libm-alias-ldouble.h>.
31307 (tanl): Define using libm_alias_ldouble.
31308 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31309 <libm-alias-ldouble.h>.
31310 (totalorderl): Define using libm_alias_ldouble.
31311 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31312 <libm-alias-ldouble.h>.
31313 (totalordermagl): Define using libm_alias_ldouble.
31314 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31315 libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31317 libm_alias_ldouble.
31318
9ec87fd2
SP
313192017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31320
dd5bc7f1
SP
31321 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31322 memmove_falkor.
31323 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31324 (__libc_ifunc_impl_list): Likewise.
31325 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31326 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31327
5bfb0404
SP
31328 * benchtests/bench-memmove-walk.c: New file.
31329 * benchtests/Makefile (string-benchset): Add it.
31330
36bb8edf
SP
31331 * benchtests/bench-memset-walk.c: New file.
31332 * benchtests/Makefile (string-benchset): Add it.
31333
9ec87fd2
SP
31334 * benchtests/bench-memcpy-walk.c: New file.
31335 * benchtests/Makefile (string-benchset): Add it.
31336
1e9522c6
FW
313372017-10-05 Florian Weimer <fweimer@redhat.com>
31338
31339 nscd: Eliminate compilation time dependency in the build output.
31340 * nscd/nscd_stat.c (STATDATA_VERSION)
31341 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31342 (STATDATA_VERSION_FULL): New macro definitions.
31343 (compilation): Remove.
31344 (struct statdata): Adjust version member.
31345 (send_stats): Set version from STATDATA_VERSION_FULL.
31346 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31347
644d3857
JM
313482017-10-05 Joseph Myers <joseph@codesourcery.com>
31349
31350 * configure.ac (--enable-add-ons): Remove option.
31351 (machine): Do not mention add-ons in comment.
31352 (LIBC_PRECONFIGURE): Likewise.
31353 (add_ons): Remove variable and sanity checks and logic to locate
31354 add-ons.
31355 (add_ons_automatic): Remove variable.
31356 (configured_add_ons): Likewise.
31357 (add_ons_sfx): Likewise.
31358 (add_ons_pfx): Likewise.
31359 (add_on_subdirs): Likewise.
31360 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31361 consideration of add-ons in Implies handling.
31362 (sysdeps_add_ons): Likewise.
31363 * configure: Regenerated.
31364 * libidn/configure.ac: Remove.
31365 * libidn/configure: Likewise.
31366 * sysdeps/unix/inet/configure.ac: New file.
31367 * sysdeps/unix/inet/configure: New generated file.
31368 * sysdeps/unix/inet/Subdirs: Add libidn.
31369 * Makeconfig (sysdeps-srcdirs): Remove variable.
31370 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31371 ($(common-objpfx)config.status): Do not depend on add-on files.
31372 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31373 comment.
31374 (all-subdirs): Do not include $(add-on-subdirs).
31375 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31376 * config.make.in (add-ons): Remove variable.
31377 (add-on-subdirs): Likewise.
31378 (sysdeps-add-ons): Likewise.
31379 * manual/Makefile (add-chapters): Remove.
31380 ($(objpfx)texis): Do not depend on $(add-chapters).
31381 (nonexamples): Do not handle $(add-chapters).
31382 (examples): Do not handle $(add-ons).
31383 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31384 libc-texinfo.sh.
31385 * manual/install.texi (Installation): Do not mention add-ons.
31386 (--enable-add-ons): Do not document configure option.
31387 * INSTALL: Regenerated.
31388 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31389 * manual/maint.texi (Hierarchy Conventions): Do not mention
31390 add-ons.
31391 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31392 --enable-add-ons.
31393 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31394 add-ons.
31395 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31396 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31397
19f82f35
AS
313982017-10-05 Andreas Schwab <schwab@suse.de>
31399
31400 [BZ #15142]
31401 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31402 (_IO_flush_all_lockp): Always lock list_all_lock.
31403 (_IO_flush_all_linebuffered): Likewise.
31404 (_IO_unbuffer_all): Likewise.
31405
91e7cf98
FW
314062017-10-05 Florian Weimer <fweimer@redhat.com>
31407
31408 [BZ #15436]
31409 Do not flush stdio streams on abort.
31410 * stdlib/abort.c (fflush): Remove macro definition.
31411 (abort): Remove stages related to stdio flushing.
31412
0c251257
FW
314132017-10-05 Florian Weimer <fweimer@redhat.com>
31414
31415 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31416
7ea59e3e
SL
314172017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31418
31419 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31420
84d0e6f0
FW
314212017-10-05 Florian Weimer <fweimer@redhat.com>
31422
31423 * support/support_format_hostent.c (support_format_hostent): Add
31424 more error information for NETDB_INTERNAL.
31425
ee417882
L
314262017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31427
31428 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31429 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31430 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31431 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31432 AC_DEFINE if multi-arch is enabled.
31433 * sysdeps/i386/configure: Regenerated.
31434
a67029ff
L
314352017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31436
31437 * Makeconfig (+link-static-before-libc): Use
31438 $(DEFAULT-LDFLAGS-$(@F)).
31439 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31440 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31441 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31442
5dba84b3
L
314432017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31444
31445 * elf/Makefile (tests): Add tst-main1.
31446 (modules-names): Add tst-main1mod.
31447 ($(objpfx)tst-main1): New.
31448 (CRT-tst-main1): Likewise.
31449 (LDFLAGS-tst-main1): Likewise.
31450 (LDLIBS-tst-main1): Likewise.
31451 (tst-main1mod.so-no-z-defs): Likewise.
31452 * elf/tst-main1.c: New file.
31453 * elf/tst-main1mod.c: Likewise.
31454
758f1bfa
L
314552017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31456
31457 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31458
7e16a5d1
JM
314592017-10-04 Joseph Myers <joseph@codesourcery.com>
31460
31461 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31462 (fma): Define using libm_alias_double.
31463 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31464 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31465 <math_ldbl_opt.h>.
31466 (fmal): Do not define as compat symbol here.
31467 * sysdeps/alpha/fpu/s_fma.c: New file.
31468
db4f87ba
SN
314692017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31470
31471 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31472
72d13ed1
JM
314732017-10-04 Joseph Myers <joseph@codesourcery.com>
31474
32d372d5
JM
31475 [BZ #22229]
31476 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31477 <math_ldbl_opt.h>
31478 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31479 and libc.
31480 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31481 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31482 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31483 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31485 Include <math_ldbl_opt.h>
31486 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31487 and libc.
31488 (compat_symbol): Undefine and redefine.
31489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31490 <math_ldbl_opt.h>
31491 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31492 (compat_symbol): Undefine and redefine.
31493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31494 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31495 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31496 GLIBC_2_1 for libm.
31497 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31498 GLIBC_2.0 copysignl symbol.
31499 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31500 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31501
72d13ed1
JM
31502 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31503
11c4f501
FW
315042017-10-04 Florian Weimer <fweimer@redhat.com>
31505
31506 * scripts/check-local-headers.sh: Ignore nspr4 header file
31507 directory in addition to nspr.
31508
57b4af19
GT
315092017-10-04 Guido Trentalancia <guido@trentalancia.net>
31510
31511 [BZ #17956]
31512 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31513 * configure: Regenerate.
31514 * crypt/Makefile (nss-cpp-flags): New variable.
31515 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31516 (CPPFLAGS-md5-crypt.c): Use it.
31517 * scripts/check-local-headers.sh: Ignore nspr header file
31518 directory.
31519
64d1e08e
AS
315202017-10-04 Andreas Schwab <schwab@suse.de>
31521
31522 * nis/Makefile (services): Remove compat.
31523 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31524 ($(objpfx)libnss_compat.so): Remove rule.
31525 * nis/Versions (libnss_compat): Remove.
31526 * nss/Makefile (services): Add compat.
31527 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31528 * nss/Versions (libnss_compat): Define.
31529 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31530 Don't include <rpc/types.h>. Replace bool_t by bool.
31531 * nss/nss_compat/compat-initgroups.c: Likewise.
31532 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31533 instead of <rpcsrv/ypclnt.h>.
31534 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31535 yp_get_default_domain.
31536 * nss/nss_compat/compat-pwd.c: Likewise.
31537 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31538 yp_get_default_domain.
31539 * nss/nss_compat/nisdomain.c: New file.
31540 * nss/nss_compat/nisdomain.h: Likewise.
31541
86c27ade
SN
315422017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31543
31544 [BZ #22244]
31545 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31546 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31547
8f8f8ef7
SN
315482017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31549
31550 [BZ #22243]
31551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31552 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31553
95577475
L
315542017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31555
31556 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31557 "movl main@GOTOFF(%ebx), %eax".
31558
02d2d892
L
315592017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31560
31561 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31562 allow undefined _DYNAMIC in PIE libc.a.
31563 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31564 Likewse.
31565
0c609d19
L
315662017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31567
31568 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31569 check _DYNAMIC.
31570
c34a19ed
L
315712017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31572
31573 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31574 check _DYNAMIC.
31575
cdd4155d
L
315762017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31577
31578 * math/test-math-iscanonical.cc (error): Replace bool with int.
31579
4699cb8b
JM
315802017-10-03 Joseph Myers <joseph@codesourcery.com>
31581
d8f619b3
JM
31582 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31583 (modf): Define using libm_alias_double, only if [!__modf].
31584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31585 <libm-alias-double.h>.
31586 (modf): Define using libm_alias_double, only if [!__modf].
31587 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31588 compat symbol here.
31589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31590 (weak_alias): Do not undefine and redefine.
31591 (strong_alias): Likewise.
31592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31593 (weak_alias): Likewise.
31594 (strong_alias): Likewise.
31595
4699cb8b
JM
31596 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31597 (logb): Define using libm_alias_double, only if [!__logb].
31598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31599 <libm-alias-double.h>.
31600 (logb): Define using libm_alias_double, only if [!__logb].
31601 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31603 (weak_alias): Do not undefine and redefine.
31604 (strong_alias): Likewise.
31605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31606 (weak_alias): Likewise.
31607 (strong_alias): Likewise.
31608
bcc4e4bb
L
316092017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31612 Check SHARED instead PIC.
31613
39793865
JM
316142017-10-03 Joseph Myers <joseph@codesourcery.com>
31615
7f1cbdf8
JM
31616 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31617 [!__fmaf] (fmaf): Define using libm_alias_float.
31618
39793865
JM
31619 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31620 (frexp): Define using libm_alias_double.
31621 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31622 <libm-alias-double.h>.
31623 (frexp): Define using libm_alias_double.
31624 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31625 compat symbol here.
31626
aa0235df
GG
316272017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31628
31629 [BZ #22235]
31630 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31631 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31632 (CFLAGS-test-math-iscanonical.cc): New variable.
31633 * math/test-math-iscanonical.cc: New file.
31634 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31635 Provide a C++ implementation based on function overloading,
31636 rather than using __MATH_TG, which uses C-only builtins.
31637 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31638 Likewise.
31639 * sysdeps/powerpc/powerpc64le/Makefile
31640 (CFLAGS-test-math-iscanonical.cc): New variable.
31641
a1132b5e
JM
316422017-10-03 Joseph Myers <joseph@codesourcery.com>
31643
31644 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31645 (ceil): Define using libm_alias_double.
31646 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31647 (floor): Define using libm_alias_double.
31648 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31649 <libm-alias-double.h>.
31650 (llround): Define using libm_alias_double.
31651 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31652 <libm-alias-double.h>.
31653 (lround): Define using libm_alias_double.
31654 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31655 <libm-alias-double.h>.
31656 (nearbyint): Define using libm_alias_double.
31657 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31658 <libm-alias-double.h>.
31659 (remquo): Define using libm_alias_double.
31660 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31661 (rint): Define using libm_alias_double.
31662 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31663 (round): Define using libm_alias_double.
31664 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31665 (trunc): Define using libm_alias_double.
31666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31667 <libm-alias-double.h>.
31668 (ceil): Define using libm_alias_double.
31669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31670 <libm-alias-double.h>.
31671 (floor): Define using libm_alias_double.
31672 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31673 <libm-alias-double.h>.
31674 (llround): Define using libm_alias_double.
31675 [_LP64] (lround): Likewise.
31676 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31677 <libm-alias-double.h>.
31678 [!_LP64] (lround): Define using libm_alias_double.
31679 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31680 <libm-alias-double.h>.
31681 (nearbyint): Define using libm_alias_double.
31682 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31683 <libm-alias-double.h>.
31684 (remquo): Define using libm_alias_double.
31685 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31686 <libm-alias-double.h>.
31687 (rint): Define using libm_alias_double.
31688 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31689 <libm-alias-double.h>.
31690 (round): Define using libm_alias_double.
31691 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31692 <libm-alias-double.h>.
31693 (trunc): Define using libm_alias_double.
31694 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31695 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31696 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31697 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31698 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31699 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31700 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31701 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31702 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31703
f275f64e
SN
317042017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31705
31706 * math/w_remainder.c: New file.
31707 * math/w_remainderf.c: New file.
31708 * math/w_remainderl.c: New file.
31709
b8818ab5
L
317102017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31711
31712 * elf/rtld.c (BOOTSTRAP_MAP): New.
31713 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31714 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31715 Likewise.
31716 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31717 Likewise.
31718 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31719 Likewise.
31720
3d1870fa
ST
317212017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31722
31723 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31724 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31725 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31726 rtld_hidden_data_ver): Define to empty.
31727 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31728 __assert_perror_fail): Likewise.
31729 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31730 (__rewinddir): Likewise.
31731 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31732 (__profile_frequency): Likewise.
31733 * include/setjmp.h (__sigsetjmp): Likewise.
31734 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31735 __libc_sigaction): Likewise.
31736 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31737 not set hidden attribute.
31738 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31739 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31740 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31741 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31742 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31743 __fxstatat64): Likewise.
31744 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31745 (__uname): Likewise.
31746 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31747 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31748 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31749 (NO_RTLD_HIDDEN): Set.
31750 * sysdeps/mach/hurd/configure: Refresh.
31751 * config.h.in: Refresh.
31752
527cd19c
JM
317532017-10-02 Joseph Myers <joseph@codesourcery.com>
31754
38722448
JM
31755 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31756 (atan): Define using libm_alias_double.
31757 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31758 (tan): Define using libm_alias_double.
31759 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31760 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31761
527cd19c
JM
31762 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31763 define as weak alias of __atan. Do not define any aliases if
31764 [__atan].
31765 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31766 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31767 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31768 as weak alias of __tan. Do not define any aliases if [__tan].
31769 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31770 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31771 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31772 __atan.
31773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31774 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31775 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31776 and define as weak alias of __atan.
31777 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31778 __atan.
31779 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31781 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31782 define as weak alias of __tan.
31783
bdc5c592
SN
317842017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31785
31786 * math/w_lgamma.c: New file.
31787 * math/w_lgammaf.c: New file.
31788 * math/w_lgammal.c: New file.
31789
bd4430c2
SN
317902017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31791
31792 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31793 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31794 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31795 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31796 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31797 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31798 * sysdeps/i386/fpu/w_log2f.c: New file.
31799 * sysdeps/i386/fpu/w_logf.c: New file.
31800 * sysdeps/i386/fpu/w_powf.c: New file.
31801 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31802 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31803 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31804
f7a0b063
SN
318052017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31806 H.J. Lu <hongjiu.lu@intel.com>
31807
31808 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31809 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31810 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31811 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31812 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31813 the new expf code.
31814 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31815 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31816 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31817 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31818 * sysdeps/i386/fpu/w_exp2f.c: New file.
31819 * sysdeps/i386/fpu/w_expf.c: New file.
31820 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31821 * sysdeps/x86_64/fpu/w_expf.c: New file.
31822
72d3d281
SN
318232017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31824
31825 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31826 (log2f): Likewise.
31827 (powf): Likewise.
31828 * math/w_log2f.c: New file.
31829 * math/w_logf.c: New file.
31830 * math/w_powf.c: New file.
31831 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31832 * math/w_logf_compat.c (__logf_compat): Likewise.
31833 * math/w_powf_compat.c (__powf_compat): Likewise.
31834 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31835 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31836 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31837 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31838 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31839 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31840 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31841 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31842 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31843 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31844 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31845 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31846 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31847 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31848 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31850 Likewise.
31851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31852 Likewise.
31853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31854 Likewise.
31855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31856 Likewise.
31857 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31858 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31859 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31860 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31861 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31863 Likewise.
31864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31865 Likewise.
31866 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31867 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31869
59ba2d2b
RS
318702017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31871
31872 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31873 (sysdep_routines): Add memrchr_power8.
31874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31875 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31876 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31877 New file.
31878 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31879 (memrchr): Add __memrchr_power8 to ifunc list.
31880 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31881
397286ea
L
318822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31883
31884 [BZ #18822]
31885 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31886 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31887 libc_hidden_def.
31888 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31889 (__posix_fallocate64_l64): Likewise.
31890
d0a4512b
L
318912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31892
31893 [BZ #18822]
31894 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31895 (__sched_setaffinity_new): Add libc_hidden_proto and
31896 libc_hidden_def.
31897
c0769f70
L
318982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31899
31900 [BZ #18822]
31901 * include/glob.h (__glob64): Add libc_hidden_proto.
31902 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31903 libc_hidden_def.
31904
0e7d5b6e
L
319052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31906
31907 [BZ #18822]
31908 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31909 attribute_hidden.
31910
bde06c87
L
319112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31912
31913 [BZ #18822]
31914 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31915
fa426590
L
319162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31917
31918 [BZ #18822]
31919 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31920 libc_hidden_def.
31921
2f8a05d8
L
319222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31923
31924 [BZ #18822]
31925 * csu/version.c (__libc_print_version): Add attribute_hidden.
31926
7bfd08ac
L
319272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31928
31929 [BZ #18822]
31930 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31931
0e1fd06c
L
319322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31933
31934 [BZ #18822]
31935 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31936
36e7ae1e
L
319372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31938
31939 [BZ #18822]
31940 * nscd/nscd_helper.c (__nis_hash): New prototype.
31941
87078544
L
319422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 [BZ #18822]
31945 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31946 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31947 libc_hidden_def.
31948 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31949 * termios/tcgetattr.c (__tcgetattr): Likewise.
31950
dd3121df
L
319512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31952
31953 [BZ #18822]
31954 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31955 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31956 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31957 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31958 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31959
047d1a81
L
319602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31961
31962 [BZ #18822]
31963 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31964
fd331b11
L
319652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31966
31967 [BZ #18822]
31968 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31969 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31970
57f859bd
L
319712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31972
31973 [BZ #18822]
31974 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31975
d1903329
L
319762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31977
31978 [BZ #18822]
31979 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31980 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31981
b4744101
L
319822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31983
31984 [BZ #18822]
31985 * include/ifreq.h: New file.
31986 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31987 (__ifreq): Likewise.
31988 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31989 (__ifreq): Likewise.
31990
43b7dfd1
L
319912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31992
31993 [BZ #18822]
31994 * include/idna.h: New file.
31995 * inet/getnameinfo.c: Include <idna.h> instead of
31996 <libidn/idna.h>.
31997 (__idna_to_unicode_lzlz): Removed.
31998 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31999 <libidn/idna.h>.
32000 (__idna_to_ascii_lz): Removed.
32001 (__idna_to_unicode_lzlz): Likewise.
32002
2c0cd8f8
L
320032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32004
32005 [BZ #18822]
32006 * include/plural-exp.h: New file.
32007 * intl/plural-exp.c: Include <plural-exp.h> instead of
32008 "plural-exp.h".
32009
8369d216
L
320102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32011
32012 [BZ #18822]
32013 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32014 "getsourcefilter.h".
32015 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32016 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32017 "getsourcefilter.h".
32018 (__get_sol): Removed.
32019
a0aef783
L
320202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32021
32022 [BZ #18822]
32023 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32024 to ...
32025 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32026
3ee8209b
L
320272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32028
32029 [BZ #18822]
32030 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32031 attribute_hidden.
32032
6036fc38
L
320332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32034
32035 [BZ #18822]
32036 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32037
fe84fed0
L
320382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32039
32040 [BZ #18822]
32041 * include/search.h (__tdestroy): Add libc_hidden_proto.
32042 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32043
048dd681
L
320442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 [BZ #18822]
32047 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32048
6e342af6
L
320492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32050
32051 [BZ #18822]
32052 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32053 attribute_hidden.
32054
6a088436
L
320552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 [BZ #18822]
32058 * include/signal.h (__kill): Add libc_hidden_proto.
32059 (__sigblock): Likewise.
32060 (__sigprocmask): Likewise.
32061 (__sigaltstack): Likewise.
32062 * signal/kill.c (__kill): Add libc_hidden_def.
32063 * signal/sigblock.c (__sigblock): Likewise.
32064 * signal/sigprocmask.c (__sigprocmask): Likewise.
32065 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32066 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32067 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32068 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32069 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32070 Likewise.
32071 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32072 Likewise.
32073 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32074 (__sigprocmask): Likewise.
32075 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32076 Likewise.
32077 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32078 (__sigprocmask): Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32080 Likewise.
32081
78cf1d74
L
320822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 [BZ #18822]
32085 * include/string.h (__strsep): Add libc_hidden_proto.
32086 * string/strsep.c (__strsep): Add libc_hidden_def.
32087
85b35894
L
320882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32089
32090 [BZ #18822]
32091 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32092 attribute_hidden.
32093 (__spawni): Likewise.
32094
225f7eec
L
320952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32096
32097 [BZ #18822]
32098 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32099 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32100 libc_hidden_def.
32101
372fe247
L
321022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 [BZ #18822]
32105 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32106
9e5ee8b8
L
321072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32108
32109 [BZ #18822]
32110 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32111 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32112 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32113 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32114 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32115 Likewise.
32116 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32117 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32118
2ff16592
L
321192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 [BZ #18822]
32122 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32123 (__dcigettext): Likewise.
32124
b5648377
L
321252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32126
32127 [BZ #18822]
32128 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32129 libc_hidden_proto.
32130 (__get_nprocs): Likewise.
32131 (__get_phys_pages): Likewise.
32132 (__get_avphys_pages): Likewise.
32133 (__get_child_max): Add attribute_hidden.
32134 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32135 (__get_nprocs): Likewise.
32136 (__get_phys_pages): Likewise.
32137 (__get_avphys_pages): Likewise.
32138 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32139 libc_hidden_def.
32140 (__get_nprocs): Likewise.
32141 (__get_phys_pages): Likewise.
32142 (__get_avphys_pages): Likewise.
32143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32144 libc_hidden_def.
32145 (__get_nprocs_conf): Likewise.
32146 (__get_phys_pages): Likewise.
32147 (__get_avphys_pages): Likewise.
32148
0389a6aa
L
321492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32150
32151 [BZ #18822]
32152 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32153 attribute_hidden.
32154 (__netlink_close): Likewise.
32155 (__netlink_free_handle): Likewise.
32156 (__netlink_request): Likewise.
32157
d48354d8
L
321582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32159
32160 [BZ #18822]
32161 * include/rpc/rpc.h (__rpc_thread_variables): Add
32162 attribute_hidden.
32163 (__rpc_thread_svc_cleanup): Likewise.
32164 (__rpc_thread_clnt_cleanup): Likewise.
32165 (__rpc_thread_key_cleanup): Likewise.
32166
d6daff12
L
321672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32168
32169 [BZ #18822]
32170 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32171 (__writev): Likewise.
32172 * misc/readv.c (__readv): Add libc_hidden_def.
32173 * misc/writev.c (__writev): Likewise.
32174 * sysdeps/posix/readv.c (__readv): Likewise.
32175 * sysdeps/posix/writev.c (__writev): Likewise.
32176 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32177 (__readv): Likewise.
32178 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32179 (__writev): Likewise.
32180
b68f8620
L
321812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32182
32183 [BZ #18822]
32184 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32185 (__regcomp): Add libc_hidden_proto.
32186 (__regexec): Likewise.
32187 (__regfree): Likewise.
32188 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32189 (__regfree): Likewise.
32190 * posix/regexec.c (__regexec): Likewise.
32191
59c04e67
L
321922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32193
32194 [BZ #18822]
32195 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32196 (__getutent): Likewise.
32197 (__getutid): Likewise.
32198 (__getutline): Likewise.
32199 (__pututline): Likewise.
32200 (__getutent_r): Likewise.
32201 (__getutid_r): Likewise.
32202 (__getutline_r): Likewise.
32203 (__utmpname): Add attribute_hidden.
32204 (__setutent): Likewise.
32205 (__endutent): Likewise.
32206 * login/getutent.c (__getutent): Add libc_hidden_def.
32207 * login/getutent_r.c (__getutent_r): Likewise.
32208 (__pututline): Likewise.
32209 * login/getutid.c (__getutid): Likewise.
32210 * login/getutid_r.c (__getutid_r): Likewise.
32211 * login/getutline.c (__getutline): Likewise.
32212 * login/getutline_r.c (__getutline_r): Likewise.
32213 * login/updwtmp.c (__updwtmp): Likewise.
32214
4587a421
L
322152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 [BZ #18822]
32218 * include/dirent.h (__opendir): Always add attribute_hidden.
32219 (__fdopendir): Likewise.
32220 (__closedir): Likewise.
32221 (__readdir): Likewise.
32222 (__readdir64): Add libc_hidden_proto.
32223 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32224 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32225 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32226 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32227 New alias.
32228
9635ce69
L
322292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32230
32231 [BZ #18822]
32232 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32233 * include/netdb.h (__gethostbyaddr_r): Likewise.
32234 (__gethostbyname_r): Likewise.
32235 (__gethostbyname2_r): Likewise.
32236 (__getnetbyaddr_r): Likewise.
32237 (__getnetbyname_r): Likewise.
32238 (__getservbyname_r): Likewise.
32239 (__getservbyport_r): Likewise.
32240 (__getprotobyname_r): Likewise.
32241 (__getprotobynumber_r): Likewise.
32242 (__getnetgrent_r): Likewise.
32243 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32244 (__getrpcbynumber_r): Likewise.
32245 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32246
2e0a6909
L
322472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32248
32249 [BZ #18822]
32250 * include/stdio.h (__fcloseall): Add attribute_hidden.
32251 (__getline): Likewise.
32252 (__path_search): Likewise.
32253 (__gen_tempname): Likewise.
32254 (__libc_message): Likewise.
32255 (__flockfile): Likewise.
32256 (__funlockfile): Likewise.
32257 (__fxprintf): Likewise.
32258 (__fxprintf_nocancel): Likewise.
32259
94fd682c
L
322602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32261
32262 [BZ #18822]
32263 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32264 (__sgetsgent_r): Likewise.
32265
e1b33bba
L
322662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32267
32268 [BZ #18822]
32269 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32270 (__statfs64): Likewise.
32271 (__fstatfs64): Likewise.
32272 * include/sys/statvfs.h (__statvfs64): Likewise.
32273 (__fstatvfs64): Likewise.
32274 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32275 (__statfs_filesize_max): Likewise.
32276 (__statfs_symlinks): Likewise.
32277 (__statfs_chown_restricted): Likewise.
32278
b0f56784
L
322792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 [BZ #18822]
32282 * include/time.h (__tzstring): Add attribute_hidden.
32283 (__tzfile_read): Likewise.
32284 (__tzfile_compute): Likewise.
32285 (__tzfile_default): Likewise.
32286 (__tzset_parse_tz): Likewise.
32287 (__offtime): Likewise.
32288 (__asctime_r): Likewise.
32289 (__tzset): Likewise.
32290 (__tz_convert): Likewise.
32291 (__getdate_r): Likewise.
32292 (__getclktck): Likewise.
32293
a4338d99
L
322942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32295
32296 [BZ #18822]
32297 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32298 (__nscd_unmap): Likewise.
32299 (__nscd_cache_search): Likewise.
32300 (__nscd_get_nl_timestamp): Likewise.
32301 (__nscd_getpwnam_r): Likewise.
32302 (__nscd_getpwuid_r): Likewise.
32303 (__nscd_getgrnam_r): Likewise.
32304 (__nscd_getgrgid_r): Likewise.
32305 (__nscd_gethostbyname_r): Likewise.
32306 (__nscd_gethostbyname2_r): Likewise.
32307 (__nscd_gethostbyaddr_r): Likewise.
32308 (__nscd_getai): Likewise.
32309 (__nscd_getgrouplist): Likewise.
32310 (__nscd_getservbyname_r): Likewise.
32311 (__nscd_getservbyport_r): Likewise.
32312 (__nscd_innetgr): Likewise.
32313 (__nscd_setnetgrent): Likewise.
32314
a2ca1652
L
323152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32316
32317 [BZ #18822]
32318 * include/gmp.h: Declare internal functions only if _ISOMAC is
32319 undefined.
32320 (__mpn_extract_double): Add attribute_hidden.
32321 (__mpn_extract_long_double): Likewise.
32322 (__mpn_extract_float128): Likewise.
32323 (__mpn_construct_float): Likewise.
32324 (__mpn_construct_double): Likewise.
32325 (__mpn_construct_long_double): Likewise.
32326 (__mpn_construct_float128): Likewise.
32327 (mpn_add_1): Likewise.
32328 (mpn_addmul_1): Likewise.
32329 (mpn_add_n): Likewise.
32330 (mpn_cmp): Likewise.
32331 (mpn_divrem): Likewise.
32332 (mpn_lshift): Likewise.
32333 (mpn_mul): Likewise.
32334 (mpn_mul_1): Likewise.
32335 (mpn_rshift): Likewise.
32336 (mpn_sub_1): Likewise.
32337 (mpn_submul_1): Likewise.
32338 (mpn_sub_n): Likewise.
32339
44af8a32
L
323402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32341
32342 [BZ #18822]
32343 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32344 (__wcscat): Likewise.
32345 (__btowc): Likewise.
32346 (__wcrtomb): Likewise.
32347 (__mbsrtowcs): Likewise.
32348 (__wcsrtombs): Likewise.
32349 (__mbsnrtowcs): Likewise.
32350 (__wcsnrtombs): Likewise.
32351 (__wcsncpy): Likewise.
32352 (__wcpncpy): Likewise.
32353 (__wmemcpy): Likewise.
32354 (__wmempcpy): Likewise.
32355 (__wmemmove): Likewise.
32356 (__wcschrnul): Likewise.
32357 (__vfwscanf): Likewise.
32358 (__vswprintf): Likewise.
32359 (__fwprintf): Likewise.
32360 (__vfwprintf): Likewise.
32361
783cd767
L
323622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32363
32364 [BZ #18822]
32365 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32366 (__getgrgid_r): Likewise.
32367 (__getgrnam_r): Likewise.
32368 * include/pwd.h (__getpwuid_r): Likewise.
32369 (__getpwnam_r): Likewise.
32370 (__fgetpwent_r): Likewise.
32371 * include/shadow.h (__getspnam_r): Likewise.
32372 (__sgetspent_r): Likewise.
32373 (__fgetspent_r): Likewise.
32374
7ec4b39a
L
323752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 [BZ #18822]
32378 * include/unistd.h (__access): Add attribute_hidden.
32379 (__lseek64): Likewise.
32380 (__libc_pread64): Likewise.
32381 (__pipe2): Likewise.
32382 (__sleep): Likewise.
32383 (__chdir): Likewise.
32384 (__fchdir): Likewise.
32385 (__getcwd): Likewise.
32386 (__rmdir): Likewise.
32387 (__execvpe): Likewise.
32388 (__execve): Likewise.
32389 (__setsid): Likewise.
32390 (__getuid): Likewise.
32391 (__geteuid): Likewise.
32392 (__getgid): Likewise.
32393 (__getegid): Likewise.
32394 (__getgroups): Likewise.
32395 (__group_member): Likewise.
32396 (__ttyname_r): Likewise.
32397 (__isatty): Likewise.
32398 (__readlink): Likewise.
32399 (__unlink): Likewise.
32400 (__gethostname): Likewise.
32401 (__profil): Likewise.
32402 (__getdtablesize): Likewise.
32403 (__brk): Likewise.
32404 (__ftruncate): Likewise.
32405 (__ftruncate64): Likewise.
32406
8345a760
L
324072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32408
32409 [BZ #18822]
32410 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32411 * argp/argp-fs-xinl.c: Likewise.
32412 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32413 * argp/argp-parse.c: Include <argp.h>.
32414 * argp/argp-xinl.c: Likewise.
32415 * include/argp-fmtstream.h: New file.
32416 * include/argp.h (__argp_error): Add attribute_hidden.
32417 (__argp_failure): Likewise.
32418 (__argp_input): Likewise.
32419 (__argp_state_help): Likewise.
32420
c26dd7c6
L
324212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32422
32423 [BZ #18822]
32424 * include/wchar.h (____wcstof_l_internal): New prototype.
32425 (____wcstod_l_internal): Likewise.
32426 (____wcstold_l_internal): Likewise.
32427 (____wcstol_l_internal): Likewise.
32428 (____wcstoul_l_internal): Likewise.
32429 (____wcstoll_l_internal): Likewise.
32430 (____wcstoull_l_internal): Likewise.
32431 (____wcstof128_l_internal): Likewise.
32432 * sysdeps/ieee754/float128/wcstof128.c
32433 (____wcstof128_l_internal): Removed.
32434 * sysdeps/ieee754/float128/wcstof128_l.c
32435 (____wcstof128_l_internal): Likewise.
32436 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32437 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32438 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32439 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32440 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32441 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32442 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32443 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32444 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32445 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32446
3aff5644
L
324472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32448
32449 [BZ #18822]
32450 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32451 instead of <sys/statvfs.h>.
32452 (__internal_statvfs): Removed.
32453 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32454 instead of <sys/statvfs.h>.
32455 (__internal_statvfs64): Removed.
32456 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32457 "internal_statvfs.h" instead of <sys/statvfs.h>.
32458 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32459 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32460 instead of <sys/statvfs.h>.
32461 (__internal_statvfs): Removed.
32462 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32463 instead of <sys/statvfs.h>.
32464 (__internal_statvfs64): Removed.
32465
8bcdb7e0
L
324662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32467
32468 [BZ #18822]
32469 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32470 (__gconv_close): Likewise.
32471 (__gconv): Likewise.
32472 (__gconv_find_transform): Likewise.
32473 (__gconv_lookup_cache): Likewise.
32474 (__gconv_compare_alias_cache): Likewise.
32475 (__gconv_load_cache): Likewise.
32476 (__gconv_get_path): Likewise.
32477 (__gconv_close_transform): Likewise.
32478 (__gconv_release_cache): Likewise.
32479 (__gconv_find_shlib): Likewise.
32480 (__gconv_release_shlib): Likewise.
32481 (__gconv_get_builtin_trans): Likewise.
32482 (__gconv_compare_alias): Likewise.
32483 * include/dlfcn.h (_dlerror_run): Likewise.
32484 * include/stdio.h (__fortify_fail_abort): Likewise.
32485 * include/time.h (__tz_compute): Likewise.
32486 (__strptime_internal): Likewise.
32487 * intl/gettextP.h (_nl_find_domain): Likewise.
32488 (_nl_load_domain): Likewise.
32489 (_nl_find_msg): Likewise.
32490 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32491 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32492 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32493 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32494 (__gai_find_request): Likewise.
32495 (__gai_remove_request): Likewise.
32496 (__gai_notify): Likewise.
32497 (__gai_notify_only): Likewise.
32498 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32499 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32500 (_dl_non_dynamic_init): Likewise.
32501 (_dl_aux_init): Likewise.
32502 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32503 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32504 Likewise.
32505 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32506 (__wcsmbs_clone_conv): Likewise.
32507 (__wcsmbs_named_conv): Likewise.
32508
8ed3b643
L
325092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32510
32511 [BZ #18822]
32512 * include/stdlib.h (__random): Add attribute_hidden.
32513 (__random_r): Likewise.
32514 (__srandom_r): Likewise.
32515 (__initstate_r): Likewise.
32516 (__setstate_r): Likewise.
32517 (__erand48_r): Likewise.
32518 (__nrand48_r): Likewise.
32519 (__jrand48_r): Likewise.
32520 (__srand48_r): Likewise.
32521 (__seed48_r): Likewise.
32522 (__lcong48_r): Likewise.
32523 (__drand48_iterate): Likewise.
32524 (__setenv): Likewise.
32525 (__unsetenv): Likewise.
32526 (__clearenv): Likewise.
32527 (__ptsname_r): Likewise.
32528 (__posix_openpt): Likewise.
32529 (__add_to_environ): Likewise.
32530 (__realpath): Add libc_hidden_proto.
32531 (__ecvt_r): Likewise.
32532 (__fcvt_r): Likewise.
32533 (__qecvt_r): Likewise.
32534 (__qfcvt_r): Likewise.
32535 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32536 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32537
ef9b6f73
L
325382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32539
32540 [BZ #18822]
32541 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32542 * include/time.h (__mktime_internal): Likewise.
32543 * libio/iolibio.h (__fopen_internal): Likewise.
32544
8da92e72
JDA
325452017-10-01 John David Anglin <danglin@gcc.gnu.org>
32546
32547 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32548 pointer in frame.
32549 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32550 Correct offset used to restore PIC register.
32551
388784cf
JDA
325522017-09-30 John David Anglin <danglin@gcc.gnu.org>
32553
32554 [BZ libc/22165]
32555 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32556 code to load address of __getcontext_ret when generating PIC code.
32557
2000067a
L
325582017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32559
32560 * elf/Makefile (tests-static-internal): Add
32561 tst-tls1-static-non-pie.
32562 (LDFLAGS-tst-tls1-static-non-pie): New.
32563 * elf/tst-tls1-static-non-pie.c: New file.
32564
1e2bffd0
JM
325652017-09-29 Joseph Myers <joseph@codesourcery.com>
32566
32567 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32568 (asinh): Define using libm_alias_double.
32569 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32570 (cbrt): Define using libm_alias_double.
32571 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32572 <libm-alias-double.h>.
32573 (copysign): Define using libm_alias_double.
32574 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32575 (erf): Define using libm_alias_double.
32576 (erfc): Likewise.
32577 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32578 (expm1): Define using libm_alias_double.
32579 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32580 (fabs): Define using libm_alias_double.
32581 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32582 libm_alias_double.
32583 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32584 <libm-alias-double.h>.
32585 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32586 libm_alias_double.
32587 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32588 <libm-alias-double.h>.
32589 (getpayload): Define using libm_alias_double.
32590 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32591 <libm-alias-double.h>.
32592 (llrint): Define using libm_alias_double.
32593 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32594 (lrint): Define using libm_alias_double.
32595 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32596 <libm-alias-double.h>.
32597 (nextup): Define using libm_alias_double.
32598 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32599 <libm-alias-double.h>.
32600 (roundeven): Define using libm_alias_double.
32601 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32602 libm_alias_double.
32603 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32604 <libm-alias-double.h>.
32605 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32606 using libm_alias_double.
32607 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32608 (cos): Define using libm_alias_double.
32609 (sin): Likewise.
32610 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32611 <libm-alias-double.h>.
32612 (sincos): Define using libm_alias_double.
32613 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32614 (tanh): Define using libm_alias_double.
32615 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32616 <libm-alias-double.h>.
32617 (totalorder): Define using libm_alias_double.
32618 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32619 <libm-alias-double.h>.
32620 (totalordermag): Define using libm_alias_double.
32621 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32622 libm_alias_double.
32623 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32624 libm_alias_double.
32625 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32626 <libm-alias-double.h>.
32627 (getpayload): Define using libm_alias_double.
32628 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32629 <libm-alias-double.h>.
32630 (roundeven): Define using libm_alias_double.
32631 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32632 <libm-alias-double.h>.
32633 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32634 <libm-alias-double.h>.
32635 (totalorder): Define using libm_alias_double.
32636 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32637 <libm-alias-double.h>.
32638 (totalordermag): Define using libm_alias_double.
32639 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32640 libc compat symbol here.
32641 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32642 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32643 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32644 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32645 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32646 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32647 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32648 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32649 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32650 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32651
8172aad9
L
326522017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32653
32654 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32655 _dl_relocate_static_pie instead of _dl_start to compute load
32656 address in static PIE. Return 0 if _DYNAMIC is undefined for
32657 static executable.
32658
54464e74
L
326592017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32660
32661 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32662 _DYNAMIC is undefined for static executable.
32663
f6c5e5bc
L
326642017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32665
32666 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32667
2f92505d
JM
326682017-09-29 Joseph Myers <joseph@codesourcery.com>
32669
32670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32671
bd8d53bb
WD
326722017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32673
32674 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32675 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32676 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32677 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32678 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32679 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32680 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32681 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32683 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32684 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32685 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32686 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32687 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32688 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32689 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32690 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32691
fffb1507
WD
326922017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32693
32694 * math/bits/cmathcalls.h (cimag): Remove inline.
32695 (creal): Remove inline.
32696 (conj): Remove inline.
32697
4ea49f4c
SN
326982017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32699
32700 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32701 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32702 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32703 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32704 (issignalingf_inline): Likewise.
32705 (POWF_LOG2_TABLE_BITS): Likewise.
32706 (POWF_LOG2_POLY_ORDER): Likewise.
32707 (POWF_SCALE_BITS): Likewise.
32708 (POWF_SCALE): Likewise.
32709 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32710 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32711 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32712
875c76c7
SN
327132017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32714
32715 * math/Makefile (type-float-routines): Add e_log2f_data.
32716 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32717 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32718 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32719 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32720 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32721 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32722 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32723
90c42e40
SN
327242017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32725
32726 * math/Makefile (type-float-routines): Add e_logf_data.
32727 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32728 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32729 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32730 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32731 * sysdeps/i386/fpu/e_logf_data.c: New file.
32732 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32733 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32734
4088d8dd
L
327352017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32738 undefined _DYNAMIC in PIE libc.a.
32739 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32740 Likewse.
32741
4d3693ec
WD
327422017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32743
32744 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32745 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32746 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32747 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32748 (__signbit): Remove.
32749 (__signbitl): Remove.
32750 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32751 (__signbit): Remove.
32752 (__signbitl): Remove.
32753 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32754 (__signbit): Remove.
32755 (__signbitl): Remove.
32756 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32757 (__signbit): Remove.
32758 (__signbitl): Remove.
32759 * sysdeps/tile/bits/mathinline.h: Delete file.
32760 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32761 (__signbit): Remove.
32762 (__signbitl): Remove.
32763
1e6d0723
WD
327642017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32765
32766 * math/math.h: Improve handling of C99 isgreater macros.
32767 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32768 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32769 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32770 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32771 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32772
b2f03cf3
SN
327732017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32774
32775 * sysdeps/aarch64/libm-test-ulps: Update.
32776
f124cb38
JM
327772017-09-28 Joseph Myers <joseph@codesourcery.com>
32778
32779 [BZ #22225]
32780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32781 math_opt_barrier on argument when doing arithmetic on it.
32782 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32783 Likewise. Use math_force_eval not math_opt_barrier after
32784 arithmetic.
32785 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32786 math_opt_barrier on argument when doing arithmetic on it.
32787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32788 Likewise.
32789
7edd0691
L
327902017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32791
32792 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32793 libc_hidden_def.
32794 (__freeifaddrs): Likewise.
32795
2c7bbfaf
ST
327962017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32797
32798 * include/dirent.h (__dirfd): New declaration.
32799 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32800 alias.
32801 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32802 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32803 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
32804 * include/unistd.h (__revoke): New declaration.
32805 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32806 alias.
32807 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32808 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32809 revoke.
64a4af28
ST
32810 * include/dirent.h (__seekdir): New declaration.
32811 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32812 redefine as weak alias.
32813 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32814 of seekdir.
4009ddc6
ST
32815 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32816 and use libc_hidden_def on them.
32817 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32818 them.
32819 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32820 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32821 instead of getifaddrs and freeifaddrs.
2c7bbfaf 32822
825adeee
L
328232017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 [BZ #18822]
32826 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32827 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32828 (__dso_handle): Remove declaration.
32829 * dlfcn/tstatexit.c (__dso_handle): Removed.
32830 (main): Don't check __dso_handle.
32831 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32832 (main): Don't check __dso_handle.
32833 * include/dso_handle.h: New file.
32834 * malloc/mtrace.c: Include <dso_handle.h>.
32835 (mtrace): Pass __dso_handle directly.
32836 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32837 (__dso_handle): Remove declaration.
32838 (__pthread_atfork): Pass __dso_handle directly.
32839 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32840 (__dso_handle): Removed.
32841 * posix/wordexp-test.c: Include <dso_handle.h>.
32842 (__dso_handle): Remove declaration.
32843 (__app_register_atfork): Pass __dso_handle directly.
32844 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32845 (__dso_handle): Remove declaration.
32846 (at_quick_exit): Pass __dso_handle directly.
32847 * stdlib/atexit.c: Include <dso_handle.h>.
32848 (__dso_handle): Remove declaration.
32849 (atexit): Pass __dso_handle directly.
32850 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32851 (__dso_handle): Removed.
32852
bfb0deb3
JM
328532017-09-26 Joseph Myers <joseph@codesourcery.com>
32854
32855 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32856 using VDSO.
32857
cebcb9f8
AM
328582017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32859
32860 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32861 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32862 values to correct default value for given type.
32863
592d5c75
L
328642017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32865
32866 [BZ #22101]
32867 * elf/Makefile (tests): Add tst-debug1.
32868 ($(objpfx)tst-debug1): New.
32869 ($(objpfx)tst-debug1.out): Likewise.
32870 ($(objpfx)tst-debug1mod1.so): Likewise.
32871 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32872 with p_filesz == 0.
32873 * elf/tst-debug1.c: New file.
32874
2d9193f2
JM
328752017-09-26 Joseph Myers <joseph@codesourcery.com>
32876
32877 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32878 Define using __ifunc.
32879
4c5a7a02
TMQMF
328802017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32881
32882 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32883 exp2f() values.
32884
12ef66c4
JM
328852017-09-26 Joseph Myers <joseph@codesourcery.com>
32886
32887 [BZ #22156]
32888 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32889
44dade71
FW
328902017-09-26 Florian Weimer <fweimer@redhat.com>
32891
32892 * resolv/Makefile (tests-internal): Fix typo in comment.
32893
eaca16f1
FW
328942017-09-26 Florian Weimer <fweimer@redhat.com>
32895
32896 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32897
ccf970c7
AZ
328982017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32899
5f9f31ad
AZ
32900 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32901 Use an union instead of a max_align_t array for __space,
32902 so that __space is the same size on all platforms.
32903 * malloc/scratch_buffer_grow_preserve.c
32904 (__libc_scratch_buffer_grow_preserve): Likewise.
32905
ccf970c7
AZ
32906 [BZ #22183]
32907 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32908 version to 2.
32909 * posix/Makefile (routines): Add glob-lstat-compat and
32910 glob64-lstat-compat.
32911 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32912 * posix/glob-lstat-compat.c: New file.
32913 * posix/glob64-lstat-compat.c: Likewise.
32914 * posix/tst-glob_lstat_compat.c: Likewise.
32915 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32916 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32917 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32918 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32919 Likewise.
32920 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32921 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32922 * posix/glob.c (glob_lstat): New function.
32923 (glob): Rename to __glob and add versioned symbol to 2.27.
32924 (glob_in_dir): Use glob_lstat.
32925 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32926 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32927 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32928 2.27.
32929 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32930 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32931 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32932 gl_lstat on glob call.
32933 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32934 and glob64 symbols.
32935 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32936 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32937 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32939 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32940 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32941 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32942 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32943 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32945 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32946 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32948 Likewise.
32949 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32951 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32952 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32953 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32954 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32955 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32958 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32959 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32960 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32961
b4396163
L
329622017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32963
32964 * configure.ac (AS): Require binutils 2.25 or later.
32965 * configure: Regenerated.
32966
8f834987
PP
329672017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32968
32969 [BZ #22207]
32970 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32971 VM size.
32972
3de93d19
DD
329732017-09-25 DJ Delorie <dj@redhat.com>
32974
32975 [BZ #22161]
32976 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32977 resetting timeout.
32978
9947638d
SL
329792017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32980
32981 * sysdeps/ieee754/dbl-64/sincos32.h
32982 [SINCCOS32_H]: Remove define.
32983 [SINCOS32_H]: Define.
32984
f5f0f526
SN
329852017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32986
32987 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32988 (exp2f): Likewise.
32989 * math/w_exp2f.c: New file.
32990 * math/w_expf.c: New file.
32991 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32992 * math/w_expf_compat.c (__expf_compat): Likewise.
32993 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32994 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32995 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32996 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32997 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32999 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33000 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33002 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33003 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33004 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33005 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33006 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33008 Likewise.
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33010 Likewise.
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33012 Likewise.
33013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33014 Likewise.
33015 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33016 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33017 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33018 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33019 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33021 Likewise.
33022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33023 Likewise.
33024 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33025 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33026 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33027
72aa6233
SN
330282017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33029
33030 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33031 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33032 (roundtoint, converttoint): Likewise.
33033 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33034 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33035 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33036 * sysdeps/ieee754/flt-32/math_config.h: New file.
33037 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33038 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33039 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33040 * sysdeps/i386/fpu/math_errf.c: New file.
33041 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33042 * sysdeps/ia64/fpu/math_errf.c: New file.
33043 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33044 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33045
5e6f3253
ST
330462017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33047
33048 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33049 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33050 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33051 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33052 to make sure that these symbols are defined.
b38a42a0
ST
33053 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33054 of <limits.h>
33055 (__need_NULL): Do not define.
33056 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33057 alignment.
33058 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33059 CMGROUP_MAX, cmsgcred): Do not define.
33060 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33061 NULL.
33062 * bits/socket.h: Likewise.
fcafcd16
ST
33063 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33064 __gettimeofday instead of gettimeofday.
33065 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33066 instead of settimeofday.
5e6f3253 33067
2f49ce7d
JM
330682017-09-22 Joseph Myers <joseph@codesourcery.com>
33069
33070 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33071 (asinhf): Define using libm_alias_float.
33072 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33073 (atanf): Define using libm_alias_float.
33074 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33075 (cbrtf): Define using libm_alias_float.
33076 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33077 (ceilf): Define using libm_alias_float.
33078 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33079 <libm-alias-float.h>.
33080 (copysignf): Define using libm_alias_float.
33081 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33082 (cosf): Define using libm_alias_float.
33083 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33084 (erff): Define using libm_alias_float.
33085 (erfcf): Likewise.
33086 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33087 (expm1f): Define using libm_alias_float.
33088 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33089 (fabsf): Define using libm_alias_float.
33090 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33091 (floorf): Define using libm_alias_float.
33092 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33093 (frexpf): Define using libm_alias_float.
33094 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33095 libm_alias_float.
33096 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33097 <libm-alias-float.h>.
33098 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33099 libm_alias_float.
33100 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33101 <libm-alias-float.h>.
33102 (getpayloadf): Define using libm_alias_float.
33103 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33104 <libm-alias-float.h>.
33105 (llrintf): Define using libm_alias_float.
33106 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33107 <libm-alias-float.h>.
33108 (llroundf): Define using libm_alias_float.
33109 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33110 (logbf): Define using libm_alias_float.
33111 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33112 (lrintf): Define using libm_alias_float.
33113 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33114 (lroundf): Define using libm_alias_float.
33115 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33116 (modff): Define using libm_alias_float.
33117 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33118 <libm-alias-float.h>.
33119 (nearbyintf): Define using libm_alias_float.
33120 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33121 <libm-alias-float.h>.
33122 (nextafterf): Define using libm_alias_float.
33123 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33124 <libm-alias-float.h>.
33125 (nextupf): Define using libm_alias_float.
33126 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33127 <libm-alias-float.h>.
33128 (remquof): Define using libm_alias_float.
33129 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33130 (rintf): Define using libm_alias_float.
33131 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33132 <libm-alias-float.h>.
33133 (roundevenf): Define using libm_alias_float.
33134 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33135 (roundf): Define using libm_alias_float.
33136 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33137 using libm_alias_float.
33138 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33139 <libm-alias-float.h>.
33140 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33141 Define using libm_alias_float.
33142 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33143 <libm-alias-float.h>.
33144 (sincosf): Define using libm_alias_float.
33145 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33146 (sinf): Define using libm_alias_float.
33147 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33148 (tanf): Define using libm_alias_float.
33149 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33150 (tanhf): Define using libm_alias_float.
33151 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33152 <libm-alias-float.h>.
33153 (totalorderf): Define using libm_alias_float.
33154 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33155 <libm-alias-float.h>.
33156 (totalordermagf): Define using libm_alias_float.
33157 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33158 (truncf): Define using libm_alias_float.
33159 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33160 libm_alias_float.
33161 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33162 libm_alias_float.
33163
c5c4a626
GG
331642017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33165
33166 [BZ #22146]
33167 math/math.h: Let fpclassify use the builtin in C++ mode, even
33168 when optimazing for size.
33169
23947846
JM
331702017-09-22 Joseph Myers <joseph@codesourcery.com>
33171
33172 * csu/Makefile (generated): Do not add version-info.h.
33173 (before-compile): Likewise.
33174 (all-Banner-files): Remove variable.
33175 ($(objpfx)version-info.h): Remove rule.
33176 * csu/version.c (banner): Do not include "version-info.h".
33177 * libidn/Banner: Remove.
33178 * manual/contrib.texi (Simon Josefsson): New entry.
33179
9ac3c682
GG
331802017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33181
33182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33183 Remove conditionals on LDBL_MANT_DIG.
33184 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33185 (__ieee754_lgammal_r): Likewise.
33186
d2f0ed09
GG
331872017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33188
33189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33190 _Float128 and L().
33191 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33192 _Float128 and L(). Replace _Float128 with long double and L(x)
33193 with xL, throughout the file.
33194 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33198
c5c2e667
GG
331992017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33200
33201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33202 sysdeps/ieee754/ldbl-128ibm.
33203 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33204 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33205 of including it. Keep _Float128 and L() intact. These will be
33206 reviewed by a separate patch.
33207 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33211
e010deb2
GG
332122017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33213
33214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33215 (__finitef128): Define to __redirect___finitef128.
33216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33217 (__isinff128): Define to __redirect___isinff128.
33218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33219 (__isnanf128): Define to __redirect___isnanf128.
33220
ffa44804
GG
332212017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33222
33223 * sysdeps/powerpc/powerpc64le/Makefile
33224 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33225 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33226
e5e4d7cc
PP
332272017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33228 Carlos O'Donell <carlos@redhat.com>
33229
33230 [BZ #22180]
33231 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33232 * stdlib/test-dlclose-exit-race.c: New file.
33233 * stdlib/test-dlclose-exit-race-helper.c: New file.
33234 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33235
c10c5267
JM
332362017-09-21 Joseph Myers <joseph@codesourcery.com>
33237
33238 * crypt/Banner: Remove file.
33239 * nptl/Banner: Likewise.
33240 * resolv/Banner: Likewise.
33241 * soft-fp/Banner: Likewise.
33242 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33243 ($(objpfx)version.d): Remove dependency on banner.h.
33244 ($(objpfx)version.os): Likewise.
33245 * nptl/version.c (banner): Do not include banner.h.
33246 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33247 Jelinek and BIND code.
33248
1cc9e59a
PP
332492017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33250 Carlos O'Donell <carlos@redhat.com>
33251
33252 * support/xdlfcn.h: New file.
33253 * support/xdlfcn.c: New file.
33254 * support/Makefile (libsupport-routines): Add xdlfcn.
33255 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33256
ae8372d7
JM
332572017-09-20 Joseph Myers <joseph@codesourcery.com>
33258
33259 [BZ #20142]
33260 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33261 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33262 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33263 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33264 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33265 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33266 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33267 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33268
26e70aec 332692017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
33270 Ricky Zhou <rickyz@google.com>
33271 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
33272
33273 [BZ #14333]
33274 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33275 Remove atomics.
33276 (__new_exitfn): Fail registration when we finished at_exit processing.
33277 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33278 * stdlib/on_exit.c (__on_exit): Likewise.
33279 * stdlib/exit.c (__exit_funcs_done): New variable.
33280 (__run_exit_handlers): Use __exit_funcs_lock.
33281 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33282 declarations.
33283 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33284 (test-cxa_atexit-race, test-on_exit-race): New tests.
33285 * stdlib/test-atexit-race-common.c: New file.
33286 * stdlib/test-atexit-race.c: New file.
33287 * stdlib/test-at_quick_exit-race.c: New file.
33288 * stdlib/test-cxa_atexit-race.c: New file.
33289 * stdlib/test-on_exit-race.c: New file.
33290
0525ce48
SN
332912017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33292
33293 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33294 * benchtests/exp2f-inputs: Copy of expf-inputs.
33295 * benchtests/log2f-inputs: Copy of logf-inputs.
33296
d82468d1
JM
332972017-09-19 Joseph Myers <joseph@codesourcery.com>
33298
33299 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33300 Explicitly take address of first element of array arguments in
33301 call to INLINE_SYSCALL.
33302
43ffc53a
AS
333032017-09-19 Andreas Schwab <schwab@suse.de>
33304
33305 [BZ #22134]
33306 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33307 execveat first.
33308 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33309 unimplemented.
33310 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33311 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33312 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33313 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33314 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33315 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33317 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33318 * posix/Makefile (tests): Add tst-fexecve.
33319 * posix/tst-fexecve.c: New file.
33320
a5dcc87e
WD
333212017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33322
33323 * benchtests/Makefile: Add logf benchmark.
33324 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33325
7024d544
WD
333262017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33327
33328 * benchtests/Makefile: Add expf benchmark.
33329 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33330
ca3a382e
WD
333312017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33332
33333 * csu/Makefile: Add -funwind-tables to libc-start.c.
33334 * debug/Makefile: Add -funwind-tables to backtrace.c.
33335 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33336 * sysdeps/arm/Makefile: Likewise.
33337 * sysdeps/i386/Makefile: Likewise.
33338 * sysdeps/m68k/Makefile: Likewise.
33339 * sysdeps/mips/Makefile: Likewise.
33340 * sysdeps/nios2/Makefile: Likewise.
33341 * sysdeps/sh/Makefile: Likewise.
33342 * sysdeps/sparc/Makefile: Likewise.
33343
eb375def
JM
333442017-09-19 Joseph Myers <joseph@codesourcery.com>
33345
33346 * benchtests/Makefile (bench-math): Add trunc and truncf.
33347 (CFLAGS-bench-trunc.c): New variable.
33348 (CFLAGS-bench-truncf.c): Likewise.
33349 * benchtests/trunc-inputs: New file.
33350 * benchtests/truncf-inputs: Likewise.
33351
bd17ba29
RS
333522017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33353
33354 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33355
92892fdb
JM
333562017-09-18 Joseph Myers <joseph@codesourcery.com>
33357
6d9b0b5a
JM
33358 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33359 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33360 redefine.
33361 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33362 (exp10l): Define as weak alias.
33363 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33364 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33365 and redefine.
33366 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33367 (remainderl): Define as weak alias.
33368
92892fdb
JM
33369 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33370 (fmal): Define using libm_alias_ldouble.
33371 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33372 (acoshl): Define using libm_alias_ldouble.
33373 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33374 (acosl): Define using libm_alias_ldouble.
33375 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33376 (asinl): Define using libm_alias_ldouble.
33377 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33378 (atan2l): Define using libm_alias_ldouble.
33379 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33380 (atanhl): Define using libm_alias_ldouble.
33381 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33382 (coshl): Define using libm_alias_ldouble.
33383 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33384 (exp10l): Define using libm_alias_ldouble.
33385 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33386 (exp2l): Define using libm_alias_ldouble.
33387 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33388 (expl): Define using libm_alias_ldouble.
33389 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33390 (fmodl): Define using libm_alias_ldouble.
33391 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33392 (hypotl): Define using libm_alias_ldouble.
33393 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33394 (j0l): Define using libm_alias_ldouble.
33395 (y0l): Likewise.
33396 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33397 (j1l): Define using libm_alias_ldouble.
33398 (y1l): Likewise.
33399 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33400 (jnl): Define using libm_alias_ldouble.
33401 (ynl): Likewise.
33402 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33403 (log10l): Define using libm_alias_ldouble.
33404 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33405 (log2l): Define using libm_alias_ldouble.
33406 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33407 (logl): Define using libm_alias_ldouble.
33408 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33409 (powl): Define using libm_alias_ldouble.
33410 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33411 (remainderl): Define using libm_alias_ldouble.
33412 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33413 (sinhl): Define using libm_alias_ldouble.
33414 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33415 (sqrtl): Define using libm_alias_ldouble.
33416 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33417 (tgammal): Define using libm_alias_ldouble.
33418 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33419 (exp10l): Do not use long_double_symbol here.
33420 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33421 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33422 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33423 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33424 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33425 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33426 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33427 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33428 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33429 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33430 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33431 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33432 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33433 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33434 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33435 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33436 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33437 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33438 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33439 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33440 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33441 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33442
6cd380dd
WB
334432017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33444
33445 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33446 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33447
1c6d89e9
ST
334482017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33449
33450 * io/read.c (read): Add libc_hidden_weak.
33451 * sysdeps/mach/hurd/read.c (read): Likewise.
33452 * io/write.c (write): Likewise.
33453 * sysdeps/mach/hurd/write.c (write): Likewise.
33454 * io/pread64.c (__pread64): Likewise.
33455 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33456 * posix/pread64.c (__pread64): Add libc_hidden_def.
33457
06b1de23
SP
334582017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33459
140647ea
SP
33460 * benchtests/scripts/compare_strings.py: New option -g.
33461 (draw_graph): Print a message that a graph is being generated.
33462 (process_results): Generate graph only if -g is passed.
33463 (main): Process option -g.
33464
5a6547b7
SP
33465 * benchtests/scripts/compare_strings.py (process_results):
33466 Better spacing for output.
33467
06b1de23
SP
33468 * benchtests/scripts/compare_strings.py: Use argparse.
33469 * benchtests/README: Document existence of compare_strings.py.
33470
c67a2328
JM
334712017-09-15 Joseph Myers <joseph@codesourcery.com>
33472
9ac44708
JM
33473 * math/s_fma.c: Include <libm-alias-double.h>.
33474 (fma): Define using libm_alias_double.
33475 * math/s_nextafter.c: Include <libm-alias-double.h>.
33476 (nextafter): Define using libm_alias_double.
33477 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33478 (acos): Define using libm_alias_double.
33479 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33480 (aocsh): Define using libm_alias_double.
33481 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33482 (asin): Define using libm_alias_double.
33483 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33484 (atan2): Define using libm_alias_double.
33485 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33486 (atanh): Define using libm_alias_double.
33487 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33488 (cosh): Define using libm_alias_double.
33489 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33490 (exp10): Define using libm_alias_double.
33491 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33492 (exp2): Define using libm_alias_double.
33493 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33494 (exp): Define using libm_alias_double.
33495 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33496 (fmod): Define using libm_alias_double.
33497 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33498 (hypot): Define using libm_alias_double.
33499 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33500 (j0): Define using libm_alias_double.
33501 (y0): Likewise.
33502 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33503 (j1): Define using libm_alias_double.
33504 (y1): Likewise.
33505 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33506 (jn): Define using libm_alias_double.
33507 (yn): Likewise.
33508 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33509 (log10): Define using libm_alias_double.
33510 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33511 (log2): Define using libm_alias_double.
33512 * math/w_log_compat.c: Include <libm-alias-double.h>.
33513 (log): Define using libm_alias_double.
33514 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33515 (pow): Define using libm_alias_double.
33516 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33517 (remainder): Define using libm_alias_double.
33518 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33519 (sinh): Define using libm_alias_double.
33520 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33521 (sqrt): Define using libm_alias_double.
33522 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33523 (tgamma): Define using libm_alias_double.
33524 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33525 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33526 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33527 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33528 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33529 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33530 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33531 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33532 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33533 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33534 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33535 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33536 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33537 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33538 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33539 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33540 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33541 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33542 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33543 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33544 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33545 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33546 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33547 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33548 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33549
c67a2328
JM
33550 * math/e_acoshl.c: Remove.
33551 * math/e_acosl.c: Likewise.
33552 * math/e_asinl.c: Likewise.
33553 * math/e_atan2l.c: Likewise.
33554 * math/e_atanhl.c: Likewise.
33555 * math/e_coshl.c: Likewise.
33556 * math/e_expl.c: Likewise.
33557 * math/e_fmodl.c: Likewise.
33558 * math/e_gammal_r.c: Likewise.
33559 * math/e_hypotl.c: Likewise.
33560 * math/e_j0l.c: Likewise.
33561 * math/e_j1l.c: Likewise.
33562 * math/e_jnl.c: Likewise.
33563 * math/e_lgammal_r.c: Likewise.
33564 * math/e_log10l.c: Likewise.
33565 * math/e_log2l.c: Likewise.
33566 * math/e_logl.c: Likewise.
33567 * math/e_powl.c: Likewise.
33568 * math/e_rem_pio2l.c: Likewise.
33569 * math/e_sinhl.c: Likewise.
33570 * math/e_sqrtf128.c: Likewise.
33571 * math/e_sqrtl.c: Likewise.
33572 * math/k_cosl.c: Likewise.
33573 * math/k_sinl.c: Likewise.
33574 * math/k_tanl.c: Likewise.
33575 * math/s_asinhl.c: Likewise.
33576 * math/s_atanl.c: Likewise.
33577 * math/s_cbrtl.c: Likewise.
33578 * math/s_erfl.c: Likewise.
33579 * math/s_expm1l.c: Likewise.
33580 * math/s_log1pl.c: Likewise.
33581 * math/s_tanhl.c: Likewise.
33582
61c45f25
TMQMF
335832017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33584
33585 [BZ #21745]
33586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33587 [$(subdir) = math] (sysdep_calls): New variable. Has the
33588 previous contents of sysdep_routines, but re-sorted..
33589 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33590 sysdep_calls.
33591 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33592 defined in sysdep_calls and replace by the respective m_* names.
33593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33594 (compat_symbol): Undefine to avoid duplicated compat symbols in
33595 libc.
33596
5bcdb315
JM
335972017-09-15 Joseph Myers <joseph@codesourcery.com>
33598
33599 * math/s_fmaf.c: Include <libm-alias-float.h>.
33600 (fmaf): Define using libm_alias_float.
33601 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33602 (acosf): Define using libm_alias_float.
33603 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33604 (acoshf): Define using libm_alias_float.
33605 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33606 (asinf): Define using libm_alias_float.
33607 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33608 (atan2f): Define using libm_alias_float.
33609 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33610 (atanhf): Define using libm_alias_float.
33611 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33612 (coshf): Define using libm_alias_float.
33613 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33614 (exp10f): Define using libm_alias_float.
33615 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33616 (fmodf): Define using libm_alias_float.
33617 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33618 (hypotf): Define using libm_alias_float.
33619 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33620 (j0f): Define using libm_alias_float.
33621 (y0f): Likewise.
33622 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33623 (j1f): Define using libm_alias_float.
33624 (y1f): Likewise.
33625 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33626 (jnf): Define using libm_alias_float.
33627 (ynf): Likewise.
33628 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33629 (log10f): Define using libm_alias_float.
33630 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33631 (log2f): Define using libm_alias_float.
33632 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33633 (logf): Define using libm_alias_float.
33634 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33635 (powf): Define using libm_alias_float.
33636 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33637 (remainderf): Define using libm_alias_float.
33638 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33639 (sinhf): Define using libm_alias_float.
33640 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33641 (sqrtf): Define using libm_alias_float.
33642 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33643 (tgammaf): Define using libm_alias_float.
33644
01f28812
JM
336452017-09-14 Joseph Myers <joseph@codesourcery.com>
33646
33647 * include/math.h (roundeven): Change hidden_proto call to
33648 __roundeven.
33649 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33650 alias.
33651 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33652 (y0): Rename to __y0 and define as weak alias.
33653 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33654 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33655 alias.
33656 (y0f): Rename to __y0f and define as weak alias.
33657 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33658 alias.
33659 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33660 (y1): Rename to __y1 and define as weak alias.
33661 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33662 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33663 alias.
33664 (y1f): Rename to __y1f and define as weak alias.
33665 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33666 alias.
33667 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33668 (yn): Rename to __yn and define as weak alias.
33669 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33670 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33671 alias.
33672 (ynf): Rename to __ynf and define as weak alias.
33673 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33674 (fromfp): Define as weak alias.
33675 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33676 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33677 (fromfpx): Define as weak alias.
33678 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33679 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33680 __getpayload and define as weak alias.
33681 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33682 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33683 __roundeven and define as weak alias.
33684 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33685 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33686 __setpayload.
33687 (setpayload): Define as weak alias.
33688 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33689 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33690 __setpayloadsig.
33691 (setpayloadsig): Define as weak alias.
33692 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33693 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33694 __totalorder and define as weak alias.
33695 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33696 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33697 to __totalordermag and define as weak alias.
33698 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33699 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33700 (ufromfp): Define as weak alias.
33701 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33702 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33703 __ufromfpx.
33704 (ufromfpx): Define as weak alias.
33705 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33706 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33707 Rename to __getpayload and define as weak alias.
33708 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33709 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33710 Rename to __roundeven and define as weak alias.
33711 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33712 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33713 Rename to __totalorder and define as weak alias.
33714 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33715 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33716 (totalordermag): Rename to __totalordermag and define as weak
33717 alias.
33718 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33719 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33720 macro.
33721 (__roundevenl): Likewise.
33722 (__totalorderl): Likewise.
33723 (__totalordermagl): Likewise
33724 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33725 __fromfpf128.
33726 (fromfpf128): Define as weak alias.
33727 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33728 __fromfpxf128.
33729 (fromfpxf128): Define as weak alias.
33730 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33731 __setpayloadf128.
33732 (setpayloadf128): Define as weak alias.
33733 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33734 __setpayloadsigf128.
33735 (setpayloadsigf128): Define as weak alias.
33736 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33737 __ufromfpf128.
33738 (ufromfpf128): Define as weak alias.
33739 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33740 __ufromfpxf128.
33741 (ufromfpxf128): Define as weak alias.
33742 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33743 (fromfpf): Define as weak alias.
33744 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33745 __fromfpxf.
33746 (fromfpxf): Define as weak alias.
33747 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33748 __getpayloadf and define as weak alias.
33749 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33750 __roundevenf and define as weak alias.
33751 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33752 __setpayloadf.
33753 (setpayloadf): Define as weak alias.
33754 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33755 __setpayloadsigf.
33756 (setpayloadsigf): Define as weak alias.
33757 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33758 __totalorderf and define as weak alias.
33759 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33760 Rename to __totalordermagf and define as weak alias.
33761 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33762 __ufromfpf.
33763 (ufromfpf): Define as weak alias.
33764 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33765 __ufromfpxf.
33766 (ufromfpxf): Define as weak alias.
33767 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33768 __fromfpl.
33769 (fromfpl): Define as weak alias.
33770 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33771 __fromfpxl.
33772 (fromfpxl): Define as weak alias.
33773 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33774 to __getpayloadl and define as weak alias.
33775 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33776 __roundevenl and define as weak alias.
33777 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33778 __setpayloadl.
33779 (setpayloadl): Define as weak alias.
33780 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33781 __setpayloadsigl.
33782 (setpayloadsigl): Define as weak alias.
33783 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33784 to __totalorderl and define as weak alias.
33785 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33786 Rename to __totalordermagl and define as weak alias.
33787 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33788 __ufromfpl.
33789 (ufromfpl): Define as weak alias.
33790 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33791 __ufromfpxl.
33792 (ufromfpxl): Define as weak alias.
33793 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33794 __fromfpl.
33795 (fromfpl): Define as weak alias.
33796 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33797 __fromfpxl.
33798 (fromfpxl): Define as weak alias.
33799 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33800 Rename to __getpayloadl and define as weak alias.
33801 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33802 to __roundevenl and define as weak alias. Call __roundeven
33803 instead of roundeven.
33804 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33805 __setpayloadl.
33806 (setpayloadl): Define as weak alias.
33807 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33808 __setpayloadsigl.
33809 (setpayloadsigl): Define as weak alias.
33810 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33811 Rename to __totalorderl and define as weak alias.
33812 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33813 Rename to __totalordermagl and define as weak alias.
33814 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33815 __ufromfpl.
33816 (ufromfpl): Define as weak alias.
33817 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33818 __ufromfpxl.
33819 (ufromfpxl): Define as weak alias.
33820 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33821 __fromfpl.
33822 (fromfpl): Define as weak alias.
33823 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33824 __fromfpxl.
33825 (fromfpxl): Define as weak alias.
33826 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33827 __getpayloadl and define as weak alias.
33828 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33829 __roundevenl and define as weak alias.
33830 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33831 __setpayloadl.
33832 (setpayloadl): Define as weak alias.
33833 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33834 __setpayloadsigl.
33835 (setpayloadsigl): Define as weak alias.
33836 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33837 __totalorderl and define as weak alias.
33838 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33839 Rename to __totalordermagl and define as weak alias.
33840 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33841 __ufromfpl.
33842 (ufromfpl): Define as weak alias.
33843 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33844 __ufromfpxl.
33845 (ufromfpxl): Define as weak alias.
33846
29c933fb
SP
338472017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33848
503c92c3
SP
33849 * benchtests/bench-string.h (realloc_bufs): New function.
33850 (test_init): Call it.
33851 * benchtests/bench-memset-large.c (do_test): Likewise.
33852 * benchtests/bench-memset.c (do_test): Likewise.
33853
29c933fb
SP
33854 * benchtests/bench-memset-large.c: Print output in JSON
33855 format.
33856 * benchtests/bench-memset.c: Likewise.
33857
799c8d69
MF
338582017-09-14 Mike FABIAN <mfabian@redhat.com>
33859
33860 [BZ #21084]
33861 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33862 * iconvdata/Makefile: Add IBM858.
33863 * iconvdata/gconv-modules: Likewise.
33864 * iconvdata/tst-tables.sh: Likewise.
33865 * iconvdata/ibm858.c: New file.
33866 * localedata/charmaps/IBM858: Likewise.
33867
c207f7ce 338682017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
33869
33870 [BZ #22023]
33871 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33872 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33873
f28a0926
AK
338742017-09-14 Mike FABIAN <mfabian@redhat.com>
33875
33876 [BZ #22112]
33877 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33878 and add tel_int_fmt.
33879
02093e62
JM
338802017-09-14 Joseph Myers <joseph@codesourcery.com>
33881
33882 * sysdeps/generic/libm-alias-float128.h: New file.
33883 * sysdeps/generic/math-type-macros-float128.h: Include
33884 <libm-alias-float128.h>.
33885 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33886
1aae75ef
JM
338872017-09-13 Joseph Myers <joseph@codesourcery.com>
33888
33889 * sysdeps/generic/libm-alias-ldouble.h: New file.
33890 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33891 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33892 * sysdeps/generic/math-type-macros-ldouble.h: Include
33893 <libm-alias-ldouble.h>.
33894 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33895 libm_alias_ldouble.
33896
bcea7ad6
SN
338972017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33898
33899 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33900 * math/w_exp_compat.c: ... here.
33901 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33902 * math/w_expf_compat.c: ... here.
33903 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33904 * math/w_expl_compat.c: ... here.
33905 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33906 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33907 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33908 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33909
0fc56478
JM
339102017-09-13 Joseph Myers <joseph@codesourcery.com>
33911
33912 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33913 redefine.
33914 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33915 macro.
33916 (ldexpl): Only define as compat symbol for libc, not libm.
33917 (scalbnl): Define as compat symbol for libc here.
33918 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33919 define for [IS_IN (libc)].
33920 (__ldexpl_2): Remove alias.
33921 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33922 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33923 name in long_double_symbol call.
33924 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33925 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33926 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33927 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33928 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33929 Remove macro.
33930 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33931 Define as compat symbol.
33932
3ca622e4
AZ
339332017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33934
33935 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33936 * sysdeps/unix/sysv/linux/alpha/Makefile
33937 [$(subdir) = csu] (sysdep_routines): Remove rule.
33938
620ff9ee
JM
339392017-09-13 Joseph Myers <joseph@codesourcery.com>
33940
33941 * sysdeps/generic/libm-alias-double.h: New file.
33942 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33943 * sysdeps/generic/math-type-macros-double.h: Include
33944 <libm-alias-double.h>.
33945 [declare_mgen_alias] (declare_mgen_alias): Define to use
33946 libm_alias_double.
33947 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33948 (M_LIBM_NEED_COMPAT): Remove macro.
33949 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33950 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33951 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33952 code.
33953 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33954 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33955 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33956 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33957 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33958 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33959 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33960 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33961 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33962 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33963 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33964 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33965 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33966 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33967 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33968 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33969 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33970 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33971 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33972 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33973 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33974 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33975 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33976 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33977 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33978 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33979 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33980 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33981 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33982 macro.
33983 (declare_mgen_alias): New macro.
33984 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33985 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33987 (M_LIBM_NEED_COMPAT): Remove macro.
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33989 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33990 <first-versions.h>.
33991 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33992 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33993
a891caff
JM
339942017-09-12 Joseph Myers <joseph@codesourcery.com>
33995
33996 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33997 (declare_mgen_alias_2): Remove.
33998 * sysdeps/generic/math-type-macros-double.h
33999 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34000 Likewise.
34001 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34002 alias.
34003 (ldexp): Define with declare_mgen_alias.
34004 (scalbn): Likewise.
34005
a1a78204
SE
340062017-09-12 Steve Ellcey <sellcey@cavium.com>
34007
34008 * grp/initgroups.c: Include config.h.
34009 (DEFAULT_CONFIG): New macro.
34010 (internal_getgrouplist): Use DEFAULT_CONFIG.
34011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34012 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34013 (DEFAULT_DEFCONFIG): New macro.
34014 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34015 * nss/grp-lookup.c: Include config.h
34016 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34017 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34018 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34019 * manual/nss.texi: Update default values section.
34020
ef8adeb0
L
340212017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34022
34023 [BZ #21967]
34024 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34025 New.
34026 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34027 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34028 Handle MathVec_Prefer_No_AVX512.
34029 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34030 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34031 is set.
34032
a166531f
ST
340332017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34034
34035 * posix/sched_primax.c (__sched_get_priority_max): Add
34036 libc_hidden_def.
34037 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34038 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34039 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34040 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34041 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34042 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34043 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34044 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34045 Add aliases.
34046
4b7d1efb
JM
340472017-09-11 Joseph Myers <joseph@codesourcery.com>
34048
34049 * sysdeps/generic/libm-alias-float.h: New file.
34050 * sysdeps/generic/math-type-macros-float.h: Include
34051 <libm-alias-float.h>.
34052 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34053
45ff3463
L
340542017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34055
34056 [BZ #22093]
34057 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34058 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34059 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34060 (HWCAP_IMPORTANT): Likewise.
34061 (HWCAP_X86_64): New enum.
34062 (HWCAP_X86_AVX512_1): Updated.
34063 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34064 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34065 (modules-names): Add x86_64/tst-x86_64mod-1.
34066 (LDFLAGS-tst-x86_64mod-1.so): New.
34067 ($(objpfx)tst-x86_64-1): Likewise.
34068 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34069 (tst-x86_64-1-clean): Likewise.
34070 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34071 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34072
891abfd3
SP
340732017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34074
34075 * po/sv.po: Update translations.
34076 * po/fr.po: Likewise.
34077
00c3da43
ST
340782017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34079
34080 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34081 seconds.
3bdfd9fb
ST
34082 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34083 seconds.
65b22ebc 34084 * elf/rtld-Rules: Fix $(error) use.
00c3da43 34085
96480903
MF
340862017-09-09 Mike FABIAN <mfabian@redhat.com>
34087
34088 [BZ #14925]
34089 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34090 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34091 * localedata/locales/bn_BD: “Bengali” was still used in some
34092 comments. Change it to “Bangla”.
34093
4c03a696
MT
340942017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34095
34096 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34097
9c9ec581
SE
340982017-09-08 Steve Ellcey <sellcey@cavium.com>
34099
34100 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34101 thunderx2t99p1 to list of cpu names.
34102 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34103 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34104
f00bce74
SE
341052017-09-08 Steve Ellcey <sellcey@cavium.com>
34106
34107 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34108 Use strcmp instead of tunable_is_name.
34109
27342d17
JM
341102017-09-08 Joseph Myers <joseph@codesourcery.com>
34111
af1b7c8c
JM
34112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34113 (F_GET_RW_HINT): New macro.
34114 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34115 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34116 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34117 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34118 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34119 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34120 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34121 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34122 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34123
27342d17
JM
34124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34125 (F_ADD_SEALS): New macro.
34126 [__USE_GNU] (F_GET_SEALS): Likewise.
34127 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34128 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34129 [__USE_GNU] (F_SEAL_GROW): Likewise.
34130 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34131
c66c9082
AZ
341322017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34133
07b4f49d
AZ
34134 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34135 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34136 * posix/glob_internal.h (__glob_pattern_type):
34137 * posix/glob.c (glob):
34138 * posix/glob_pattern_p.c (__glob_pattern_p):
34139 Use them.
34140
116f1c64
AZ
34141 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34142 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34143 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34144 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34145 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34147 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34148 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34149 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34150 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34151 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34152 * sysdeps/wordsize-64/glob.c: Likewise.
34153 * sysdeps/wordsize-64/glob64.c: Likewise.
34154 * sysdeps/wordsize-64/globfree.c: Likewise.
34155 * sysdeps/wordsize-64/globfree64.c: Likewise.
34156 * sysdeps/unix/sysv/linux/glob.c: New file.
34157 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34158 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34159 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34160 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34161 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34162 adds !GLOB_NO_OLD_VERSION as an extra condition.
34163 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34164 using relative path instead of absolute one.
34165 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34166 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34167 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34168 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34169 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34170 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34171
ffca8901
AZ
34172 [BZ #1062]
34173 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34174 (glob): Use the same scratch buffer for both getlogin_r and
34175 getpwnam_r. Don’t require preallocation of the login name. This
34176 simplifies storage allocation, and corrects the handling of
34177 long login names.
34178
5a79f975
AZ
34179 [BZ #1062]
34180 * posix/glob.c (glob): Port recent patches to platforms
34181 lacking getpwnam_r.
34182 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34183 returns an error number rather than setting errno.
34184
e00f2425
AZ
34185 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34186 instead of GCC extension.
34187 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34188 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34189 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34190
5554304f
AZ
34191 [BZ #866]
34192 [BZ #1062]
34193 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34194 * posix/bug-glob1.c: Remove file.
34195 * posix/tst-glob_symlinks.c: New file.
34196 * posix/glob.c (__lstat64): New macro.
34197 (is_dir): New function.
34198 (glob, glob_in_dir): Match symlinks even if they are dangling.
34199 (link_stat, link_exists_p): Remove. All uses removed.
34200
686f2ea1
AZ
34201 [BZ #1062]
34202 [BZ #19971]
34203 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34204 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34205 All uses removed.
34206
c66c9082 34207 [BZ #1062]
914c9994 34208 CVE-2017-15671
c66c9082
AZ
34209 * posix/Makefile (routines): Add globfree, globfree64, and
34210 glob_pattern_p.
34211 * posix/flexmember.h: New file.
34212 * posix/glob_internal.h: Likewise.
34213 * posix/glob_pattern_p.c: Likewise.
34214 * posix/globfree.c: Likewise.
34215 * posix/globfree64.c: Likewise.
34216 * sysdeps/gnu/globfree64.c: Likewise.
34217 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34218 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34219 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34220 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34221 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34222 * sysdeps/wordsize-64/globfree.c: Likewise.
34223 * sysdeps/wordsize-64/globfree64.c: Likewise.
34224 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34225 [NDEBUG): Remove comments.
34226 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34227 (dirent_type): New type. Use uint_fast8_t not
34228 uint8_t, as C99 does not require uint8_t.
34229 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34230 (struct readdir_result): Use dirent_type. Do not define skip_entry
34231 unless it is needed; this saves a byte on platforms lacking d_ino.
34232 (readdir_result_type, readdir_result_skip_entry):
34233 New functions, replacing ...
34234 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 34235 these functions, which were removed. This makes the callers
c66c9082
AZ
34236 easier to read. All callers changed.
34237 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34238 (size_add_wrapv, glob_use_alloca): New static functions.
34239 (glob, glob_in_dir): Check for size_t overflow in several places,
34240 and fix some size_t checks that were not quite right.
34241 Remove old code using SHELL since Bash no longer
34242 uses this.
34243 (glob, prefix_array): Separate MS code better.
34244 (glob_in_dir): Remove old Amiga and VMS code.
34245 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34246 separate files.
34247 (glob_in_dir): Do not rely on undefined behavior in accessing
34248 struct members beyond their bounds. Use a flexible array member
34249 instead
34250 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34251 0/1. Caller changed.
34252 (glob): Fix memory leaks.
34253 * posix/glob64 (globfree64): Move to separate file.
34254 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34255 (globfree64): Remove hidden alias.
34256 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34257 oldglob.
34258 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34259 separate file.
34260 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34261 define.
34262 Move compat code to separate file.
34263 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34264 separate file.
34265
78bfa877
L
342662017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34267
34268 * resolv/tst-resolv-qtypes.c (domain): Changed to
34269 "const char domain[] =".
34270
05f0011f
JM
342712017-09-07 Joseph Myers <joseph@codesourcery.com>
34272
85bec0f2
JM
34273 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34274 version to 3.1.6.
34275
5c23ee6e
JM
34276 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34277 (TCP_MD5SIG_EXT): Likewise.
34278 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34279 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34280 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34281
05f0011f
JM
34282 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34283
7c9c5be9
MF
342842017-09-07 Mike FABIAN <mfabian@redhat.com>
34285
34286 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34287
c207f7ce 342882017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
34289
34290 [BZ #22100]
34291 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34292
507fe027
ST
342932017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34294
34295 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34296 before assuming that the file is empty. Avoid testing buffer content
34297 when nread == 0.
34298
65687ac7
AZ
342992017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34300
7bbbb4b9 34301 [BZ #18858]
65687ac7
AZ
34302 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34303 Remove define.
34304 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34305 Likewise.
34306 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34307 Likewise.
34308 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34309 Likewise.
34310 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34311 Likewise.
34312 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34313 Likewise.
34314 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34315 Likewise.
34316
ab5ac271
FW
343172017-09-06 Florian Weimer <fweimer@redhat.com>
34318
34319 * malloc/dynarray_emplace_enlarge.c
34320 (__libc_dynarray_emplace_enlarge): Add missing else.
34321
a8304730
FW
343222017-09-06 Florian Weimer <fweimer@redhat.com>
34323
34324 [BZ #22096]
34325 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34326 case of failure to obtain the global conf object.
34327
5670c4ab
FW
343282017-09-06 Florian Weimer <fweimer@redhat.com>
34329
34330 [BZ #22095]
34331 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34332 dynarray allocation failure.
34333
c77eb969
FW
343342017-09-06 Florian Weimer <fweimer@redhat.com>
34335
34336 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34337 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34338 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34339 New functions.
34340 (response): Call them. Add 'p', '6' flag processing.
34341 (test_reverse): New function.
34342 (test_get2_any): Call it.
34343 (test_no_inet6): Add 'p' test.
34344 (test_inet6): Likewise.
34345
5e9c4d17
FW
343462017-09-06 Florian Weimer <fweimer@redhat.com>
34347
34348 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34349 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34350 the QNAME.
34351 (test_gai): Adjust query names. Add additional tests.
34352 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34353 test_get2. Adjust query names. Add additional tests.
34354 (test_no_inet6): New function, extracted from threadfunc.
34355 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34356 Add additional tests.
34357
2ae5be04
MF
343582017-09-06 Mike FABIAN <mfabian@redhat.com>
34359
34360 [BZ #22070]
34361 * localedata/unicode-gen/utf8_gen.py: Set the width for
34362 characters with Prepended_Concatenation_Mark property to 1
34363 * localedata/charmaps/UTF-8: Updated using the improved script.
34364
af83ed5c
MF
343652017-09-06 Mike FABIAN <mfabian@redhat.com>
34366
34367 [BZ #21750]
34368 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34369 use the range notation for all ranges of neighbouring characters
34370 with the same width.
34371
4f3647e4
JM
343722017-09-05 Joseph Myers <joseph@codesourcery.com>
34373
34374 * sysdeps/generic/math-type-macros-double.h: Include
34375 <math-svid-compat.h>.
34376 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34377 * sysdeps/generic/math-type-macros-float.h: Include
34378 <math-svid-compat.h>.
34379 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34380 * sysdeps/generic/math-type-macros-ldouble.h: Include
34381 <math-svid-compat.h>.
34382 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34383 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34384 condition.
34385 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34386 * math/w_acosf_compat.c: Likewise.
34387 * math/w_acosh_compat.c: Likewise.
34388 * math/w_acoshf_compat.c: Likewise.
34389 * math/w_acoshl_compat.c: Likewise.
34390 * math/w_acosl_compat.c: Likewise.
34391 * math/w_asin_compat.c: Likewise.
34392 * math/w_asinf_compat.c: Likewise.
34393 * math/w_asinl_compat.c: Likewise.
34394 * math/w_atan2_compat.c: Likewise.
34395 * math/w_atan2f_compat.c: Likewise.
34396 * math/w_atan2l_compat.c: Likewise.
34397 * math/w_atanh_compat.c: Likewise.
34398 * math/w_atanhf_compat.c: Likewise.
34399 * math/w_atanhl_compat.c: Likewise.
34400 * math/w_cosh_compat.c: Likewise.
34401 * math/w_coshf_compat.c: Likewise.
34402 * math/w_coshl_compat.c: Likewise.
34403 * math/w_exp10_compat.c: Likewise.
34404 * math/w_exp10f_compat.c: Likewise.
34405 * math/w_exp10l_compat.c: Likewise.
34406 * math/w_exp2_compat.c: Likewise.
34407 * math/w_exp2f_compat.c: Likewise.
34408 * math/w_exp2l_compat.c: Likewise.
34409 * math/w_fmod_compat.c: Likewise.
34410 * math/w_fmodf_compat.c: Likewise.
34411 * math/w_fmodl_compat.c: Likewise.
34412 * math/w_hypot_compat.c: Likewise.
34413 * math/w_hypotf_compat.c: Likewise.
34414 * math/w_hypotl_compat.c: Likewise.
34415 * math/w_j0_compat.c: Likewise.
34416 * math/w_j0f_compat.c: Likewise.
34417 * math/w_j0l_compat.c: Likewise.
34418 * math/w_j1_compat.c: Likewise.
34419 * math/w_j1f_compat.c: Likewise.
34420 * math/w_j1l_compat.c: Likewise.
34421 * math/w_jn_compat.c: Likewise.
34422 * math/w_jnf_compat.c: Likewise.
34423 * math/w_jnl_compat.c: Likewise.
34424 * math/w_lgamma_r_compat.c: Likewise.
34425 * math/w_lgammaf_r_compat.c: Likewise.
34426 * math/w_lgammal_r_compat.c: Likewise.
34427 * math/w_log10_compat.c: Likewise.
34428 * math/w_log10f_compat.c: Likewise.
34429 * math/w_log10l_compat.c: Likewise.
34430 * math/w_log2_compat.c: Likewise.
34431 * math/w_log2f_compat.c: Likewise.
34432 * math/w_log2l_compat.c: Likewise.
34433 * math/w_log_compat.c: Likewise.
34434 * math/w_logf_compat.c: Likewise.
34435 * math/w_logl_compat.c: Likewise.
34436 * math/w_pow_compat.c: Likewise.
34437 * math/w_powf_compat.c: Likewise.
34438 * math/w_powl_compat.c: Likewise.
34439 * math/w_remainder_compat.c: Likewise.
34440 * math/w_remainderf_compat.c: Likewise.
34441 * math/w_remainderl_compat.c: Likewise.
34442 * math/w_sinh_compat.c: Likewise.
34443 * math/w_sinhf_compat.c: Likewise.
34444 * math/w_sinhl_compat.c: Likewise.
34445 * math/w_sqrt_compat.c: Likewise.
34446 * math/w_sqrtf_compat.c: Likewise.
34447 * math/w_sqrtl_compat.c: Likewise.
34448 * math/w_tgamma_compat.c: Likewise.
34449 * math/w_tgammaf_compat.c: Likewise.
34450 * math/w_tgammal_compat.c: Likewise.
34451 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34452 [LIBM_SVID_COMPAT].
34453 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34454 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34455 [LIBM_SVID_COMPAT].
34456 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34457 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34458 [LIBM_SVID_COMPAT].
34459 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34460 * sysdeps/i386/fpu/w_sqrt.c: New file.
34461 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34462 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34463 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34464 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34465 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34466 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34467 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34468 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34469 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34470 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34471 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34472 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34473 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34474 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34475 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34476 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34477 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34478 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34479 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34480 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34481 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34482 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34483 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34484 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34485 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34486 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34487 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34488 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34489 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34490 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34491 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34492 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34493 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34494 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34495 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34496 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34497 * sysdeps/ia64/fpu/w_log.c: Likewise.
34498 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34499 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34500 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34501 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34502 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34503 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34504 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34505 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34506 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34507 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34508 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34509 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34510 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34511 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34512 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34513 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34514 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34515 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34516 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34517 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34518 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34519 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34520 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34521 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34522 [LIBM_SVID_COMPAT].
34523 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34524 * sysdeps/ieee754/k_standard.c: Likewise.
34525 * sysdeps/ieee754/k_standardf.c: Likewise.
34526 * sysdeps/ieee754/k_standardl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34528 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34530 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34531 long_double_symbol call on [LIBM_SVID_COMPAT].
34532 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34533 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34534 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34535 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34536 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34537 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34538 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34539 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34540 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34541 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34542 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34543 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34544 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34545 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34546 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34547 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34548 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34549 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34550 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34551 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34552 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34553 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34554
05b38d64
SE
345552017-09-05 Steve Ellcey <sellcey@cavium.com>
34556
34557 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34558 * malloc/tst-mallocstate.c: Convert from test-skeleton
34559 to test-driver. Ifdef code using TEST_COMPAT macro.
34560 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34561 * math/test-matherr.c: Likewise.
34562
99d67918
JM
345632017-09-05 Joseph Myers <joseph@codesourcery.com>
34564
34565 [BZ #22086]
34566 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34567 comparing word with byte-swapped constant.
34568
c207f7ce 345692017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
34570
34571 [BZ #20498]
34572 * locale/iso-639.def: add Miskito.
34573 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34574 * localedata/locales/miq_NI: New file.
34575
0a587a8a
L
345762017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 [BZ #18822]
34579 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34580 (__mkdir): Likewise.
34581 * io/chmod.c (__chmod): Add libc_hidden_def.
34582 * io/mkdir.c (__mkdir): Likewise.
34583 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34584 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34585 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34586 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34587
f3a129b8
JM
345882017-09-04 Joseph Myers <joseph@codesourcery.com>
34589
1650e192
JM
34590 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34591 version to 4.13.
34592
f3a129b8
JM
34593 [BZ #22082]
34594 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34595 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34596
b38042f5
FW
345972017-09-04 Florian Weimer <fweimer@redhat.com>
34598
34599 * math/math.h: Issue warning if log is defined.
34600
059b6404
JM
346012017-09-04 Joseph Myers <joseph@codesourcery.com>
34602
34603 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34604 kernel version to 4.13.
34605
b794e16b
ST
346062017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34607
34608 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
34609 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34610 parameter.
01969395
ST
34611 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34612 just <bits/types.h>.
dd2b31de 34613 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 34614 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 34615 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 34616 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
34617 * misc/preadv2.c: Include <errno.h>.
34618 * misc/preadv64v2.c: Include <errno.h>.
34619 * misc/pwritev2.c: Include <errno.h>.
34620 * misc/pwritev64v2.c: Include <errno.h>.
34621 * sysdeps/posix/preadv2.c: Include <errno.h>.
34622 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34623 Fix <unistd.h> inclusion.
34624 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34625 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
34626 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34627 __strtoul_internal): New functions.
127e7773
ST
34628 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34629 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
34630 * sysdeps/mach/hurd/i386/Makefile
34631 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34632 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34633 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
34634 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34635 __feraiseexcept_renamed to feraiseexcept instead of
34636 __GI_feraiseexcept.
56bf5497 34637 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 34638 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
34639 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34640 RWF_NOWAIT): Define to 0 if undefined already.
34641 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34642 boils down to 0.
6547ec0a
ST
34643 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34644 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 34645
5a80d39d
JM
346462017-09-01 Joseph Myers <joseph@codesourcery.com>
34647
34648 * manual/math.texi (pow10): Do not document.
34649 (pow10f): Likewise.
34650 (pow10l): Likewise.
34651 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34652 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34653 * math/libm-test-exp10.inc (pow10_test): Remove.
34654 (do_test): Do not call pow10.
34655 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34656 [NO_LONG_DOUBLE] (pow10l): Likewise.
34657 * math/w_exp10f_compat.c (pow10f): Likewise.
34658 * math/w_exp10l_compat.c (pow10l): Likewise.
34659 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34660 (pow10): Make into compat symbol.
34661 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34662 (pow10f): Make into compat symbol.
34663 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34664 (pow10l): Make into compat symbol.
34665 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34666 pow10.
34667 (CFLAGS-nldbl-pow10.c): Remove variable..
34668 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34669 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34670 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34671 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34672 Undefine and redefine.
34673 (pow10l): Make into compat symbol.
34674 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34675 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34676 * sysdeps/arm/libm-test-ulps: Likewise.
34677 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34678 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34679 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34680 * sysdeps/microblaze/libm-test-ulps: Likewise.
34681 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34682 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34683 * sysdeps/nios2/libm-test-ulps: Likewise.
34684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34685 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34686 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34687 * sysdeps/sh/libm-test-ulps: Likewise.
34688 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34689 * sysdeps/tile/libm-test-ulps: Likewise.
34690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34691
3824fc38
PP
346922017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34693
34694 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34695
b3008279
L
346962017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34697
34698 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34699 "../ChangeLog.old/ChangeLog.8".
34700 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34701 "../ChangeLog.old/ChangeLog.14".
34702
136fa185
L
347032017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34704
34705 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34706 Threads Library.
34707
c18d50a2
JM
347082017-09-01 Joseph Myers <joseph@codesourcery.com>
34709
34710 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34711
bedbd859
L
347122017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34713
34714 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34715 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34716
50c66c7a
PP
347172017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34718
34719 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34720 32 atexit handlers.
34721
a617bd11
ZW
347222017-09-01 Zack Weinberg <zackw@panix.com>
34723
34724 * math/math.h (HUGE_VAL): Improve commentary.
34725
e0d2eb5a
AZ
347262017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34727 Andreas Schwab <schwab@suse.de>
34728
34729 [BZ #21530]
34730 * include/stdio.h (__gen_tempfd): New function.
34731 * stdio-common/Makefile (routines): Add gentempfd.
34732 * stdio-common/gentempfd.c: New file.
34733 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34734 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34735 unnamed file first.
34736
f4a6be25
FW
347372017-09-01 Florian Weimer <fweimer@redhat.com>
34738
34739 [BZ #21915]
34740 [BZ #21922]
34741 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34742 result to determine success or failure, not the errno value.
34743 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34744 (tst-nss-files-hosts-erange): Link with -ldl.
34745 * nss/tst-nss-files-hosts-erange.c: New file.
34746 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34747 (do_test): Add NO_DATA tests.
34748 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34749 (do_test): Call it.
34750
5f8340f5
FW
347512017-09-01 Florian Weimer <fweimer@redhat.com>
34752
34753 [BZ #21922]
34754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34755 coming from gethostbyname2_r.
34756
65329bd2
FW
347572017-09-01 Florian Weimer <fweimer@redhat.com>
34758
34759 * support/namespace.h (struct support_chroot_configuration): Add
34760 hosts, host_conf.
34761 (struct support_chroot): Add path_hosts, path_host_conf.
34762 * support/support_chroot.c (write_file): New function.
34763 (support_chroot_create): Call it to process /etc/resolv.conf,
34764 /etc/hosts, /etc/host.conf.
34765 (support_chroot_free): Update.
34766
a2881ef0
FW
347672017-09-01 Florian Weimer <fweimer@redhat.com>
34768
34769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34770 status indicates it is set.
34771
ad816a5e
FW
347722017-09-01 Florian Weimer <fweimer@redhat.com>
34773
63b52889 34774 [BZ #20532]
ad816a5e
FW
34775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34776 function lookup failures more reliable.
34777
53250a21
FW
347782017-09-01 Florian Weimer <fweimer@redhat.com>
34779
34780 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34781 (getcanonname): Likewise.
34782 (gaih_inet): Likewise.
34783
924b121c
FW
347842017-09-01 Florian Weimer <fweimer@redhat.com>
34785
34786 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34787 (getcanonname): Likewise.
34788 (gaih_inet): Likewise.
34789
d9ff799a 347902017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 34791 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
34792
34793 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34794 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34795 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34796 (IREG_SIZE, OREG_SIZE): New macros.
34797 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34798 (IREG_SIZE, OREG_SIZE): New macros.
34799 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34800 (IREG_SIZE): New macro.
34801 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34802 (IREG_SIZE): New macro.
34803 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34804 New includes.
34805 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34806 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34807 (__CONCATX): Handle exceptions correctly on large values that may
34808 set FE_INVALID.
34809 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34810 Initialize if not already set.
b39d961c 34811 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 34812
102dde84
AZ
348132017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34814
34815 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34816 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34817 Likewise.
34818 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34819 Likewise.
34820 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34821 Likewise.
34822 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34823 Likewise.
34824 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34825 Likewise.
34826 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34827 Likewise.
34828 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34829 Likewise.
34830 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34831 (NO_CANCELLATION): Likewise.
34832 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34833 Likewise.
34834 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34835 Likewise.
34836 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34837 Likewise.
34838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34839 (NO_CANCELLATION): Likewise.
34840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34841 (NO_CANCELLATION): Likewise.
34842 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34843 Likewise
34844 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34845 Likewise.
34846 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34847 Likewise.
34848 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34849 Likewise.
34850 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34851 hidden prototype.
34852 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34853 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34854
9eee633b
SE
348552017-08-31 Steve Ellcey <sellcey@cavium.com>
34856
34857 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34858 in resolver call.
34859
65284eb7
FW
348602017-08-31 Florian Weimer <fweimer@redhat.com>
34861
34862 * include/libc-symbols.h (internal_function): Remove.
34863
41ad5ca6
FW
348642017-08-31 Florian Weimer <fweimer@redhat.com>
34865
34866 * stdlib/fmtmsg.c (internal_addseverity): Remove
34867 internal_function.
34868
2fa6d086
FW
348692017-08-31 Florian Weimer <fweimer@redhat.com>
34870
34871 * stdio-common/printf_fp.c (group_number): Remove
34872 internal_function.
34873 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34874
b41bd5bc
FW
348752017-08-31 Florian Weimer <fweimer@redhat.com>
34876
34877 * posix/fnmatch.c (internal_function): Remove definition.
34878 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34879 * posix/regcomp.c (peek_token, init_word_char)
34880 (duplicate_node_closure, fetch_token, peek_token)
34881 (peek_token_bracket, build_range_exp, build_collating_symbol):
34882 Likewise.
34883 * posix/regex_internal.c (re_string_construct_common)
34884 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34885 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34886 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34887 (re_string_translate_buffer, re_string_reconstruct)
34888 (re_string_peek_byte_case, re_string_fetch_byte_case)
34889 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34890 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34891 (re_node_set_add_intersect, re_node_set_init_union)
34892 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34893 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34894 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34895 (re_acquire_state_context): Likewise.
34896 * posix/regex_internal.h (internal_function): Remove definition.
34897 (re_string_realloc_buffers, build_wcs_buffer)
34898 (build_wcs_upper_buffer, build_upper_buffer)
34899 (re_string_translate_buffer, re_string_context_at)
34900 (re_string_char_size_at, re_string_wchar_at)
34901 (re_string_elem_size_at): Likewise.
34902 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34903 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34904 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34905 (re_search_internal, re_search_2_stub, re_search_stub)
34906 (re_copy_regs, prune_impossible_nodes, check_matching)
34907 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34908 (free_fail_stack_return, sift_states_iter_mb)
34909 (sift_states_backward, build_sifted_states)
34910 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34911 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34912 (check_subexp_limits, sift_states_bkref, merge_state_array)
34913 (find_recover_state, transit_state, merge_state_with_log)
34914 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34915 (transit_state_mb, transit_state_bkref, get_subexp)
34916 (get_subexp_sub, find_subexp_node, check_arrival)
34917 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34918 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34919 (check_node_accept_bytes, find_collation_sequence_value)
34920 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34921 (acquire_init_state_context, check_halt_node_context)
34922 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34923 (sub_epsilon_src_nodes): Likewise.
34924 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34925 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34926 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34927 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34928 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34929 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34930 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34931 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34932 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34933 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34934 (PREADV): Likewise.
34935 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34936 (PREADV): Likewise.
34937 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34938 (PWRITEV): Likewise.
34939 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34940 (PWRITEV): Likewise.
34941 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34942 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34943
83b09837
FW
349442017-08-31 Florian Weimer <fweimer@redhat.com>
34945
34946 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34947 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34948 Remove internal_function.
34949 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34950 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34951 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34952 (__deallocate_stack, __libc_pthread_init)
34953 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34954 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34955 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34956 Likewise.
34957 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34958 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34959 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34960 Likewise.
34961 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34962 (__pthread_mutex_unlock_usercnt): Likewise.
34963
116ac301
FW
349642017-08-31 Florian Weimer <fweimer@redhat.com>
34965
34966 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34967 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34968 (fts_safe_changedir): Remove internal_function.
34969 * io/ftw.c (internal_function): Remove definition.
34970 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34971
9da93bd7
FW
349722017-08-31 Florian Weimer <fweimer@redhat.com>
34973
34974 * inet/deadline.c (__deadline_current_time)
34975 (__deadline_from_timeval, __deadline_to_ms): Remove
34976 internal_function.
34977 * inet/getnameinfo.c (nrl_domainname): Likewise.
34978 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34979 * inet/inet6_option.c (add_pad): Likewise.
34980 * inet/net-internal.h (__deadline_current_time)
34981 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34982 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34983 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34984 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34985
a60eca2e
JM
349862017-08-31 Joseph Myers <joseph@codesourcery.com>
34987
c0c49d60
JM
34988 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34989 include <bits/nan.h>.
34990 * math/Makefile (headers): Remove bits/nan.h.
34991 * bits/nan.h: Remove.
34992 * sysdeps/ieee754/bits/nan.h: Likewise.
34993 * sysdeps/mips/bits/nan.h: Likewise.
34994
5ef1b213
JM
34995 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34996 not include <bits/inf.h>.
34997 * math/Makefile (headers): Remove bits/inf.h.
34998 * bits/inf.h: Remove.
34999 * sysdeps/ieee754/bits/inf.h: Likewise.
35000
a60eca2e
JM
35001 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35002 bits/huge_vall.h or bits/huge_val_flt128.h.
35003 (HUGE_VAL): Define directly here.
35004 [__USE_ISOC99] (HUGE_VALF): Likewise.
35005 [__USE_ISOC99] (HUGE_VALL): Likewise.
35006 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35007 (HUGE_VAL_F128): Likewise.
35008 * math/Makefile (headers): Remove bits/huge_val.h,
35009 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35010 * bits/huge_val.h: Remove.
35011 * bits/huge_val_flt128.h: Likewise.
35012 * bits/huge_valf.h: Likewise.
35013 * bits/huge_vall.h: Likewise.
35014 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35015 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35016 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35017 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35018 * sysdeps/sh/bits/huge_val.h: Likewise.
35019 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35020 * sysdeps/x86/bits/huge_vall.h: Likewise.
35021
17e00cc6
FW
350222017-08-31 Florian Weimer <fweimer@redhat.com>
35023
35024 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35025 internal_function.
35026 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35027 Likewise.
35028 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35029 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35030 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35031 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35032 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35033 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35034 * elf/dl-libc.c (dlerror_run): Likewise.
35035 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35036 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35037 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35038 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35039 Likewise.
35040 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35041 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35042 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35043 * elf/dl-profile.c (_dl_start_profile): Likewise.
35044 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35045 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35046 Likewise.
35047 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35048 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35049 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35050 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35051 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35052 (_dl_allocate_tls_storage): Likewise.
35053 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35054 (_dl_check_all_versions): Likewise.
35055 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35056 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35057 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35058 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35059 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35060 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35061 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35062 internal_function from __dl_start.
35063 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35064 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35065 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35066 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35067 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35068 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35069 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35070 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35071 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35072 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35073 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35074 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35075 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35076 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35077 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35078 Likewise.
35079 (struct rtld_global_ro): Remove internal_function from the
35080 _dl_lookup_symbol_x member.
35081 (_dl_symbol_value): Remove. No longer defined anywhere.
35082 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35083 internal_function.
35084 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35085 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35086 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35087 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35088 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35089 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35090 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35091 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35092 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35093 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35094 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35095 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35096
8d2f9410
FW
350972017-08-31 Florian Weimer <fweimer@redhat.com>
35098
35099 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35100 Remove internal_function.
35101 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35102 Likewise.
35103 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35104 Likewise.
35105
86e4919f
FW
351062017-08-31 Florian Weimer <fweimer@redhat.com>
35107
35108 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35109 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35110 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35111
59bd52b0
FW
351122017-08-31 Florian Weimer <fweimer@redhat.com>
35113
35114 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35115 (__gai_enqueue_request): Remove internal_function.
35116 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35117 (__gai_remove_request, __gai_notify, __gai_notify_only)
35118 (__gai_sigqueue): Likewise.
35119 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35120 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35121 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35122 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35123 Likewise.
35124
fc3d9497
FW
351252017-08-31 Florian Weimer <fweimer@redhat.com>
35126
35127 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35128 * include/dirent.h (__opendirat, __getdents, __getdents64)
35129 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35130 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35131 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35132 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35133 Likewise.
35134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35135
18c54fac
FW
351362017-08-31 Florian Weimer <fweimer@redhat.com>
35137
35138 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35139 internal_function.
35140 (GETCWD_RETURN_TYPE): Likewise.
35141
7e01f080
FW
351422017-08-31 Florian Weimer <fweimer@redhat.com>
35143
35144 * include/time.h (__tz_compute, __strptime_internal): Remove
35145 internal_function.
35146 * time/strptime_l.c (__strptime_internal): Likewise.
35147 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35148
d7ccc6c9
FW
351492017-08-31 Florian Weimer <fweimer@redhat.com>
35150
35151 * iconv/gconv.c (__gconv): Remove internal_function.
35152 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35153 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35154 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35155 (__gconv_release_cache): Likewise.
35156 * iconv/gconv_close.c (__gconv_close): Likewise.
35157 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35158 (read_conf_file, __gconv_get_path): Likewise.
35159 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35160 (__gconv_release_step, gen_steps, increment_counter)
35161 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35162 (__gconv_close_transform, free_modules_db): Likewise.
35163 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35164 Likewise.
35165 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35166 (__gconv_find_transform, __gconv_lookup_cache)
35167 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35168 (__gconv_close_transform, __gconv_release_cache)
35169 (__gconv_loaded_object, __gconv_release_shlib)
35170 (__gconv_compare_alias): Likewise.
35171 * iconv/gconv_open.c (__gconv_open): Likewise.
35172 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35173 * iconv/iconvconfig.c (add_module): Likewise.
35174 * intl/dcigettext.c (plural_lookup, guess_category_value)
35175 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35176 * intl/eval-plural.h (plural_eval): Likewise.
35177 * intl/finddomain.c (_nl_find_domain): Likewise.
35178 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35179 (_nl_load_domain, _nl_find_msg): Likewise.
35180 (internal_function): Remove definition.
35181 * intl/loadinfo.h (internal_function): Likewise.
35182 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35183 internal_function.
35184 * intl/localealias.c (internal_function): Remove definition.
35185 (read_alias_file): Remove internal_function.
35186 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35187 * intl/plural-exp.h (internal_function): Remove definition.
35188 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35189 internal_function.
35190 * intl/plural.c: Regenerate.
35191 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35192 * locale/coll-lookup.c (__collidx_table_lookup)
35193 (__collseq_table_lookup): Likewise.
35194 * locale/coll-lookup.h (__collidx_table_lookup)
35195 (__collseq_table_lookup): Likewise.
35196 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35197 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35198 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35199 (_nl_unload_locale): Likewise.
35200 * locale/localeinfo.h (struct __locale_data): Remove
35201 internal_function from cleanup member.
35202 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35203 (_nl_remove_locale, _nl_load_locale_from_archive)
35204 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35205 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35206 (_nl_cleanup_time): Remove internal_function.
35207 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35208 (_nl_parse_alt_digit): Likewise.
35209 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35210 (_nl_select_era_entry): Likewise.
35211 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35212 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35213 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
35214 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35215 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 35216
dab0eece
FW
352172017-08-31 Florian Weimer <fweimer@redhat.com>
35218
35219 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35220 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35221 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35222 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35223 Likewise.
35224 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35225 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35226 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35227 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35228 Likewise.
35229 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35230
ab5bf7cf
FW
352312017-08-31 Florian Weimer <fweimer@redhat.com>
35232
35233 * misc/getttyent.c (skip, value): Remove internal_function.
35234 * misc/syslog.c (openlog_internal): Likewise.
35235 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35236
75b3047e
FW
352372017-08-31 Florian Weimer <fweimer@redhat.com>
35238
35239 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35240 (__nss_rewrite_field): Remove internal_function.
35241 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35242 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35243 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35244 * nss/nsswitch.c (nss_parse_file, nss_getline)
35245 (nss_parse_service_list, nss_new_service): Likewise.
35246 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35247 * nss/valid_field.c (__nss_valid_field): Likewise.
35248 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35249
0c71122c
FW
352502017-08-31 Florian Weimer <fweimer@redhat.com>
35251
35252 * malloc/arena.c (__malloc_fork_lock_parent)
35253 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35254 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35255 internal_function from defintions.
35256 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35257 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35258 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35259 internal_function from declarations.
35260 * malloc/malloc.c (internal_function): Do not define.
35261 (mem2mem_check): Remove internal_function from declaration.
35262 (munmap_chunk, mremap_chunk): Remove internal_function.
35263 * malloc/mtrace.c (tr_where): Likewise.
35264
ca4ec803
FW
352652017-08-31 Florian Weimer <fweimer@redhat.com>
35266
35267 * include/rpc/pmap_clnt.h (__get_socket): Remove
35268 internal_function.
35269 * sunrpc/auth_des.c (synchronize): Likewise.
35270 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35271 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35272 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35273 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35274 (key_call): Likewise.
35275 * sunrpc/pm_getport.c (__get_socket): Likewise.
35276 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35277 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35278 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35279 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35280 (invalidate): Likewise.
35281 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35282 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35283 (set_input_fragment, get_input_bytes): Likewise.
35284
24cffce7
FW
352852017-08-31 Florian Weimer <fweimer@redhat.com>
35286
35287 * malloc/malloc.c (_int_free): Remove locked variable and related
35288 asserts.
35289
ecd0747d
L
352902017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35291
35292 [BZ #22051]
35293 * Makerules (build-module-helper-objlist): Filter out
35294 $(elf-objpfx)sofini.os.
35295 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35296 needed.
35297
5f0704b6
FW
352982017-08-31 Florian Weimer <fweimer@redhat.com>
35299
35300 * libio/fcloseall.c: Assume weak_alias is defined.
35301 * libio/feof.c: Likewise.
35302 * libio/fileno.c: Likewise.
35303 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35304 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35305 definitions.
35306 (_IO_file_open): Call __open directly.
35307 (_IO_new_file_sync): Assume ESPIPE is defined.
35308 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35309 (_IO_new_file_write): Call __write directly.
35310 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35311 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35312 * libio/genops.c: Assume _LIBC is defined.
35313 (save_for_backup): Remove internal_function.
35314 * libio/getc.c: Assume weak_alias is defined.
35315 * libio/getwc.c: Likewise.
35316 * libio/iofclose.c: Assume _LIBC is defined.
35317 * libio/iofdopen.c: Likewise.
35318 (_IO_fcntl): Remove macro definition.
35319 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35320 Call __fcntl directly.
35321 * libio/iofflush.c: Assume weak_alias is defined.
35322 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35323 defined.
35324 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35325 * libio/iofgets.c: Likewise.
35326 * libio/iofopen.c: Assume _LIBC is defined.
35327 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35328 * libio/iofputs.c: Assume weak_alias is defined.
35329 * libio/iofread.c: Likewise.
35330 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35331 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35332 * libio/ioftell.c: Assume weak_alias is defined.
35333 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35334 * libio/iofwide.c: Assume _LIBC is defined.
35335 (_IO_fwide): Drop SHARED conditional because it is implied by
35336 SHLIB_COMPAT.
35337 * libio/iofwrite.c: Assume weak_alias is defined.
35338 * libio/iogetdelim.c: Likewise.
35339 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35340 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35341 (_IO_getwline): Call __wmemcpy directly.
35342 * libio/iopopen.c: Assume _LIBC is defined.
35343 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35344 (_IO_close): Remove macro definitions.
35345 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35346 _exit directly.
35347 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35348 directly.
35349 * libio/ioputs.c: Assume weak_alias is defined.
35350 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35351 * libio/iosetbuffer.c: Assume weak_alias is defined.
35352 * libio/iosetvbuf.c: Likewise.
35353 * libio/ioungetc.c: Likewise.
35354 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35355 libc_hidden_def, libc_hidden_weak, NULL are defined.
35356 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35357 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35358 defined.
35359 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35360 definitions.
35361 (_IO_old_file_init_internal): Drop SHARED conditional because it
35362 is implied by SHLIB_COMPAT.
35363 (_IO_old_file_fopen): Call __open directly.
35364 (_IO_old_file_sync): Assume ESPIPE is defined.
35365 (_IO_old_file_write): Call __write directly.
35366 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35367 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35368 Call __fcntl directly.
35369 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35370 (_IO_old_fgetpos): Assume EIO is defined.
35371 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35372 (_IO_old_fgetpos64): Assume EIO is defined.
35373 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35374 (_IO_old_fsetpos): Assume EIO is defined.
35375 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35376 (_IO_old_fsetpos64): Assume EIO is defined.
35377 * libio/oldiopopen.c: Assume _LIBC is defined.
35378 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35379 (_IO_close): Remove macro definitions.
35380 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35381 directly.
35382 (_IO_old_proc_close): Call __close, __waitpid directly.
35383 * libio/put.c: Assume weak_alias is defined.
35384 * libio/stdfiles.c: Assume _LIBC is defined.
35385 * libio/stdio.c: Likewise.
35386 * libio/wfileops.c: Likewise.
35387 (_IO_wfile_sync): Assume ESPIPE is defined.
35388 * libio/wgenops.c: Assume _LIBC is defined.
35389 (save_for_wbackup): Remove internal_function.
35390
5129873a
FW
353912017-08-31 Florian Weimer <fweimer@redhat.com>
35392
35393 * malloc/malloc.c (top_check): Change return type to void. Remove
35394 internal_function.
35395 * malloc/hooks.c (top_check): Likewise.
35396 (malloc_check, realloc_check, memalign_check): Adjust.
35397
4fa9b3bf
JM
353982017-08-30 Joseph Myers <joseph@codesourcery.com>
35399
35400 [BZ #21457]
35401 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35402 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35403 sigcontext and namespace requirements.
35404 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35405 * sysdeps/m68k/sys/ucontext.h: Likewise.
35406 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35407 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35408 <bits/sigcontext.h>.
35409 (__ctx): Define earlier.
35410 (mcontext_t): Define structure contents rather than using struct
35411 sigcontext.
35412 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35413 __glibc_reserved1 instead of __reserved.
35414 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35415 <bits/sigcontext.h>.
35416 (__ctx): Define earlier.
35417 (mcontext_t): Define structure contents rather than using struct
35418 sigcontext.
35419 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35420 mcontext_t instead of struct sigcontext.
35421 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35422 <bits/sigcontext.h>.
35423 (__ctx): Define earlier.
35424 (mcontext_t): Define structure contents rather than using struct
35425 sigcontext.
35426 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35427 <bits/sigcontext.h>.
35428 (__ctx): Define earlier.
35429 (mcontext_t): Define structure contents rather than using struct
35430 sigcontext.
35431 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35432 mcontext_t instead of struct sigcontext.
35433 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35434 mcontext_t instead of struct sigcontext.
35435 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35436 <bits/sigcontext.h>.
35437 (__ctx): New macro.
35438 (struct __ia64_fpreg_mcontext): New type.
35439 (mcontext_t): Define structure contents rather than using struct
35440 sigcontext.
35441 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35442 (uc_sigmask): Define using __ctx.
35443 (uc_stack): Likewise.
35444 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35445 <bits/sigcontext.h>.
35446 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35447 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35448 <bits/sigcontext.h>.
35449 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35450 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35451 <bits/sigcontext.h>.
35452 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35453 <bits/sigcontext.h>.
35454 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35455 <bits/sigcontext.h>.
35456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35457 <bits/sigcontext.h>.
35458 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35459 <bits/sigcontext.h>.
35460 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35461 <bits/sigcontext.h>.
35462 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35463 <bits/sigcontext.h>.
35464 (__ctx): Define earlier.
35465 (mcontext_t): Define structure contents rather than using struct
35466 sigcontext.
35467 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35468 <bits/sigcontext.h>. Include <bits/types.h>.
35469 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35470 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35471 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35472 (test-xfail-UNIX98/signal.h/conform): Likewise.
35473 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35474 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35475 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35476 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35477 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35478 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35479 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35480 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35481 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35482
5898f454
FW
354832017-08-30 Florian Weimer <fweimer@redhat.com>
35484
35485 * malloc/dynarray_emplace_enlarge.c
35486 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35487 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35488 * malloc/tst-dynarray.c (test_long_overflow): New function.
35489 (do_test): Call it.
35490
a9da0bb2
FW
354912017-08-30 Florian Weimer <fweimer@redhat.com>
35492
35493 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35494 (set_arena_corrupt): Remove definitions.
35495 (mtrim): Do not check for corrupt arena.
35496 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35497 Likewise.
35498
ac3ed168
FW
354992017-08-30 Florian Weimer <fweimer@redhat.com>
35500
35501 [BZ #21754]
35502 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35503 check_action.
35504 (ptmalloc_init): Do not set or use check_action.
35505 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35506 call to malloc_printerr. Remove return statement.
35507 (free_check): Likewise. Remove arena unlock.
35508 (top_check): Update comment. Adjust call to malloc_printerr.
35509 Remove heap repair code.
35510 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35511 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35512 (sysmalloc): Adjust call to malloc_printerr.
35513 (munmap_chunk, __libc_realloc): Likewise. Remove return
35514 statement.
35515 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35516 Remove errout label and corresponding gotos.
35517 (_int_free): Likewise. Remove arena unlock.
35518 (do_set_mallopt_check): Do not set check_action.
35519 (malloc_printerr): Adjust parameter list. Do not mark arena as
35520 corrupt.
35521 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35522 comment.
35523 * manual/probes.texi (Memory Allocation Probes): Remove
35524 memory_mallopt_check_action.
35525
44bcba80
SE
355262017-08-30 Steve Ellcey <sellcey@cavium.com>
35527
35528 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35529 Use pointer to uint64_t instead of long int for sp.
35530
ec2c1fce
FW
355312017-08-30 Florian Weimer <fweimer@redhat.com>
35532
35533 [BZ #21754]
35534 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35535 without printing a backtrace. Do not leak any information in the
35536 error message.
35537 * manual/memory.texi (Heap Consistency Checking): Update.
35538 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35539
9ce673b6
FW
355402017-08-30 Florian Weimer <fweimer@redhat.com>
35541
35542 Do not scale NPTL tests with available number of CPUs.
35543 * nptl/tst-cond16.c (count): Set to constant value of 8.
35544 * nptl/tst-cond18.c (count): Likewise.
35545
2f1aef19
JM
355462017-08-29 Joseph Myers <joseph@codesourcery.com>
35547
35548 [BZ #22035]
35549 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35550 Define to take a second argument that is a macro that
35551 concatentates a suffix, not the suffix itself.
35552 (__CONCAT_d): New macro.
35553 (__CONCAT_f): Likewise.
35554 (__CONCAT_l): Likewise.
35555
8325b477
PP
355562017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35557
35558 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35559 by child.
35560
319cbbf6
AZ
355612017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35562 Aurelien Jarno <aurelien@aurel32.net>
35563 Maciej W. Rozycki <macro@imgtec.com>
35564
35565 [BZ #21956]
35566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35567 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35568 `mips16-syscall6' and `mips16-syscall7'.
35569 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35570 (CFLAGS-mips16-syscall7.c): Remove.
35571 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35572 Remove `__mips16_syscall5', `__mips16_syscall6' and
35573 `__mips16_syscall7'.
35574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35575 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35576 `__mips_syscall_return'.
35577 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35578 (__mips16_syscall1): Likewise.
35579 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35580 (__mips16_syscall2): Likewise.
35581 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35582 (__mips16_syscall3): Likewise.
35583 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35584 (__mips16_syscall4): Likewise.
35585 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35586 Remove.
35587 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35588 Remove.
35589 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35590 Remove.
35591 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35592 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35593 `__mips16_syscall5'. Remove prototype.
35594 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35595 `__mips16_syscall6'. Remove prototype.
35596 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35597 `__mips16_syscall7'. Remove prototype.
35598 (__nomips16, __mips16_syscall_return): Move to...
35599 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35600 (__nomips16, __mips_syscall_return): ... here.
35601 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35602 `__mips16_syscall_return' to `__mips_syscall_return'.
35603 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35604 `internal_syscall##nr'.
35605 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35606 `internal_syscall##nr'.
35607 (FORCE_FRAME_POINTER): Remove.
35608 (__mips_syscall5): New prototype.
35609 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35610 (__mips_syscall6): New prototype.
35611 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35612 (__mips_syscall7): New prototype.
35613 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35614 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35615 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35616 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35617 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35618 (sysdep_routines): Add libc-do-syscall.
35619 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35620 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35621
01b87c65
AZ
356222017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35623
35624 [BZ #21672]
35625 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35626 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35627 (advise_stack_range): New function.
35628 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35629 stack non required to advise_stack_range at allocatestack.c
35630
16f138a4
SN
356312017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35632
35633 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35634
251bccfa
FW
356352017-08-29 Florian Weimer <fweimer@redhat.com>
35636
35637 [BZ #22026]
35638 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35639 __end_fct. Mangle __end_fct after setting it to NULL.
35640 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35641 (modules-names, modules-names-tests): Add
35642 tst-gconv-init-failure-mod.
35643 (gconv-modules): New target.
35644 (tst-gconv-init-failure-mod.so): Link against libsupport.
35645 (tst-gconv-init-failure): Depend on gconv-modules,
35646 tst-gconv-init-failure-mod.so.
35647 * iconv/tst-gconv-init-failure-mod.c: New file.
35648 * iconv/tst-gconv-init-failure.c: Likewise.
35649 * iconv/test-gconv-modules: Likewise.
35650
e7c18b9d
FW
356512017-08-29 Florian Weimer <fweimer@redhat.com>
35652
35653 [BZ #22025]
35654 * iconv/gconv_db.c (free_derivation): Remove redundant
35655 parentheses.
35656 (gen_steps): Unconditionally mangle __btowc_fct after
35657 initialization.
35658 (increment_counter): Likewise. Do not call init_fct for internal
35659 modules.
35660
7daada03
JM
356612017-08-29 Joseph Myers <joseph@codesourcery.com>
35662
35663 [BZ #22028]
35664 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35665 (_MSUF_): Remove macro.
35666 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35667 Likewise.
35668 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35669 (__REDIRFROM_X): New macro.
35670 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35671 Likewise.
35672 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35673 (__REDIRTO_X): Likewise.
35674 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35675 arguments.
35676 (__MATH_REDIRCALL_2): Likewise.
35677 (__MATH_REDIRCALL_INTERNAL): Likewise.
35678 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35679 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35680 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35681 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35682 * math/test-finite-macros.c: New file.
35683 * math/Makefile (tests): Add test-finite-macros.
35684 (CFLAGS-test-finite-macros.c): New variable.
35685
1cf1232c
PF
356862017-08-29 Patsy Franklin <pfrankli@redhat.com>
35687 Jeff Law <law@redhat.com>
35688
35689 [BZ #22025]
35690 Mangle NULL pointers in iconv/gconv.
35691 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35692 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35693 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35694 is non-NULL before demangling the end_fct. Check for NULL
35695 end_fct after demangling.
35696 (__gconv_release_step): Demangle the end_fct before checking
35697 it for NULL. Remove assert on __shlibc_handle != NULL.
35698 (gen_steps): Don't check btowc_fct for NULL before mangling.
35699 Demangle init_fct before checking for NULL.
35700 (increment_counter): Likewise.
35701 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35702 end_fct for NULL before mangling.
35703 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35704 for NULL.
35705
c207f7ce 357062017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
35707
35708 [BZ #21971]
35709 * locale/iso-639.def: add Morisyen.
35710
42496114
GG
357112017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35712
35713 [BZ #21930]
35714 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35715 (iszero): New C++ implementation that does not use
35716 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35717 signaling nans are enabled, since __builtin_types_compatible_p
35718 is a C-only feature.
35719 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35720 defined, include ieee754_float128.h for access to the union and
35721 member ieee854_float128.ieee.
35722 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35723 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35724 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35725 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35726 options of test-math-zero on powerpc64le.
35727
5e2bc4ff
L
357282017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35729
35730 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35731 Change double to float.
35732
a48c0fb4
JM
357332017-08-28 Joseph Myers <joseph@codesourcery.com>
35734
35735 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35736 unconditional.
35737 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35738 conditional code; define contents only for [LIBM_SVID_COMPAT].
35739
ee17d4e9
FW
357402017-08-28 Florian Weimer <fweimer@redhat.com>
35741
35742 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35743 (abi-lp64_be-options): Remove.
35744 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35745 (abi-hard-options): Likewise.
35746 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35747 (abi-o32_hard-options, abi-o32_soft_2008-options)
35748 (abi-o32_hard_2008-options, abi-n32_soft-options)
35749 (abi-n32_hard-options, abi-n32_soft_2008-options)
35750 (abi-n32_hard_2008-options, abi-n64_soft-options)
35751 (abi-n64_hard-options, abi-n64_soft_2008-options)
35752 (abi-n64_hard_2008-options): Likewise.
35753 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35754 (abi-64-v1-options, abi-64-v2-options): Likewise.
35755 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35756 (abi-64-options): Likewise.
35757 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35758 (abi-64-options): Likewise.
35759 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35760 (abi-64-options): Likewise.
35761 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35762 (abi-64-options, abi-x32-options): Likewise.
35763
2dba5ce7
FW
357642017-08-28 Florian Weimer <fweimer@redhat.com>
35765
35766 Store supported list of SYS_* system calls in the source tree.
35767 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35768 (bits/syscall.h): Generate from list file.
35769 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35770 [$(subdir) = misc] (tests): Add tst-syscall-list.
35771 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35772 [$(subdir) = misc] (tst-syscall-list-macros.list)
35773 [$(subdir) = misc] (tst-syscall-list-nr.list)
35774 (tst-syscall-list-sys.list): Helper targets for new
35775 tst-syscall-list test.
35776 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35777 tst-syscall-list.sh.
35778 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35779 target. Do not include bits/syscall.d.
35780 [$(subdir) = misc] (generated): Do not update.
35781 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35782 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35783 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35784 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35785
5f3b183d
PP
357862017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35787
35788 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35789 (tst-cxa_atexit, tst-on_exit): Likewise.
35790 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35791 tst-cxa_atexit, and tst-on_exit.
35792 * stdlib/tst-atexit-common.c: New file.
35793 * stdlib/tst-atexit.c: New file.
35794 * stdlib/tst-at_quick_exit.c: New file.
35795 * stdlib/tst-cxa_atexit.c: New file.
35796 * stdlib/tst-on_exit.c: New file.
35797
2ef8d469
ST
357982017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35799
35800 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
35801 * mach/stack_chk_fail_local.c: New file.
35802 * hurd/stack_chk_fail_local.c: New file.
35803 * mach/Machrules ($(interface-library)-routines): Add
35804 stack_chk_fail_local.
99ee4d26
ST
35805 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35806 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35807 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35808 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35809 * hurd/Makefile (CFLAGS-hurdstartup.o,
35810 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 35811
7ab70c98
L
358122017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35815 (index_cpu_*, index_arch_*): Removed.
35816
39e7a5a6
SN
358172017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35818
35819 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35820 Use uint64_t instead of unsigned long.
35821
bba5c930
JM
358222017-08-25 Joseph Myers <joseph@codesourcery.com>
35823
a6ccdb08
JM
35824 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35825 [__HAVE_DISTINCT_FLOAT128].
35826
23761119
JM
35827 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35828 of <bits/math-finite.h>.
35829 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35830 inclusion of <bits/math-finite.h>.
35831 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35832 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35833 __NO_LONG_DOUBLE_MATH].
35834 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35835 (__MATH_REDIRCALL_2): Likewise.
35836 (__MATH_REDIRCALL_INTERNAL): Likewise.
35837 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35838 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35839 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35840
bba5c930
JM
35841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35842 Remove file.
35843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35844 Likewise.
35845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35846 Likewise.
35847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35848 Likewise.
35849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35850 Likewise.
35851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35852 Likewise.
35853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35858 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35859 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35860 w_sqrtf_compat-ppc32.
35861
3d7b66f6
GG
358622017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35863
35864 * math/math.h [defined __cplusplus] (issignaling): In the long
35865 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35866 is not defined. Call __issignaling, otherwise.
35867
ebd6f007
AZ
358682017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35869
35870 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35871 syscall definitions and replace __builtin_expect with __glibc_likely.
35872 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35873 syscall.
6b5c8607 35874 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
35875 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35876 definition.
35877 (PSEUDO_END): Likewise.
35878 [IS_IN (libpthread)] (CENABLE): Likewise.
35879 [IS_IN (libpthread)] (CDISABLE): Likewise.
35880 [IS_IN (libc)] (CENABLE): Likewise.
35881 [IS_IN (libc)] (CENABLE): Likewise.
35882 [IS_IN (librt)] (CDISABLE): Likewise.
35883 [IS_IN (librt)] (CDISABLE): Likewise.
35884 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35885 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35886 definition.
35887 (PSEUDO_END): Likewise.
35888 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35889 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35890 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35891 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35892 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35893 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35894 (CENABLE): Likewise.
35895 (CDISABLE): Likewise.
35896 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35897 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35898 defintion.
35899 (PSEUDO_END): Likewise.
35900 [IS_IN (libpthread)] (CENABLE): Likewise.
35901 [IS_IN (libpthread)] (CDISABLE): Likewise.
35902 [IS_IN (libc)] (CENABLE): Likewise.
35903 [IS_IN (libc)] (CENABLE): Likewise.
35904 [IS_IN (librt)] (CDISABLE): Likewise.
35905 [IS_IN (librt)] (CDISABLE): Likewise.
35906 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35907 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35908 definition.
35909 (PSEUDO_END): Likewise.
35910 [IS_IN (libpthread)] (CENABLE): Likewise.
35911 [IS_IN (libpthread)] (CDISABLE): Likewise.
35912 [IS_IN (libc)] (CENABLE): Likewise.
35913 [IS_IN (libc)] (CENABLE): Likewise.
35914 [IS_IN (librt)] (CDISABLE): Likewise.
35915 [IS_IN (librt)] (CDISABLE): Likewise.
35916 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35917 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35918 definition.
35919 (PSEUDO_END): Likewise.
35920 [IS_IN (libpthread)] (CENABLE): Likewise.
35921 [IS_IN (libpthread)] (CDISABLE): Likewise.
35922 [IS_IN (libc)] (CENABLE): Likewise.
35923 [IS_IN (libc)] (CENABLE): Likewise.
35924 [IS_IN (librt)] (CDISABLE): Likewise.
35925 [IS_IN (librt)] (CDISABLE): Likewise.
35926 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35927 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35928 definition.
35929 (PSEUDO_END): Likewise.
35930 [IS_IN (libpthread)] (CENABLE): Likewise.
35931 [IS_IN (libpthread)] (CDISABLE): Likewise.
35932 [IS_IN (libc)] (CENABLE): Likewise.
35933 [IS_IN (libc)] (CENABLE): Likewise.
35934 [IS_IN (librt)] (CDISABLE): Likewise.
35935 [IS_IN (librt)] (CDISABLE): Likewise.
35936 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35937 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35938 definition.
35939 (PSEUDO_END): Likewise.
35940 [IS_IN (libpthread)] (CENABLE): Likewise.
35941 [IS_IN (libpthread)] (CDISABLE): Likewise.
35942 [IS_IN (libc)] (CENABLE): Likewise.
35943 [IS_IN (libc)] (CENABLE): Likewise.
35944 [IS_IN (librt)] (CDISABLE): Likewise.
35945 [IS_IN (librt)] (CDISABLE): Likewise.
35946 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35947 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35948 definition.
35949 (PSEUDO_END): Likewise.
35950 [IS_IN (libpthread)] (CENABLE): Likewise.
35951 [IS_IN (libpthread)] (CDISABLE): Likewise.
35952 [IS_IN (libc)] (CENABLE): Likewise.
35953 [IS_IN (libc)] (CENABLE): Likewise.
35954 [IS_IN (librt)] (CDISABLE): Likewise.
35955 [IS_IN (librt)] (CDISABLE): Likewise.
35956 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35957 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35958 Remove definition.
35959 (PSEUDO_END): Likewise.
35960 [IS_IN (libpthread)] (CENABLE): Likewise.
35961 [IS_IN (libpthread)] (CDISABLE): Likewise.
35962 [IS_IN (libc)] (CENABLE): Likewise.
35963 [IS_IN (libc)] (CENABLE): Likewise.
35964 [IS_IN (librt)] (CDISABLE): Likewise.
35965 [IS_IN (librt)] (CDISABLE): Likewise.
35966 (SINGLE_THREAD_P): Likewise.
35967 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35968 definition.
35969 (PSEUDO_END): Likewise.
35970 [IS_IN (libpthread)] (CENABLE): Likewise.
35971 [IS_IN (libpthread)] (CDISABLE): Likewise.
35972 [IS_IN (libc)] (CENABLE): Likewise.
35973 [IS_IN (libc)] (CENABLE): Likewise.
35974 [IS_IN (librt)] (CDISABLE): Likewise.
35975 [IS_IN (librt)] (CDISABLE): Likewise.
35976 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35977 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35978 definition.
35979 (PSEUDO_END): Likewise.
35980 [IS_IN (libpthread)] (CENABLE): Likewise.
35981 [IS_IN (libpthread)] (CDISABLE): Likewise.
35982 [IS_IN (libc)] (CENABLE): Likewise.
35983 [IS_IN (libc)] (CENABLE): Likewise.
35984 [IS_IN (librt)] (CDISABLE): Likewise.
35985 [IS_IN (librt)] (CDISABLE): Likewise.
35986 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35987 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35988 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35989 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35991 definition.
35992 (PSEUDO_END): Likewise.
35993 [IS_IN (libpthread)] (CENABLE): Likewise.
35994 [IS_IN (libpthread)] (CDISABLE): Likewise.
35995 [IS_IN (libc)] (CENABLE): Likewise.
35996 [IS_IN (libc)] (CENABLE): Likewise.
35997 [IS_IN (librt)] (CDISABLE): Likewise.
35998 [IS_IN (librt)] (CDISABLE): Likewise.
35999 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36001 definition.
36002 (PSEUDO_END): Likewise.
36003 [IS_IN (libpthread)] (CENABLE): Likewise.
36004 [IS_IN (libpthread)] (CDISABLE): Likewise.
36005 [IS_IN (libc)] (CENABLE): Likewise.
36006 [IS_IN (libc)] (CENABLE): Likewise.
36007 [IS_IN (librt)] (CDISABLE): Likewise.
36008 [IS_IN (librt)] (CDISABLE): Likewise.
36009 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36010 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36011 definition.
36012 (PSEUDO_END): Likewise.
36013 [IS_IN (libpthread)] (CENABLE): Likewise.
36014 [IS_IN (libpthread)] (CDISABLE): Likewise.
36015 [IS_IN (libc)] (CENABLE): Likewise.
36016 [IS_IN (libc)] (CENABLE): Likewise.
36017 [IS_IN (librt)] (CDISABLE): Likewise.
36018 [IS_IN (librt)] (CDISABLE): Likewise.
36019 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36022 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36023 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36024 definition.
36025 (PSEUDO_END): Likewise.
36026 [IS_IN (libpthread)] (CENABLE): Likewise.
36027 [IS_IN (libpthread)] (CDISABLE): Likewise.
36028 [IS_IN (libc)] (CENABLE): Likewise.
36029 [IS_IN (libc)] (CENABLE): Likewise.
36030 [IS_IN (librt)] (CDISABLE): Likewise.
36031 [IS_IN (librt)] (CDISABLE): Likewise.
36032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36033 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36034 definition.
36035 (PSEUDO_END): Likewise.
36036 [IS_IN (libpthread)] (CENABLE): Likewise.
36037 [IS_IN (libpthread)] (CDISABLE): Likewise.
36038 [IS_IN (libc)] (CENABLE): Likewise.
36039 [IS_IN (libc)] (CENABLE): Likewise.
36040 [IS_IN (librt)] (CDISABLE): Likewise.
36041 [IS_IN (librt)] (CDISABLE): Likewise.
36042 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36043
8aa48656
SN
360442017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36045
36046 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36047
fcaaca41
L
360482017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36049
36050 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36051
376b40a2
L
360522017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36053
36054 [BZ #21982]
36055 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36056 middle and outer with size_t instead of int. Repleace %d and
36057 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36058 "MAX (outer, nchars - 64)" to support unsigned outer and
36059 nchars. Also exit loop when outer == 0.
36060
2b0b9a1c
AZ
360612017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36062
36063 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36064 * include/signal.h (__sigsuspend_nocancel): Likewise.
36065 * include/time.h (__nanosleep_nocancel): Likewise.
36066 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36067 * login/utmp_file.c: Include non cancellable syscall header.
36068 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36069 prototype.
36070
b9eaca8f
L
360712017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36072
36073 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36074 .byte sequences with AVX512F instructions.
36075 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36076 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36077 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36079 Likewise.
36080 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36081 Likewise.
36082
5a706f64
SE
360832017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36084 Steve Ellcey <sellcey@cavium.com>
36085
36086 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36087 Use PTR_REG macro in cmp instruction.
36088
b513da7e
GG
360892017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36090
36091 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36092 Change the return type of the ifunc resolver to match the return
36093 type of the target function.
36094
78ca091c
AZ
360952017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36096
b70b6026
AZ
36097 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36098 (preadv64): Likewise.
36099 (pwrite64(: Likewise.
36100 (pwritev64): Likewise.
36101
78ca091c
AZ
36102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36103 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36104 (LOAD_ARGS_0): Likewise.
36105 (LOAD_ARGS_1): Likewise.
36106 (LOAD_ARGS_2): Likewise.
36107 (LOAD_ARGS_3): Likewise.
36108 (LOAD_ARGS_4): Likewise.
36109 (LOAD_ARGS_5): Likewise.
36110 (LOAD_ARGS_6): Likewise.
36111 (LOAD_REGS_0): Likewise.
36112 (LOAD_REGS_1): Likewise.
36113 (LOAD_REGS_2): Likewise.
36114 (LOAD_REGS_3): Likewise.
36115 (LOAD_REGS_4): Likewise.
36116 (LOAD_REGS_5): Likewise.
36117 (LOAD_REGS_6): Likewise.
36118 (ASM_ARGS_0): Likewise.
36119 (ASM_ARGS_1): Likewise.
36120 (ASM_ARGS_2): Likewise.
36121 (ASM_ARGS_3): Likewise.
36122 (ASM_ARGS_4): Likewise.
36123 (ASM_ARGS_5): Likewise.
36124 (ASM_ARGS_6): Likewise.
36125 (LOAD_ARGS_TYPES_1): Likewise.
36126 (LOAD_ARGS_TYPES_2): Likewise.
36127 (LOAD_ARGS_TYPES_3): Likewise.
36128 (LOAD_ARGS_TYPES_4): Likewise.
36129 (LOAD_ARGS_TYPES_5): Likewise.
36130 (LOAD_ARGS_TYPES_6): Likewise.
36131 (LOAD_REGS_TYPES_1): Likewise.
36132 (LOAD_REGS_TYPES_2): Likewise.
36133 (LOAD_REGS_TYPES_3): Likewise.
36134 (LOAD_REGS_TYPES_4): Likewise.
36135 (LOAD_REGS_TYPES_5): Likewise.
36136 (LOAD_REGS_TYPES_6): Likewise.
36137 (TYPEFY): New define.
36138 (ARGIFY): Likewise.
36139 (internal_syscall0): Likewise.
36140 (internal_syscall1): Likewise.
36141 (internal_syscall2): Likewise.
36142 (internal_syscall3): Likewise.
36143 (internal_syscall4): Likewise.
36144 (internal_syscall5): Likewise.
36145 (internal_syscall6): Likewise.
36146 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36147 (INTERNAL_SYSCALL_NCS): Remove define.
36148 (internal_syscall1): Add define.
36149
453a493d
GG
361502017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36151
36152 * math/w_remainder_compat.c: Remove duplicate inclusion of
36153 math-svid-compat.h.
36154 * math/w_remainderf_compat.c: Likewise.
36155 * math/w_remainderl_compat.c: Likewise.
36156
f2f048a5
GG
361572017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36158
36159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36160
d9bef9c0
JM
361612017-08-22 Joseph Myers <joseph@codesourcery.com>
36162
36163 [BZ #21684]
36164 * math/tgmath.h (__floating_type): Simplify definitions.
36165 (__real_integer_type): New macro.
36166 (__complex_integer_type): Likewise.
36167 (__expr_is_real): Likewise.
36168 (__tgmath_real_type_sub): Update comment to describe handling of
36169 complex types.
36170 (__tgmath_complex_type_sub): New macro.
36171 (__tgmath_complex_type): Likewise.
36172 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36173 (__TGMATH_CF128): Use __expr_is_real.
36174 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36175 __expr_is_real.
36176 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36177 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36178 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36179 integer types.
36180
08d6eb46
AZ
361812017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36182
988f991b
AZ
36183 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36184 macro.
36185 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36186 alias.
36187 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36188 Likewise.
36189
6f33fd04
AZ
36190 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36191 nanosleep_not_cancel with __nanosleep_nocancel.
36192 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36193 (__nanosleep_nocancel): New macro.
36194 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36195 function.
36196 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36197 macro.
36198 (__nanosleep_nocancel): New prototype.
36199
08d6eb46
AZ
36200 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36201 pause_not_cancel with __pause_nocancel.
36202 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36203 (__pause_nocancel): New macro.
36204 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36205 macro.
36206 (__pause_nocancel): New prototype.
36207 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36208
ee4e992e
MS
362092017-08-22 Martin Sebor <msebor@redhat.com>
36210
36211 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36212 to return a pointer to the same type as the target function.
36213
20962acb
L
362142017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36215
36216 [BZ #18822]
36217 [BZ #21986]
36218 * include/printf.h (__printf_fphex): Add attribute_hidden.
36219 (__guess_grouping): New prototype.
36220 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36221 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36222 libc_hidden_proto and libc_hidden_def.
36223 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36224 (__vstrfmon_l): Remove the third argument passed to
36225 __guess_grouping.
36226
a16e8bc0
GG
362272017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36228
36229 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36230 definition for issignaling that does not rely on __MATH_TG,
36231 since __MATH_TG uses __builtin_types_compatible_p, which is only
36232 available in C mode.
36233 (CFLAGS-test-math-issignaling.cc): New variable.
36234 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36235 * math/test-math-issignaling.cc: New test for C++ implementation
36236 of type-generic issignaling.
36237 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36238 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36239 options of test-math-issignaling on powerpc64le.
36240
8d2ec553
L
362412017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36242
36243 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36244 building libc.a.
36245 (hidden_proto): Likewise.
36246 (hidden_tls_proto): Likewise.
36247 (__hidden_proto): Likewise.
36248
a4d57b79
FW
362492017-08-22 Florian Weimer <fweimer@redhat.com>
36250
36251 math: Statically link tests of internal functionality.
36252 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36253 atest-exp2.
36254 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36255 (gmp-objs): Remove assignment.
36256 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36257
75dfe623
JM
362582017-08-22 Joseph Myers <joseph@codesourcery.com>
36259
80f91666
JM
36260 [BZ #21987]
36261 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36262 and copy to ...
36263 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36264 ... here.
36265 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36266 ... and here.
36267
75dfe623
JM
36268 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36269 variable definitions above inclusion of ../Rules.
36270
ea99fcd0
JM
362712017-08-21 Joseph Myers <joseph@codesourcery.com>
36272
36273 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36274 case calling __builtin_unreachable.
36275
19926de9
AZ
362762017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36277
a8410a5f
AZ
36278 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36279 __waitpid_nocancel.
36280 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36281 (__waitpid_nocancel): New macro.
36282 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36283 macro.
36284 (__waitpid_nocancel): Replace macro with a function.
36285 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36286 function.
36287
7369800c
AZ
36288 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36289 __fcntl_nocancel.
36290 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36291 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36292
19926de9
AZ
36293 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36294 __writev_nocancel_nostatus.
36295 (write_call_graph): Likewise.
36296 (write_bb_counts): Likewise.
36297 * resolv/herror.c (herror): Likewise.
36298 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36299 macro.
36300 (__writev_nocancel_nostatus): New macro.
36301 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36302 Remove macro.
36303 (__writev_nocancel_nostatus): New function.
36304
813378e9
JM
363052017-08-21 Joseph Myers <joseph@codesourcery.com>
36306
df1deda6
JM
36307 Revert:
36308 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36309
36310 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36311 building libc.a.
36312 (hidden_proto): Likewise.
36313 (hidden_tls_proto): Likewise.
36314 (__hidden_proto): Likewise.
36315
831bbd55
JM
36316 [BZ #21973]
36317 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36318 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36320 Likewise.
36321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36322 Likewise.
36323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36324 Likewise.
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36326 Likewise.
36327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36329 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36330 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36331 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36332 GLIBC_2.0 sqrtl symbol.
36333
813378e9
JM
36334 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36335 [__USE_MISC] (_LIB_VERSION): Likewise.
36336 [__USE_MISC] (struct exception): Likewise.
36337 [__USE_MISC] (matherr): Likewise.
36338 [__USE_MISC] (DOMAIN): Likewise.
36339 [__USE_MISC] (SING): Likewise.
36340 [__USE_MISC] (OVERFLOW): Likewise.
36341 [__USE_MISC] (UNDERFLOW): Likewise.
36342 [__USE_MISC] (TLOSS): Likewise.
36343 [__USE_MISC] (PLOSS): Likewise.
36344 [__USE_MISC] (HUGE): Likewise.
36345 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36346 * math/math-svid-compat.h: New file.
36347 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36348 and matherrl.
36349 * include/math.h [!_ISOMAC] (__matherr): Remove.
36350 * manual/arith.texi (FP Exceptions): Do not document matherr.
36351 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36352 (tests-internal): New variable.
36353 (install-lib): Do not add libieee.a.
36354 (non-lib.a): Likewise.
36355 (extra-objs): Do not add libieee.a and ieee-math.o.
36356 (CPPFLAGS-s_lib_version.c): Remove variable.
36357 ($(objpfx)libieee.a): Remove rule.
36358 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36359 * math/ieee-math.c: Remove.
36360 * math/libm-test-support.c (matherr): Remove.
36361 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36362 and license notices. Include <math-svid-compat.h> and
36363 <shlib-compat.h>.
36364 (matherr): Undefine as macro. Use compat_symbol_reference.
36365 (_LIB_VERSION): Likewise.
36366 * math/test-matherr-2.c: New file.
36367 * math/test-matherr-3.c: Likewise.
36368 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36369 declaration.
36370 (__kernel_standard_f): Likewise.
36371 (__kernel_standard_l): Likewise.
36372 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36373 <math_private.h>. Include <math-svid-compat.h>.
36374 (_LIB_VERSION): Undefine as macro.
36375 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36376 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36377 [LIBM_SVID_COMPAT], use compat_symbol.
36378 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36379 <math_private.h>. Include <math-svid-compat.h>.
36380 (matherr): Undefine as macro.
36381 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36382 compat_symbol.
36383 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36384 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36385 compat_symbol_reference.
36386 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36387 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36388 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36389 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36390 (MATHERR_D): Remove declaration.
36391 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36392 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36393 [LIBM_BUILD] (pmatherrf): Likewise.
36394 [LIBM_BUILD] (pmatherr): Likewise.
36395 [LIBM_BUILD] (pmatherrl): Likewise.
36396 (DOMAIN): Likewise.
36397 (SING): Likewise.
36398 (OVERFLOW): Likewise.
36399 (UNDERFLOW): Likewise.
36400 (TLOSS): Likewise.
36401 (PLOSS): Likewise.
36402 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36403 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36404 compat_symbol.
36405 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36406 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36407 compat_symbol.
36408 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36409 * math/w_acos_compat.c: Likewise.
36410 * math/w_acosf_compat.c: Likewise.
36411 * math/w_acosh_compat.c: Likewise.
36412 * math/w_acoshf_compat.c: Likewise.
36413 * math/w_acoshl_compat.c: Likewise.
36414 * math/w_acosl_compat.c: Likewise.
36415 * math/w_asin_compat.c: Likewise.
36416 * math/w_asinf_compat.c: Likewise.
36417 * math/w_asinl_compat.c: Likewise.
36418 * math/w_atan2_compat.c: Likewise.
36419 * math/w_atan2f_compat.c: Likewise.
36420 * math/w_atan2l_compat.c: Likewise.
36421 * math/w_atanh_compat.c: Likewise.
36422 * math/w_atanhf_compat.c: Likewise.
36423 * math/w_atanhl_compat.c: Likewise.
36424 * math/w_cosh_compat.c: Likewise.
36425 * math/w_coshf_compat.c: Likewise.
36426 * math/w_coshl_compat.c: Likewise.
36427 * math/w_exp10_compat.c: Likewise.
36428 * math/w_exp10f_compat.c: Likewise.
36429 * math/w_exp10l_compat.c: Likewise.
36430 * math/w_exp2_compat.c: Likewise.
36431 * math/w_exp2f_compat.c: Likewise.
36432 * math/w_exp2l_compat.c: Likewise.
36433 * math/w_fmod_compat.c: Likewise.
36434 * math/w_fmodf_compat.c: Likewise.
36435 * math/w_fmodl_compat.c: Likewise.
36436 * math/w_hypot_compat.c: Likewise.
36437 * math/w_hypotf_compat.c: Likewise.
36438 * math/w_hypotl_compat.c: Likewise.
36439 * math/w_j0_compat.c: Likewise.
36440 * math/w_j0f_compat.c: Likewise.
36441 * math/w_j0l_compat.c: Likewise.
36442 * math/w_j1_compat.c: Likewise.
36443 * math/w_j1f_compat.c: Likewise.
36444 * math/w_j1l_compat.c: Likewise.
36445 * math/w_jn_compat.c: Likewise.
36446 * math/w_jnf_compat.c: Likewise.
36447 * math/w_jnl_compat.c: Likewise.
36448 * math/w_lgamma_main.c: Likewise.
36449 * math/w_lgamma_r_compat.c: Likewise.
36450 * math/w_lgammaf_main.c: Likewise.
36451 * math/w_lgammaf_r_compat.c: Likewise.
36452 * math/w_lgammal_main.c: Likewise.
36453 * math/w_lgammal_r_compat.c: Likewise.
36454 * math/w_log10_compat.c: Likewise.
36455 * math/w_log10f_compat.c: Likewise.
36456 * math/w_log10l_compat.c: Likewise.
36457 * math/w_log2_compat.c: Likewise.
36458 * math/w_log2f_compat.c: Likewise.
36459 * math/w_log2l_compat.c: Likewise.
36460 * math/w_log_compat.c: Likewise.
36461 * math/w_logf_compat.c: Likewise.
36462 * math/w_logl_compat.c: Likewise.
36463 * math/w_pow_compat.c: Likewise.
36464 * math/w_powf_compat.c: Likewise.
36465 * math/w_powl_compat.c: Likewise.
36466 * math/w_remainder_compat.c: Likewise.
36467 * math/w_remainderf_compat.c: Likewise.
36468 * math/w_remainderl_compat.c: Likewise.
36469 * math/w_scalb_compat.c: Likewise.
36470 * math/w_scalbf_compat.c: Likewise.
36471 * math/w_scalbl_compat.c: Likewise.
36472 * math/w_sinh_compat.c: Likewise.
36473 * math/w_sinhf_compat.c: Likewise.
36474 * math/w_sinhl_compat.c: Likewise.
36475 * math/w_sqrt_compat.c: Likewise.
36476 * math/w_sqrtf_compat.c: Likewise.
36477 * math/w_sqrtl_compat.c: Likewise.
36478 * math/w_tgamma_compat.c: Likewise.
36479 * math/w_tgammaf_compat.c: Likewise.
36480 * math/w_tgammal_compat.c: Likewise.
36481 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36482 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36483 * sysdeps/ieee754/k_standard.c: Likewise.
36484 * sysdeps/ieee754/k_standardf.c: Likewise.
36485 * sysdeps/ieee754/k_standardl.c: Likewise.
36486 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36488 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36489 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36493 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36494 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36496 Likewise.
36497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36498 Likewise.
36499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36501 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36502 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36503
4504783c
FW
365042017-08-21 Florian Weimer <fweimer@redhat.com>
36505
36506 [BZ #21864]
36507 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36508 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36509 Move before inclusion of ../Rules.
36510
b5889d25
FW
365112017-08-21 Florian Weimer <fweimer@redhat.com>
36512
36513 [BZ #21972]
36514 * assert/assert.h (assert): Use static_cast (bool) for C++.
36515 Use the ternary operator in the warning branch for GNU C.
36516 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36517 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36518 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36519 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36520 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36521
41e673c1
L
365222017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36523
36524 [BZ #18822]
36525 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36526 (__syscall_clock_gettime): Add attribute_hidden.
36527 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36528 (__start_context): Likewise.
36529
568ff429
L
365302017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36531
36532 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36533 building libc.a.
36534 (hidden_proto): Likewise.
36535 (hidden_tls_proto): Likewise.
36536 (__hidden_proto): Likewise.
36537
7c41b4a1
L
365382017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36539
36540 * include/libc-symbols.h (attribute_hidden): Enable hidden
36541 visibility in libc.a compiled with PIE.
36542
483d7068
L
365432017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36544
36545 [BZ #18822]
36546 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36547 Add attribute_hidden.
36548
365492017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36550
36551 [BZ #21864]
36552 * Makerules (all-nonlib): Add $(others-extras).
36553 * catgets/Makefile (others-extras): New.
36554 * elf/Makefile (others-extras): Likewise.
36555 * nss/Makefile (others-extras): Likewise.
36556
54e4b8f2
L
365572017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36558
36559 [BZ #18822]
36560 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36561 * elf/dl-open.c: Include <libc-internal.h>.
36562 (__libc_multiple_libcs): Removed.
36563 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36564 <hp-timing.h>.
36565 * include/libc-internal.h (__libc_multiple_libcs): New.
36566 * misc/sbrk.c: Include <libc-internal.h>.
36567 (__libc_multiple_libcs): Removed.
36568
1dbbb1ec
L
365692017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36570
36571 [BZ #18822]
36572 * grp/initgroups.c (__nss_group_database): Removed.
36573 (__nss_initgroups_database): Likewise.
36574 * nscd/gai.c (__nss_hosts_database): Likewise.
36575 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36576 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36577 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36578 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36579 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36580 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36581 attribute_hidden.
36582 * nss/nsswitch.c (__nss_database_custom): Define only if
36583 USE_NSCD is defined.
36584 (__nss_configure_lookup): Use __nss_database_custom only if
36585 USE_NSCD is defined.
36586 * nss/nsswitch.h (__nss_database_custom): Declare only if
36587 USE_NSCD is defined. Add attribute_hidden.
36588 (__nss_setent): Add attribute_hidden.
36589 (__nss_endent): Likewise.
36590 (__nss_getent_r): Likewise.
36591 (__nss_getent): Likewise.
36592 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36593
2585d7b8
L
365942017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36595
36596 [BZ #18822]
36597 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36598 libc_hidden_proto and libc_hidden_def.
36599
c8dfa99c
L
366002017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36601
36602 [BZ #18822]
36603 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36604 Add libc_hidden_proto.
36605 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36606 Add libc_hidden_def.
36607
7ed87317
L
366082017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36609
36610 [BZ #21974]
36611 * gmon/Makefile (routines): Remove bb_init_func and
36612 bb_exit_func.
36613 (elide-routines.os): Removed.
9476b904
L
36614 * gmon/bb_exit_func.c: Likewise.
36615 * gmon/bb_init_func.c: Likewise.
7ed87317
L
36616 * include/sys/gmon.h (__bb): Likewise.
36617 (__bb_init_func): Likewise.
36618 (__bb_exit_func): Likewise.
91695eb1 36619 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 36620
94e6ba15
L
366212017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36622
36623 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36624 * include/setjmp.h (____longjmp_chk): Here. Add
36625 attribute_hidden.
36626
7550717e
L
366272017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36628
36629 [BZ #18822]
36630 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36631 attribute_hidden.
36632 (__strspn_sse2): Likewise.
36633
0bb2fabc
AZ
366342017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36635
c181840c
AZ
36636 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36637 (close_not_cancel_no_status): Likewise.
36638 (__close_nocancel): New macro.
36639 (__close_nocancel_nostatus): Likewise.
36640 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36641 macro.
36642 (close_not_cancel): Likewise.
36643 (close_not_cancel_no_status): Likewise.
36644 (__close_nocancel): New prototype.
36645 (__close_nocancel_nostatus): New function.
36646 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36647 * catgets/open_catalog.c (__open_catalog): Replace
36648 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36649 * gmon/gmon.c (write_gmon): Likewise.
36650 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36651 * intl/loadmsgcat.c (close): Likewise.
36652 * io/ftw.c (open_dir_stream): Likewise.
36653 (ftw_startup): Likewise.
36654 * libio/fileops.c (_IO_file_open): Likewise.
36655 (_IO_file_close_mmap): Likewise.
36656 (_IO_file_close): Likewise.
36657 * libio/iopopen.c (_IO_dup2): Likewise.
36658 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36659 * locale/loadlocale.c (_nl_load_locale): Likewise.
36660 * login/utmp_file.c (pututline_file): Likewise.
36661 (endutent_file): Likewise.
36662 * misc/daemon.c (daemon): Likewise.
36663 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36664 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36665 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36666 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36668 * nscd/nscd_helper.c (open_socket): Likewise.
36669 (__nscd_open_socket): Likewise.
36670 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36671 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36672 (__nscd_innetgr): Likewise.
36673 * nss/nss_db/db-open.c (internal_setent): Likewise.
36674 * resolv/res-close.c (__res_iclose): Likewise.
36675 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36676 * sysdeps/posix/closedir.c (__closedir): Likewise.
36677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36678 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36679 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36680 (opendir_tail): Likewise.
36681 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36682 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36683 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36684 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36685 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36686 (gethostid): Likewise.
36687 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36688 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36689 Likewise.
36690 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36691 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36692 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36693 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36694 Likewise.
36695 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36696 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36697 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36698 Likewise.
36699 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36700 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36701 Likewise.
36702 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36703 Likewise.
36704 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36706 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36707 __close_nocancel.
36708
0bb2fabc
AZ
36709 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36710 (openat_not_cancel_3): Likewise.
36711 (openat64_not_cancel_3): Likewise).
36712 (openat_not_cancel_3): Likewise).
36713 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36714 macro.
36715 (openat_not_cancel_3): Likewise.
36716 (openat64_not_cancel): Likewise.
36717 (openat64_not_cancel_3): Likewise.
36718 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36719 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36720 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36721 __open{64}_nocancel.
36722 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36723 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36724 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36725
65a086db
L
367262017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36727
36728 [BZ #18822]
36729 * include/argz.h (__argz_create_sep): New function prototype.
36730 (__argz_append): Likewise.
36731 (__argz_add): Likewise.
36732 (__argz_add_sep): Likewise.
36733 (__argz_delete): Likewise.
36734 (__argz_insert): Likewise.
36735 (__argz_replace): Likewise.
36736 * string/argz.h (__argz_create_sep): Removed.
36737 (__argz_append): Likewise.
36738 (__argz_add): Likewise.
36739 (__argz_add_sep): Likewise.
36740 (__argz_delete): Likewise.
36741 (__argz_insert): Likewise.
36742 (__argz_replace): Likewise.
36743
62753d2c
L
367442017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36745
36746 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36747 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36748 (GNU_PROPERTY_STACK_SIZE): Likewie.
36749 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36750 (GNU_PROPERTY_LOPROC): Likewise.
36751 (GNU_PROPERTY_HIPROC): Likewise.
36752 (GNU_PROPERTY_LOUSER): Likewise.
36753 (GNU_PROPERTY_HIUSER): Likewise.
36754 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36755 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36756 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36757 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36758 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36759 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36760 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36761 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36762 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36763 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36764 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36765 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36766 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36767 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36768 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36769 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36770 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36771 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36772 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36773 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36774 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36775 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36776 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36777
6913ad65
GG
367782017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36779
36780 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36781 in C++ mode.
36782
47a67213
GG
367832017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36784
36785 [BZ #21930]
36786 * math/math.h (isinf): Check if in C or C++ mode before using
36787 __builtin_types_compatible_p, since this is a C mode feature.
36788
a748eb31
AZ
367892017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36790
c647fb88
AZ
36791 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36792 (__write_nocancel): New macro.
36793 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36794 Rewrite as a function prototype.
36795 (write_not_cancel): Remove macro.
36796 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36797 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36798 (write_gmon): Likewise.
36799 * libio/fileops.c (_IO_new_file_write): Likewise.
36800 * login/utmp_file.c (pututline_file): Likewise.
36801 (updwtmp_file): Likewise.
36802 * stdio-common/psiginfo.c (psiginfo): Likewise.
36803 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36804 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36805 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36806 Likewise.
36807 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36808 Likewise.
36809
a748eb31
AZ
36810 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36811 (__read_nocancel): New macro.
36812 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36813 __read_nocancel.
36814 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36815 macro.
36816 (__read_nocancel): New prototype.
36817 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36818 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36819 with __read_nocancel.
36820 * intl/loadmsgcat.c (read): Likewise.
36821 * libio/fileops.c (_IO_file_read): Likewise.
36822 * locale/loadlocale.c (_nl_load_locale): Likewise.
36823 * login/utmp_file.c (getutent_r_file): Likewise.
36824 (internal_getut_r): Likewise.
36825 (getutline_r_file): Likewise.
36826 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36827 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36828 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36830 Likewise.
36831 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36832 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36833 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36834 Likewise.
36835 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36836 Likewise.
36837 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36838 Likewise.
36839 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36840 Likewise.
36841 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36842
098b9dd4
L
368432017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36844
36845 [BZ #21966]
36846 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36847 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36848 usable.
36849
a3fe6a20
DD
368502017-08-17 DJ Delorie <dj@redhat.com>
36851
36852 * bug17079.c: Update to new test harness.
36853 * test-digits-dots.c: Likewise.
36854 * test-netdb.c: Likewise.
36855 * tst-field.c: Likewise.
36856 * tst-nss-getpwent.c: Likewise.
36857 * tst-nss-static.c: Likewise.
36858 * tst-nss-test1.c: Likewise.
36859 * tst-nss-test2.c: Likewise.
36860 * tst-nss-test3.c: Likewise.
36861 * tst-nss-test4.c: Likewise.
36862 * tst-nss-test5.c: Likewise.
36863
c2284574
AZ
368642017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36865
36866 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36867 (open_not_cancel_2): Likewise.
36868 (open_nocancel): New macro.
36869 (open64_nocancel): Likewise.
36870 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36871 (open_not_cancel_2): Likewise.
36872 (__open_nocancel): New prototype.
36873 (__open64_nocancel): Likewise.
36874 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36875 __open_nocancel.
36876 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36877 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36878 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36879 with __open_nocancel.
36880 * csu/check_fds.c (check_one_fd): Likewise.
36881 * gmon/gmon.c (write_gmon): Likewise.
36882 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36883 * intl/loadmsgcat.c (open): Likewise.
36884 * libio/fileops.c (_IO_file_open): Likewise.
36885 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36886 * locale/loadlocale.c (_nl_load_locale): Likewise.
36887 * login/utmp_file.c (setutent_file): Likewise.
36888 * misc/daemon.c (daemon): Likewise.
36889 * nss/nss_db/db-open.c (internal_setent): Likewise.
36890 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36891 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36892 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36893 (__opendir): Likewise.
36894 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36895 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36896 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36897 (gethostid): Likewise.
36898 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36899 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36900 Likewise.
36901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36902 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36903 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36904 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36905 Likewise.
36906 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36907 Likewise.
36908 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36909 Likewise.
36910 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36911 Likewise.
36912 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36913 Likewise.
36914 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36915 Likewise.
36916 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36917 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36918
d4505b89
WD
369192017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36920
36921 * benchtests/bench-skeleton.c (main): Add support for
36922 latency benchmarking.
36923 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36924
34d6a3cb
L
369252017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36926
36927 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36928 the startup object.
36929
038d1caf
FW
369302017-08-17 Florian Weimer <fweimer@redhat.com>
36931
36932 * include/sys/socket.h (__opensock): Remove internal_function.
36933 * socket/opensock.c (__opensock): Likewise.
36934 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36935
67f0aff0
JM
369362017-08-16 Joseph Myers <joseph@codesourcery.com>
36937
36938 [BZ #21944]
36939 * signal/bits/types/__sigval_t.h: New file.
36940 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36941 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36942 and define sigval_t using __sigval_t.
36943 * include/bits/types/__sigval_t.h: New file.
36944 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36945 instead of <bits/types/__sigval_t.h>.
36946 (struct sigevent): Use __sigval_t instead of sigval_t.
36947 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36948 instead of <bits/types/__sigval_t.h>.
36949 (siginfo_t): Use __sigval_t instead of sigval_t.
36950 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36951 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36952 (struct sigevent): Use __sigval_t instead of sigval_t.
36953 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36954 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36955 (siginfo_t): Use __sigval_t instead of sigval_t.
36956 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36957
87e7bf4d
L
369582017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36959
36960 * NEWS: Remove "[Add new features here]" for 2.27.
36961
5047057f
JM
369622017-08-16 Joseph Myers <joseph@codesourcery.com>
36963
36964 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36965 libc.so.
36966
20c7b195
L
369672017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36968
36969 * NEWS: Mention x86-64 FMA optimization.
36970
24a2e658
L
369712017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36972
36973 [BZ #21912]
36974 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36975 Add e_expf-fma.
36976 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36977 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36978 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36979
eedca977
AS
369802017-08-16 Andreas Schwab <schwab@suse.de>
36981
403143e1
FW
36982 [BZ #16750]
36983 CVE-2009-5064
eedca977
AS
36984 * elf/ldd.bash.in: Never run file directly.
36985
f59f7adb
L
369862017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36987
36988 [BZ #21955]
36989 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36990 (L(SP_INF_0)): Likewise.
36991
6b11a6ad
FW
369922017-08-15 Florian Weimer <fweimer@redhat.com>
36993
36994 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36995 run-built-tests.
36996
bbf5c438
FW
369972017-08-15 Florian Weimer <fweimer@redhat.com>
36998
36999 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37000 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37001 BROKEN_THREAD_SIGNALS code.
37002 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37003 request_list): Remove caller_pid member used for
37004 BROKEN_THREAD_SIGNALS.
37005 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37006 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37007 Remove BROKEN_THREAD_SIGNALS support.
37008 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37009 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37010
6014c65d
FW
370112017-08-15 Florian Weimer <fweimer@redhat.com>
37012
37013 * gmon/Makefile (tests): Add tst-gmon.
37014 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37015 Set.
37016 (tests-special): Add tst-gmon-prof.out.
37017 (tst-gmon.out): Depend on clean-tst-gmon-data.
37018 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37019 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37020 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37021 startup object.
37022 * aclocal.m4 (GPROF): Set and substitute.
37023 * config.amke.in (GPROF): Set.
37024 * configure: Regenerate.
37025
ee72219a
GR
370262017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37027
37028 * elf/elf.h A (NT_PPC_TAR): New macro.
37029 (NT_PPC_PPR): Likewise.
37030 (NT_PPC_DSCR): Likewise.
37031 (NT_PPC_EBB): Likewise.
37032 (NT_PPC_PMU): Likewise.
37033 (NT_PPC_TM_CGPR): Likewise.
37034 (NT_PPC_TM_CFPR): Likewise.
37035 (NT_PPC_TM_CVMX): Likewise.
37036 (NT_PPC_TM_CVSX): Likewise.
37037 (NT_PPC_TM_SPR): Likewise.
37038 (NT_PPC_TM_CTAR): Likewise.
37039 (NT_PPC_TM_CPPR): Likewise.
37040 (NT_PPC_TM_CDSCR): Likewise.
37041
4ebf934e
FW
370422017-08-15 Florian Weimer <fweimer@redhat.com>
37043
37044 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37045 regparm (2) instead of internal_function.
37046 (_MCOUNT_DECL): Adjust.
37047
e9f57484
SL
370482017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37049
37050 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37051 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37052
88ff4d55
JM
370532017-08-14 Joseph Myers <joseph@codesourcery.com>
37054
37055 * conform/data/sys/wait.h-data (si_value): Do not expect for
37056 XPG42.
37057
c88ffc23
FW
370582017-08-14 Florian Weimer <fweimer@redhat.com>
37059
37060 [BZ #21962]
37061 NSS: Create stubs for accidentally exported lookup functions.
37062 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37063 Remove declaration.
37064 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37065 (ether_hostton): Call __nss_ethers_lookup2 instead.
37066 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37067 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37068 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37069 (setup): Call __nss_netgroup_lookup2 instead.
37070 * nss/Makefile (routines): Add compat-lookup.
37071 * nss/Versions (GLIBC_2.27): Add symbol version.
37072 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37073 (DB_COMPAT_FCT): Remove.
37074 * nss/compat-lookup.c: New file.
37075 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37076 from databases.def.
37077 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37078 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37079 (netname2user): Call __nss_publickey_lookup2 instead.
37080 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37081 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37082 instead.
37083
35a29136 370842017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
37085 Sergei Trofimovich <slyfox@inbox.ru>
37086
37087 [BZ #21908]
37088 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37089 Rename to MMAP2_PAGE_UNIT.
37090 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37091 __OFF_T_MATCHES_OFF64_T is not defined.
37092 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37093 uint64_t.
37094 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37095 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37096
fbdc1e3e
FW
370972017-08-14 Florian Weimer <fweimer@redhat.com>
37098
37099 i386: Do not set internal_function.
37100 * config.h.in (USE_REGPARMS, internal_function): Remove.
37101 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37102 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37103
b3f85fd2
FW
371042017-08-14 Florian Weimer <fweimer@redhat.com>
37105
37106 * elf/dl-init.c (_dl_init): Remove internal_function.
37107 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37108 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37109
630bf491
FW
371102017-08-14 Florian Weimer <fweimer@redhat.com>
37111
37112 * elf/rtld.c (_dl_start): Remove internal_function.
37113 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37114 _dl_start.
37115
9fa7449b
FW
371162017-08-14 Florian Weimer <fweimer@redhat.com>
37117
37118 * elf/dl-fini.c (_dl_fini): Remove internal_function
37119 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37120
73322d5f
L
371212017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37122
d863cd71 37123 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
37124 (bit_cpu_SHSTK): Likewise.
37125 (index_cpu_IBT): Likewise.
37126 (index_cpu_SHSTK): Likewise.
37127 (reg_IBT): Likewise.
37128 (reg_SHSTK): Likewise.
37129 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37130 Handle index_cpu_IBT and index_cpu_SHSTK.
37131
dbc303ef
MF
371322017-08-14 Mike FABIAN <mfabian@redhat.com>
37133
37134 [BZ #19982]
37135 * po/fr.po: Fix spelling mistake.
37136
3012cfb0
FW
371372017-08-13 Florian Weimer <fweimer@redhat.com>
37138
37139 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37140 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37141 (_dl_catch_error, _dl_receive_error): Likewise.
37142 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37143 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37144 (_dl_deallocate_tls): Likewise.
37145 * include/dlfcn.h (_dl_addr): Likewise.
37146 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37147 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37148 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37149 Likewise.
37150
52bcdf26
FW
371512017-08-13 Florian Weimer <fweimer@redhat.com>
37152
37153 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37154 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37155 internal_function.
37156 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37157
e1d2ae8d
FW
371582017-08-13 Florian Weimer <fweimer@redhat.com>
37159
37160 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37161 internal_function.
37162 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37163 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37164 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37165 internal_function from _dl_make_stack_executable_hook member.
37166 (_dl_make_stack_executable): Remove internal_function.
37167 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37168 Likewise.
37169 * sysdeps/unix/sysv/linux/dl-execstack.c
37170 (_dl_make_stack_executable): Likewise.
37171
c4ce0382
FW
371722017-08-13 Florian Weimer <fweimer@redhat.com>
37173
37174 * sysdeps/unix/sysv/linux/netlinkaccess.h
37175 (__netlink_assert_response): Remove internal_function.
37176 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37177 (__netlink_assert_response): Likewise.
37178
c4d767f7
FW
371792017-08-13 Florian Weimer <fweimer@redhat.com>
37180
37181 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37182 internal_function.
37183 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37184
b2297409
FW
371852017-08-13 Florian Weimer <fweimer@redhat.com>
37186
37187 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37188 internal_function.
37189 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37190 * inet/netgroup.h (__internal_setnetgrent)
37191 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37192 * inet/getnetgrent_r.c (__internal_setnetgrent)
37193 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37194 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37195 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37196 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37197 * nss/nsswitch.h (db_lookup_function): Likewise.
37198
1b0bfc69
FW
371992017-08-13 Florian Weimer <fweimer@redhat.com>
37200
37201 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37202 Remove internal_function.
37203 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37204 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37205 message argument on the stack.
37206 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37207 Likeweise.
37208
a6bd8722
MF
372092017-08-12 Mike FABIAN <mfabian@redhat.com>
37210
37211 Adapt test case data to the changes in the thousands
37212 separators.
37213
37214 [BZ #20756]
37215 * localedata/tst-langinfo.sh: Adapt test case data.
37216 * stdlib/tst-strfmon_l.c: Likewise.
37217 * stdlib/tst-strtod4.c: Likewise.
37218 * stdlib/tst-strtod5i.c: Likewise.
37219
8b2c63e4
FW
372202017-08-11 Florian Weimer <fweimer@redhat.com>
37221
37222 [BZ #21242]
37223 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37224 Suppress pedantic warning resulting from statement expression.
37225 (__ASSERT_FUNCTION): Add missing __extension__.
37226
61c98291
SP
372272017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37228
86c6519e
SP
37229 * benchtests/bench-memmove-large.c: Print output in JSON
37230 format.
37231 * benchtests/bench-memmove.c: Likewise.
37232
61c98291
SP
37233 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37234 * benchtests/bench-memchr.c (do_one_test): Likewise.
37235 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37236 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37237 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37238 * benchtests/bench-memmove.c (do_one_test): Likewise.
37239 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37240 * benchtests/bench-memset.c (do_one_test): Likewise.
37241 * benchtests/bench-string.h (test_init): Remove memsets.
37242
925733a9
RJ
372432017-08-10 Rical Jasan <ricaljasan@pacific.net>
37244
37245 * manual/lang.texi
37246 (Computing the Width of an Integer Data Type): Rename section to
37247 "Width of an Integer Type". Remove inaccurate statement regarding
37248 lack of C language facilities for determining width of integer
37249 types, and reorder content to improve flow and context of
37250 discussion.
37251
4fcdfbfc
RJ
372522017-08-10 Rical Jasan <ricaljasan@pacific.net>
37253
37254 * lang.texi (va_copy): Change standard from ISO to C99.
37255 (__va_copy): Add standard and header annotation.
37256 Update description for clarity of origins and current use.
37257
4d98ace9
GG
372582017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37259
37260 [BZ #21941]
37261 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37262 xssqrtqp requires operands to be in Vector Registers
37263 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37264 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37265 (__ieee754_sqrtf128): Likewise.
37266
92236903
WD
372672017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37268
37269 * sysdeps/aarch64/memcmp.S (memcmp):
37270 Rewrite of optimized memcmp.
37271
2449ae7b
FW
372722017-08-10 Florian Weimer <fweimer@redhat.com>
37273
37274 Introduce ld.so exceptions.
37275 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37276 (_dl_exception_create, _dl_exception_create_format)
37277 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37278 (_dl_catch_exception): Declare.
37279 (_dl_catch_error): Update comment.
37280 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37281 errstring, malloced members with exception member.
37282 (_dl_out_of_memory): Remove.
37283 (fatal_error): New function, extracted from _dl_signal_error.
37284 (_dl_signal_exception, _dl_signal_cexception): New functions.
37285 (_dl_signal_error): Call _dl_exception_create to allocate an
37286 exception object.
37287 (_dl_catch_exception): New function, based on _dl_catch_error.
37288 (_dl_catch_error): Implement using _dl_catch_exception.
37289 * elf/dl-exception.c: New file.
37290 * elf/Makefile (dl-routines): Add dl-exception.
37291 (elide-routines.os): Likewise.
37292 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37293 _dl_exception_create_format, _dl_exception_free.
37294 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37295 _dl_signal_exception.
37296 * elf/dl-lookup.c (make_string): Remove.
37297 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37298 _dl_signal_cexception, _dl_exception_free.
37299 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37300 _dl_signal_exception.
37301 * elf/dl-sym.c (do_sym): Likewise.
37302 * elf/dl-version.c (make_string): Remove.
37303 (match_symbol): Use _dl_exception_create_format,
37304 _dl_signal_cexception, _dl_exception_free.
37305 (_dl_check_map_versions): Likewise.
37306 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37307 _dl_catch_exception.
37308 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37309 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37310 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37311 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37312 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37313 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37314 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37315 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37316 Likewise.
37317 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37319 (ld.so): Likewise.
37320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37321 (ld.so): Likewise.
37322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37323 Likewise.
37324 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37325 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37326 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37327 Likewise.
37328 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37329 Likewise.
37330 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37331
f87cc2bf
FW
373322017-08-10 Florian Weimer <fweimer@redhat.com>
37333
37334 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37335 attribute_hidden, internal_function.
37336 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37337 internal_function.
37338
eac43cbb
FW
373392017-08-10 Florian Weimer <fweimer@redhat.com>
37340
37341 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37342 function which calls __builtin_unreachable.
37343
bd80111e
MF
373442017-08-10 Mike FABIAN <mfabian@redhat.com>
37345
37346 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37347 Indian monetary formatting
37348 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37349 test cases.
37350
60e2846e
DL
373512017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37352
68dc02d1
DL
37353 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37354 Fix typo in comment.
37355
60e2846e
DL
37356 [BZ #21928]
37357 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37358 PTRACE_SEIZE_DEVEL): Remove.
37359 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37360 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37361 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37363 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37364
3d452dab
JM
373652017-08-09 Joseph Myers <joseph@codesourcery.com>
37366
24d9f53a
JM
37367 * posix/bits/types.h (__qaddr_t): Remove.
37368
3d452dab
JM
37369 [BZ #21457]
37370 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37371 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37372 __glibc_reserved1.
37373 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37374 (ucontext_t): Use __ctx with uc_flags.
37375 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37376 (__ctxt): Likewise.
37377 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37378 __glibc_reserved1.
37379 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37380 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37381 __glibc_reserved1.
37382 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37383 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37384 __glibc_reserved1.
37385 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37386 macro.
37387 (ucontext_t): Use __ctx with uc_flags.
37388 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37389 (ucontext_t): Use __ctx with uc_flags.
37390 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37391 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37392 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37393 (ucontext_t): Use __ctx with uc_flags.
37394 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37395 undefine further down.
37396 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37397 __glibc_reserved1.
37398 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37399 undefine further down.
37400 (ucontext_t): Use __ctx with uc_flags.
37401 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37402 undefine further down.
37403 (ucontext_t): Use __ctx with uc_flags.
37404 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37405 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37406 Rename uc_pad to __glibc_reserved1.
37407 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37408 undefine further down.
37409 (ucontext_t): Use __ctx with uc_flags.
37410 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37411 further down.
37412 (ucontext_t): Use __ctx with uc_flags.
37413 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37414 __ctx with uc_flags.
37415 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37416 (ucontext_t): Use __ctx with uc_flags.
37417 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37418 __ctx with uc_flags.
37419
30161498
FW
374202017-08-09 Florian Weimer <fweimer@redhat.com>
37421
37422 [BZ #21932]
37423 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37424 before early return.
37425
5797b410
AS
374262017-08-09 Andreas Schwab <schwab@suse.de>
37427
139237a4 37428 [BZ #21041]
5797b410
AS
37429 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37430 renamed alias.
37431
139237a4 37432 [BZ #21041]
40c06a3d
AS
37433 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37434 tst-compat-forwarder.
37435 (modules-names): Add tst-compat-forwarder-mod.
37436 ($(objpfx)tst-compat-forwarder): Depend on
37437 $(objpfx)tst-compat-forwarder-mod.so.
37438 * nptl/tst-compat-forwarder.c: New file.
37439 * nptl/tst-compat-forwarder-mod.c: New file.
37440
36ada5f6
SP
374412017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37442
0e02b510
SP
37443 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37444 comments.
37445
36ada5f6
SP
37446 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37447 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37448 memcpy_falkor.
37449 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37450 Bump.
37451 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37452 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37453 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37454 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37455 Add falkor.
37456 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37457 New macro.
37458
9995c839
AZ
374592017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37460
37461 [BZ #759]
37462 * manual/setjmp.texi (getcontex): Document uc_stack value
37463 compatibility differences.
37464
f17a4233
JM
374652017-08-08 Joseph Myers <joseph@codesourcery.com>
37466
37467 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37468 (old_malloc_hook): Likewise.
37469 (old_memalign_hook): Likewise.
37470 (old_realloc_hook): Likewise.
37471 (struct hdr): Likewise.
37472 (flood): Likewise.
37473 (freehook): Likewise.
37474 (mallochook): Likewise.
37475 (memalignhook): Likewise.
37476 (reallochook): Likewise.
37477 (mprobe): Likewise.
37478 * malloc/mtrace.c (mallwatch): Likewise.
37479 (tr_old_free_hook): Likewise.
37480 (tr_old_malloc_hook): Likewise.
37481 (tr_old_realloc_hook): Likewise.
37482 (tr_old_memalign_hook): Likewise.
37483 (tr_where): Likewise.
37484 (lock_and_info): Likewise.
37485 (tr_freehook): Likewise.
37486 (tr_mallochook): Likewise.
37487 (tr_reallochook): Likewise.
37488 (tr_memalignhook): Likewise.
37489 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37490 * misc/mmap.c (__mmap): Likewise.
37491 * misc/mmap64.c (__mmap64): Likewise.
37492 * misc/mprotect.c (__mprotect): Likewise.
37493 * misc/msync.c (msync): Likewise.
37494 * misc/munmap.c (__munmap): Likewise.
37495 * posix/posix_madvise.c (posix_madvise): Likewise.
37496 * socket/send.c (__send): Likewise.
37497 * socket/sendto.c (__sendto): Likewise.
37498 * socket/setsockopt.c (__setsockopt): Likewise.
37499 * string/memcmp.c (__ptr_t): Remove macro.
37500 (MEMCMP): Use void * instead of ptr_t.
37501 * string/memrchr.c (__ptr_t): Remove macro.
37502 (__memrchr): Use void * instead of ptr_t.
37503 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37504 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37505 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37506 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37507 * sysdeps/mach/msync.c (msync): Likewise.
37508 * sysdeps/mach/munmap.c (__munmap): Likewise.
37509 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37510 Likewise.
37511 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37512 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37513 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37514 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37515 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37516 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37517 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37518 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37519 Likewise.
37520 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37521 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37522 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37523 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37524 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37525 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37526 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37527 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37529 Likewise.
37530 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37531 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37532 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37533 (MEMCMP): Use void * instead of ptr_t.
37534 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37535 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37536
0df595b2
FW
375372017-08-08 Florian Weimer <fweimer@redhat.com>
37538
37539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37540 return statement.
37541
086df229
L
375422017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37543
37544 [BZ #21913]
37545 * csu/libc-tls.c: Include <startup.h> first.
37546 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37547 * elf/dl-tunables.c: Include <startup.h> first.
37548 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37549 * sysdeps/generic/startup.h: New file.
37550 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37551 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37552 (I386_USE_SYSENTER): New. Defined to 0.
37553
fc5ad702
AS
375542017-08-08 Andreas Schwab <schwab@suse.de>
37555
37556 [BZ #21041]
37557 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37558 * nptl/pt-system.c (system): Likewise.
37559
852d6312
AZ
375602017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37561
37562 [BZ #21780]
37563 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37564 EOPNOTSUPP.
37565 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37566 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37567 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37568 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37569 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37570 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37571 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37572
8b164787
JM
375732017-08-07 Joseph Myers <joseph@codesourcery.com>
37574
cd65836b
JM
37575 [BZ #21899]
37576 * bits/sigaction.h (struct sigaction): Define sa_handler and
37577 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37578 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37579 [__USE_XOPEN_EXTENDED].
37580 (SA_RESTART): Likewise.
37581 (SA_NODEFER): Likewise.
37582 (SA_RESETHAND): Likewise.
37583 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37584 (struct sigaction): Define sa_handler and sa_sigaction using union
37585 also for [__USE_XOPEN_EXTENDED].
37586 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37587 [__USE_XOPEN_EXTENDED].
37588 (SA_RESTART): Likewise.
37589 (SA_NODEFER): Likewise.
37590 (SA_RESETHAND): Likewise.
37591 * sysdeps/unix/sysv/linux/bits/sigaction.h
37592 (struct sigaction): Define sa_handler and sa_sigaction using union
37593 also for [__USE_XOPEN_EXTENDED].
37594 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37595 [__USE_XOPEN_EXTENDED].
37596 (SA_RESTART): Likewise.
37597 (SA_NODEFER): Likewise.
37598 (SA_RESETHAND): Likewise.
37599 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37600 (struct sigaction): Define sa_handler and sa_sigaction using union
37601 also for [__USE_XOPEN_EXTENDED].
37602 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37603 [__USE_XOPEN_EXTENDED].
37604 (SA_RESTART): Likewise.
37605 (SA_NODEFER): Likewise.
37606 (SA_RESETHAND): Likewise.
37607 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37608 (struct sigaction): Define sa_handler and sa_sigaction using union
37609 also for [__USE_XOPEN_EXTENDED].
37610 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37611 [__USE_XOPEN_EXTENDED].
37612 (SA_RESTART): Likewise.
37613 (SA_NODEFER): Likewise.
37614 (SA_RESETHAND): Likewise.
37615 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37616 (struct sigaction): Define sa_handler and sa_sigaction using union
37617 also for [__USE_XOPEN_EXTENDED].
37618 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37619 [__USE_XOPEN_EXTENDED].
37620 (SA_RESTART): Likewise.
37621 (SA_NODEFER): Likewise.
37622 (SA_RESETHAND): Likewise.
37623 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37624 (struct sigaction): Define sa_handler and sa_sigaction using union
37625 also for [__USE_XOPEN_EXTENDED].
37626 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37627 [__USE_XOPEN_EXTENDED].
37628 (SA_RESTART): Likewise.
37629 (SA_NODEFER): Likewise.
37630 (SA_RESETHAND): Likewise.
37631 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37632 (struct sigaction): Define sa_handler and sa_sigaction using union
37633 also for [__USE_XOPEN_EXTENDED].
37634 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37635 [__USE_XOPEN_EXTENDED].
37636 (SA_RESTART): Likewise.
37637 (SA_NODEFER): Likewise. Define directly rather than as alias.
37638 (SA_RESETHAND): Likewise.
37639 (SA_INTERRUPT): Define only for [__USE_MISC].
37640 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37641 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37642 [__USE_MISC].
37643 (SA_STACK): Define only for [__USE_MISC].
37644 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37645 (struct sigaction): Define sa_handler and sa_sigaction using union
37646 also for [__USE_XOPEN_EXTENDED].
37647 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37648 [__USE_XOPEN_EXTENDED].
37649 (SA_RESTART): Likewise.
37650 (SA_NODEFER): Likewise.
37651 (SA_RESETHAND): Likewise.
37652 (SA_NOPTRACE): Define only for [__USE_MISC].
37653
d9fee042
JM
37654 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37655 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37656 (struct catalog_info): Likewise.
37657 * inet/htontest.c (lo): Likewise.
37658 (foo): Likewise.
37659 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37660 * inet/inet_net.c (inet_network): Likewise.
37661 * inet/inet_netof.c (inet_netof): Likewise.
37662 * inet/rcmd.c (__ivaliduser): Likewise.
37663 (iruserok): Likewise.
37664 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37665 * locale/programs/locale-spec.c (locale_special): Likewise.
37666 * nis/nis_findserv.c (struct findserv_req): Likewise.
37667 (__nis_findfastest_with_timeout): Likewise.
37668 * nss/test-netdb.c (test_network): Likewise.
37669 * resolv/inet_neta.c (inet_neta): Likewise.
37670 * resolv/ns_date.c (ns_datetosecs): Likewise.
37671 (SECS_PER_DAY): Likewise.
37672 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37673 Likewise.
37674 * resolv/res_comp.c (__putlong): Likewise.
37675 (__putshort): Likewise.
37676 (_getlong): Likewise.
37677 (_getshort): Likewise.
37678 * resolv/res_debug.c (p_time): Likewise.
37679 (precsize_ntoa): Likewise.
37680 (precsize_aton): Likewise.
37681 (latlon2ul): Likewise.
37682 (loc_aton): Likewise.
37683 (loc_ntoa): Likewise.
37684 * resolv/res_hconf.c (struct netaddr): Likewise.
37685 (_res_hconf_reorder_addrs): Likewise.
37686 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37687 (clnttcp_control): Likewise.
37688 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37689 (clntudp_control): Likewise.
37690 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37691 (clntunix_control): Likewise.
37692 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37693 * sunrpc/rpc/auth.h (union des_block): Likewise.
37694 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37695 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37696 (xdrrec_create): Likewise.
37697 (xdrrec_endofrecord): Likewise.
37698 (flush_out): Likewise.
37699 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37700 (xdrstdio_putlong): Likewise.
37701 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37702 Likewise.
37703
8b164787
JM
37704 * misc/sys/cdefs.h (__long_double_t): Remove.
37705 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37706 instead of __long_double_t,
37707 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37708
7ee38e60
SP
377092017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37710
dd3e86ad
SP
37711 * benchtests/scripts/compare_strings.py: Avoid display error when
37712 running on a text terminal.
37713
b115e819
SP
37714 * benchtests/scripts/compare_strings.py (main): Add an
37715 optional -base option.
37716 (process_results): New argument base_func.
37717
7ee38e60
SP
37718 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37719 hardcoding memcpy.
37720 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37721 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37722
d5afb385
AS
377232017-08-07 Andreas Schwab <schwab@suse.de>
37724
37725 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37726 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37727 * intl/Makefile ($(objpfx)tst-gettext.out)
37728 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37729 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37730 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37731 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37732 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37733 * posix/Makefile ($(objpfx)globtest.out)
37734 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37735 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37736 ($(objpfx)tst-printf.out): Likewise.
37737 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37738 ($(objpfx)tst-setcontext3.out): Likewise.
37739
57a72fa3
L
377402017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37741
37742 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37743 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37744 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37745 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37746 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37747 and mptan-fma.
37748 (CFLAGS-doasin-fma.c): New.
37749 (CFLAGS-dosincos-fma.c): Likewise.
37750 (CFLAGS-e_asin-fma.c): Likewise.
37751 (CFLAGS-e_atan2-fma.c): Likewise.
37752 (CFLAGS-e_exp-fma.c): Likewise.
37753 (CFLAGS-e_log-fma.c): Likewise.
37754 (CFLAGS-e_pow-fma.c): Likewise.
37755 (CFLAGS-halfulp-fma.c): Likewise.
37756 (CFLAGS-mpa-fma.c): Likewise.
37757 (CFLAGS-mpatan-fma.c): Likewise.
37758 (CFLAGS-mpatan2-fma.c): Likewise.
37759 (CFLAGS-mpexp-fma.c): Likewise.
37760 (CFLAGS-mplog-fma.c): Likewise.
37761 (CFLAGS-mpsqrt-fma.c): Likewise.
37762 (CFLAGS-mptan-fma.c): Likewise.
37763 (CFLAGS-s_atan-fma.c): Likewise.
37764 (CFLAGS-sincos32-fma.c): Likewise.
37765 (CFLAGS-slowexp-fma.c): Likewise.
37766 (CFLAGS-slowpow-fma.c): Likewise.
37767 (CFLAGS-s_sin-fma.c): Likewise.
37768 (CFLAGS-s_tan-fma.c): Likewise.
37769 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37770 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37771 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37772 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37773 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37774 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37775 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37776 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37777 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37778 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37779 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37780 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37781 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37782 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37785 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37786 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37787 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37788 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37789 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37790 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37795 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37796 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37800
219dd320
JM
378012017-08-04 Joseph Myers <joseph@codesourcery.com>
37802
37803 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37804 (min_of_type_f): New macro.
37805 (min_of_type_): Likewise.
37806 (min_of_type_l): Likewise.
37807 (min_of_type_f128): Likewise.
37808 (min_of_type): Define using __MATH_TG and taking an expression
37809 argument.
37810 (math_check_force_underflow): Pass expression instead of type to
37811 min_of_type.
37812 (math_check_force_underflow_nonneg): Likewise.
37813
64d4dea6
L
378142017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37815
37816 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37817 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37818 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37819
973da22a
L
378202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37821
37822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37823 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37824 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37825 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37826 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37827 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37828 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37829 memmove_chk-nonshared and memset_chk-nonshared
37830 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37831 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37832 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37833 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37834 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37835 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37836 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37837 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37838 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37839 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37840 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37841 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37843 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37845 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37847 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37849 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37851 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37853 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37855 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37857 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37858 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37860 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37863 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37866 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37868 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37869 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37870 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37872 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37874 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37876 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37878 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37880 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37882 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37883 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37884 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37885 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37886 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37887 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37888 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37890 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37892 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37894 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37895 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37896 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37897 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37898 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37899 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37900 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37901 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37902 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37903 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37904 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37905 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37908 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37911 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37912 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37914 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37915 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37917 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37919 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37925 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37926 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37927 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37929 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37935 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37937 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37938
8537e0f6
L
379392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37940
37941 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37942 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37943 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37944 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37945 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37946 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37947 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37948 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37949 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37950 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37951 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37952 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37953 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37954 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37955 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37956 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37957 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37958 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37959 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37960 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37961 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37962 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37963 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37964 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37965 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37966 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37967 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37968 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37969 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37970 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37971 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37973 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37974 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37976 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37979 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37981 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37982 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37983 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37984 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37985 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37986 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37987 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37988 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37989 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37990 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37991 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37992 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37996 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37997 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37998 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37999 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38000 ...
38001 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38002 Don't include <sysdep.h> nor <init-arch.h>.
38003 (_ZGVbN2v_cos): Removed.
38004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38005 ...
38006 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38007 Don't include <sysdep.h> nor <init-arch.h>.
38008 (_ZGVdN4v_cos): Removed.
38009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38010 ...
38011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38012 Don't include <sysdep.h> nor <init-arch.h>.
38013 (_ZGVeN8v_cos): Removed.
38014 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38015 ...
38016 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38017 Don't include <sysdep.h> nor <init-arch.h>.
38018 (_ZGVbN2v_exp): Removed.
38019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38020 ...
38021 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38022 Don't include <sysdep.h> nor <init-arch.h>.
38023 (_ZGVdN4v_exp): Removed.
38024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38025 ...
38026 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38027 Don't include <sysdep.h> nor <init-arch.h>.
38028 (_ZGVeN8v_exp): Removed.
38029 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38030 ...
38031 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38032 Don't include <sysdep.h> nor <init-arch.h>.
38033 (_ZGVbN2v_log): Removed.
38034 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38035 ...
38036 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38037 Don't include <sysdep.h> nor <init-arch.h>.
38038 (_ZGVdN4v_log): Removed.
38039 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38040 ...
38041 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38042 Don't include <sysdep.h> nor <init-arch.h>.
38043 (_ZGVeN8v_log): Removed.
38044 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38045 ...
38046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38047 Don't include <sysdep.h> nor <init-arch.h>.
38048 (_ZGVbN2vv_pow): Removed.
38049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38050 ...
38051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38052 Don't include <sysdep.h> nor <init-arch.h>.
38053 (_ZGVdN4vv_pow): Removed.
38054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38055 ...
38056 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38057 Don't include <sysdep.h> nor <init-arch.h>.
38058 (_ZGVeN8vv_pow): Removed.
38059 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38060 ...
38061 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38062 Don't include <sysdep.h> nor <init-arch.h>.
38063 (_ZGVbN2v_sin): Removed.
38064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38065 ...
38066 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38067 Don't include <sysdep.h> nor <init-arch.h>.
38068 (_ZGVbN4v_sin): Removed.
38069 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38070 ...
38071 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38072 Don't include <sysdep.h> nor <init-arch.h>.
38073 (_ZGVbN8v_sin): Removed.
38074 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38075 ...
38076 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38077 Don't include <sysdep.h> nor <init-arch.h>.
38078 (_ZGVbN2vvv_sincos): Removed.
38079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38080 ...
38081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38082 Don't include <sysdep.h> nor <init-arch.h>.
38083 (_ZGVdN4vvv_sincos): Removed.
38084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38085 ...
38086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38087 Don't include <sysdep.h> nor <init-arch.h>.
38088 (_ZGVeN8vvv_sincos): Removed.
38089 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38090 ...
38091 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38092 Don't include <sysdep.h> nor <init-arch.h>.
38093 (_ZGVeN16v_cosf): Removed.
38094 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38095 ...
38096 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38097 Don't include <sysdep.h> nor <init-arch.h>.
38098 (_ZGVbN4v_cosf): Removed.
38099 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38100 ...
38101 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38102 Don't include <sysdep.h> nor <init-arch.h>.
38103 (_ZGVdN8v_cosf): Removed.
38104 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38105 ...
38106 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38107 Don't include <sysdep.h> nor <init-arch.h>.
38108 (_ZGVeN16v_expf): Removed.
38109 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38110 ...
38111 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38112 Don't include <sysdep.h> nor <init-arch.h>.
38113 (_ZGVbN4v_expf): Removed.
38114 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38115 ...
38116 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38117 Don't include <sysdep.h> nor <init-arch.h>.
38118 (_ZGVdN8v_expf): Removed.
38119 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38120 ...
38121 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38122 Don't include <sysdep.h> nor <init-arch.h>.
38123 (_ZGVeN16v_logf): Removed.
38124 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38125 ...
38126 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38127 Don't include <sysdep.h> nor <init-arch.h>.
38128 (_ZGVbN4v_logf): Removed.
38129 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38130 ...
38131 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38132 Don't include <sysdep.h> nor <init-arch.h>.
38133 (_ZGVdN8v_logf): Removed.
38134 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38135 ...
38136 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38137 Don't include <sysdep.h> nor <init-arch.h>.
38138 (_ZGVeN16vv_powf): Removed.
38139 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38140 ...
38141 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38142 Don't include <sysdep.h> nor <init-arch.h>.
38143 (_ZGVbN4vv_powf): Removed.
38144 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38145 ...
38146 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38147 Don't include <sysdep.h> nor <init-arch.h>.
38148 (_ZGVdN8vv_powf): Removed.
38149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38150 ...
38151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38152 Don't include <sysdep.h> nor <init-arch.h>.
38153 (_ZGVeN16vvv_sincosf): Removed.
38154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38155 ...
38156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38157 Don't include <sysdep.h> nor <init-arch.h>.
38158 (_ZGVbN4vvv_sincosf): Removed.
38159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38160 ...
38161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38162 Don't include <sysdep.h> nor <init-arch.h>.
38163 (_ZGVdN8vvv_sincosf): Removed.
38164 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38165 ...
38166 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38167 Don't include <sysdep.h> nor <init-arch.h>.
38168 (_ZGVeN16v_sinf): Removed.
38169 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38170 ...
38171 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38172 Don't include <sysdep.h> nor <init-arch.h>.
38173 (_ZGVbN4v_sinf): Removed.
38174 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38175 ...
38176 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38177 Don't include <sysdep.h> nor <init-arch.h>.
38178 (_ZGVdN8v_sinf): Removed.
38179
10a87ca4
L
381802017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38181
38182 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38183 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38184 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38185 s_rint-sse4_1 and s_rintf-sse4_1.
38186 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38187 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38188 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38189 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38190 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38191 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38192 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38193 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38194 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38196 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38197 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38198 (__ceil): Removed.
38199 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38200 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38201 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38202 (__ceilf): Removed.
38203 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38204 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38205 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38206 (__floor): Removed.
38207 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38208 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38209 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38210 (__floorf): Removed.
38211 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38213 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38214 (__nearbyint): Removed.
38215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38216 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38217 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38218 (__nearbyintf): Removed.
38219 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38220 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38221 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38222 (__rint): Removed.
38223 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38224 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38225 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38226 (__rintf): Removed.
38227
1e8e527d
L
382282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38229
38230 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38231 SHARED. Avoid dynamic relocation against main in static PIE.
38232
e13daad7
L
382332017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38234
38235 [BZ #21815]
38236 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38237 (LDFLAGS-tst-prelink): Likewise.
38238
627c69c8
L
382392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38240
38241 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38242 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38243 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38244 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38245 (INTERNAL_SYSCALL_NCS): Likewise.
38246 (LOADARGS_1): Likewise.
38247 (LOADARGS_5): Likewise.
38248 (RESTOREARGS_1): Likewise.
38249 (RESTOREARGS_5): Likewise.
38250
fc11ff8d
L
382512017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38252
38253 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38254 (MEMPCPY_SYMBOL): Likewise.
38255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38256 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38257 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38258 in libc.a.
38259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38260 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38261 Likewise.
38262 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38263 (__hidden_ver1): Don't use in libc.a.
38264 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38265 (__mempcpy): Don't create a weak alias in libc.a.
38266 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38267 libc.a.
38268 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38269 (__hidden_ver1): Don't use in libc.a.
38270
19f1a11e
L
382712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 * config.make.in (have-insert): New.
38274 * configure.ac (libc_cv_insert): New. Set to yes if linker
38275 supports INSERT in linker script.
38276 (AC_SUBST(libc_cv_insert): New.
38277 * configure: Regenerated.
38278 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38279 if $(have-insert) == yes.
38280
3093fd5e
L
382812017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38282
38283 * elf/Makefile (tests): Add vismain only if
38284 $(have-protected-data) == yes.
38285 (tests-pie): Likewise.
38286
d2cf37c0
L
382872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38288
38289 [BZ #21871]
38290 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38291 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38292
c8a0e6ec
L
382932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38294
38295 [BZ #21790]
38296 * sysdeps/i386/i586/memset.S
38297 (__memset_zero_constant_len_parameter): Removed.
38298 * sysdeps/i386/i686/memset.S
38299 (__memset_zero_constant_len_parameter): Likewise.
38300 * sysdeps/i386/i686/multiarch/memset_chk.S
38301 (__memset_zero_constant_len_parameter): Likewise.
38302 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38303 Likewise.
38304
2b34e271
AJ
383052017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38306
38307 * stdlib/getentropy.c (getentropy): Change return type to int.
38308
144bdab0
AJ
383092017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38310
38311 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38312
24ab7723
JM
383132017-08-03 Joseph Myers <joseph@codesourcery.com>
38314
38315 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38316 u_intN_t.
38317 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38318 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38319 Likewise.
38320 (ieee_float_shape_type): Likewise.
38321 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38322 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38323 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38324 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38325 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38326 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38327 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38328 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38329 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38330 Likewise.
38331 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38332 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38333 (__ieee754_yn): Likewise.
38334 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38335 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38336 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38337 Likewise.
38338 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38339 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38340 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38341 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38342 (__erfc): Likewise.
38343 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38344 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38345 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38346 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38347 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38348 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38349 Likewise.
38350 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38351 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38352 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38353 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38354 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38355 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38356 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38357 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38358 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38359 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38360 (__issignaling): Likewise.
38361 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38362 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38363 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38364 Likewise.
38365 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38366 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38367 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38368 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38369 Likewise.
38370 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38371 Likewise.
38372 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38373 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38374 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38375 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38376 (__erfcf): Likewise.
38377 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38378 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38379 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38380 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38381 Likewise.
38382 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38383 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38384 Likewise.
38385 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38386 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38387 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38388 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38389 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38390 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38391 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38392 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38393 Likewise.
38394 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38395 Likewise.
38396 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38397 Likewise.
38398 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38399 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38400 Likewise.
38401 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38402 Likewise.
38403 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38404 (__ieee754_ynl): Likewise.
38405 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38406 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38407 Likewise.
38408 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38409 Likewise.
38410 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38411 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38412 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38413 Likewise.
38414 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38415 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38416 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38417 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38418 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38419 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38420 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38421 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38422 Likewise.
38423 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38424 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38425 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38426 Likewise.
38427 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38428 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38429 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38430 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38431 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38432 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38433 Likewise.
38434 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38435 Likewise.
38436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38437 Likewise.
38438 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38439 Likewise.
38440 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38441 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38442 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38443 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38444 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38445 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38447 Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38449 Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38452 Likewise.
38453 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38454 (__ieee754_remainderl): Likewise.
38455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38458 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38459 Likewise.
38460 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38462 Likewise.
38463 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38464 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38465 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38466 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38467 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38469 Likewise.
38470 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38471 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38472 (__ieee754_y0l): Likewise.
38473 (pzero): Likewise.
38474 (qzero): Likewise.
38475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38476 (__ieee754_y1l): Likewise.
38477 (pone): Likewise.
38478 (qone): Likewise.
38479 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38480 (__ieee754_ynl): Likewise.
38481 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38482 (__ieee754_lgammal_r): Likewise.
38483 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38484 Likewise.
38485 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38486 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38487 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38488 (__erfcl): Likewise.
38489 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38490 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38491 Likewise.
38492 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38493 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38494 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38495 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38496 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38497 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38498 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38499 Likewise.
38500 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38501 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38502 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38503 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38504 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38505 Likewise.
38506 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38507 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38508 Likewise.
38509 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38510 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38511 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38512 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38513 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38514
964263bb
FW
385152017-08-03 Florian Weimer <fweimer@redhat.com>
38516
38517 [BZ #21885]
38518 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38519 on memory allocation failure.
38520
e98c925f
AM
385212017-08-03 Alan Modra <amodra@gmail.com>
38522
38523 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38524 tst-tlsopt-powerpc.c with function name change and no test harness.
38525 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38526 Call tls_get_addr_opt_test.
38527 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38528 (modules-names): Add mod-tlsopt-powerpc.
38529 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38530 (tst-tlsopt-powerpc): Depend on .so.
38531 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38532 define. Expand use in TLS_GD and TLS_LD.
38533
8ee1abdb
ST
385342017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38535
38536 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38537 function.
3da5756e 38538 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 38539
42df8d59
JM
385402017-08-02 Joseph Myers <joseph@codesourcery.com>
38541
38542 [BZ #21686]
38543 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38544 comparing size with that of double.
38545 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38546 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38547 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38548 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38549 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38550 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38551 unsigned __int128 types.
38552
b7f95f49
SE
385532017-08-02 Steve Ellcey <sellcey@cavium.com>
38554
38555 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38556 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38557 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38558 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38559 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38560
5b736bc9
L
385612017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38562
38563 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38564
dfc93c41
L
385652017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38566
38567 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38568 of SHARED.
38569 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38570 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38572 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38573 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38574 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38575 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38576
2fee621d
JM
385772017-08-02 Joseph Myers <joseph@codesourcery.com>
38578
38579 [BZ #21685]
38580 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38581 bit-field expressions passed to sizeof or typeof.
38582 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38583 (__TGMATH_F128): Likewise.
38584 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38585 (__TGMATH_CF128): Likewise.
38586 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38587 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38588 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38589 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38590 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38591 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38592 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38593 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38594 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38595 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38596 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38597 (__TGMATH_UNARY_IMAG): Likewise.
38598 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38599 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38600 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38601 type.
38602 (define_vars_for_type): Handle bit_field type specially.
38603 (Tests.__init__): Declare structure with bit-field element.
38604
b358255f
L
386052017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38606
38607 [BZ #21791]
38608 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38609 (MEMCPY_CHK): Define only if SHARED is defined.
38610 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38611 Likewise.
38612 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38613 Likewise.
edf66db1
SP
38614
38615See ChangeLog.18 for earlier changes.