]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[powerpc] Rename fegetenv_status to fegetenv_control
[thirdparty/glibc.git] / ChangeLog
CommitLineData
81ecb0ee
PC
12019-09-27 Paul A. Clarke <pc@us.ibm.com>
2
3 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
4 fegetenv_control.
5 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
6 rename of fegetenv_status to fegetenv_control.
7 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
9 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
10 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
12
e68b1151
PC
132019-09-27 Paul A. Clarke <pc@us.ibm.com>
14
15 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
16 'mffscrn' instruction on POWER9.
17 (__fesetround_inline_nocheck): Likewise.
18
7413c188
PC
192019-09-27 Paul A. Clarke <pc@us.ibm.com>
20
21 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
22 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
23 to write FPSCR control only, if exceptions have not changed.
24
e3d85df5
PC
252019-09-27 Paul A. Clarke <pc@us.ibm.com>
26
27 * sysdeps/powerpc/fpu/fenv_libc.h:
28 (__TEST_AND_ENTER_NON_STOP): New.
29 (__TEST_AND_EXIT_NON_STOP): New.
30 * sysdeps/powerpc/fpu/fenv_private.h
31 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
32 (_FPU_MASK_RN): Delete.
33 (_FPU_MASK_NOT_RN_NI): Delete.
34 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
35 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
36 (__libc_feholdbits_ppc): Delete, move code into
37 libc_feholdexcept_setround_ppc.
38 (libc_feholdexcept_ppc): Delete.
39 (libc_fesetround_ppc): Delete.
40 (libc_fetestexcept_ppc): Delete.
41 (libc_feholdsetround_ppc): Delete.
42 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
43 (libc_feholdsetround_noex_ppc_ctx): Likewise.
44 (libc_feupdateenv_test_ppc): Use FPSCR defines.
45 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46 __TEST_AND_ENTER_NON_STOP.
47 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
49 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
51 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52 (_FPU_MASK_ALL): Delete.
53
9a44050e
JM
542019-09-27 Joseph Myers <joseph@codesourcery.com>
55
56 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
57
464cd3a9
LM
582019-09-26 Lukasz Majewski <lukma@denx.de>
59
60 * include/time.h: Add struct __timespec64 definition
61
8b45cac0
SP
622019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
63
64 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
65 from codecs.
66
bacd3227
AZ
672019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
68
b2b3b759
AZ
69 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
70 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
71
bacd3227
AZ
72 * sysdeps/unix/sysv/linux/Makefile
73 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
74 CFLAGS-tst-sigcontext-get_pc.c.
75
5d245b5f
AF
762019-09-24 Alistair Francis <alistair.francis@wdc.com>
77
78 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
79
eb502f72
AS
802019-09-24 Andreas Schwab <schwab@suse.de>
81
82 * sysdeps/unix/sysv/linux/arm/sysdep.h
83 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
84 not "__vdso_gettimeofday".
85 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
86 "__vdso_clock_gettime".
87 * sysdeps/unix/sysv/linux/mips/sysdep.h
88 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
89 not "__vdso_gettimeofday".
90 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
91 "__vdso_clock_gettime".
92
f1c56cdf 932019-09-19 Paul A. Clarke <pc@us.ibm.com>
eb502f72 94
f1c56cdf
PC
95 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
96 (__fe_mffscrn): New.
97 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
98 Do not clear enable bits, remove obsolete code, use
99 fegetenv_and_set_rn.
100 (libc_feresetround_ppc): Remove obsolete code, use
101 fegetenv_and_set_rn.
102
64fab363
SL
1032019-09-19 Stefan Liebler <stli@linux.ibm.com>
104
105 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
106
73d9051d
SL
1072019-09-19 Stefan Liebler <stli@linux.ibm.com>
108
109 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
110 (_HP_TIMING_S390_H): Define.
111
2dd8d4a7
JM
1122019-09-18 Joseph Myers <joseph@codesourcery.com>
113
0f02b6cf
JM
114 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
115 version to 5.3.
116 (clone3): New syscall.
117 (pidfd_open): Likewise.
118
2dd8d4a7
JM
119 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
120 version to 5.3.
121
2b680878
SL
1222019-09-18 Stefan Liebler <stli@linux.ibm.com>
123
124 * sysdeps/s390/hp-timing.h: New file.
125
8cacbcf4
JM
1262019-09-18 Joseph Myers <joseph@codesourcery.com>
127
128 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
129 <linux/sched.h>.
130 (CLONE_VM): New macro.
131 (CLONE_VFORK): Likewise.
132
2f9046fb
SL
1332019-09-18 Stefan Liebler <stli@linux.ibm.com>
134
135 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
136 Rearrange subprocesses.
137 (pldd_process): New function.
138 * support/Makefile (libsupport-routines): Add support_ptrace.
139 * support/xptrace.h: New file.
140 * support/support_ptrace.c: Likewise.
141
b8386c28
AZ
1422019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
143
87accae3
AZ
144 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
145
7c3eed78
AZ
146 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
147 (INTERNAL_VSYSCALL_CALL): Remove.
148 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
149 (INTERNAL_VSYSCALL_CALL): Likewise.
150 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
151 (INTERNAL_VSYSCALL_CALL): Likewise.
152 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
153 New macro.
154
986a5064
AZ
155 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
156 defined.
157 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
158 (__get_timebase_freq): Remove use of
159 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
160 (get_timebase_freq_fallback): New symbol.
161 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
162 HAVE_GETTIMEOFDAY_VSYSCALL.
163 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
164 HAVE_TIME_VSYSCALL.
165 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
166 implementation.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
168 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
169 powerpc64.
170 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
171 * .../sysv/linux/powerpc/powerpc64/sysdep.h
172 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
174 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
175
b8a7c7da
AZ
176 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
177 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
178 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
179 Likewise.
180 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
181 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
182 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
183 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
184 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
185 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
186 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
187 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
188 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
189 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
190 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
191 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
193 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
194 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
195 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
196 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
197 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
198 name.
199 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
200 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
201 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
202 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
203 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
204 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
205 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
206 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
207 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
208 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
209 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
210 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
211 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
212 HAVE_GETCPU_VSYSCALL): Likewise.
213 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
214 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
215 HAVE_GETCPU_VSYSCALL): Likewise.
216 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
217 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
219 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
220 HAVE_GETCPU_VSYSCALL): Likewise.
221 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
222 invalid names if architecture does not define them.
223 (get_vdso_mangle_symbol): New symbol.
224 * sysdeps/unix/sysv/linux/init-first.c: New file.
225 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
226 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
227 clock_gettime, clock_getres, getcpu, time): Remove declaration.
228 (__libc_vdso_platform_setup_arch): Likewise and use
229 get_vdso_mangle_symbol to setup vDSO symbols.
230 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
231 attribute_hidden.
232 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
233 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
234 definition.
235
b8386c28
AZ
236 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
237 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
238 Use get_vdso_symbol instead of _dl_vdso_vsym.
239 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
240 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
241 (__lookup_riscv_flush_icache): Likewise.
242 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
243 Likewise.
244 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
245 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
246 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
247 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
248 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
249 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
251 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
252 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
253 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
256 Define.
257 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
258 Likewise.
259 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
260 Likewise.
261 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
262 Likewise.
263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
264 Likewise.
265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
266 Likewise.
267 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
268 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
269 definition.
270 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
271 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
272 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
273 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
275 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
277 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
279 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
280 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
282 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
283 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
284 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
285 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
286 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
287 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
288 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
289 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
290 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
291 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
292 (get_vdso_symbol): New function.
293
b881217f
CLT
2942019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
295
296 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
297 position of string null termination.
298
1a656609
AJ
2992019-09-14 Aurelien Jarno <aurelien@aurel32.net>
300
301 [BZ #24986]
302 * sysdeps/unix/alpha/getegid.S: Move to ...
303 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
304 * sysdeps/unix/alpha/geteuid.S: Move to ...
305 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
306 * sysdeps/unix/alpha/getppid.S: Move to ...
307 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
308
3f02b772
PE
3092019-09-09 Paul Eggert <eggert@cs.ucla.edu>
310
02d35f06
PE
311 Fix http: URL in 'configure'
312 * configure.ac: Add URL to AC_INIT so that it generates an
313 https: URL instead of an http: URL.
314 * configure: Regenerate.
315
3f02b772
PE
316 Regenerate charmap-kw.h, locfile-kw.h
317 This propagates the recent http->https URL changes.
318 Since I used gperf 3.1 to regenerate, this is also a minor
319 internal-to-localedef API change.
320 URL problem reported by Joseph Myers in:
321 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
322 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
323 Regenerate with gperf 3.1.
324 * locale/programs/linereader.h (kw_hash_fct_t):
325 * locale/programs/repertoire.c (repertoiremap_hash):
326 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
327
de18a706
FW
3282019-09-05 Florian Weimer <fweimer@redhat.com>
329
330 [BZ #24962]
331 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
332 (_nl_category_names_get): New function.
333 * intl/dcigettext.c (category_to_name): Call it.
334 * locale/findlocale.c (_nl_find_locale): Likewise.
335 * intl/loadlocale.c (_nl_load_locale): Likewise.
336 * locale/newlocale.c (__newlocale): Likewise.
337 * locale/setlocale.c (_nl_category_names): Adjust definition.
338 (_nl_category_name_idxs): Likewise.
339 (new_composite_name): Call _nl_category_names_get.
340 (setlocale): Likewise.
341
ab41100b
GG
3422019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
343
344 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
345 const attribute with pure attribute.
346
a26918cf
LM
3472019-09-04 Lukasz Majewski <lukma@denx.de>
348
349 * sysdeps/unix/sysv/linux/kernel-features.h
350 (__ASSUME_TIME64_SYSCALLS): New macro.
351
7b5af2d8
ZW
3522019-09-04 Zack Weinberg <zackw@panix.com>
353
354 [BZ #24959]
355 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
356 * rt/clock_getres.c: Move to time/clock_getres.c.
357 * rt/clock_gettime.c: Move to time/clock_gettime.c.
358 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
359 * rt/clock_settime.c: Move to time/clock_settime.c.
360 * rt/tst-clock.c: Move to time/tst-clock.c.
361 * rt/tst-clock2.c: Move to time/tst-clock2.c.
362 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
363 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
364 * rt/clock-compat.c: Delete file.
365
366 * time/clock_getcpuclockid.c
367 * time/clock_getres.c
368 * time/clock_gettime.c
369 * time/clock_nanosleep.c
370 * time/clock_settime.c
371 * sysdeps/posix/clock_getres.c
372 * sysdeps/unix/clock_gettime.c
373 * sysdeps/unix/clock_nanosleep.c
374 * sysdeps/unix/clock_settime.c
375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
376 * sysdeps/unix/sysv/linux/clock_getres.c
377 * sysdeps/unix/sysv/linux/clock_gettime.c
378 * sysdeps/unix/sysv/linux/clock_nanosleep.c
379 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
380 defined by this file with default symbol version GLIBC_2_17,
381 and optionally a compatibility alias at symbol version GLIBC_2_2.
382 * include/time.h: Remove internal prototypes for clock_getres,
383 clock_nanosleep, and clock_getcpuclockid.
384
385 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
386 Remove unused function realtime_gettime.
387
388 * rt/Makefile (clock-routines, routines): Remove variable.
389 (librt-routines): Remove clock-compat.
390 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
391 and tst-cpuclock1.
392 * time/Makefile (routines): Add clock_getres, clock_gettime,
393 clock_settime, clock_getcpuclockid, and clock_nanosleep.
394 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
395 and tst-cpuclock1.
396
397 * rt/Versions (libc): Remove entire stanza.
398 (librt GLIBC_2.2): Remove all clock_* functions.
399 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
400 Add clock_getres, clock_gettime, clock_settime,
401 clock_getcpuclockid, and clock_nanosleep.
402 (libc GLIBC_PRIVATE): Add __clock_gettime.
403
404 * sysdeps/mach/hurd/i386/librt.abilist
405 * sysdeps/unix/sysv/linux/alpha/librt.abilist
406 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
407 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
408 * sysdeps/unix/sysv/linux/hppa/librt.abilist
409 * sysdeps/unix/sysv/linux/i386/librt.abilist
410 * sysdeps/unix/sysv/linux/ia64/librt.abilist
411 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
412 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
413 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
414 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
415 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
416 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
419 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
420 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
421 * sysdeps/unix/sysv/linux/sh/librt.abilist
422 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
423 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
424 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
425 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
426 Remove entries for clock_getres, clock_gettime, clock_settime,
427 clock_getcpuclockid, and clock_nanosleep.
428
429 * sysdeps/mach/hurd/i386/libc.abilist
430 * sysdeps/unix/sysv/linux/alpha/libc.abilist
431 * sysdeps/unix/sysv/linux/arm/libc.abilist
432 * sysdeps/unix/sysv/linux/hppa/libc.abilist
433 * sysdeps/unix/sysv/linux/i386/libc.abilist
434 * sysdeps/unix/sysv/linux/ia64/libc.abilist
435 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
436 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
437 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
438 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
439 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
444 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
446 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
447 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
448 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
449 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
450 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
451 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
452 Add another set of entries for clock_getres, clock_gettime,
453 clock_settime, clock_getcpuclockid, and clock_nanosleep at
454 whatever version GLIBC_2.2 maps to.
455
b5367a08
AJ
4562019-09-03 Aurelien Jarno <aurelien@aurel32.net>
457
458 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
459
1471fa55
FW
4602019-09-03 Florian Weimer <fweimer@redhat.com>
461
462 [BZ #24950]
463 * locale/programs/charmap.h (struct charseq): Turn bytes into a
464 flexible array member.
465 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
466 replace.
467
9a1e7257
FW
4682019-09-02 Florian Weimer <fweimer@redhat.com>
469
470 * misc/tst-mntent-autofs.c: New file.
471 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
472
08b7e998
IK
4732019-09-02 Ian Kent <ikent@redhat.com>
474
475 Use autofs "ignore" mount hint in getmntent_r/getmntent.
476 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
477 getmntent_r.
478 (__getmntent_r): Call it. Filter out autofs entries with an
479 "ignore" mount option.
480
3c05dd79
WD
4812019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
482
483 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
484 (generic_memcpy): Include generic C memcpy.
485 * benchtests/bench-memmove.c (simple_memmove): Remove.
486 (generic_memmove): Include generic C memmove.
487 * benchtests/bench-memset.c (simple_memset): Remove.
488 (generic_memset): Include generic C memset.
489 * benchtests/bench-memset-large.c (simple_memset): Remove.
490 (generic_memset): Include generic C memset.
491 * benchtests/bench-memset-walk.c (simple_memset): Remove.
492 (generic_memset): Include generic C memset.
493 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
494 * string/memset.c (MEMSET): Likewise.
495 * sysdeps/x86_64/memcopy.h: Remove empty file.
496
9743c627
FW
4972019-08-30 Florian Weimer <fweimer@redhat.com>
498
499 nptl: Move pthread_attr_getinheritsched implementation into libc.
500 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
501 (libpthread-routines): Remove pthread_attr_getinheritsched.
502 * nptl/Versions (libpthread GLIBC_2.0): Remove
503 pthread_attr_getinheritsched.
504 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
505 * nptl/nptl-init.c (pthread_functions): Remove initializer for
506 ptr_pthread_attr_getinheritsched.
507 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
508 Remove ptr_pthread_attr_getinheritsched member.
509 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
510 Remove pthread_attr_getinheritsched.
511 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
512 Likewise.
513 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
514 Likewise.
515 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
516 Likewise.
517 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
518 Likewise.
519 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
520 Likewise.
521 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
522 Likewise.
523 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
524 Likewise.
525 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
526 (GLIBC_2.4): Likewise.
527 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
528 (GLIBC_2.0): Likewise.
529 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
530 (GLIBC_2.18): Likewise.
531 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
532 (GLIBC_2.18): Likewise.
533 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
534 (GLIBC_2.0): Likewise.
535 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
536 (GLIBC_2.0): Likewise.
537 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
538 Likewise.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
540 (GLIBC_2.0): Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
542 (GLIBC_2.3): Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
544 (GLIBC_2.17): Likewise.
545 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
546 (GLIBC_2.27): Likewise.
547 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
548 (GLIBC_2.0): Likewise.
549 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
550 (GLIBC_2.2): Likewise.
551 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
552 Likewise.
553 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
554 Likewise.
555 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
556 (GLIBC_2.0): Likewise.
557 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
558 (GLIBC_2.2): Likewise.
559 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
560 (GLIBC_2.2.5): Likewise.
561 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
562 (GLIBC_2.16): Likewise.
563
90f0f97c
ST
5642019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
565
90f0f97c
ST
566 * sysdeps/mach/hurd/getcwd.c
567 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
568 slash if we got an unknown root directory. (__getcwd): Do not fail with
569 EGRATUITOUS if we got an unknown root directory.
d76d187c
ST
570 * hurd/hurdselect.c (SELECT_ERROR): New macro.
571 (_hurd_select):
572 - Add `error' field to `d' structures array.
573 - If a poll descriptor is bogus, set EBADF, but continue with a zero
574 timeout.
575 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
576 EBADF there is any bit set above _hurd_dtablesize.
577 - Do not request io_select on bogus descriptors (SELECT_ERROR).
578 - On io_select request error, record the error.
579 - On io_select bogus reply, use EIO error code.
580 - On io_select bogus or error reply, record the error.
581 - Do not destroy reply port for bogus FDs.
582 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
583 EBADF case, or else POLLERR.
584 - On error, make select simulated readiness.
90f0f97c 585
c9536b7b
ST
586 [BZ #19903]
587 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
588 as __vm_allocate.
589
a644a4b2
ST
590 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
591 unlocks SS and returns to the saved PC.
592 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
593 thread stack instead of the saved PC.
594
90f0f97c 5952019-08-30 Richard Braun <rbraun@sceen.net>
4b068090
RB
596
597 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
598 timeout.
f0e84494 599 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
c3010778
RB
600 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
601 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
602 <limits.h>.
603 (_hurd_select): Replace the call to __io_select with either
604 __io_select_request or __io_select_timeout_request, depending on the
605 timeout. Count the number of ready descriptors (replies for which at
606 least one type bit is set). Implement the timeout locally when there is
607 no file descriptor.
4b068090 608
23c1c256
MS
6092019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
610
611 * elf/dl-addr.c (determine_info): Calculate the symbol index
612 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
613 * elf/dl-lookup.c (do_lookup_x): Ditto.
614 (_dl_setup_hash): Initialize MIPS xhash translation table.
615 * elf/elf.h (SHT_MIPS_XHASH): New define.
616 (DT_MIPS_XHASH): New define.
617 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
618 define.
619 (ELF_MACHINE_HASH_SYMIDX): Ditto.
620 (ELF_MACHINE_XHASH_SETUP): Ditto.
621 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
622 define.
623 (ELF_MACHINE_HASH_SYMIDX): Ditto.
624 (ELF_MACHINE_XHASH_SETUP): Ditto.
625 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
626 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
627 version.
628 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
629
1673ba87
AZ
6302019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
631
605f3817
AZ
632 * sysdeps/sh/preconfigure.ac: New file.
633 * sysdeps/sh/preconfigure: Regenerate.
634 * sysdeps/sh/be/sh3/Implies: New file.
635 * sysdeps/sh/be/sh4/Implies: Likewise.
636 * sysdeps/sh/le/sh3/Implies: Likewise.
637 * sysdeps/sh/le/sh4/Implies: Likewise.
638 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
639 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
640 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
641 sysdeps/unix/sysv/linux/sh/le/*.abilist.
642 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
643
c7fca8d4
AZ
644 * sysdeps/microblaze/preconfigure.ac: New file.
645 * sysdeps/microblaze/preconfigure: Regenerate.
646 * sysdeps/microblaze/be/implies: New file.
647 * sysdeps/microblaze/le/implies: Likewise.
648 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
649 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
650 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
651 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
652 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
653
1673ba87
AZ
654 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
655 * sysdeps/arm/preconfigure: Regenerate.
656 * sysdeps/arm/be/Implies: New file.
657 * sysdeps/arm/be/armv6/Implies: Likewise.
658 * sysdeps/arm/be/armv6t2/Implies: Likewise.
659 * sysdeps/arm/be/armv7/Implies: Likewise.
660 * sysdeps/arm/le/Implies: Likewise.
661 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
662 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
663 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
664 sysdeps/unix/sysv/linux/arm/le/*.abilist.
665 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
666
a22a582e
PE
6672019-08-27 Paul Eggert <eggert@cs.ucla.edu>
668
669 Fix posix/tst-regex by using UTF-8 and own test input
670 Problem reported by Stefan Liebler in:
671 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
672 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
673 (do_test, test_expr): Adjust to the fact that this source file,
674 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
675 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
676 so that it is now UTF-8.
677
0b3c9e57 6782019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 679
0b3c9e57
PC
680 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
681 (fegetenv_status): Generate 'mffsl' unconditionally.
682
fec2bd2c 6832019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 684
fec2bd2c
PC
685 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
686 FPSCR read.
687 (_FPU_MASK_ALL): Delete.
688
e9052126 6892019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 690
e9052126
PC
691 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
692 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
693 if possible.
694 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
695 with simpler required steps, set fewer FPSCR bits if possible.
696
3c1766ea 6972019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 698
3c1766ea
PC
699 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
700 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
701 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
702 weight access to FPSCR; remove unnecessary second FPSCR read and
703 validate.
704 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
705 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
706 access to FPSCR; Use macros in fenv_libc.h in favor of local.
707
cd7ce12a 7082019-08-28 Paul A. Clarke <pc@us.ibm.com>
3f02b772 709
cd7ce12a
PC
710 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
711 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
712 (fenv_exceptions_to_reg): New.
713 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
714 operation with call to fenv_exceptions_to_reg().
715 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
716
35ffd20d
FW
7172019-08-28 Florian Weimer <fweimer@redhat.com>
718
719 * misc/mntent.c (struct mntent_buffer): Define.
720 (mntent_buffer): Adjust type to void *.
721 (allocate): Adjust for allocate_once.
722 (deallocate): New function.
723 (getmntent): Call allocate_once.
724
ffced383
FW
7252019-08-28 Florian Weimer <fweimer@redhat.com>
726
727 nptl: Move pthread_attr_setdetachstate implementation into libc.
728 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
729 (libpthread-routines): Remove pthread_attr_setdetachstate.
730 * nptl/Versions (libpthread GLIBC_2.0): Remove
731 pthread_attr_setdetachstate.
732 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
733 * nptl/nptl-init.c (pthread_functions): Remove initializer for
734 ptr_pthread_attr_setdetachstate.
735 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
736 Remove ptr_pthread_attr_setdetachstate member.
737 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
738 Remove pthread_attr_setdetachstate.
739 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
740 Likewise.
741 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
742 Likewise.
743 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
744 Likewise.
745 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
746 Likewise.
747 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
748 Likewise.
749 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
750 Likewise.
751 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
752 (GLIBC_2.4): Likewise.
753 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
754 (GLIBC_2.0): Likewise.
755 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
756 (GLIBC_2.18): Likewise.
757 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
758 (GLIBC_2.0): Likewise.
759 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
760 (GLIBC_2.0): Likewise.
761 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
762 Likewise.
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
764 (GLIBC_2.0): Likewise.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
766 (GLIBC_2.3): Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
768 (GLIBC_2.17): Likewise.
769 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
770 (GLIBC_2.27): Likewise.
771 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
772 (GLIBC_2.0): Likewise.
773 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
774 (GLIBC_2.2): Likewise.
775 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
776 Likewise.
777 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
778 (GLIBC_2.0): Likewise.
779 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
780 (GLIBC_2.2): Likewise.
781 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
782 (GLIBC_2.2.5): Likewise.
783 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
784 (GLIBC_2.16): Likewise.
785
61d3db42
FW
7862019-08-28 Florian Weimer <fweimer@redhat.com>
787
788 [BZ #24902]
789 * login/Makefile (tests): Add tst-pututxline-lockfail.
790 (tst-pututxline-lockfail): Link with -lpthread.
791 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
792 (__libc_getutid_r): Adjust.
793 (__libc_pututline): Likewise. Check for file_offset == -1.
794 * login/tst-pututxline-lockfail.c: New file.
795
3a9d025f
SL
7962019-08-28 Stefan Liebler <stli@linux.ibm.com>
797
798 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
799 * posix/tst-regex.input: New file.
800
edd8d70b
MS
8012019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
802
803 [BZ #24916]
804 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
805 tst-undefined-weak.
806 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
807 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
808 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
809 * sysdeps/mips/tst-undefined-weak.c: Likewise.
810 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
811 Increment highest valid ABIVERSION value.
812
33bc9efd
DM
8132019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
814
815 * sysdeps/unix/sysv/linux/mips/Makefile
816 (test-xfail-check-execstack):
817 Move under mips-has-gnustack != yes.
818 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
819 Apply -Wa,-execstack if mips-force-execstack == yes.
820 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
821 * sysdeps/unix/sysv/linux/mips/configure.ac
822 (mips-force-execstack): New var.
823 Set to yes for hard-float builds with minimum_kernel < 4.8.0
824 or minimum_kernel not set at all.
825 (mips-has-gnustack): New var.
826 Use value of libc_cv_as_noexecstack
827 if mips-force-execstack != yes, otherwise set to no.
828
a43565ac
AZ
8292019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
830 Florian Weimer <fweimer@redhat.com>
831
08d57105
AZ
832 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
833 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
834 Make a compat_symbol.
835 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
836 (__profil_counter_global): Likewise.
837
a43565ac
AZ
838 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
839 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
840 uintptr_t.
841 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
842 sigcontext_get_pc and return aligned cast to uintptr_t.
843 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
844 * sysdeps/posix/profil.c (profil_count): Change PC argument to
845 uintptr_t.
846 (__profil): Use SA_SIGINFO.
847 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
848 uintptr_t.
849 (__sprofil): Use SA_SIGINFO.
850 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
851 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
852 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
853 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
854 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
855 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
856 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
857 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
858 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
859 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
860 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
861 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
862 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
863 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
864 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
865 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
866 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
867 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
869 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
870 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
871 GET_PC, __sigaction, sigaction): Remove defines.
872 (sigcontext_get_pc): New function.
873 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
874 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
875 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
876 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
877 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
878 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
879 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
880 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
881 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
882 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
883 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
885 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
886 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
887 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
888 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
889 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
890 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
891 Handle CTX argument as ucontext_t.
892 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
893 Likewise.
894 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
895 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
896 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
897 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
898 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
899 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
900 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
901 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
902 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
903 tst-sigcontextinfo-get_pc.
904 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
905 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
906
624c109b
AZ
9072019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
908
909 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
910 definition.
911
ab74d59f 9122019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
c0fd3244
RL
913
914 [BZ #24682]
915 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
916 * localedata/locales/ug_CN (first_weekday): Likewise.
917 * localedata/locales/zh_CN (first_weekday): Likewise.
918
c8c8160c
GR
9192019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
920
921 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
922 field name in mcontext_t struct.
923
c737ef0d
JM
9242019-08-22 Joseph Myers <joseph@codesourcery.com>
925
42f527c8
JM
926 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
927 unsupported with libidn2 before 2.0.5.
928 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
929
c737ef0d
JM
930 * manual/time.texi (strftime): Document %Ob and %OB as C2X
931 features.
932
8a80ee5e
PE
9332019-08-21 Paul Eggert <eggert@cs.ucla.edu>
934
f615e3fc
PE
935 Remove dead regex code
936 * posix/regex_internal.c (re_node_set_insert):
937 Remove unnecessary assignment. Reported by Tim Rühsen in:
938 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
939
8a80ee5e
PE
940 Fix bad pointer / leak in regex code
941 This was found by Coverity (CID 1484201). [BZ#24844]
942 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
943 pointer and/or memory leak when storage is exhausted.
944
1baae4aa
ZW
9452019-08-21 Zack Weinberg <zackw@panix.com>
946
947 * misc/syslog.c (__vsyslog_internal)
948 * time/getdate.c (__getdate_r)
949 * time/tst_wcsftime.c (main):
950 Use return value of time, not its argument.
951
952 * string/strfry.c (strfry)
953 * sysdeps/mach/sleep.c (__sleep):
954 Remove unnecessary casts of NULL in calls to time.
955
f9fabc1b
JM
9562019-08-21 Joseph Myers <joseph@codesourcery.com>
957
958 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
959 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
960 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
961 (__TGMATH_2_NARROW_F): Likewise.
962 (__TGMATH_2_NARROW_D): New macro.
963 (__TGMATH_2_NARROW_F16): Likewise.
964 (__TGMATH_2_NARROW_F32): Likewise.
965 (__TGMATH_2_NARROW_F64): Likewise.
966 (__TGMATH_2_NARROW_F32X): Likewise.
967 (__TGMATH_2_NARROW_F64X): Likewise.
968 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
969 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
970 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
971 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
972 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
973 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
974 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
975 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
976 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
977 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
978 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
979 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
980 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
981 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
982 Likewise.
983 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
984 Likewise.
985 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
986 Likewise.
987 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
988 Likewise.
989 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
990 Likewise.
991 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
992 Likewise.
993 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
994 Likewise.
995 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
996 Likewise.
997 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
998 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
999 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1000 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1001 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1002 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1003 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1004 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1005 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1006 Likewise.
1007 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1008 Likewise.
1009 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1010 Likewise.
1011 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1012 Likewise.
1013 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1014 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1015 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1016 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1017 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1018 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1019 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1020 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1021 * math/gen-tgmath-tests.py (Type): Add members
1022 non_standard_real_argument_types_list, long_double_type,
1023 complex_float64_type and float32x_ext_type.
1024 (Type.__init__): Set the new members.
1025 (Type.floating_type): Add new argument floatn.
1026 (Type.real_floating_type): Likewise.
1027 (Type.can_combine_types): Likewise.
1028 (Type.combine_types): Likewise.
1029 (Type.init_types): Create internal Float32x_ext type.
1030 (Tests.__init__): Define Float32x_ext in generated C code.
1031 (Tests.add_tests): Handle narrowing functions.
1032 (Tests.add_all_tests): Likewise.
1033 (Tests.tests_text): Allow variation in mant_dig for narrowing
1034 functions with compilers before GCC 8.
1035 * math/Makefile (tgmath3-narrow-types): New variable.
1036 (tgmath3-narrow-macros): Likewise.
1037 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1038
b7297184
AS
10392019-08-20 Andreas Schwab <schwab@suse.de>
1040
1041 * sysdeps/i386/fpu/libm-test-ulps: Update.
1042
d34d4c80
CD
10432019-08-19 Carlos O'Donell <carlos@redhat.com>
1044
1045 * nscd/nscd.conf: Add warning and comment about shared option.
1046
4b7c7417
CD
10472019-08-19 Carlos O'Donell <carlos@redhat.com>
1048
1049 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1050 * manual/nss.texi (NSS Basics): List all known databases.
1051 (Services in the NSS configuration): Mention automount.
1052
a289ea09
FW
10532019-08-19 Florian Weimer <fweimer@redhat.com>
1054
1055 Do not print backtraces on fatal errors.
1056 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1057 (__fortify_fail_abort): Remove definition.
1058 (__fortify_fail): Call __libc_message directly.
1059 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1060 (__stack_chk_fail): Call __fortify_fail instead of
1061 __fortify_fail_abort.
1062 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1063 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1064 definitions.
1065 (__libc_message): Do not handle do_backtrace. Do not call
1066 BEFORE_ABORT.
1067 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1068 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1069 (before_abort): Remove definitions.
1070
1d714fd9
FW
10712019-08-16 Florian Weimer <fweimer@redhat.com>
1072
1073 nptl: Move pthread_attr_getdetachstate implementation into libc.
1074 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1075 (libpthread-routines): Remove pthread_attr_getdetachstate.
1076 * nptl/Versions (libpthread GLIBC_2.0): Remove
1077 pthread_attr_getdetachstate.
1078 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1079 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1080 ptr_pthread_attr_getdetachstate.
1081 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1082 Remove ptr_pthread_attr_getdetachstate member.
1083 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1084 Remove pthread_attr_getdetachstate.
1085 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1086 Likewise.
1087 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1090 Likewise.
1091 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1092 Likewise.
1093 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1094 Likewise.
1095 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1096 Likewise.
1097 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1098 (GLIBC_2.4): Likewise.
1099 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1100 (GLIBC_2.0): Likewise.
1101 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1102 (GLIBC_2.18): Likewise.
1103 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1104 (GLIBC_2.0): Likewise.
1105 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1106 (GLIBC_2.0): Likewise.
1107 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1108 Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1110 (GLIBC_2.0): Likewise.
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1112 (GLIBC_2.3): Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1114 (GLIBC_2.17): Likewise.
1115 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1116 (GLIBC_2.27): Likewise.
1117 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1118 (GLIBC_2.0): Likewise.
1119 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1120 (GLIBC_2.2): Likewise.
1121 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1122 Likewise.
1123 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1124 (GLIBC_2.0): Likewise.
1125 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1126 (GLIBC_2.2): Likewise.
1127 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1128 (GLIBC_2.2.5): Likewise.
1129 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1130 (GLIBC_2.16): Likewise.
1131
4745f4c1
JM
11322019-08-16 Joseph Myers <joseph@codesourcery.com>
1133
1134 * math/libm-test-compat_totalorder.inc (do_test)
1135 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1136 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1137 * math/libm-test-compat_totalordermag.inc (do_test)
1138 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1139
a635d756
FW
11402019-08-15 Florian Weimer <fweimer@redhat.com>
1141
1142 nptl: Move pthread_attr_init implementation into libc.
1143 * nptl/Makefile (routines): Add pthread_attr_init.
1144 (libpthread-routines): Remove pthread_attr_init.
1145 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1146 (libpthread GLIBC_2.0): Likewise.
1147 * nptl/pthread_attr_init.c: Check for libc compat version instead
1148 of libpthread compat version.
1149 * nptl/forward.c (__pthread_attr_init_2_0)
1150 (__pthread_attr_init_2_1): Remove definitions.
1151 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1152 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1153 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1154 Remove members ptr___pthread_attr_init_2_0,
1155 ptr___pthread_attr_init_2_1.
1156 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1157 Remove pthread_attr_init.
1158 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1159 Likewise.
1160 (GLIBC_2.1): Likewise.
1161 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1162 Likewise.
1163 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1164 Likewise.
1165 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1166 Likewise.
1167 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1168 Likewise.
1169 (GLIBC_2.1): Likewise.
1170 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1171 Likewise.
1172 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1173 (GLIBC_2.4): Likewise.
1174 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1175 (GLIBC_2.0): Likewise.
1176 (GLIBC_2.1): Likewise.
1177 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1178 (GLIBC_2.18): Likewise.
1179 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1180 (GLIBC_2.0): Likewise.
1181 (GLIBC_2.1): Likewise.
1182 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1183 (GLIBC_2.0): Likewise.
1184 (GLIBC_2.1): Likewise.
1185 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1186 Likewise.
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1188 (GLIBC_2.0): Likewise.
1189 (GLIBC_2.1): Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1191 (GLIBC_2.3): Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1193 (GLIBC_2.17): Likewise.
1194 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1195 (GLIBC_2.27): Likewise.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1197 (GLIBC_2.0): Likewise.
1198 (GLIBC_2.1): Likewise.
1199 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1200 (GLIBC_2.2): Likewise.
1201 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1202 Likewise.
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1204 (GLIBC_2.0): Likewise.
1205 (GLIBC_2.1): Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1207 (GLIBC_2.2): Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1209 (GLIBC_2.2.5): Likewise.
1210 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1211 (GLIBC_2.16): Likewise.
1212
23d2e5fa
FW
12132019-08-15 Florian Weimer <fweimer@redhat.com>
1214
1215 [BZ #24900]
1216 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1217 new object in __RTLD_OPENEXEC mode (except for the origin).
1218 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1219 check for the error message.
1220 (do_test): Call it. Add check using relative path.
1221 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1222 (tst-dlopen-aout-container): Link with libpthread.
1223 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1224
42760d76
JM
12252019-08-15 Joseph Myers <joseph@codesourcery.com>
1226
1227 * math/bits/mathcalls.h
1228 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1229 (totalorder): Take pointer arguments.
1230 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1231 (totalordermag): Likewise.
1232 * manual/arith.texi (totalorder): Likewise.
1233 (totalorderf): Likewise.
1234 (totalorderl): Likewise.
1235 (totalorderfN): Likewise.
1236 (totalorderfNx): Likewise.
1237 (totalordermag): Likewise.
1238 (totalordermagf): Likewise.
1239 (totalordermagl): Likewise.
1240 (totalordermagfN): Likewise.
1241 (totalordermagfNx): Likewise.
1242 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1243 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1244 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1245 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1246 totalorderl, totalordermag, totalordermagf, totalordermagl,
1247 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1248 totalordermagf64, totalordermagf32x, totalorderf64x,
1249 totalordermagf64x, totalorderf128 and totalordermagf128.
1250 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1251 and compat_totalordermag.
1252 (libm-test-funcs-compat): New variable.
1253 (libm-tests-compat): Likewise.
1254 (tests): Do not include compat tests.
1255 (tests-internal): Add compat tests.
1256 ($(foreach t,$(libm-tests-base),
1257 $(objpfx)$(t)-compat_totalorder.o)): Depend
1258 on $(objpfx)libm-test-totalorder.c.
1259 ($(foreach t,$(libm-tests-base),
1260 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1261 $(objpfx)libm-test-totalordermag.c.
1262 (tgmath3-macros): Remove totalorder and totalordermag.
1263 * math/libm-test-compat_totalorder.inc: New file.
1264 * math/libm-test-compat_totalordermag.inc: Likewise.
1265 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1266 (RUN_TEST_fpfp_b): New macro.
1267 (RUN_TEST_LOOP_fpfp_b): Likewise.
1268 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1269 TEST_fpfp_b.
1270 (totalorder_test): Condition on [!COMPAT_TEST].
1271 (do_test): Likewise.
1272 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1273 TEST_fpfp_b.
1274 (totalordermag_test): Condition on [!COMPAT_TEST].
1275 (do_test): Likewise.
1276 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1277 totalorder and totalordermag.
1278 * math/test-tgmath.c (NCALLS): Change to 132.
1279 (F(compile_test)): Do not call totalorder or totalordermag.
1280 (F(totalorder)): Remove.
1281 (F(totalordermag)): Likewise.
1282 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1283 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1284 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1285 SJSTR_HELPER.
1286 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1287 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1288 [!_ISOMAC] (TEST_ALIGN): Likewise.
1289 [!_ISOMAC] (TEST_OFFSET): Likewise.
1290 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1291 and <first-versions.h>.
1292 (__totalorder): Take pointer arguments. Add symbol versions and
1293 compat symbols.
1294 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1295 <shlib-compat.h> and <first-versions.h>.
1296 (__totalordermag): Take pointer arguments. Add symbol versions
1297 and compat symbols.
1298 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1299 <shlib-compat.h> and <first-versions.h>.
1300 (__totalorder): Take pointer arguments. Add symbol versions and
1301 compat symbols.
1302 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1303 <shlib-compat.h> and <first-versions.h>.
1304 (__totalordermag): Take pointer arguments. Add symbol versions
1305 and compat symbols.
1306 * sysdeps/ieee754/float128/float128_private.h
1307 (__totalorder_compatl): New macro.
1308 (__totalordermag_compatl): Likewise.
1309 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1310 and <first-versions.h>.
1311 (__totalorderf): Take pointer arguments. Add symbol versions and
1312 compat symbols.
1313 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1314 <shlib-compat.h> and <first-versions.h>.
1315 (__totalordermagf): Take pointer arguments. Add symbol versions
1316 and compat symbols.
1317 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1318 <shlib-compat.h> and <first-versions.h>.
1319 (__totalorderl): Take pointer arguments. Add symbol versions and
1320 compat symbols.
1321 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1322 <shlib-compat.h> and <first-versions.h>.
1323 (__totalordermagl): Take pointer arguments. Add symbol versions
1324 and compat symbols.
1325 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1326 <shlib-compat.h>.
1327 (__totalorderl): Take pointer arguments. Add symbol versions and
1328 compat symbols.
1329 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1330 <shlib-compat.h>.
1331 (__totalordermagl): Take pointer arguments. Add symbol versions
1332 and compat symbols.
1333 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1334 <shlib-compat.h> and <first-versions.h>.
1335 (__totalorderl): Take pointer arguments. Add symbol versions and
1336 compat symbols.
1337 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1338 <shlib-compat.h> and <first-versions.h>.
1339 (__totalordermagl): Take pointer arguments. Add symbol versions
1340 and compat symbols.
1341 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1342 pointer arguments.
1343 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1344 Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1346 (do_test): Update calls to totalorderl and totalordermagl.
1347 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1348 Update calls to totalorderl and totalordermagl.
1349 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1351 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1352 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1353 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1354 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1355 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1356 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1357 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1358 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1359 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1364 Likewise.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1366 Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1368 Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1370 Likewise.
1371 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1372 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1379
c2adefba
FW
13802019-08-15 Florian Weimer <fweimer@redhat.com>
1381
1382 [BZ #24899]
1383 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1384 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1385 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1386 Likewise.
1387 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1388 __attribute_nonstring__ to ut_id.
1389 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1390 Likewise.
1391
0d5b2917
FW
13922019-08-15 Florian Weimer <fweimer@redhat.com>
1393
1394 [BZ #24880]
1395 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1396 (file_locking_unlock): Likewise.
1397
628598be
FW
13982019-08-15 Florian Weimer <fweimer@redhat.com>
1399
1400 [BZ #24879]
1401 login: Disarm timer after utmp lock acquisition.
1402 * login/utmp_file.c (struct file_locking): Remove.
1403 (try_file_lock): Adjust.
1404 (file_lock_restore): Remove function.
1405 (__libc_getutent_r): .
1406 (internal_getut_r): Likewise.
1407 (__libc_getutline_r): Likewise.
1408 (__libc_pututline): Likewise.
1409 (__libc_updwtmp): Likewise.
1410
17e13474
FW
14112019-08-15 Florian Weimer <fweimer@redhat.com>
1412
1413 nptl: Remove pthread_self compatibility symbol from libpthread.
1414 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1415 pthread_equal.
1416 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1417 * nptl/compat-pthread_self.c: Remove file.
1418 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1419 Remove pthread_self.
1420 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1421 Likewise.
1422 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1423 Likewise.
1424 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1431 (GLIBC_2.4): Likewise.
1432 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1433 (GLIBC_2.0): Likewise.
1434 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1435 (GLIBC_2.18): Likewise.
1436 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1437 (GLIBC_2.0): Likewise.
1438 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1439 (GLIBC_2.0): Likewise.
1440 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1443 (GLIBC_2.0): Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1445 (GLIBC_2.3): Likewise.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1447 (GLIBC_2.17): Likewise.
1448 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1449 (GLIBC_2.0): Likewise.
1450 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1451 (GLIBC_2.2): Likewise.
1452 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1453 Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1455 (GLIBC_2.0): Likewise.
1456 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1457 (GLIBC_2.2): Likewise.
1458 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1459 (GLIBC_2.2.5): Likewise.
1460 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1461 (GLIBC_2.16): Likewise.
1462
fa57c301
FW
14632019-08-15 Florian Weimer <fweimer@redhat.com>
1464
1465 nptl: Move pthread_attr_destroy implementation into libc.
1466 * nptl/Makefile (routines): Add pthread_attr_destroy.
1467 (libpthread-routines): Remove pthread_attr_destroy.
1468 * nptl/Versions (libpthread GLIBC_2.0): Remove
1469 pthread_attr_destroy.
1470 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1471 libc compat version instead of libpthread compat version.
1472 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1473 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1474 ptr_pthread_attr_destroy.
1475 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1476 Remove ptr_pthread_attr_destroy member.
1477 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1478 Remove pthread_attr_destroy.
1479 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1480 Likewise.
1481 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1482 Likewise.
1483 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1484 Likewise.
1485 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1486 Likewise.
1487 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1488 Likewise.
1489 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1490 Likewise.
1491 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1492 (GLIBC_2.4): Likewise.
1493 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1494 (GLIBC_2.0): Likewise.
1495 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1496 (GLIBC_2.18): Likewise.
1497 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1498 (GLIBC_2.0): Likewise.
1499 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1500 (GLIBC_2.0): Likewise.
1501 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1502 Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1504 (GLIBC_2.0): Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1506 (GLIBC_2.3): Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1508 (GLIBC_2.17): Likewise.
1509 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1510 (GLIBC_2.27): Likewise.
1511 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1512 (GLIBC_2.0): Likewise.
1513 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1514 (GLIBC_2.2): Likewise.
1515 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1516 Likewise.
1517 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1518 (GLIBC_2.0): Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1520 (GLIBC_2.2): Likewise.
1521 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1522 (GLIBC_2.2.5): Likewise.
1523 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1524 (GLIBC_2.16): Likewise.
1525
56e09811
AS
15262019-08-15 Andreas Schwab <schwab@suse.de>
1527
1528 * sysdeps/i386/fpu/libm-test-ulps: Update.
1529
f9769a23
FW
15302019-08-15 Florian Weimer <fweimer@redhat.com>
1531
1532 * malloc/Makefile (tests): Only add tst-mxfast for
1533 $(have-tunables).
1534 * malloc/tst-mxfast.c: Fix copyright year.
1535 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1536 assert for checks.
1537
341da5b4
FW
15382019-08-15 Florian Weimer <fweimer@redhat.com>
1539
1540 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1541 descriptor.
1542 * login/Makefile (tests): Add tst-updwtmpx.
1543 * login/tst-updwtmpx.c: New file.
1544
dda373b0
FW
15452019-08-15 Florian Weimer <fweimer@redhat.com>
1546
1547 nptl: Move pthread_equal implementation into libc.
1548 * nptl/Makefile (routines): Add pthread_equal.
1549 * nptl/forward.c (pthread_equal): Remove definition.
1550 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1551 ptr_pthread_equal.
1552 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1553 Remove ptr_pthread_equal member.
1554 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1555 Remove pthread_equal.
1556 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1557 Likewise.
1558 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1559 Likewise.
1560 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1561 Likewise.
1562 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1563 Likewise.
1564 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1565 Likewise.
1566 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1567 Likewise.
1568 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1569 (GLIBC_2.4): Likewise.
1570 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1571 (GLIBC_2.0): Likewise.
1572 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1573 (GLIBC_2.18): Likewise.
1574 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1575 (GLIBC_2.0): Likewise.
1576 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1577 (GLIBC_2.0): Likewise.
1578 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1579 Likewise.
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1581 (GLIBC_2.0): Likewise.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1583 (GLIBC_2.3): Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1585 (GLIBC_2.17): Likewise.
1586 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1587 (GLIBC_2.27): Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1589 (GLIBC_2.0): Likewise.
1590 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1591 (GLIBC_2.2): Likewise.
1592 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1593 Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1595 (GLIBC_2.0): Likewise.
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1597 (GLIBC_2.2): Likewise.
1598 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1599 (GLIBC_2.2.5): Likewise.
1600 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1601 (GLIBC_2.16): Likewise.
1602
c54d8649
FW
16032019-08-14 Florian Weimer <fweimer@redhat.com>
1604
1605 * support/support_descriptors.c: Include <support/descriptors.h>.
1606
b68fabfb
FX
16072019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1608
1609 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1610 Disable DC ZVA code if this macro is defined as zero.
1611 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1612 Change to zero to disable using DC ZVA.
1613
c3ce62cc
JM
16142019-08-13 Joseph Myers <joseph@codesourcery.com>
1615
1616 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1617 Update comment.
1618 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1619 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1620 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1621 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1622 Likewise.
1623
5a3afa97
FW
16242019-08-13 Florian Weimer <fweimer@redhat.com>
1625
1626 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1627 Remove macros.
1628 (struct file_locking): New.
1629 (try_file_lock, file_unlock, file_lock_restore): New functions.
1630 (__libc_getutent_r): Use the new functions.
1631 (internal_getut_r): Likewise.
1632 (__libc_getutline_r): Likewise.
1633 (__libc_pututline): Likewise.
1634 (__libc_updwtmp): Likewise.
1635
777d75fb
JM
16362019-08-13 Joseph Myers <joseph@codesourcery.com>
1637
0175c9e9
JM
1638 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1639 comment.
1640 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1641 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1642 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1643 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1644 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1645 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1646 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1647 Likewise.
1648 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1649 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1650 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1651 Likewise.
1652 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1653 Likewise.
1654 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1655 Likewise.
1656 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1657 Likewise.
1658 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1659 Likewise.
1660 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1661 Likewise.
1662 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1663 Likewise.
1664 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1665 (IEC_60559_BFP_EXT)]: Likewise.
1666 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1667 Likewise.
1668 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1669 Likewise.
1670 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1671 Likewise.
1672 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1673 Likewise.
1674 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1675 Likewise.
1676 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1677 Likewise.
1678 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1679 Likewise.
1680 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1681 Likewise.
1682 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1683 Likewise, except for totalorder, totalordermag, getpayload,
1684 setpayload and setpayloadsig.
1685 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1686 except for totalorder and totalordermag.
1687
a8c2fa98
JM
1688 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1689 (strdup): Likewise.
1690 (strndup): Likewise.
1691
777d75fb
JM
1692 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1693 Undefine and define to 1 if [_GNU_SOURCE].
1694 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1695 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1696 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1697 (__USE_ISOC99): Likewise.
1698 (__USE_ISOC95): Likewise.
1699 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1700
a33b817f
FW
17012019-08-13 Florian Weimer <fweimer@redhat.com>
1702
1703 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1704 are always true.
1705 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1706 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1707 * login/getutmpx.c (getutmpx): Likewise.
1708 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1709 true.
1710 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1711 _HAVE_UT_TV are always true.
1712 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1713 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1714 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1715 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1716 are always true.
1717 (internal_getut_r): _HAVE_UT_TYPE is always true.
1718 (__libc_pututline): Likewise.
1719 * login/programs/utmpdump.c (print_entry): Assume that
1720 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1721 _HAVE_UT_TV are always true.
1722 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1723 _HAVE_UT_ID are always true.
1724 * sysdeps/gnu/bits/utmp.h: Move to ...
1725 * bits/utmp.h: ... here, replacing the old file.
1726
9b9670fc
FW
17272019-08-12 Florian Weimer <fweimer@redhat.com>
1728
1729 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1730 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1731 not set.
1732 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1733 (do_test): Open the executable using an absolute path. Print
1734 error message to standard output.
1735
c48d92b4
DD
17362019-08-09 DJ Delorie <dj@redhat.com>
1737
1738 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1739 * manual/tunables.texi: Document it.
1740 * malloc/malloc.c (do_set_mxfast): New.
1741 (__libc_mallopt): Call it.
1742 * malloc/arena.c: Add mxfast tunable.
1743 * malloc/tst-mxfast.c: New.
1744 * malloc/Makefile: Add it.
1745
b6d2c447
NH
17462019-08-08 Niklas Hambüchen <mail@nh2.me>
1747 Carlos O'Donell <carlos@redhat.com>
1748
1749 [BZ #24026]
1750 * malloc/malloc.c (__malloc_info): Account for top chunk.
1751
a02cd8e4
JM
17522019-08-07 Joseph Myers <joseph@codesourcery.com>
1753
1754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1755 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1756
d8b97803
JM
17572019-08-06 Joseph Myers <joseph@codesourcery.com>
1758
1759 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1760
8d454abe
SL
17612019-07-02 Stefan Liebler <stli@linux.ibm.com>
1762
1763 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1764
98013846
JM
17652019-08-05 Joseph Myers <joseph@codesourcery.com>
1766
1767 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1768 New macro.
1769
503fc587
AZ
17702019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1771
d665367f
AZ
1772 [BZ #19767]
1773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1774 Remove definition.
1775 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1782 (ALWAYS_USE_VSYSCALL): Likewise.
1783 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1784 (ALWAYS_USE_VSYSCALL): Likewise.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1786 (ALWAYS_USE_VSYSCALL): Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1788 (ALWAYS_USE_VSYSCALL): Likewise.
1789 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1790 Likewise.
1791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1792 (ALWAYS_USE_VSYSCALL): Likewise.
1793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1794 (ALWAYS_USE_VSYSCALL): Likewise.
1795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1796 Likewise.
1797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1798 Likewise.
1799 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1800 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1801 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1802 USE_VSYSCALL): Remove defitions.
1803
c9c1a413
AZ
1804 [BZ #19767]
1805 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1806 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1808 Define.
1809
27a0914e 1810 [BZ #19767]
5e855c89
AZ
1811 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1812 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1814 (ALWAYS_USE_VSYSCALL): Define.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1816 (ALWAYS_USE_VSYSCALL): Likewise.
1817
1818 [BZ #19767]
27a0914e
AZ
1819 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1820 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1821 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1822 Define.
1823
503fc587
AZ
1824 * sysdeps/sh/libm-test-ulps: Update.
1825
1a7fe2eb
FW
18262019-08-05 Florian Weimer <fweimer@redhat.com>
1827
1828 [BZ #23518]
1829 * login/uptmp-private.h (struct ufuncs): Remove definition.
1830 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1831 (__libc_utmp_jump_table): Remove declarations.
1832 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1833 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1834 (__libc_updwtmp): Declare.
1835 * login/getutent_r.c (__libc_utmp_unknown_functions)
1836 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1837 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1838 (endutent_unknown): Remove definitions.
1839 (__setutent): Call __libc_setutent.
1840 (__getutent_r): Call __libc_getutent_r.
1841 (__pututline): Call __libc_pututline.
1842 (__endutent): Call __libc_endutent.
1843 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1844 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1845 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1846 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1847 (__libc_setutent): Rename from stetutent_file. Drop static.
1848 (maybe_setutent): New function.
1849 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1850 Check for initialization.
1851 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1852 Check for initialization.
1853 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1854 Check for initialization.
1855 (__libc_pututline): Rename from pututline_file. Drop static.
1856 Check for initialization.
1857 (__libc_endutent): Rename from endutent_file. Drop static. Check
1858 for initialization.
1859 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1860 * login/utmpname.c (__utmpname): Call __libc_endutent.
1861 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1862 __libc_getutlien_r, __libc_endutent.
1863 * manual/users.texi (Who Logged In, Manipulating the Database):
1864 Adjust.
1865
ab74d59f 18662019-08-05 Alexandra Hájková <ahajkova@redhat.com>
a6c1ce77
AH
1867
1868 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1869
c7a26cba
JM
18702019-08-02 Joseph Myers <joseph@codesourcery.com>
1871
9c37bde5
JM
1872 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1873
c7a26cba
JM
1874 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1875 kernel version number to 5.2.
1876
066020c5
RFF
18772019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1878
1879 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1880 mnemonics and set .machine power8.
1881 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1882 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1884 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1885 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1886 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1887 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1888 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1889 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1890 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1891
3175dcc1
AZ
18922019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1893
1894 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1895
b0f6679b
FW
18962019-08-01 Florian Weimer <fweimer@redhat.com>
1897
1898 [BZ #24867]
1899 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1900 whitespace.
1901
e1df30fb
AZ
19022019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1903
1904 [BZ #15813]
1905 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1906 attempt.
1907
e7124906
CD
19082019-08-01 Carlos O'Donell <carlos@redhat.com>
1909
0a8262a1
CD
1910 * version.h (RELEASE): Set to "stable".
1911 (VERSION): Set to "2.30".
1912 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1913
e7124906
CD
1914 * manual/install.texi: Update component versions.
1915 * INSTALL: Regenerate.
1916 * NEWS: Update.
1917
cc3bf319
CD
19182019-07-31 Carlos O'Donell <carlos@redhat.com>
1919
1920 * po/be.po: Update translations.
1921 * po/bg.po: Likewise.
1922 * po/ca.po: Likewise.
1923 * po/cs.po: Likewise.
1924 * po/da.po: Likewise.
1925 * po/de.po: Likewise.
1926 * po/el.po: Likewise.
1927 * po/eo.po: Likewise.
1928 * po/es.po: Likewise.
1929 * po/fi.po: Likewise.
1930 * po/fr.po: Likewise.
1931 * po/gl.po: Likewise.
1932 * po/hr.po: Likewise.
1933 * po/hu.po: Likewise.
1934 * po/ia.po: Likewise.
1935 * po/id.po: Likewise.
1936 * po/it.po: Likewise.
1937 * po/ja.po: Likewise.
1938 * po/ko.po: Likewise.
1939 * po/lt.po: Likewise.
1940 * po/nb.po: Likewise.
1941 * po/nl.po: Likewise.
1942 * po/pl.po: Likewise.
1943 * po/pt_BR.po: Likewise.
1944 * po/ru.po: Likewise.
1945 * po/rw.po: Likewise.
1946 * po/sk.po: Likewise.
1947 * po/sl.po: Likewise.
1948 * po/sv.po: Likewise.
1949 * po/tr.po: Likewise.
1950 * po/uk.po: Likewise.
1951 * po/vi.po: Likewise.
1952 * po/zh_CN.po: Likewise.
1953 * po/zh_TW.po: Likewise.
1954
0bfddfc9
FW
19552019-07-31 Florian Weimer <fweimer@redhat.com>
1956
1957 [BZ #24583]
1958 [BZ #24677]
1959 iconv, libio: Revert reference counting changes.
1960 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1961 free the steps array.
1962 * libio/Makefile (tests): Remove tst-wfile-gconv.
1963 (tests-container): Do not add tst-wfile-ascii.
1964 (tst-wfile-gconv-ENV): Do not set.
1965 (generated): Do not add tst-wfile-gconv.mtrace,
1966 tst-wfile-gconv.check.
1967 [($run-built-tests)] (tests-special): Do not add
1968 tst-wfile-gconv-mem.out.
1969 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1970 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1971 instead of __wcsmbs_clone_conv.
1972 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1973 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1974
c86b8e75
JM
19752019-07-30 Joseph Myers <joseph@codesourcery.com>
1976
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1978 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1979
8a814e20
FW
19802019-07-30 Florian Weimer <fweimer@redhat.com>
1981
1982 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1983 type to uintptr_t. Update comment.
1984 (check_stack_top): Adjust.
1985
b8b3d5a1
FW
19862019-07-29 Florian Weimer <fweimer@redhat.com>
1987
1988 Linux: Move declaration of getdents64 to <dirent.h>.
1989 * bits/dirent_ext.h: New file.
1990 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1991 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1992 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1993 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1994 declaration.
1995 * manual/filesys.texi (Low-level Directory Access): Update header
1996 to dirent.h.
1997
354e4c1a
TMQMF
19982019-07-29 DJ Delorie <dj@redhat.com>
1999 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2000
2001 [BZ #24794]
2002 * Makeconfig (all-subdirs): Improved source comments.
2003 * Makefile (testroot.pristine/install.stamp): Pass
2004 subdirs='$(sorted-subdirs)' to make install.
2005
50ce3eae
FW
20062019-07-25 Florian Weimer <fweimer@redhat.com>
2007
2008 [BZ #24677]
2009 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2010 counter before freeing array.
2011
7e681561
L
20122019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 [BZ #24603]
2015 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2016 works.
2017 * sysdeps/x86_64/configure: Regenerated.
2018 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2019 to -mprefer-vector-width=128 if supported.
2020
82c664ed
FW
20212019-07-24 Florian Weimer <fweimer@redhat.com>
2022
2023 * scripts/build-many-glibcs.py (Context.checkout): Default to
2024 Linux 5.2.
2025
7854ebf8
FW
20262019-07-24 Florian Weimer <fweimer@redhat.com>
2027
2028 [BZ #24532]
2029 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2030 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2031 (sysdep_headers): Add bits/socket-constants.h.
2032 (tests-special): Add tst-socket-consts.out.
2033 (tst-socket-consts.out): New target.
2034 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2035 around <asm/unistd.h>.
2036 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2037 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2038 <asm/socket.h>.
2039 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2040 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2041 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2042 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2043 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2044 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2045 Likewise.
2046 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2047
95da14da
TMQMF
20482019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2049
35e038c1
TMQMF
2050 [BZ #24794]
2051 * Makefile (testroot.pristine/install.stamp): Pass
2052 subdirs='$(all-subdirs)' to make install.
2053
95da14da
TMQMF
2054 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2055 the same arguments used in all tests.
2056
dcf36bca
SN
20572019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2058
2059 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2060
c7e4b684
EK
20612019-07-20 Egor Kobylkin <egor@kobylkin.com>
2062
2063 [BZ #2872]
2064 * locale/C-translit.h.in: Add Cyrillic transliteration.
2065
1f7097d0
FW
20662019-07-19 Florian Weimer <fweimer@redhat.com>
2067
2068 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2069 from Linux 5.2.
2070 (fsconfig): Add system call name.
2071 (fsmount): Likewise.
2072 (fsopen): Likewise.
2073 (fspick): Likewise.
2074 (move_mount): Likewise.
2075 (open_tree): Likewise.
2076
3556658c
CD
20772019-07-18 Carlos O'Donell <carlos@redhat.com>
2078
2079 * po/libc.pot: Regenerate.
2080
4a8f6d31
MC
20812019-07-18 Mike Crowe <mac@mcrowe.com>
2082
2ab9ad57
AZ
2083 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2084 functions recently added to sysdeps/nptl/pthread.h:
2085 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2086 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2087
4a8f6d31
MC
2088 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2089 pthread_cond_clockwait forwarding functions. There are no internal
2090 users, so it is unnecessary to expose these functions in libc.so.
2091 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2092 unnecessary ptr___pthread_cond_clockwait member.
2093 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2094 removed member.
2095
ab74d59f 20962019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9208c3b8
RL
2097
2098 [BZ #21897]
2099 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2100 begin with an uppercase letter now.
2101 (abmon): Likewise.
2102 (mon): Update from CLDR, reword February from "Kudo" to
2103 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2104 and August from "Liiqen" to "Leqeeni".
2105 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2106 April from "Agda Baxisso" to "Agda Baxis" and August from
2107 "Leqeeni" to "Liiqen".
2108 * localedata/locales/aa_ER@saaho (mon): Likewise.
2109 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2110 abbreviated February from "Kud" to "Nah".
2111 (mon): Update from CLDR, reword February from "Kudo" to
2112 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2113
ab74d59f 21142019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
fba6d4bb
RL
2115
2116 [BZ #23996]
2117 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2118
3cc7c9c5
P
21192019-07-17 PanderMusubi <pander@users.sourceforge.net>
2120
2121 [BZ #23996]
2122 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2123 name_mrs, name_miss, and name_ms.
2124 * localedata/locales/nl_NL (LC_NAME): Likewise.
2125
cce7b6a5
DZ
21262019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2127
2128 [BZ #24200]
2129 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2130 * localedata/locales/en_IE (first_weekday): Likewise.
2131
99d01ffc
MC
21322019-07-12 Mike Crowe <mac@mcrowe.com>
2133
1ff1373b
MC
2134 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2135 that is only useful if futex_supports_exact_relative_timeouts ()
2136 returns false.
2137 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2138 Likewise.
2139 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2140 timeouts potentially being imprecise since it's no longer true.
2141 Remove declaration of futex_supports_exact_relative_timeouts.
2142 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2143 of futex_supports_exact_relative_timeouts.
2144
65dd7e9c
MC
2145 * NEWS: Mention recently-added pthread_cond_clockwait,
2146 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2147 sem_clockwait functions.
2148
9d20e22e
MC
2149 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2150 works like pthread_mutex_timedlock but takes a clockid parameter to
2151 measure the abstime parameter against.
2152 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2153 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2154 * nptl/pthread_mutex_timedlock.c
2155 (__pthread_mutex_clocklock_common): Rename from
2156 __pthread_mutex_timedlock and add clockid parameter. Pass this
2157 parameter to lll_clocklock and lll_clocklock_elision in place of
2158 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2159 LIBC_PROBE and validate clockid parameter before calling
2160 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2161 implementation to add LIBC_PROBE and calls
2162 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2163 clockid.
2164 * nptl/Makefile: Add tst-mutex11.c.
2165 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2166 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2167 clockid parameters to pthread_mutex_clocklock.
2168 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2169 clockid parameter to indicate which clock to be used. Call
2170 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2171 (do_test): Call do_test_clock to separately test
2172 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2173 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2174 * nptl/tst-mutex9.c: Likewise.
2175 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2176 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2177 Likewise.
2178 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2179 Likewise.
2180 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2181 Likewise.
2182 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2183 Likewise.
2184 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2187 Likewise.
2188 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2189 Likewise.
2190 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2191 (GLIBC_2.30): Likewise.
2192 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2193 (GLIBC_2.30): Likewise.
2194 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2195 (GLIBC_2.30): Likewise.
2196 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2197 (GLIBC_2.30): Likewise.
2198 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2199 (GLIBC_2.30): Likewise.
2200 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2201 Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2203 (GLIBC_2.30): Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2205 (GLIBC_2.30): Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2207 (GLIBC_2.30): Likewise.
2208 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2209 (GLIBC_2.30): Likewise.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2211 (GLIBC_2.30): Likewise.
2212 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2213 (GLIBC_2.30): Likewise.
2214 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2215 Likewise.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2217 (GLIBC_2.30): Likewise.
2218 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2219 (GLIBC_2.30): Likewise.
2220 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2221 (GLIBC_2.30): Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2223 (GLIBC_2.30): Likewise.
2224
59213094
MC
2225 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2226 parameter to indicate the clock that the abstime parameter should
2227 be measured against in preparation for adding
2228 pthread_mutex_clocklock.
2229 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2230 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2231 from __lll_timedlock and add clockid parameter.
2232 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2233 Likewise.
2234 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2235 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2236 rather than __gettimeofday so that clockid can be used. This means
2237 that conversion from struct timeval is no longer required.
2238 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2239 Likewise.
2240 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2241 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2242 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2243 from lll_timedlock_elision, add clockid parameter and use
2244 meaningful names for other parameters. (__pthread_mutex_timedlock):
2245 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2246 lll_clocklock_elision.
2247 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2248 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2249 clockid parameter. (__lll_clocklock_elision): Rename from
2250 __lll_timedlock_elision and add clockid parameter.
2251 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2252 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2254 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2255 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2256 (LLL_LOCK): Likewise.
2257 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2258 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2259
e996fa72
MC
2260 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2261 pthread_rwlock_clockwrlock which behave like
2262 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2263 respectively, except they always measure abstime against the
2264 supplied clockid. The functions currently support CLOCK_REALTIME
2265 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2266 specified.
2267 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2268 pthread_wrlock_clockwrlock.
2269 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2270 pthread_rwlock_clockwrlock.c.
2271 * nptl/pthread_rwlock_clockrdlock.c: Implement
2272 pthread_rwlock_clockrdlock.
2273 * nptl/pthread_rwlock_clockwrlock.c: Implement
2274 pthread_rwlock_clockwrlock.
2275 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2276 clockid parameter and verify that it indicates a supported clock on
2277 entry so that we fail even if it doesn't end up being used. Pass
2278 that clock on to futex_abstimed_wait when necessary.
2279 (__pthread_rwlock_wrlock_full): Likewise.
2280 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2281 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2282 be used because there's no timeout.
2283 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2284 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2285 be used because there is no timeout.
2286 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2287 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2288 uses that clock.
2289 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2290 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2291 uses that clock.
2292 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2293 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2294 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2295 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2296 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2297 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2298 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2299 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2300 (GLIBC_2.30): Likewise.
2301 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2302 (GLIBC_2.30): Likewise.
2303 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2304 (GLIBC_2.30): Likewise.
2305 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2306 (GLIBC_2.30): Likewise.
2307 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2308 (GLIBC_2.30): Likewise.
2309 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2311 (GLIBC_2.30): Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2313 (GLIBC_2.30): Likewise.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2315 (GLIBC_2.30): Likewise.
2316 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2317 (GLIBC_2.30): Likewise.
2318 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2319 (GLIBC_2.30): Likewise.
2320 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2321 (GLIBC_2.30): Likewise.
2322 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2324 (GLIBC_2.30): Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2326 (GLIBC_2.30): Likewise.
2327 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2328 (GLIBC_2.30): Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2330 (GLIBC_2.30): Likewise.
2331 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2332 pthread_rwlock_clockwrlock timeout tests to match the existing
2333 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2334 * nptl/tst-rwlock14.c (do_test): Likewise.
2335 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2336 ancillary output throughout. (tf): Accept thread_args structure so
2337 that rwlock, a clockid and function name can be passed to the
2338 thread. (do_test_clock): Rename from do_test. Accept clockid
2339 parameter to specify test clock. Use the magic clockid value of
2340 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2341 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2342 specified clockid to pthread_rwlock_clockrdlock and
2343 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2344 (do_test): Call do_test_clock to test each clockid in turn.
2345 * nptl/tst-rwlock7.c: Likewise.
2346 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2347 thread_args structure so that the (now int) thread number, the
2348 clockid and the function name can be passed to the thread.
2349 (do_test_clock): Renamed from do_test. Pass the necessary
2350 thread_args when creating the reader and writer threads. Use
2351 xpthread_create and xpthread_join.
2352 (do_test): Call do_test_clock to test each clockid in turn.
2353 * manual/threads.texi: Add documentation for
2354 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2355
600b4be4
MC
2356 nptl: pthread_rwlock: Move timeout validation into _full functions
2357 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2358 Check validity of abstime parameter.
2359 (__pthread_rwlock_rwlock_full): Likewise.
2360 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2361 Remove check for validity of abstime parameter.
2362 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2363 Likewise.
2364
afe4de7d
MC
2365 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2366 like pthread_cond_timedwait except it always measures abstime
2367 against the supplied clockid.
2368 * nptl/Makefile: Add tst-cond26 and tst-cond27
2369 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2370 * sysdeps/nptl/pthread.h: Likewise
2371 * nptl/forward.c: Add __pthread_cond_clockwait
2372 * nptl/forward.c: Likewise
2373 * nptl/pthreadP.h: Likewise
2374 * sysdeps/nptl/pthread-functions.h: Likewise
2375 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2376 clockid parameter and comment describing why we don't need to check
2377 its value. Use that value when calling
2378 futex_abstimed_wait_cancelable rather than reading the clock from
2379 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2380 (__pthread_cond_timedwait): Read clock from flags and pass it to
2381 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2382 function with weak alias from pthread_cond_clockwait.
2383 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2384 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2385 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2386 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2387 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2388 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2389 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2390 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2391 (GLIBC_2.30): Likewise.
2392 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2393 (GLIBC_2.30): Likewise.
2394 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2395 (GLIBC_2.30): Likewise.
2396 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2397 (GLIBC_2.30): Likewise.
2398 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2399 (GLIBC_2.30): Likewise.
2400 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2402 (GLIBC_2.30): Likewise.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2404 (GLIBC_2.30): Likewise.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2406 (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2408 (GLIBC_2.30): Likewise.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2410 (GLIBC_2.30): Likewise.
2411 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2412 (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2415 (GLIBC_2.30): Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2417 (GLIBC_2.30): Likewise.
2418 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2419 (GLIBC_2.30): Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2421 (GLIBC_2.30): Likewise.
2422 * nptl/tst-cond11.c (run_test): Support testing
2423 pthread_cond_clockwait too by using a special magic
2424 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2425 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2426 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2427 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2428 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2429 clocks to pthread_cond_clockwait.
2430 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2431 struct timespec and pthread_cond_clockwait.
2432 * manual/threads.texi: Document pthread_cond_clockwait.
2433
6615f779
MC
2434 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2435 sem_timedwait, but measures abstime against the specified clock.
2436 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2437 clockid parameters to indicate the clock which abstime should be
2438 measured against.
2439 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2440 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2441 __new_sem_wait_slow.
2442 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2443 on sem_timedwait.c.
2444 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2445 sem_clockwait.c to match those used for sem_timedwait.c.
2446 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2447 * nptl/Versions (GLIBC_2.30): Likewise.
2448 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2449 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2450 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2451 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2452 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2453 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2454 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2455 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2456 (GLIBC_2.30): Likewise.
2457 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2458 (GLIBC_2.30): Likewise.
2459 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2460 (GLIBC_2.30): Likewise.
2461 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2462 (GLIBC_2.30): Likewise.
2463 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2464 (GLIBC_2.30): Likewise.
2465 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2467 (GLIBC_2.30): Likewise.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2469 (GLIBC_2.30): Likewise.
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2471 (GLIBC_2.30): Likewise.
2472 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2473 (GLIBC_2.30): Likewise.
2474 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2475 (GLIBC_2.30): Likewise.
2476 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2477 (GLIBC_2.30): Likewise.
2478 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2479 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2480 (GLIBC_2.30): Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2482 (GLIBC_2.30): Likewise.
2483 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2484 (GLIBC_2.30): Likewise.
2485 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2486 (GLIBC_2.30): Likewise.
2487 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2488 sem_clockwait.
2489 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2490 tests to also test sem_clockwait.
2491 * manual/threads.texi: Document sem_clockwait.
2492
99d01ffc
MC
2493 nptl: Add clockid parameter to futex timed wait calls
2494 * sysdeps/nptl/lowlevellock-futex.h,
2495 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2496 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2497 takes a clockid rather than a special clockbit.
2498 * sysdeps/nptl/lowlevellock-futex.h: Add
2499 lll_futex_supported_clockid so that client functions can check
2500 whether their clockid parameter is valid even if they don't
2501 ultimately end up calling lll_futex_clock_wait_bitset.
2502 * sysdeps/nptl/futex-internal.h,
2503 sysdeps/unix/sysv/linux/futex-internal.h
2504 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2505 clockid_t parameter to indicate which clock the absolute time
2506 passed should be measured against. Pass that clockid onto
2507 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2508 returning -EINVAL.
2509 * sysdeps/nptl/futex-internal.h,
2510 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2511 futex_abstimed_supported_clockid so that client functions can check
2512 whether their clockid parameter is valid even if they don't
2513 ultimately end up calling futex_abstimed_wait.
2514 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2515 code to calculate relative timeout for
2516 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2517 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2518 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2519 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2520 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2521 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2522 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2523
a008c76b
AZ
25242019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2525
2526 [BZ #24699]
2527 * posix/tst-mmap-offset.c: Mention BZ #24699.
2528 (do_test_bz21270): Rename to do_test_large_offset and use
2529 mmap64_maximum_offset to check for maximum expected offset value.
2530 * sysdeps/generic/mmap_info.h: New file.
2531 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2532 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2533 __NR_mmap2 is used.
2534
99135114
DD
25352019-07-10 DJ Delorie <dj@redhat.com>
2536 Sergei Trofimovich <slyfox@inbox.ru>
2537
2538 [BZ #24696]
2539 [BZ #24695]
2540 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2541 mappings.
2542 * nss/tst-nss-db-endgrent.c: New.
2543 * nss/tst-nss-db-endgrent.root: New.
2544 * nss/tst-nss-db-endpwent.c: New.
2545 * nss/tst-nss-db-endpwent.root: New.
2546 * nss/Makefile: Add new tests.
2547 * support/links-dso-program-c.c: Add selinux dependency.
2548 * support/links-dso-program.cc: Add selinux dependency.
2549 * support/Makefile: Build those with -lselinux if enabled.
2550
30ba0375
SN
25512019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2552
2553 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2554 DT_AARCH64_VARIANT_PCS check.
2555 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2556 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2557 variant_pcs.
2558
32b8188a
AS
25592019-07-10 Andreas Schwab <schwab@suse.de>
2560
2561 [BZ #23352]
2562 * malloc/malloc.h (__malloc_check_init): Don't declare.
2563 * include/malloc.h (__malloc_check_init): Likewise.
2564 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2565 * manual/memory.texi (__malloc_check_init): Don't mention it.
2566
7901d4ee
MH
25672019-07-10 Mao Han <han_mao@c-sky.com>
2568
2569 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2570
b5232c9f 25712019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 2572
b5232c9f
PC
2573 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2574 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2575
6ba205b2
DD
25762019-07-08 DJ Delorie <dj@redhat.com>
2577
2578 [BZ #23501]
2579 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2580 * io/tst-ftw-lnk.c: New test.
2581 * io/Makefile: Run it.
2582
f215dbbd
AZ
25832019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2584
6ea21bfe
AZ
2585 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2586 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2587 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2588 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2589 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2590 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2592 Adjust implementation path.
2593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2594 Adjust implementation path.
2595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2596 Adjust implementation path.
2597 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2598 (libm-sysdep_routines): Add s_log* objects.
2599 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2600 CFLAGS-s_logb-power7.c): New fule.
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2602 to ...
2603 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2604 ... here.
2605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2606 to ...
2607 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2608 ... here.
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2610 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2612 to ...
2613 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2614 ... here.
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2616 to ...
2617 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2618 ... here.
2619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2622 to ...
2623 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2624 ... here.
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2626 to ...
2627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2628 ... here.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2630 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2632 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2635
105f2ed3
AZ
2636 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2637 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2638 powerpc32 integer 0 converting to -0.
2639
0cccd37f
AZ
2640 * benchtests/Makefile (bench-math): Add logb.
2641 * benchtests/logb-inputs: New file.
2642 * benchtests/logbf-inputs: New file.
2643
931c616e
AZ
2644 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2645 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2646 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2647 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2649 Adjust include.
2650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2651 Likewise.
2652 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2653 sysdep_routines): Add s_modf* objects.
2654 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2655 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2657 to ...
2658 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2659 ... here.
2660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2661 to ...
2662 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2663 ... here.
2664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2665 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2667 to ...
2668 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2669 ... here.
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2671 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2672 ... here.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2674 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2675
69461d98
AZ
2676 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2677 twoM500, twoM600, two60factor, pdnum): Remove.
2678 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2679 (__ieee754_hypot): Replace static variables with inline definition,
2680 remove ununsed branches.
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2682 (libm-sysdep_routines): Remove e_hypot-* objects.
2683 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2685 file.
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2688 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2689 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2691
f215dbbd
AZ
2692 * benchtests/Makefile (bench-math): Add hypot.
2693 * benchtests/hypot-inputs: New file.
2694
97274b18
VC
26952019-07-08 Vincent Chen <vincentc@andestech.com>
2696
2697 * sysdeps/unix/sysv/linux/dl-vdso.h
2698 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2699
484b7af3
AS
27002019-07-04 Andreas Schwab <schwab@suse.de>
2701
2702 [BZ #24484]
2703 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2704
2b8a3c86
SN
27052019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2706
2707 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2708 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2709 * sysdeps/aarch64/sys/ifunc.h: New file.
2710 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2711 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2712
41d6f74e
FW
27132019-07-01 Florian Weimer <fweimer@redhat.com>
2714
2715 [BZ #20188]
2716 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2717 Replace __vfork with __libpthread_version_placeholder for
2718 GLIBC_2.1.2.
2719 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2720 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2721 libpthread-compat.
2722 * nptl/pt-vfork.c: Remove file.
2723 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2724 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2725 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2726 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2727 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2728 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2729 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2730 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2731 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2732 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2733 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2734 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2736 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2737 Remove vfork, __vfork.
2738 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2739 Remove vfork.
2740 (GLIBC_2.1.2): Replace __vfork with
2741 __libpthread_version_placeholder.
2742 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2743 Remove vfork, __vfork.
2744 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2745 Likewise.
2746 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2747 Remove vfork.
2748 (GLIBC_2.1.2): Replace __vfork with
2749 __libpthread_version_placeholder.
2750 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2751 Remove vfork.
2752 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2753 (GLIBC_2.4): Remove vfork, __vfork.
2754 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2755 (GLIBC_2.0): Remove vfork.
2756 (GLIBC_2.1.2): Replace __vfork with
2757 __libpthread_version_placeholder.
2758 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2759 (GLIBC_2.18): Remove vfork, __vfork.
2760 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2761 (GLIBC_2.0): Remove vfork.
2762 (GLIBC_2.2): Remove __vfork.
2763 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2764 (GLIBC_2.2): Remove vfork, __vfork.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2766 (GLIBC_2.0): Remove vfork.
2767 (GLIBC_2.1.2): Replace __vfork with
2768 __libpthread_version_placeholder.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2770 (GLIBC_2.3): Remove vfork, __vfork.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2772 (GLIBC_2.17): Likewise.
2773 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2774 (GLIBC_2.0): Remove vfork.
2775 (GLIBC_2.1.2): Replace __vfork with
2776 __libpthread_version_placeholder.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2778 (GLIBC_2.2): Remove vfork, __vfork.
2779 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2780 Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2782 (GLIBC_2.0): Remove vfork.
2783 (GLIBC_2.1.2): Replace __vfork with
2784 __libpthread_version_placeholder.
2785 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2786 (GLIBC_2.2): Remove vfork, __vfork.
2787 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2788 (GLIBC_2.2.5): Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2790 (GLIBC_2.16): Likewise.
2791 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2792 Remove __errno_location.
2793
27cec9ae
FW
27942019-07-02 Florian Weimer <fweimer@redhat.com>
2795
2796 [BZ #24757]
2797 * malloc/Depend: Add nptl and htl, due to potential indirect
2798 libpthread dependency of memusagestat.
2799
d1bc2cbb
SL
28002019-07-02 Stefan Liebler <stli@linux.ibm.com>
2801
2802 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2803 warning.
2804
72edea80
FW
28052019-07-01 Florian Weimer <fweimer@redhat.com>
2806
2807 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2808 variant for arm-linux-gnueabi.
2809
d0093c5c
L
28102019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 [BZ #24259]
2813 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2814 relocation.
2815 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2816 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2817 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2818 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2819 and tst-cet-legacy-mod-6c.
2820 (CFLAGS-tst-cet-legacy-5a.c): New.
2821 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2822 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2823 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2824 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2825 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2826 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2827 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2828 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2829 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2830 ($(objpfx)tst-cet-legacy-5a): Likewise.
2831 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2832 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2833 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2834 ($(objpfx)tst-cet-legacy-5b): Likewise.
2835 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2836 (tst-cet-legacy-5b-ENV): Likewise.
2837 ($(objpfx)tst-cet-legacy-6a): Likewise.
2838 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2839 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2840 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2841 ($(objpfx)tst-cet-legacy-6b): Likewise.
2842 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2843 (tst-cet-legacy-6b-ENV): Likewise.
2844 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2845 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2846 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2847 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2848 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2849 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2850 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2851 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2852 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2853 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2854 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2855 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2856 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2857 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2858
3db85a98
PC
28592019-06-30 Paul A. Clarke <pc@us.ibm.com>
2860
2861 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2862 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2863 (__fegetround_ISA300) New.
2864 (__fegetround_ISA2) New.
2865 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2866 (_FPU_MFFS): Move implementation...
2867 (_FPU_GETCW): Here.
2868 (_FPU_MFFSL): Move implementation....
2869 (_FPU_GET_RC_ISA300): Here. New.
2870 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2871 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2872 (fegetenv_status): New.
2873 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2874 instead of fegetenv_register().
2875 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2876
d0645912
WD
28772019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2878
2879 * benchtests/bench-math-inlines.c: Increase iterations.
2880 * benchtests/bench-memcmp.c: Likewise.
2881 * benchtests/bench-rawmemchr.c: Likewise.
2882 * benchtests/bench-strcmp.c: Likewise.
2883 * benchtests/bench-strcpy_chk.c: Likewise.
2884 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2885 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2886 (INNER_LOOP_ITERS_SMALL): Likewise.
2887 * benchtests/bench-strncat.c: Increase iterations.
2888 * benchtests/bench-strncmp.c: Increase iterations.
2889 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2890 * benchtests/bench-strrchr.c: Increase iterations.
2891 * benchtests/bench-strstr.c: Keep iterations unchanged.
2892 * benchtests/bench-strtod.c: Increase iterations.
2893
afe23eb0
AY
28942019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2895
2896 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2897 with INNER_LOOP_ITERS_LARGE.
2898 * benchtests/bench-memchr.c: Likewise.
2899 * benchtests/bench-rawmemchr.c: Likewise.
2900 * benchtests/bench-strcat.c: Likewise.
2901 * benchtests/bench-strchr.c: Likewise.
2902 * benchtests/bench-string.h: Likewise.
2903 * benchtests/bench-strlen.c: Likewise.
2904 * benchtests/bench-strncpy.c: Likewise.
2905 * benchtests/bench-strnlen.c: Likewise.
2906
507f55c0
FW
29072019-06-28 Florian Weimer <fweimer@redhat.com>
2908
2909 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2910 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2911 entire allocated memory range.
2912
589787f8
TK
29132019-06-28 Tobias Klauser <tklauser@distanz.ch>
2914
2915 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2916 (prepare_version_base): New helper inline function.
2917 (prepare_version): New macro replacing PREPARE_VERSION.
2918 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2919
f0b2132b
FW
29202019-06-28 Florian Weimer <fweimer@redhat.com>
2921
2922 [BZ #24741]
2923 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2924 mismatch in a versioned symbol reference.
2925 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2926 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2927 tst-sonamemove-dlopen.
2928 (module-names): Add tst-sonamemove-linkmod1,
2929 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2930 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2931 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2932 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2933 (tst-sonamemove-runmod1.so): Link against
2934 tst-sonamemove-runmod2.so.
2935 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2936 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2937 tst-sonamemove-runmod2.so.
2938 (tst-sonamemove-dlopen): Link with -ldl.
2939 (tst-sonamemove-dlopen.out): Likewise.
2940 * elf/tst-sonamemove-link.c: New file.
2941 * elf/tst-sonamemove-dlopen.c: Likewise.
2942 * elf/tst-sonamemove-linkmod1.c: Likewise.
2943 * elf/tst-sonamemove-linkmod1.map: Likewise.
2944 * elf/tst-sonamemove-runmod1.c: Likewise.
2945 * elf/tst-sonamemove-runmod1.map: Likewise.
2946 * elf/tst-sonamemove-runmod2.c: Likewise.
2947 * elf/tst-sonamemove-runmod2.map: Likewise.
2948
17432d71
FW
29492019-06-28 Florian Weimer <fweimer@redhat.com>
2950
2951 * support/xdlfcn.h (xdlvsym): Declare function.
2952 * support/xdlfcn.c (xdlvsym): Define funciton.
2953
5a659ccc
FW
29542019-06-28 Florian Weimer <fweimer@redhat.com>
2955
2956 [BZ #24744]
2957 io: Remove the copy_file_range emulation.
2958 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2959 not define and call copy_file_range_compat.
2960 * io/Makefile (tests-static, tests-internal): Do not add
2961 tst-copy_file_range-compat.
2962 * io/copy_file_range-compat.c: Remove file.
2963 * io/copy_file_range.c (copy_file_range): Define as stub.
2964 * io/tst-copy_file_range-compat.c: Remove file.
2965 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2966 (typical_sizes): Update comment. Remove 16K sizes.
2967 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2968 Remove variables.
2969 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2970 (delayed_write_failure_beginning, delayed_write_failure_end)
2971 (cross_device_failure, enospc_failure_1, enospc_failure)
2972 (oappend_failure): Remove functions.
2973 (tests): Adjust test case list.
2974 (do_test): Remove file system search code. Check for ENOSYS from
2975 copy_file_range. Do not free xdevfile.
2976 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2977 copy_file_range. Do not document the EXDEV error, which future
2978 kernels may not report. Update the wording to reflect that
2979 further errors are possible.
2980 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2981 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2982 not undefine.
2983 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2984 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2985 Likewise.
2986 * sysdeps/unix/sysv/linux/kernel-features.h
2987 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2988 Remove definition.
2989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2990 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2991 not undefine.
2992 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2993 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2994 Likewise.
2995
1626f499
GG
29962019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2997
2998 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2999 used as a mask for the mode argument of __vfprintf_internal.
3000 * stdio-common/printf-parse.h (printf_arg): New union member:
3001 pa_float128.
3002 * stdio-common/vfprintf-internal.c
3003 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3004 (PARSE_FLOAT_VA_ARG): Likewise.
3005 (SETUP_FLOAT128_INFO): Likewise.
3006 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3007 SETUP_FLOAT128_INFO.
3008 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3009 floating-point value to the new union member, pa_float128.
3010 (printf_positional): Zero-initialize args_value[cnt] with memset.
3011
a620bd79
FW
30122019-06-27 Florian Weimer <fweimer@redhat.com>
3013
3014 [BZ #24740]
3015 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3016 buffer size if necessary.
3017 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3018 Likewise.
3019 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3020 New function.
3021 (large_buffer_checks): Likewise.
3022 (do_test): Call large_buffer_checks.
3023
d039da1c
L
30242019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3025
3026 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3027 * sysdeps/x86/dl-lookupcfg.h: Here.
3028 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3029
9d5d214e
AZ
30302019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3031
aa32f5bf
AZ
3032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3033 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3034 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3035 file.
3036 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3037 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3038 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3039 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3040 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3041
9d5d214e
AZ
3042 * sysdeps/powerpc/powerpc32/fpu/Makefile
3043 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3044 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3045 and fctidz optimization.
3046 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3047 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3049 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3050 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3051 CFLAGS-s_lround-power5+.c): New rule.
3052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3053 New file.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3055 Likewise.
3056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3057 Likewise.
3058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3059 Likewise.
3060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3061 Likewise.
3062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3063 Remove file.
3064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3065 Likewise.
3066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3067 Likewise.
3068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3069 Likewise.
3070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3071 Likewise.
3072 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3075 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3076 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3078 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3079
a63b96fb
VC
30802019-06-26 Vincent Chen <vincentc@andestech.com>
3081
3082 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3083 specific system calls, fp_udfiex_crtl and udftrap.
3084
c78b3f55
SL
30852019-06-26 Stefan Liebler <stli@linux.ibm.com>
3086
3087 * nptl/tst-eintr1.c (tf1): Add return statement.
3088 (do_test): Remove unused th variable.
3089
9e6a7d9c
SL
30902019-06-26 Stefan Liebler <stli@linux.ibm.com>
3091
3092 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3093 Return error if get_character fails.
3094
c89e669a
SL
30952019-06-25 Stefan Liebler <stli@linux.ibm.com>
3096
3097 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3098
ab74d59f 30992019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
a55541fd
RL
3100
3101 [BZ #24652]
3102 * localedata/locales/szl_PL (day): Use the correct Unicode
3103 sequences instead of non-ASCII characters.
3104
2bd81b60
GK
31052019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3106
3107 [BZ #24652]
3108 * localedata/locales/szl_PL (abday): Spelling corrections.
3109 (day): Likewise.
3110 (abmon): Likewise.
3111 (mon): Rename to...
3112 (alt_mon): This, then apply spelling corrections.
3113 (mon): New entry, month names in the genitive case.
3114
ab74d59f 31152019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
fefa2179
RL
3116
3117 [BZ #23831]
3118 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3119 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3120 (thousands_sep): Likewise.
3121 (grouping): Set to 3;3.
3122
85c748f9
TK
31232019-06-21 Tobias Klauser <tklauser@distanz.ch>
3124
3125 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3126 PREPARE_VERSION_KNOWN.
3127 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3128 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3129 define.
3130 (VDSO_HASH_LINUX_2_6_39): Likewise.
3131 (VDSO_NAME_LINUX_4_9): Likewise.
3132 (VDSO_HASH_LINUX_4_9): Likewise.
3133 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3134 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3135 (_libc_vdso_platform_setup): Likewise.
3136 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3137 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3138 Likewise.
3139 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3140 Likewise.
3141
db13e32c
MC
31422019-06-20 Mike Crowe <mac@mcrowe.com>
3143
ce5b73a7
MC
3144 * nptl/eintr.c: Use libsupport.
3145 * nptl/tst-eintr1.c: Likewise.
3146 * nptl/tst-eintr2.c: Likewise.
3147 * nptl/tst-eintr3.c: Likewise.
3148 * nptl/tst-eintr4.c: Likewise.
3149 * nptl/tst-eintr5.c: Likewise.
3150 * nptl/tst-mutex-errorcheck.c: Likewise.
3151 * nptl/tst-mutex5.c: Likewise.
3152
8bf225d5
MC
3153 * support/test-driver.h: Add verbose_printf macro.
3154
db13e32c
MC
3155 * support/xtime.h: Add xclock_now() helper function.
3156
21cc130b
DL
31572019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3158 Florian Weimer <fweimer@redhat.com>
3159
3160 [BZ #24228]
3161 * libio/genops.c (_IO_unbuffer_all)
3162 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3163 buffers and access _IO_FILE_complete members of legacy libio streams.
3164 * libio/tst-bz24228.c: New file.
3165 * libio/tst-bz24228.map: Likewise.
3166 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3167 [build-shared] (generated): Add tst-bz24228.mtrace and
3168 tst-bz24228.check.
3169 [run-built-tests && build-shared] (tests-special): Add
3170 $(objpfx)tst-bz24228-mem.out.
3171 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3172 ($(objpfx)tst-bz24228-mem.out): New rule.
3173
49bc41b6
PC
31742019-06-19 Paul A. Clarke <pc@us.ibm.com>
3175
3176 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3177 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3178 (__FPU_MFFSL): Likewise.
3179 (_FPU_SETCW): Likewise.
3180
335c1007
SS
31812019-06-19 Stan Shebs <stanshebs@google.com>
3182 Raoni Fassina Firmino <raoni@linux.ibm.com>
3183
3184 [BZ #24640]
3185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3186 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3187 static-linking version.
3188 * sysdeps/unix/sysv/linux/powerpc/Makefile
3189 (tests-static): Add test-gettimebasefreq-static.
3190 (tests): Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3192 New file.
3193
ab74d59f 31942019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
f59a54ab
RL
3195
3196 [BZ #24614]
3197 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3198 between the currency symbol and the minus sign).
3199 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3200
f0c5a803
SL
32012019-06-19 Stefan Liebler <stli@linux.ibm.com>
3202
3203 [BZ #24556]
3204 * string/test-strcasestr.c (check_result): Add NULL check.
3205 * nss/tst-field.c (check_rewrite): Likewise.
3206 * benchtests/bench-strstr.c (do_one_test): Likewise.
3207 * string/test-strstr.c (check_result): Likewise.
3208 * argp/argp-test.c (popt): Increase size of buf to 12.
3209 * benchtests/bench-malloc-simple.c (bench):
3210 Do not initialize tests array out of bounds.
3211
fabf5e49
FW
32122019-06-19 Florian Weimer <fweimer@redhat.com>
3213
3214 [BZ #24166]
3215 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3216 dls_serpath field.
3217
2c75b545
FW
32182019-06-18 Florian Weimer <fweimer@redhat.com>
3219
3220 [BZ #24323]
3221 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3222 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3223 fail when called from dlopen.
3224 * elf/Makefile [have-fpie && build-shared] (tests): Add
3225 tst-dlopen-pie.
3226 (tst-dlopen-pie): Link with -ldl.
3227 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3228 * elf/tst-dlopen-pie.c (do_test): New file.
3229
ab74d59f 32302019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
02d8b5ab
RL
3231
3232 [BZ #24614]
3233 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3234 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3235 between the currency symbol and the minus sign).
3236 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3237 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3238
78049de0
AZ
32392019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3240
112a0ae1
AZ
3241 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3242 sysdep-rtld-routines): Remove rules.
3243 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3244 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3245 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3246 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3247 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3248 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3249 vDSO path for SHARED.
3250 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3251 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3252 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3253 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3254 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3255 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3256
dee07df1
AZ
3257 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3258 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3259 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3260 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3261 CFLAGS-s_llround-power5+.c): New rule.
3262 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3263 New file.
3264 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3265 Likewise.
3266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3267 Likewise.
3268 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3269 Likewise.
3270 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3271 Likewise.
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3273 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3275 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3277 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3278 * sysdeps/powerpc/powerpc64/fpu/Makefile
3279 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3281 (libm-sysdep_routines): Remove s_llround-* objects.
3282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3283 file.
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3285 Likewise.
3286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3287 Likewise.
3288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3289 Likewise.
3290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3291 Likewise.
3292 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3294 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3295 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3297 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3298 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3299 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3300 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3303 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3304 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3305 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3306
2166283f
AZ
3307 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3308 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3309 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3310 * sysdeps/powerpc/powerpc32/fpu/Makefile
3311 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3312 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3313 optimization.
3314 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3315 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3316 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3318 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3319 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3320 CFLAGS-s_lrint-ppc32.c): New rule.
3321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3322 Remove file.
3323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3324 Likewise.
3325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3326 Likewise.
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3328 Likewise.
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3330 Likewise.
3331 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3333 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3334 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3336 New file.
3337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3338 Likewise.
3339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3340 Likewise.
3341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3342 Likewise.
3343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3344 Likewise.
3345
78049de0
AZ
3346 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3347 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3348 s_llrint-ppc64.
3349 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3350 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3351 file.
3352 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3353 Likewise.
3354 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3355 Likewise.
3356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3357 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3359 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3361 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3362 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3363 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3365 (libm-sysdep_routines): Remove s_llrint-* objects.
3366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3367 file.
3368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3369 Likewise.
3370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3371 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3372 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3373 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3374 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3375 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3376 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3377 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3378 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3379 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3380
48c3c123
FW
33812019-06-14 Florian Weimer <fweimer@redhat.com>
3382
3383 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3384 argument to __glibc_has_include to inhibit macro expansion.
3385
8d141877
FW
33862019-06-14 Florian Weimer <fweimer@redhat.com>
3387
3388 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3389 function-like macro, so that __has_include can inhibit expansion
3390 of its argument.
3391
a26e2e9f
JM
33922019-06-13 Joseph Myers <joseph@codesourcery.com>
3393
cf274686
JM
3394 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3395 New macro.
3396
a26e2e9f
JM
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3398 Allow memset in libc.so.
3399
82bc69c0
SN
34002019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3401
3402 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3403 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3404 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3405 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3406 symbols at load time.
3407 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3408
55f82d32
SN
34092019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3410
3411 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3412 (DT_AARCH64_VARIANT_PCS): Define.
3413
21bd039b
AZ
34142019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3415
11926960
AZ
3416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3417 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3418 objects.
3419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3420 Remove file.
3421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3422 Likewise.
3423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3425 Likewise.
3426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3428 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3430 Remove s_finite* objects.
3431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3437 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3438 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3439 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3440 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3441
a7218676
AZ
3442 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3443 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3444
6427a6ac
AZ
3445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3446 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3447 objects.
3448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3449 Remove file.
3450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3451 Likewise.
3452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3454 Likewise.
3455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3456 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3457 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3459 Remove s_isinf* and s_isinf* objects.
3460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3466 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3467 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3470
a8c590f7
AZ
3471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3472 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3473
2666f963
AZ
3474 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3475 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3476 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3478 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3479 s_isnanf-* objects.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3481 Remove file
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3483 Likewise.
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3485 Likewise.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3487 Likewise.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3490 Likewise.
3491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3492 Likewise.
3493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3494 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3495 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3496 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3497 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3498 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3499 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3501 Remove s_isnan-* and s_isnanf-* objects.
3502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3505 Likewise.
3506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3511 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3512 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3513 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3518 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3519
197dbda1
AZ
3520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3521 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3522
2731a326
AZ
3523 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3524 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3525 CFLAGS-bench-isfinite.c): New rule.
3526 * benchtests/isnan-input: New file.
3527 * benchtests/isinf-input: New file.
3528 * benchtests/isfinite-input: New file.
3529
e41d66e4
AZ
3530 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3531 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3532 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3533 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3535 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3536 s_copysign-ppc32.
3537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3538 Remove file.
3539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3540 Likewise.
3541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3542 Likewise.
3543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3544 Likewise.
3545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3548 Remove s_copysign-power6 s_copysign-ppc64.
3549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3550 Remove file.
3551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3552 Likewise.
3553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3555 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3556 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3559
21bd039b
AZ
3560 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3561 round_to_integer_float, round_mode): Add RINT handling.
3562 (reset_fenv_mode): New symbol.
3563 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3564 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3565 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3566 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3567 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3568 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3569
cfa61144
FW
35702019-06-12 Florian Weimer <fweimer@redhat.com>
3571
3572 [BZ #24632]
3573 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3574 * libio/freopen.c (freopen): Use it.
3575
744e8296
FW
35762019-06-12 Florian Weimer <fweimer@redhat.com>
3577
3578 Linux: Deprecate sysctl.
3579 * include/sysctl.h (__sysctl): Remove declaration.
3580 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3581 check.
3582 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3583 (sysctl): Add deprecation attribute.
3584 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3585 directly, to avoid the deprecation warning. Do not include
3586 <string.h>.
3587 (__sysctl): Remove hidden alias.
3588
5dad6ffb
FW
35892019-06-12 Florian Weimer <fweimer@redhat.com>
3590
3591 Linux: Use kernel headers for statx definitions if available.
3592 * include/bits/statx-generic.h: New file.
3593 * include/bits/types/struct_statx.h: Likewise.
3594 * include/bits/types/struct_statx_timestamp.h: Likewise.
3595 * io/Makefile (headers): Add bits/statx-generic.h.
3596 * io/bits/statx-generic.h: New file. Partly copied from
3597 io/bits/statx.h.
3598 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3599 define original_statx.
3600 * io/bits/types/struct_statx.h: Likewise.
3601 * io/bits/types/struct_statx_timestamp.h: Likewise.
3602 (statx_generic): Use original_statx.
3603 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3604 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3605
4e75c2a4
FW
36062019-06-12 Florian Weimer <fweimer@redhat.com>
3607
3608 * misc/sys/cdefs.h (__glibc_has_include): Define.
3609
680942b0
WD
36102019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3611
3612 * string/memmem.c (__memmem): Rewrite to improve performance.
3613
5e0a7ecb
WD
36142019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3615
3616 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3617 warning.
3618 (two_way_long_needle): Block inlining.
3619 * string/strstr.c (strstr2): Add new function.
3620 (strstr3): Likewise.
3621 (STRSTR): Completely rewrite strstr to improve performance.
3622
80b2bfb5
WD
36232019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3624
3625 * benchtests/bench-strstr.c (test_hard_needle): New function.
3626
e6e24243
JM
36272019-06-10 Joseph Myers <joseph@codesourcery.com>
3628
3629 * malloc/tst-calloc.c: Include <libc-diag.h>.
3630 (null_test): Ignore -Wunused-result around calls to calloc.
3631 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3632 (do_test): Ignore -Wunused-result around call to malloc.
3633
51ea67d5
FW
36342019-06-07 Florian Weimer <fweimer@redhat.com>
3635
3636 Linux: Add getdents64 system call.
3637 * include/dirnent.h (getdents): Add comment and change buffer
3638 argument type to void *.
3639 (getdents64): Likewise. Add hidden prototype.
3640 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3641 getdents64.
3642 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3643 Add tst-getdents64.
3644 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3645 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3646 argument type to void *.
3647 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3648 Add hidden definition and getdents64 alias.
3649 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3650 Likewise.
3651 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3652 * manual/filesys.texi (Accessing Directories): Add Low-level
3653 Directory Access node reference.
3654 (Opening a Directory): Cross-reference it.
3655 (Low-level Directory Access): New node.
3656 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3657 getdents64.
3658 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3659 Likewise.
3660 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3661 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3664 Likewise.
3665 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3666 Likewise.
3667 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3668 Likewise.
3669 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3670 Likewise.
3671 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3672 Likewise.
3673 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3676 (GLIBC_2.30): Likewise.
3677 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3678 (GLIBC_2.30): Likewise.
3679 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3680 (GLIBC_2.30): Likewise.
3681 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3682 (GLIBC_2.30): Likewise.
3683 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3684 Likewise.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3686 (GLIBC_2.30): Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3688 (GLIBC_2.30): Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3690 (GLIBC_2.30): Likewise.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3692 (GLIBC_2.30): Likewise.
3693 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3694 Likewise.
3695 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3696 Likewise.
3697 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3698 Likewise.
3699 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3700 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3701 Likewise.
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3707 Likewise.
3708
de751ebc
PC
37092019-06-06 Paul A. Clarke <pc@us.ibm.com>
3710
3711 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3712 (__FPU_MFFS): New.
3713 (__FPU_MFFSL): New.
3714 (_FPU_GET_RC): New.
3715 (_FPU_GETCW): Use __FPU_MFFS().
3716 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3717
28dd3939
FW
37182019-06-06 Florian Weimer <fweimer@redhat.com>
3719
3720 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3721 internal GCC preprocessor identifier __has_include__.
3722
0158473d
PC
37232019-06-05 Paul A. Clarke <pc@us.ibm.com>
3724
3725 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3726 with call to equivalent function.
3727
e863dbf6
FW
37282019-06-04 Florian Weimer <fweimer@redhat.com>
3729
3730 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3731 (do_release_shlib): Adjust for __twalk_r.
3732 (__gconv_release_shlib): Call __twalk_r.
3733
4802be92
AS
37342019-06-04 Andreas Schwab <schwab@suse.de>
3735
3736 [BZ #18830]
3737 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3738 no irreversible characters occurred.
3739 * iconv/gconv_simple.c (internal_ucs4_loop)
3740 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3741 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3742 (ucs4_internal_loop_single, internal_ucs4le_loop)
3743 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3744 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3745 (ucs4le_internal_loop_single): Add const to outend.
3746 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3747 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3748 * iconv/Makefile (tests): Add tst-iconv7.
3749 * iconv/tst-iconv7.c: New file.
3750
dc91a19e
JM
37512019-06-03 Joseph Myers <joseph@codesourcery.com>
3752
3753 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3754
6a1a9a49 37552019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
3756
3757 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3758 * sysdeps/unix/sysv/linux/arm/Makefile
3759 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3760 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3761 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3762 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3763 compatibility symbols.
3764
0bb8f8c7
FW
37652019-05-31 Florian Weimer <fweimer@redhat.com>
3766
3767 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3768 system calls for the arm architecture: breakpoint, get_tls,
3769 set_tls, usr26, usr32.
3770
9250e661
GG
37712019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3772
3773 * sysdeps/powerpc/Makefile
3774 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3775 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3776 Declare '.machine power7' to get support for ldbrx.
3777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3778 directive based on the directory of the file.
3779 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3780 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3781 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3782 '.machine' directive.
3783 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3784 (VADDUQM_V7_V8): Remove.
3785 (__STRCASECMP): Replace macros with actual instructions.
3786 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3787 '.machine' directive.
3788 (VCLZD_V8_v7): Remove.
3789 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3790
fbd6c928
AZ
37912019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3792
3793 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3794 Remove file.
3795 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3796
e47308c9
AZ
37972019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3798
3799 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3800 NEARBYINT handling.
3801 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3802 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3807
157cda1f 38082019-05-28 mansayk <6688000@gmail.com>
3809
3810 [BZ #24370]
3811 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3812
182a3746 38132019-05-28 mansayk <6688000@gmail.com>
3814
3815 [BZ #24369]
3816 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3817 (abmon): Likewise, but remove the trailing dots.
3818
c6df1ce3
JM
38192019-05-28 Joseph Myers <joseph@codesourcery.com>
3820
3821 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3822
85188d82
FW
38232019-05-27 Florian Weimer <fweimer@redhat.com>
3824
3825 * nptl/nptl-init.c: Add comment.
3826
5c23c821
FW
38272019-05-24 Florian Weimer <fweimer@redhat.com>
3828
3829 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3830 struct in_addr/struct in6_addr alignment.
3831
bee1f2c4
JM
38322019-05-23 Joseph Myers <joseph@codesourcery.com>
3833
3834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3835 (F_SEAL_FUTURE_WRITE): New macro.
3836
ab74d59f 38372019-05-23 Alexandra Hájková <ahajkova@redhat.com>
481c30cb
AH
3838
3839 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3840 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3841 * elf/tst-ldconfig_aux-cache.root: New directory.
3842 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3843 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3844 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3845
cb755eed
ZW
38462019-05-22 Zack Weinberg <zackw@panix.com>
3847
3848 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3849 host type.
3850 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3851 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3852
3853 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3856 Delete.
3857
3858 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3859 Issue an #error if used with a compiler in SPE-float mode.
3860 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3861 * sysdeps/powerpc/powerpc32/setjmp_common.S
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3868 Remove code to preserve SPE register state.
3869
3870 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3871 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3872 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3873 Remove __SPE__ ifndefs.
3874
46ae0732
WD
38752019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3876
3877 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3878 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3879 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3880 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3881 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3882 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3883 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3884 (INNER_LOOP_ITERS_MEDIUM): New define.
3885 (INNER_LOOP_ITERS_SMALL): New define.
3886 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3887 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3888 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3889 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3890 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3891
e6855a3b 38922019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
004e52fe
AZ
3893
3894 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3895 New define.
3896 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3897 (SEMTIMEDOP_IPC_ARGS): Likewise.
3898
c9c15ac3
FW
38992019-05-21 Florian Weimer <fweimer@redhat.com>
3900
3901 [BZ #24584]
3902 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3903 before updating __counter field and release it afterwards. Add
3904 overflow check.
3905 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3906 requirement for __counter member.
3907
7e740ab2
FW
39082019-05-21 Florian Weimer <fweimer@redhat.com>
3909
3910 [BZ #24583]
3911 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3912 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3913 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3914 instead of __gconv_release_step.
3915 * libio/Makefile (tests): Add tst-wfile-gconv.
3916 (tests-container): Add tst-wfile-ascii.
3917 (tst-wfile-gconv-ENV): Enable mtrace.
3918 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3919 (tests-special): Add tst-wfile-gconv-mem.out.
3920 (tst-wfile-gconv.out): Depend on locales.
3921 (tst-wfile-gconv-mem.out): Add mtrace rule.
3922 * libio/tst-wfile-ascii.c: New file.
3923 * libio/tst-wfile-gconv.c: Likewise.
3924
09e1b0e3
FW
39252019-05-20 Florian Weimer <fweimer@redhat.com>
3926
3927 [BZ #24588]
3928 libio: Remove codecvt vtable.
3929 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3930 __libio_codecvt.
3931 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3932 __libio_codecvt_encoding.
3933 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3934 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3935 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3936 * libio/iofwide.c (__libio_codecvt): Remove variable.
3937 (_IO_fwide): Do not copy __libio_codecvt.
3938 (__libio_codecvt_out): Rename from do_out and export.
3939 (do_unshift): Remove function.
3940 (__libio_codecvt_in): Rename from do_in and export.
3941 (__libio_codecvt_encoding): Rename from do_encoding and export.
3942 (do_always_noconv): Remove function.
3943 (__libio_codecvt_length): Rename from do_length and export.
3944 (do_max_length): Remove function.
3945 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3946 to libioP.h.
3947 (struct _IO_codecvt): Remove fields __codecvt_destr,
3948 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3949 __codecvt_do_encoding, __codecvt_do_always_noconv,
3950 __codecvt_do_length, __codecvt_do_max_length.
3951 * libio/libioP.h (enum __codecvt_result): Define; moved from
3952 libio.h.
3953 (__libio_codecvt_out, __libio_codecvt_in)
3954 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3955 functions.
3956 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3957 (_IO_wfile_underflow): Call __libio_codecvt_in.
3958 (_IO_wfile_underflow): Likewise.
3959 (_IO_wfile_underflow_mmap): Likewise.
3960 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3961 __libio_codecvt_length.
3962 (adjust_wide_data): Call __libio_codecvt_encoding,
3963 __libio_codecvt_in.
3964 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3965 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3966 __libio_codecvt_length.
3967
75c51570
FW
39682019-05-20 Florian Weimer <fweimer@redhat.com>
3969
3970 * support/support.h (support_sbindir_prefix): Declare.
3971 (support_install_rootsbindir): Update comment.
3972 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3973 * support/support_paths.c (support_sbindir_prefix): Define.
3974
ff6bec7d
MC
39752019-05-20 Mike Crowe <mac@mcrowe.com>
3976
b62bb3bc
MC
3977 * support/timespec.c: Add backslash to correct newline in failure
3978 message.
3979
ff6bec7d
MC
3980 * support/timespec.h: Correct confusing comment.
3981
dfba907f
AZ
39822019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3983
236c18e5
AZ
3984 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3985 define.
3986 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3987 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3988 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3989 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3990
dfba907f
AZ
3991 [BZ #24570]
3992 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3993 usage.
3994
13886008
JM
39952019-05-20 Joseph Myers <joseph@codesourcery.com>
3996
3997 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3998 (NT_ARM_PACG_KEYS): Likewise.
3999
1f50f2ad
WD
40002019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4001
4002 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4003 (tcache_put): Remove redundant assert.
4004 (tcache_get): Remove redundant asserts.
4005 (__libc_malloc): Check tcache count is not zero.
4006 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4007
fef7c63c
FW
40082019-05-17 Florian Weimer <fweimer@redhat.com>
4009
4010 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4011
5f161b23
JM
40122019-05-16 Joseph Myers <joseph@codesourcery.com>
4013
4014 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4015 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4016 0x050100].
4017 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4018 Likewise.
4019 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4020 (__ASSUME_STATX): Likewise.
4021
ec255a97
FW
40222019-05-16 Florian Weimer <fweimer@redhat.com>
4023
4024 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4025 flags argument.
4026 (LINE_PARSER): Do not map IPv4 addresses.
4027 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4028 to parse_line.
4029 (_nss_nis_gethostent_r): Always pass AF_INET to
4030 internal_nis_gethostent_r.
4031 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4032 to parse_line.
4033 (_nss_nis_gethostbyname2_r): Adjust call to
4034 internal_nis_gethostent_r.
4035 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4036 call to internal_nis_gethostent_r.
4037 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4038 from parse_line.
4039 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4040 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4041 Remove flags argument. Do not map IPv4 addresses.
4042 (internal_nisplus_gethostent_r): Adjust call to
4043 _nss_nisplus_parse_hostent.
4044 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4045 to _nss_nisplus_parse_hostent.
4046 (_nss_nisplus_gethostbyname2_r): Adjust call to
4047 internal_gethostbyname2_r.
4048 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4049 Adjust call to internal_gethostbyname2_r.
4050 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4051 _nss_nisplus_parse_hostent.
4052 (_nss_nisplus_gethostbyname4_r): Adjust call to
4053 internal_gethostbyname2_r.
4054
9c02d078
FW
40552019-05-16 Florian Weimer <fweimer@redhat.com>
4056
4057 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4058 Remove flags.
4059 (LINE_PARSER): Remove address mapping.
4060 (EXTRA_ARGS_VALUE): Remove flags argument.
4061 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4062 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4063 gethostbyname3_multi.
4064 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4065 _nss_files_gethostbyname3_r.
4066 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4067
85b0e1e8
FW
40682019-05-16 Florian Weimer <fweimer@redhat.com>
4069
4070 * support/support_test_compare_blob.c (report_blob): Report
4071 incorrect NULL blobs.
4072
11b451c8
MW
40732019-05-15 Mark Wielaard <mark@klomp.org>
4074
4075 [BZ# 24476]
4076 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4077 __libc_once_get (once) and static_buf == NULL.
4078 (__dlerror): Check we have a valid key, set result to static_buf
4079 otherwise.
4080
32ff3975
AS
40812019-05-15 Andreas Schwab <schwab@suse.de>
4082
4083 [BZ #20568]
4084 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4085 __codecvt_do_length.
4086 * libio/Makefile (tests): Add tst-wfile-sync.
4087 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4088 * libio/tst-wfile-sync.c: New file.
4089 * libio/tst-wfile-sync.input: New file.
4090
a9368c34
FW
40912019-05-15 Florian Weimer <fweimer@redhat.com>
4092
4093 nss: Turn __nss_database_lookup into a compatibility symbol.
4094 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4095 __nss_database_lookup.
4096 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4097 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4098 __nss_database_lookup.
4099 (__nss_next): Move to …
4100 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4101 unconditionally.
4102 (__nss_database_lookup): New function.
4103 * nss/Versions (GLIBC_2.0): Update comment.
4104 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4105 * grp/initgroups.c (internal_getgrouplist): Call
4106 __nss_database_lookup2 instead of __nss_database_lookup.
4107 * nscd/aicache.c (addhstaiX): Likewise.
4108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4109 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4110 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4111 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4112 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4113 Likewise.
4114 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4115 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4117
ab74d59f 41182019-05-15 Alexandra Hájková <ahajkova@redhat.com>
32ff3975 4119
d50f0918
AH
4120 * support/support.h (support_install_rootsbindir): New variable.
4121 * support/support_paths.c: Likewise.
4122 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4123
7ac6fad9
FW
41242019-05-15 Florian Weimer <fweimer@redhat.com>
4125
4126 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4127 * iconv/gconv_int.h (__gconv_transliterate): … here.
4128 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4129 * iconv/skeleton.c: Likewise.
4130
04b261bd
FW
41312019-05-14 Florian Weimer <fweimer@redhat.com>
4132
4133 Linux: Add the tgkill function.
4134 * bits/signal_ext.h: New file.
4135 * manual/signal.texi (Signaling Another Process): Document tgkill.
4136 * signal/Makefile (headers): Add bits/signal_ext.h.
4137 * signal/signal.h: Include <bits/signal_ext.h>.
4138 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4139 (tst-tgkill): Link with libpthread.
4140 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4141 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4142 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4144 tgkill.
4145 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4147 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4148 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4149 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4150 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4151 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4152 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4153 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4156 Likewise.
4157 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4161 Likewise.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4163 Likewise.
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4165 Likewise.
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4167 Likewise.
4168 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4174 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4176
6807f47b
CD
41772019-05-14 Carlos O'Donell <carlos@redhat.com>
4178
4179 * manual/search.texi (Tree Search Function): Adjust twalk_r
4180 documentation.
4181
fdb8a0be
AZ
41822019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4183
da2b83ef
AZ
4184 [BZ #24544]
4185 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4186 pre-defined value.
4187
c7ac9caa
AZ
4188 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4189 * support/support.h (support_bindir_prefix): New variable.
4190 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4191
91f043ae
AZ
4192 * config.make.in (bindir): New variable.
4193
c50e1c26
AZ
4194 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4195 (lll_trylock): Call __lll_trylock.
4196 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4197 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4198 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4199 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4200 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4201 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4203 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4204 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4205 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4206 lowlevellock-futex.h.
4207
959aff9f
AZ
4208 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4209 initialization for LLL_LOCK_INITIALIZER different than 0.
4210 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4211 Assume LLL_LOCK_INITIALIZER being 0.
4212 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4213 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4214 Likewise.
4215 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4216 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4217
d7e4c642
AZ
4218 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4219 Optimize futex call and add systemtap probe.
4220
fdb8a0be
AZ
4221 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4222 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4223 __libc_disable_asynccancel, __librt_enable_asynccancel,
4224 __libc_disable_asynccancel, __librt_enable_asynccancel,
4225 __librt_disable_asynccancel): Move to ...
4226 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4227 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4228 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4229 * sysdeps/generic/single-thread.h: New file.
4230 * sysdeps/unix/sysdep.h: Include single-thread.h.
4231 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4232 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4233
f6efec90
MF
42342019-05-08 Mike FABIAN <mfabian@redhat.com>
4235
4236 [BZ #24535]
4237 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4238 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4239 Unicode 12.1.0.
4240 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4241 * localedata/unicode-gen/PropList.txt: Likewise.
4242 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4243 * localedata/charmaps/UTF-8: Regenerate.
4244 * localedata/locales/i18n_ctype: Likewise.
4245 * localedata/locales/tr_TR: Likewise.
4246 * localedata/locales/translit_circle: Likewise.
4247 * localedata/locales/translit_cjk_compat: Likewise.
4248 * localedata/locales/translit_combining: Likewise.
4249 * localedata/locales/translit_compat: Likewise.
4250 * localedata/locales/translit_font: Likewise.
4251 * localedata/locales/translit_fraction: Likewise.
4252
5ad533e8
WD
42532019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4254
4255 [BZ #24531]
4256 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4257 (do_set_tcache_count): Only update if count is small enough.
4258 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4259
4aee85f9
FW
42602019-05-10 Florian Weimer <fweimer@redhat.com>
4261
4262 * nptl/sem_close.c (struct walk_closure): Define.
4263 (walker): Adjust for __twalk_r.
4264 (sem_close): Call __twalk_r.
4265
eb669ff5
AZ
42662019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4267
4268 * support/timespec.c (test_timespec_before_impl,
4269 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4270 insted of long int.
4271
51983996
MC
42722019-05-09 Mike Crowe <mac@mcrowe.com>
4273
44ac6ee9
MC
4274 * nptl/tst-abstime.c: Use libsupport.
4275
495514ee
MC
4276 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4277 small bug where only tv.tv_usec was checked which could cause an
4278 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4279 than a second.
4280
4281 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4282 libsupport.
4283
40d0816f
MC
4284 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4285 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4286
d8e0b901
MC
4287 * nptl/tst-cond11.c: Use libsupport.
4288
51983996
MC
4289 * support/timespec.h: New file. Provide timespec helper functions
4290 along with macros in the style of those in check.h.
4291 * support/timespec.c: New file. Implement check functions declared
4292 in support/timespec.h.
4293 * support/timespec-add.c: New file from gnulib containing
4294 timespec_add implementation that handles overflow.
4295 * support/timespec-sub.c: New file from gnulib containing
4296 timespec_sub implementation that handles overflow.
4297 * support/README: Mention timespec.h.
4298
18aa51ee
SN
42992019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4300
4301 [BZ #24537]
4302 * nptl/Makefile: Move tst-eintr1 to xtests.
4303
252296c6
AZ
43042019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4305
ae45cf84
AZ
4306 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4307 TRUNC handling.
4308 (round_mode): Add definition for TRUNC.
4309 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4310 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4311 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4312 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4313 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4314 Likewise.
4315 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4316 Likewise.
4317 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4318 Likewise.
4319 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4320 Likewise.
4321 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4322 file.
4323 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4324 Likewise.
4325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4326 Likewise.
4327 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4328 Likewise.
4329 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4330 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4331 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4332 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4333 s_truncf-power5+, and s_truncf-ppc64.
4334 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4335 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4336 file.
4337 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4340 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4341 file.
4342 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4343 Likewise.
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4345 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4347 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4348 s_truncf-power5+, and s_truncf-ppc64.
4349 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4350 file.
4351 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4352 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4353 Likewise.
4354 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4355 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4356 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4357 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4358 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4359
a1cb1888
AZ
4360 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4361 ROUND handling.
4362 (round_mode): Add definition for ROUND.
4363 (round_to_integer_float): Likewise.
4364 * sysdeps/powerpc/fpu/s_round.c: New file.
4365 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4366 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4367 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4368 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4369 Likewise.
4370 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4371 Likewise.
4372 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4373 Likewise.
4374 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4375 Likewise.
4376 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4377 file.
4378 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4379 Likewise.
4380 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4381 Likewise.
4382 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4383 Likewise.
4384 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4385 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4386 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4387 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4388 s_roundf-power5+, and s_roundf-ppc64.
4389 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4390 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4391 file.
4392 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4394 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4395 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4396 file.
4397 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4398 Likewise.
4399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4400 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4402 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4403 s_roundf-power5+, and s_roundf-ppc64.
4404 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4405 file.
4406 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4407 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4408 Likewise.
4409 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4412 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4413 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4414
252296c6
AZ
4415 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4416 Add FLOOR option.
4417 (round_mode): Add definition for FLOOR.
4418 * sysdeps/powerpc/fpu/s_floor.c: New file.
4419 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4421 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4423 Remove file.
4424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4425 Likewise
4426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4427 Likewise.
4428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4429 Likewise.
4430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4431 New file.
4432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4433 Likewise.
4434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4435 Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4437 Likewise.
4438 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4439 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4440 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4441 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4442 s_floorf-power5+, and s_floorf-ppc64.
4443 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4444 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4445 file.
4446 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4448 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4449 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4450 file.
4451 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4452 Likewise.
4453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4454 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4456 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4457 s_floorf-power5+, and s_floorf-ppc64.
4458 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4459 file.
4460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4461 file.
4462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4463 Likewise.
4464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4465 Likewise.
4466 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4469 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4470
33647a72
MC
44712019-05-08 Mike Crowe <mac@mcrowe.com>
4472
4473 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4474 clock_gettime wrapper for use in tests that fails the test rather
4475 than returning failure.
4476
4477 * support/xtime.h: New file to declare xclock_gettime.
4478
4479 * support/Makefile: Add xclock_gettime.c.
4480
4481 * support/README: Mention xtime.h.
4482
b2f601ba
FW
44832019-05-08 Florian Weimer <fweimer@redhat.com>
4484
4485 malloc/tst-mallocfork2: Use process-shared barriers.
4486 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4487 (signal_count, sigusr1_sender_pid): Remove.
4488 (iterations): Define constant.
4489 (shared): New variable.
4490 (sigusr1_received): Update comment.
4491 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4492 (signal_sender): Optional use barriers to avoid sending signals
4493 during irrelevant times.
4494 (do_it): Initialize variable shared. Use xfork for error
4495 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4496 the iteration count, independent of signal delivery. Check for
4497 deadlocks in fork. Introduce barriers for reducing signal
4498 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4499 replaced by the barriers. Count signals during fork/free/malloc
4500 and report them.
4501 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4502
c4a392cf
JM
45032019-05-07 Joseph Myers <joseph@codesourcery.com>
4504
7621676f
JM
4505 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4506 version to 5.1.
4507 (clock_adjtime64) New syscall.
4508 (clock_getres_time64) Likewise.
4509 (clock_gettime64) Likewise.
4510 (clock_nanosleep_time64) Likewise.
4511 (clock_settime64) Likewise.
4512 (futex_time64) Likewise.
4513 (io_pgetevents_time64) Likewise.
4514 (io_uring_enter) Likewise.
4515 (io_uring_register) Likewise.
4516 (io_uring_setup) Likewise.
4517 (mq_timedreceive_time64) Likewise.
4518 (mq_timedsend_time64) Likewise.
4519 (pidfd_send_signal) Likewise.
4520 (ppoll_time64) Likewise.
4521 (pselect6_time64) Likewise.
4522 (recvmmsg_time64) Likewise.
4523 (rt_sigtimedwait_time64) Likewise.
4524 (sched_rr_get_interval_time64) Likewise.
4525 (semtimedop_time64) Likewise.
4526 (timer_gettime64) Likewise.
4527 (timer_settime64) Likewise.
4528 (timerfd_gettime64) Likewise.
4529 (timerfd_settime64) Likewise.
4530 (utimensat_time64) Likewise.
4531
c4a392cf
JM
4532 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4533 version to 9 branch.
4534
32e902a9
AY
45352019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4536
4537 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4538 __memmove_thunderx2 to the list of implementations
4539 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4540 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4541 (__memmove_thunderx2): Rewritten using SIMD ld/st
4542 (__memcpy_thunderx2): Fixed handling overlapping cases.
4543 Used ldp/stp instead of ldr/str if possible. Made loops
4544 tails branchless.
4545
ac3da35d
FW
45462019-05-03 Florian Weimer <fweimer@redhat.com>
4547
4548 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4549
b2af6fb2
AZ
45502019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4551
7dfde28a 4552 [BZ #24506]
b2af6fb2
AZ
4553 * elf/tst-pldd.c (in_str_list): New function.
4554 (do_test): Add default names for ld and libc as one option.
4555
7b807a35
FW
45562019-05-02 Florian Weimer <fweimer@redhat.com>
4557
4558 misc: Add twalk_r function.
4559 * include/search.h (__twalk_r): Declare.
4560 * manual/examples/twalk.c: New file.
4561 * manual/search.texi (Tree Search Function): Document twalk_r.
4562 * misc/Versions (2.30): Export twalk_r.
4563 (GLIBC_PRIVATE): Export __twalk_r.
4564 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4565 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4566 (twalk_r): Add weak alias.
4567 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4568 (walk_trace): New variable.
4569 (struct twalk_with_twalk_r_closure): Define.
4570 (twalk_with_twalk_r_action): New function.
4571 (twalk_with_twalk_r): Likewise.
4572 (walk_action): Call walk_trace_add.
4573 (walk_tree_with): Rename from walk_tree. Add walk argument.
4574 (walk_tree): New function.
4575 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4576 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4577 Likewise.
4578 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4579 Likewise.
4580 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4581 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4582 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4583 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4584 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4585 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4586 Likewise.
4587 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4588 Likewise.
4589 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4590 Likewise.
4591 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4592 (GLIBC_2.30): Likewise.
4593 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4594 (GLIBC_2.30): Likewise.
4595 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4596 (GLIBC_2.30): Likewise.
4597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4598 (GLIBC_2.30): Likewise.
4599 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4600 Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4602 (GLIBC_2.30): Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4604 (GLIBC_2.30): Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4606 (GLIBC_2.30): Likewise.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4608 (GLIBC_2.30): Likewise.
4609 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4610 Likewise.
4611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4614 Likewise.
4615 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4619 Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4621 Likewise.
4622 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4623 Likewise.
4624
20aa5819
PE
46252019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4626
4627 Make mktime etc. compatible with __time64_t
4628 Keep these functions compatible with Gnulib while adding
4629 __time64_t support. The basic idea is to move private API
4630 declarations from include/time.h to time/mktime-internal.h, since
4631 the former file cannot easily be shared with Gnulib whereas the
4632 latter can.
4633 Also, do some other minor cleanup while in the neighborhood.
4634 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4635 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4636 since Gnulib needs it.
4637 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4638 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4639 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4640 (in_time_t_range): New static function.
4641 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4642 so that glibc users are not tempted to use __time64_t.
4643 * time/mktime-internal.h: Rewrite so that it does both glibc
4644 and Gnulib work. Include time.h if not _LIBC.
4645 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4646 (__time64_t): New type or macro, moved here from
4647 posix/bits/types.h.
4648 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4649 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4650 from include/time.h.
4651 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4652 New macros, taken from GNulib.
4653 (__mktime_internal): New prototype, moved here from include/time.h.
4654 * time/mktime.c (mktime_min, mktime_max, convert_time)
4655 (ranged_convert, __mktime_internal, __mktime64):
4656 * time/timegm.c (__timegm64):
4657 Use __time64_t, not time_t.
4658 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4659 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4660 Rename from mktime.
4661 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4662 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4663 for libc_hidden_def.
4664 Include errno.h.
4665 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4666 Rename from timegm.
4667 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4668
87c266d7
MR
46692019-04-30 Maciej W. Rozycki <macro@wdc.com>
4670
4671 [BZ #19444]
4672 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4673 from `-Wmaybe-uninitialized'.
4674 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4675
c4c0848b
AZ
46762019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4677
6cac323c
AZ
4678 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4679 function.
4680 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4681 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4682 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4683 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4684 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4686 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4688 Remove file.
4689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4690 Likewise.
4691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4692 Likewise.
4693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4694 Likewise.
4695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4696 New file.
4697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4698 Likewise.
4699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4700 Likewise.
4701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4702 Likewise.
4703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4705 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4706 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4707 Likewise.
4708 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4709 Likewise.
4710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4711 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4712 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4713 file.
4714 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4715 Likewise.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4717 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4718 * here.
4719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4720 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4721 s_ceilf-power5+, and s_ceilf-ppc64.
4722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4723 file.
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4727 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4729 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4731
c4c0848b
AZ
4732 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4733 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4734 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4735
f492fc99
YD
47362019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4737
4738 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4739 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4740 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4741 (sem_getvalue): Likewise.
4742
c57afec0
FW
47432019-04-26 Florian Weimer <fweimer@redhat.com>
4744
4745 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4746 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4747
a8ff215e
FW
47482019-04-26 Florian Weimer <fweimer@redhat.com>
4749
4750 Makeconfig: Move -Wl,-rpath-link options before library references.
4751 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4752 (link-libc): Remove $(link-libc-rpath-link).
4753
47542019-04-25 Florian Weimer <fweimer@redhat.com>
4755
4756 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4757 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4758 (+link-static-before-libc): Remove $(CC).
4759 (+link-static, +link-static-tests): Add $(CC).
4760 (+link-before-libc): Remove $(CC).
4761 (+link, +link-pie, +link-pie-printers): Add $(CC).
4762
e30fb31c
FW
47632019-04-26 Florian Weimer <fweimer@redhat.com>
4764
4765 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4766 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4767 (+link-static-before-libc): Remove $(CC).
4768 (+link-static, +link-static-tests): Add $(CC).
4769 (+link-before-libc): Remove $(CC).
4770 (+link, +link-pie, +link-pie-printers): Add $(CC).
4771
deacca00
DA
47722019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4773
4774 [BZ#24484]
4775 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4776
b5ffdc48
FW
47772019-04-25 Florian Weimer <fweimer@redhat.com>
4778
4779 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4780 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4781 (bench-link-targets): New variable.
4782 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4783
94a4e9e4
FW
47842019-04-25 Florian Weimer <fweimer@redhat.com>
4785
4786 Also enable BIND_NOW for programs if --enable-bind-now.
4787 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4788 (+link-pie): Use $(link-extra-flags).
4789 (+link-static): Likewise.
4790 [! $(build-pie-default)] (+link): Likewise.
4791 * manual/install.texi (Configuring and compiling): Update
4792 --enable-bind-now description.
4793 * INSTALL: Regenerated.
4794
fe92a91f
WD
47952019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4796
4797 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4798 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4799
f9b645b4
MF
48002019-04-24 Mike Frysinger <vapier@gentoo.org>
4801
4802 [BZ #18465]
4803 * malloc/Makefile (others): Add memusagestat.
4804 ($(objpfx)memusagestat): Delete rule.
4805 (LDLIBS-memusagestat): New variable.
4806
439bf534
FW
48072019-04-24 Florian Weimer <fweimer@redhat.com>
4808
4809 * locale/Makefile (tests-special): Guard setting by
4810 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4811 to run while cross-compiling.
4812
1a4c2735
AZ
48132019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4814
4815 [BZ #18035]
4816 * elf/Makefile (tests-container): Add tst-pldd.
4817 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4818 (E(find_maps)): Avoid use alloca, use default read file operations
4819 instead of explicit LFS names, and fix infinite loop.
4820 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4821 (get_process_info): Use _Static_assert instead of assert, use default
4822 directory operations instead of explicit LFS names, and free some
4823 leadek pointers.
4824 * elf/tst-pldd.c: New file.
4825
2d398aa2
L
48262019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4827
4828 * malloc/arena.c (do_set_mallopt_check): Removed.
4829
e485b2b6
FW
48302019-04-23 Florian Weimer <fweimer@redhat.com>
4831
4832 locale: Add LOCPATH diagnostics to the locale program.
4833 * locale/programs/locale.c (setlocale_failed): New variable.
4834 (try_setlocale): New function.
4835 (quote_string): Likewise.
4836 (setlocale_diagnostics): Likewise.
4837 (main): Call try_setlocale instead of setlocale. Call
4838 setlocale_diagnostics.
4839 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4840 (tst-locale-locpath.out): New target.
4841 * locale/tst-locale-locpath.sh: New file.
4842
25f7a3c9
AZ
48432019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4844
4845 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4846 to 2.30 notes.
4847
9bf8e29c
AZ
48482019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4849
4850 [BZ #23741]
4851 * malloc/hooks.c (malloc_check, realloc_check): Use
4852 __builtin_add_overflow on overflow check and adapt to
4853 checked_request2size change.
4854 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4855 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4856 allocation size to PTRDIFF_MAX.
4857 (REQUEST_OUT_OF_RANGE): Remove macro.
4858 (checked_request2size): Change to inline function and limit maximum
4859 requested size to PTRDIFF_MAX.
4860 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4861 maximum allocation size to PTRDIFF_MAX.
4862 (_mid_memalign): Use _int_memalign call for overflow check.
4863 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4864 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4865 limit maximum requested size to PTRDIFF_MAX.
4866 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4867 valloc, pvalloc): Add __attribute_alloc_size__.
4868 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4869 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4870 larger than PTRDIFF_MAX.
4871 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4872 around tests of malloc with negative sizes.
4873 * malloc/tst-posix_memalign.c (do_test): Likewise.
4874 * malloc/tst-pvalloc.c (do_test): Likewise.
4875 * malloc/tst-valloc.c (do_test): Likewise.
4876 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4877 with resulting size allocation larger than PTRDIFF_MAX with
4878 reallocarray_nowarn.
4879 (reallocarray_nowarn): New function.
4880 * NEWS: Mention the malloc function semantic change.
4881
0e169691
AZ
48822019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4883
52faba65
AZ
4884 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4885 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4886
3a16dd78
AZ
4887 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4888 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4889 * sysdeps/powerpc/fpu/s_fma.c: New file.
4890 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4891
1dac8bd6
AZ
4892 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4893 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4894
a3ae315a
AZ
4895 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4896 the magic flag store.
4897 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4898 Likewise.
4899 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4900 Likewise.
4901 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4902 Remove rt_sigreturn call.
4903
ffe8a9a8
AZ
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4905 Remove rt_sigreturn call.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4907 Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4910
0e169691
AZ
4911 * support/Makefile (libsupport-routines): Add support_subprocess,
4912 xposix_spawn, xposix_spawn_file_actions_addclose, and
4913 xposix_spawn_file_actions_adddup2.
4914 (tst-support_capture_subprocess-ARGS): New rule.
4915 * support/capture_subprocess.h (support_capture_subprogram): New
4916 prototype.
4917 * support/support_capture_subprocess.c (support_capture_subprocess):
4918 Refactor to use support_subprocess and support_capture_poll.
4919 (support_capture_subprogram): New function.
4920 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4921 str_to_write_mode, test_common, parse_int, handle_restart,
4922 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4923 (do_test): Add support_capture_subprogram tests.
4924 * support/subprocess.h: New file.
4925 * support/support_subprocess.c: Likewise.
4926 * support/xposix_spawn.c: Likewise.
4927 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4928 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4929 * support/xspawn.h: Likewise.
4930
bae8cf0e
MG
49312019-04-17 Mike Gerow <gerow@google.com>
4932
4933 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4934 groups limit.
4935
e3f454ba
FW
49362019-04-11 Florian Weimer <fweimer@redhat.com>
4937
4938 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4939 domain with empty string.
4940 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4941
32d85c11
FW
49422019-04-11 Florian Weimer <fweimer@redhat.com>
4943
4944 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4945 comment.
4946 (alloc_buffer_next): Change return type to non-const. Update
4947 comment.
4948
221710af
FW
49492019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4950
4951 * manual/time.texi (Formatting Calendar Time): Add missing percent
4952 sign to conversion specifier.
4953
e621246e
CD
49542019-04-09 Carlos O'Donell <carlos@redhat.com>
4955 Kwok Cheung Yeung <kcy@codesourcery.com>
4956
4957 [BZ #16573]
4958 * malloc/mtrace.c: Define prototypes for all hooks.
4959 (set_default_hooks): New function.
4960 (set_trace_hooks): Likewise.
4961 (save_default_hooks): Likewise.
4962 (tr_freehook): Use new s*_hooks functions.
4963 (tr_mallochook): Likewise.
4964 (tr_reallochook): Likewise.
4965 (tr_memalignhook): Likewise.
4966 (mtrace): Likewise.
4967 (muntrace): Likewise.
4968
648279f4
WD
49692019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4970
4971 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4972 (generic_stpcpy): New function.
4973 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4974 (generic_stpncpy): New function.
4975 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4976 (generic_strcat): New function.
4977 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4978 (generic_strcpy): New function.
4979 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4980 (STUPID_STRNCAT): Remove function.
4981 (generic_strncat): New function.
4982 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4983 (STUPID_STRNCPY): Remove function.
4984 (generic_strncpy): New function.
4985 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4986 (generic_strnlen): New function.
4987 (memchr_strnlen): New function.
4988 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4989 (memchr_strlen): Likewise.
4990
93eebae5
WD
49912019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4992
4993 * benchtests/bench-strstr.c (input): Add realistic input text.
4994 (stupid_strstr): Remove function.
4995 (basic_strstr): Add function.
4996 (twoway_strstr): Add function.
4997 (do_one_test): Add result checking.
4998 (do_test): Use new input text. Remove accidental early matches.
4999 (test_main): Improve range of tests, reduce unaligned cases.
5000
a173d09f
WD
50012019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5002
5003 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5004 (basic_memmem): Add function.
5005 (twoway_memmem): Add function.
5006
6103c0a8
WD
50072019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5008
5009 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5010 * benchtests/bench-malloc-thread.c: Likewise.
5011 * benchtests/bench-skeleton.c: Likewise.
5012 * benchtests/bench-strtod.c: Likewise.
5013 * benchtests/bench-timing.h: Likewise.
5014
33322186
FW
50152019-04-08 Florian Weimer <fweimer@redhat.com>
5016
5017 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5018 definitions.
5019 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5020 RES_INSECURE2 security checks.
5021 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5022 RES_INSECURE2 handling.
5023
3f8b44be
FW
50242019-04-08 Florian Weimer <fweimer@redhat.com>
5025
5026 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5027 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5028 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5029 GETHOSTBYNAME.
5030 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5031 (tests-internal): Update justification for tst-resolv-res_init,
5032 tst-resolv-res_init-thread.
5033 (tst-res_use_inet6): Remove target.
5034 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5035 * resolv/res_debug.c (p_option): Remove "inet6" support.
5036 * resolv/res_init.c (res_setoptions): Likewise.
5037 * resolv/res_use_inet6.h: Remove file.
5038 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5039 definition.
5040 (res_use_inet6): Always return false.
5041 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5042 * resolv/resolv_context.h: Adjust file comment.
5043 (struct resolv_context): Update comment on __next field.
5044 (__resolv_context_put): Update comment.
5045 * resolv/tst-res_use_inet6.c: Remove file.
5046 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5047 "inet6" support.
5048 (test_cases): Adjust test case.
5049 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5050 (thread_byname2_af_inet6): Use old byname_inet6 code.
5051 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5052 (gai): Remove do_inet6 argument.
5053 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5054 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5055 (thread_gai_unspec_inet6): Remove functions.
5056 (do_test): Adjust thread_funcs.
5057 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5058 RES_USE_INET6 flag.
5059 (gaih_inet): Do not disable RES_USE_INET6 flag.
5060
6b5c8607 50612019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
5062
5063 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5064 and remove redundant code.
5065
e3fd0b0e
AZ
50662019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5067
f82ed45d
AZ
5068 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5069 New rule.
5070 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5072 Likewise.
5073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5074 Likewise.
5075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5076 Likewise.
5077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5079 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5082 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5084 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5085 wcsrchr-power7.
5086 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5089 Remove wcsrchr optimizations.
5090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5091
662c2cc4
AZ
5092 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5093 the loop unroll.
5094
421e3005
AZ
5095 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5096 New rule.
5097 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5099 Likewise.
5100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5101 Likewise.
5102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5103 Likewise.
5104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5105 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5106 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5107 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5108 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5109 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5111 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5112 wcschr-power7.
5113 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5116 Remove wcschr optimizations.
5117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5118
7ba0100c
AZ
5119 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5120 the loop unroll.
5121
447a1306
AZ
5122 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5123 New rule.
5124 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5126 Likewise.
5127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5128 Likewise.
5129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5130 Likewise.
5131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5132 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5133 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5134 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5135 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5136 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5138 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5139 wcscpy-power7.
5140 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5143 Remove wcscpy optimizations.
5144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5145
e3fd0b0e
AZ
5146 * include/loop_unroll.h: New file.
5147 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5148 besides generic implementation.
5149
8260f236
DD
51502019-04-03 DJ Delorie <dj@redhat.com>
5151
5152 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5153 snprintf truncating output.
5154
0bd545ee
DD
51552019-04-02 DJ Delorie <dj@redhat.com>
5156
5157 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5158 warning.
5159
466afec3
TS
51602019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5161
5162 [BZ #22964]
5163 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5164 era.
5165 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5166 (mkreftable): Add rules for the new Japanese era and the new dates.
5167
2f1d6155 51682019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
ab74d59f 5169 Rafał Lużyński <digitalfreak@lingonborough.com>
2f1d6155
TS
5170
5171 * time/tst-strftime2.c (date_t): Explicitly define the type.
5172 (dates): Use natural month and year numbers to express a date.
5173 (is_before): New function to compare dates.
5174 (mkreftable): Minor improvements to simplify maintenance.
5175 (do_test): Reflect the changes in dates array.
5176
84aea169
TS
5177 [BZ #24293]
5178 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5179 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5180 * time/tst-strftime2.c (locales): Likewise.
5181 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5182 2010-04-01, and 2011-04-01.
5183 (mkreftable): Add rules for the new locales and the new dates.
5184
62449176
CD
51852019-04-01 Carlos O'Donell <carlos@redhat.com>
5186
5187 * localedata/locales/ja_JP: Add comments to era entries.
5188
e0e4c321
DD
51892019-04-01 DJ Delorie <dj@redhat.com>
5190
5191 [BZ #24394]
5192 * time/strptime_l.c (%Ey): Fix fencepost error.
5193 * time/tst-strftime3.c: New.
5194 * time/Makefile (tests): Add tst-strftime3.
5195
ab74d59f 51962019-04-01 Uroš Bizjak <ubizjak@gmail.com>
993e3107
UB
5197
5198 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5199 conditional branch to DIVBYZERO. Fix unwind info.
5200 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5201 excb after conditional branch to $powerof2. Add missing unop
5202 instructions and .align directives and reorder instructions to
5203 match __divqu.
5204
d5ecee82
RH
52052019-04-01 Richard Henderson <rth@twiddle.net>
5206
5207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5208 Do not redefine.
5209 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5210 Do not redefine.
5211
656dd306
MR
52122019-03-30 Maciej W. Rozycki <macro@wdc.com>
5213
5214 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5215 $libc_cv_riscv_float_abi in `test' invocation.
5216 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5217
10cce669
PC
52182019-03-29 Paul A. Clarke <pc@us.ibm.com>
5219
5220 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5221 asm with builtin.
5222 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5223 Likewise.
5224 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5225 (_GET_SI_FPSCR): Likewise.
5226 (_SET_SI_FPSCR): Likewise.
5227
5e67e4bf 52282019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
5229
5230 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5231 clang 2.8.
5232 (signbit): Use builtin for clang 3.3.
5233 (isinf): Use builtin for clang 3.7.
5234
01963891
AZ
52352019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5236
5237 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5238
67112f7a
AH
52392019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5240
5241 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5242 quote in printf.
5243
7a773abf
MC
52442019-03-25 Mike Crowe <mac@mcrowe.com>
5245
82849fde
MC
5246 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5247 pthread_rwlock_timedrdlock with calls to
5248 pthread_rwlock_timedwrlock to ensure that the latter is tested
5249 too. Use new function name in diagnostic messages too.
5250
7a773abf
MC
5251 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5252 (do_test) Use libsupport test macros rather than hand-coded
5253 conditionals and error messages. Ensure that sem_init returns zero
5254 rather than not -1. Use <support/test-driver.c> rather than
5255 test-skeleton.c.
5256
5257 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5258 test macros rather than hand-coded conditionals and error messages.
5259 Use <support/test-driver.c> rather than test-skeleton.c.
5260
9ac2de69
JM
52612019-03-25 Joseph Myers <joseph@codesourcery.com>
5262
d7563e62
JM
5263 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5264
9ac2de69
JM
5265 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5266 (NT_MIPS_MSA): Likewise.
5267
38cc11da
AZ
52682019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5269
7621e38b
WD
5270 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5271 * benchtests/README: Update description.
5272 * benchtests/bench-timing.h: Default to hp-timing.
5273 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5274 HP_TIMING_PRINT): Remove.
5275 (HP_TIMING_NOW): Add generic implementation.
5276 (hp_timing_t): Change to uint64_t.
5277
1e372ded
AZ
5278 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5279 HP_TIMING_INLINE.
5280 * nptl/descr.h: Likewise.
5281 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5282 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5283 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5284 Abstract hp-timing usage with RTLD_* macros.
5285 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5286 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5287 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5288 HP_TIMING_NONAVAIL): Likewise.
5289 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5290 Likewise.
5291 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5292 HP_SMALL_TIMING_AVAIL): Likewise.
5293 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5294 HP_SMALL_TIMING_AVAIL): Likewise.
5295 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5296 HP_SMALL_TIMING_AVAIL): Likewise.
5297 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5298 HP_SMALL_TIMING_AVAIL): Likewise.
5299 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5300 Likewise.
5301 * sysdeps/generic/hp-timing-common.h: Update comment with
5302 HP_TIMING_AVAIL removal.
5303
359653aa
AZ
5304 * include/random-bits.h: New file.
5305 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5306 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5307 random_bits.
5308 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5309 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5310 Likewise.
5311
6e8ba7fd
AZ
5312 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5313 * rt/Makefile (clock-routines): Remove get_clockfreq.
5314 * rt/get_clockfreq.c: Remove file.
5315 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5316 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5318 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5319 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5320
77b6f553
AZ
5321 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5322 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5324 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5325 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5326
38cc11da
AZ
5327 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5328 pthread_clock_settime.
5329 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5330 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5331 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5332 * elf/rtld.c (_dl_start_final): Likewise.
5333 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5334 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5335 Remove.
5336 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5337 (_dl_cpuclock_offset): Remove.
5338 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5339 cpuclock_offset_ununsed.
5340 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5341 cpuclock_offset set.
5342 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5343 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5344 * nptl/pthread_clock_gettime.c: Remove file.
5345 * nptl/pthread_clock_settime.c: Likewise.
5346 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5347 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5348 and CLOCK_PROCESS_CPUTIME_ID support.
5349 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5350 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5351 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5352 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5353 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5354 Likewise.
5355 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5356
421749d6
SL
53572019-03-22 Stefan Liebler <stli@linux.ibm.com>
5358
5359 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5360 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5361 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5362 New defines.
5363 * sysdeps/s390/memmem-arch13.S: New file.
5364 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5365 if it is only used as fallback.
5366 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5367 * sysdeps/s390/multiarch/ifunc-impl-list.c
5368 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5369
6f47401b
SL
53702019-03-22 Stefan Liebler <stli@linux.ibm.com>
5371
5372 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5373 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5374 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5375 New defines.
5376 * sysdeps/s390/multiarch/ifunc-impl-list.c
5377 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5378 * sysdeps/s390/strstr-arch13.S: New file.
5379 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5380 if it is only used as fallback.
5381 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5382
96fbb9a3
SL
53832019-03-22 Stefan Liebler <stli@linux.ibm.com>
5384
5385 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5386 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5387 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5388 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5389 ifunc selector.
5390 * sysdeps/s390/multiarch/ifunc-impl-list.c
5391 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5392 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5393 S390_IS_ARCH13_MIE3): New defines.
5394
a899a551
SL
53952019-03-22 Stefan Liebler <stli@linux.ibm.com>
5396
5397 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5398 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5399 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5400 * sysdeps/s390/configure: Regenerated.
5401
1a7df49c
SL
54022019-03-22 Stefan Liebler <stli@linux.ibm.com>
5403
5404 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5405 Add vxe2, vxp, dflt, sort flags.
5406 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5407 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5408 capabilities.
5409 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5410 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5411 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5412 HWCAP_S390_DFLT): Define.
5413
5e67e4bf 54142019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
5415
5416 [BZ #24372]
5417 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5418 of compiler warning.
5419 * locale/programs/ld-collate.c (collate_output): Likewise.
5420
ac64195c
DD
54212019-03-21 DJ Delorie <dj@redhat.com>
5422
5423 [BZ #24372]
5424 * iconv/iconvconfig.c (write_output): Replace floating point math
5425 with integer math to avoid imprecise results.
5426 * locale/programs/ld-collate.c (collate_output): Likewise.
5427
61f5e947
SL
54282019-03-21 Stefan Liebler <stli@linux.ibm.com>
5429
5430 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5431 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5432
57ada43c 54332019-03-20 mansayk <6688000@gmail.com>
5434
5435 [BZ #24296]
5436 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5437 (abday): Likewise, but remove the trailing dots.
5438
a2e57f89
JM
54392019-03-19 Joseph Myers <joseph@codesourcery.com>
5440
5441 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5442 macro.
5443 (HWCAP_PACA): Likewise.
5444 (HWCAP_PACG): Likewise.
5445 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5446 Increase to 32.
5447 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5448
e87d8ada
ST
54492019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5450
5451 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5452 should be handled.
5453
477e739b
JM
54542019-03-15 Joseph Myers <joseph@codesourcery.com>
5455
5456 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5457 version to 5.0.
5458 (old_getpagesize): New syscall.
5459
238d60a1
FY
54602019-03-15 Felix Yan <felixonmars@archlinux.org>
5461
5462 [BZ #24293]
5463 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5464 * localedata/locales/cmn_TW (era): Likewise.
5465 * localedata/locales/hak_TW (era): Likewise.
5466 * localedata/locales/lzh_TW (era): Likewise.
5467 * localedata/locales/nan_TW (era): Likewise.
5468
5dde9ef7
DD
54692019-03-14 Adam Maris <amaris@redhat.com>
5470
5471 * malloc/malloc.c (_int_malloc): Check for large bin list
5472 corruption when inserting unsorted chunk.
5473
a0a0dc83
FW
54742019-03-14 Florian Weimer <fweimer@redhat.com>
5475
5476 Remove obsolete, never-implemented XSI STREAMS declarations.
5477 * manual/terminal.texi (Allocation): Remove portability note and
5478 adjust example.
5479 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5480 _SC_STREAMS.
5481 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5482 * sysdeps/unix/inet/Subdirs (streams): Remove.
5483 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5484 (conformtest-headers-UNIX98): Likewise.
5485 (conformtest-headers-XOPEN2K): Likewise.
5486 (conformtest-headers-POSIX2008): Likewise.
5487 * posix/compat-streams.c: New file.
5488 * posix/Makefile (routines): Add it.
5489 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5490 getpmsg, isastream, putmsg, putpmsg.
5491 (GLIBC_2.30): New section.
5492 * bits/stropts.h: Remove file.
5493 * bits/xtitypes.h: Likewise.
5494 * conform/data/stropts.h-data: Likewise.
5495 * include/stropts.h: Likewise.
5496 * include/sys/stropts.h: Likewise.
5497 * include/xtitypes.h: Likewise.
5498 * streams/Makefile: Likewise.
5499 * streams/fattach.c: Likewise.
5500 * streams/fdetach.c: Likewise.
5501 * streams/getmsg.c: Likewise.
5502 * streams/getpmsg.c: Likewise.
5503 * streams/isastream.c: Likewise.
5504 * streams/putmsg.c: Likewise.
5505 * streams/putpmsg.c: Likewise.
5506 * streams/stropts.h: Likewise.
5507 * streams/sys/stropts.h: Likewise.
5508 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5509 * sysdeps/s390/bits/xtitypes.h: Likewise.
5510 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5511 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5512 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5513 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5514 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5515 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5516 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5518 * sysdeps/x86/bits/xtitypes.h: Likewise.
5519
081bdf94
FW
55202019-03-14 Florian Weimer <fweimer@redhat.com>
5521
5522 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5523 libnss_files.
5524 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5525 but not with libnss_files.
5526 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5527
97f8225d
ZW
55282019-03-14 Zack Weinberg <zackw@panix.com>
5529
5530 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5531 Specify encoding="utf-8" when opening headers to check.
5532
0c1041ee
JM
55332019-03-13 Joseph Myers <joseph@codesourcery.com>
5534
5535 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5536 version to 5.0.
5537 (Context.checkout_tar): Handle variable major version for Linux
5538 kernel.
5539
043440e7
FW
55402019-03-13 Florian Weimer <fweimer@redhat.com>
5541
5542 [BZ #24047]
5543 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5544
29218b26
ZW
55452019-03-13 Zack Weinberg <zackw@panix.com>
5546
5547 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5548 Move to stdlib.
5549 * include/inttypes.h: Adjust to match.
5550 * include/stdint.h: New wrapper.
5551
711a322a
ZW
55522019-03-13 Zack Weinberg <zackw@panix.com>
5553
5554 * scripts/check-obsolete-constructs.py: New test script.
5555 * scripts/check-installed-headers.sh: Remove tests for
5556 obsolete typedefs, superseded by check-obsolete-constructs.py.
5557 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5558 as a special test. Update commentary.
5559 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5560 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5561 Update commentary.
5562 * posix/sys/types.h (__u_intN_t): Remove.
5563 (u_int8_t): Typedef using __uint8_t.
5564 (u_int16_t): Typedef using __uint16_t.
5565 (u_int32_t): Typedef using __uint32_t.
5566 (u_int64_t): Typedef using __uint64_t.
5567
7c651308
SL
55682019-03-13 Stefan Liebler <stli@linux.ibm.com>
5569
5570 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5571 call _dl_procinfo.
5572 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5573 Ignore types other than AT_HWCAP.
5574 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5575 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5576 Likewise.
5577 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5578 in the case of falling back to generic output mechanism.
5579 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5580 Likewise.
5581
38b52865
FW
55822019-03-12 Florian Weimer <fweimer@redhat.com>
5583
5584 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5585
08504de7
FW
55862019-03-12 Florian Weimer <fweimer@redhat.com>
5587
5588 [BZ #24047]
5589 resolv: Enable full ICMP errors for UDP DNS sockets
5590 * resolv/res_enable_icmp.c: New file.
5591 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5592 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5593 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5594 socket.
5595
5fbcd763
MH
55962019-03-11 Mao Han <han_mao@c-sky.com>
5597
5598 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5599 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5600
c4e5f34b
MH
56012019-03-11 Mao Han <han_mao@c-sky.com>
5602
5603 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5604 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5605 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5606
827e30f3
MH
56072019-03-11 Mao Han <han_mao@c-sky.com>
5608
5609 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5610 directly.
5611 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5612 definition.
5613
6229c9bf
MH
56142019-03-11 Mao Han <han_mao@c-sky.com>
5615
5616 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5617 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5618 in mcontext_t
5619
86bdd49d
MF
56202019-03-08 Mike FABIAN <mfabian@redhat.com>
5621
5622 [BZ #24307]
5623 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5624 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5625 Unicode 12.0.0.
5626 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5627 * localedata/unicode-gen/PropList.txt: Likewise.
5628 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5629 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5630 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5631 * localedata/charmaps/UTF-8: Regenerate.
5632 * localedata/locales/i18n_ctype: Likewise.
5633 * localedata/locales/tr_TR: Likewise.
5634 * localedata/locales/translit_circle: Likewise.
5635 * localedata/locales/translit_cjk_compat: Likewise.
5636 * localedata/locales/translit_combining: Likewise.
5637 * localedata/locales/translit_compat: Likewise.
5638 * localedata/locales/translit_font: Likewise.
5639 * localedata/locales/translit_fraction: Likewise.
5640
c5f65462
JM
56412019-03-07 Joseph Myers <joseph@codesourcery.com>
5642
5643 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5644 than after operators.
5645 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5646 (setitimer_locked): Likewise.
5647 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5648 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5649 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5650 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5651 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5652 (PPC_CPU_SUPPORTED): Likewise.
5653 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5654 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5655 (stat_overflow): Likewise.
5656 (statfs_overflow): Likewise.
5657 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5658 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5659 (eq_ttyname_r): Likewise.
5660 (run_chroot_tests): Likewise.
5661
27a2f2f3
FW
56622019-03-07 Florian Weimer <fweimer@redhat.com>
5663
5664 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5665 header check.
5666
ae514971 56672019-03-07 Martin Liska <mliska@suse.cz>
5668
5669 * math/Makefile: Change location where math-vector-fortran.h is
5670 installed.
5671 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5672 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5673 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5674 * scripts/check-installed-headers.sh: Skip Fortran header files.
5675 * scripts/check-wrapper-headers.py: Likewise.
5676
0ddb7ea8
AZ
56772019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5678
5679 * nptl/nptl-init.c (__have_futex_clock_realtime,
5680 __have_futex_clock_realtime): Remove definition.
5681 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5682 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5683 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5684 __ASSUME_FUTEX_CLOCK_REALTIME support.
5685 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5686 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5687 * sysdeps/unix/sysv/linux/kernel-features.h
5688 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5689 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5690 Adjust comment.
5691
590675c0
GG
56922019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5693
5694 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5695 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5696 __GI___wcscpy and wcscpy.
5697
de71ee7b
FW
56982019-03-04 Florian Weimer <fweimer@redhat.com>
5699
5700 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5701 declaration.
5702 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5703 defined.
5704
ce6ddae0
SL
57052019-03-04 Stefan Liebler <stli@linux.ibm.com>
5706
5707 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5709
31efface
TS
57102019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5711
5712 [BZ #24162]
5713 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5714 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5715
f0eaf862
GG
57162019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5717
5718 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5719 tests.
5720 (do_test): Likewise.
5721 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5722 (do_test_call_varg): Likewise.
5723 (do_test_call_rarg): Likewise.
5724 * sysdeps/ieee754/ldbl-opt/Makefile
5725 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5726 tst-nldbl-error.
5727 ($(objpfx)tst-nldbl-warn.c): New rule.
5728 ($(objpfx)tst-nldbl-error.c): Likewise.
5729 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5730 New variables.
5731
d11086a9
GG
57322019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5733
5734 [BZ #23984]
5735 * include/bits/error-ldbl.h: New file.
5736 * include/error.h: Include stdarg.h. Declare internal functions
5737 __error_internal and __error_at_line_internal.
5738 * misc/Makefile (headers): Add bits/error-ldbl.h.
5739 * misc/bits/error-ldbl.h: New file.
5740 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5741 avoid the inclusion of bits/error.h.
5742 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5743 and __nldbl_error_at_line.
5744 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5745 (__nldbl_error, __ndlbl_error_at_line): New functions.
5746 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5747 Redirect error and error_at_line.
5748 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5750 Likewise.
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5752 Likewise.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5754 Likewise.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5756 Likewise.
5757 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5758 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5759 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5760
90188e7d
GG
57612019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5762
5763 [BZ #23984]
5764 * include/bits/err-ldbl.h: New file.
5765 * include/err.h: Add prototypes for the internal functions:
5766 __vwarnx_internal and __vwarn_internal.
5767 * misc/Makefile (headers): Add bits/err-ldbl.h.
5768 * misc/bits/err-ldbl.h: New file.
5769 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5770 defined, i.e.: when -mlong-double-64 is in use.
5771 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5772 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5773 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5775 (VA_CALL): New macro.
5776 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5777 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5778 functions.
5779 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5780 declare prototypes for the new functions.
5781 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5783 Likewise.
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5785 Likewise.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5787 Likewise.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5789 Likewise.
5790 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5791 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5793
ea2d89d0
GG
57942019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5795
5796 * sysdeps/ieee754/ldbl-opt/Makefile
5797 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5798 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5799 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5800
6e1f6440
GG
58012019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5802
5803 [BZ #23983]
5804 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5805 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5806 * argp/bits/argp-ldbl.h: New file.
5807 * include/argp.h: Include stdarg.h. Add prototypes for internal
5808 functions: __argp_error_internal and __argp_failure_internal.
5809 * include/bits/argp-ldbl.h: New file.
5810 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5811 __nldbl_argp_error and __nldbl_argp_failure.
5812 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5813 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5814 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5815 Redirect argp_error and argp_failure calls.
5816 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5818 Likewise.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5820 Likewise.
5821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5822 Likewise.
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5824 Likewise.
5825 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5827 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5828
c259196b
FW
58292019-03-01 Florian Weimer <fweimer@redhat.com>
5830
5831 [BZ #20419]
5832 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5833 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5834 code, to avoid creating an ABI tag note.
5835 (modules-names-nobuild): Add tst-big-note-lib.
5836
928b305d
SL
58372019-03-01 Stefan Liebler <stli@linux.ibm.com>
5838
5839 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5840 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5841
36f30c10
FW
58422019-03-01 Florian Weimer <fweimer@redhat.com>
5843
5844 [BZ #20271]
5845 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5846 (__netlink_assert_response): Add additional missing newlines.
5847
462e83a4
JM
58482019-02-28 Joseph Myers <joseph@codesourcery.com>
5849
5850 * sysdeps/powerpc/powerpc32/dl-machine.c
5851 (__elf_machine_fixup_plt): Use space before '('.
5852 (__process_machine_rela): Likewise.
5853 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5854 Likewise.
5855 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5856 Likewise.
5857 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5858 Likewise.
5859 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5860 (pattern): Likewise.
5861 (delta): Likewise.
5862 (check_result): Likewise.
5863 (check_excepts): Likewise.
5864 (check_op): Likewise.
5865 (fail_xr): Likewise.
5866 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5867 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5868 (SCNHSZ): Likewise.
5869 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5870 Likewise.
5871 (ARGS): Likewise.
5872 (__makecontext): Likewise.
5873 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5874 Likewise.
5875
cc3e573c
FW
58762019-02-28 Florian Weimer <fweimer@redhat.com>
5877
5878 [BZ #23937]
5879 elf: Add test with a local IFUNC resolver.
5880 * elf/ifuncmain9.c: New file.
5881 * elf/ifuncmain9pic.c: Likewise.
5882 * elf/ifuncmain9picstatic.c: Likewise.
5883 * elf/ifuncmain9pie.c: Likewise.
5884 * elf/ifuncmain9static.c: Likewise.
5885 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5886 ifuncmain9static, ifuncmain9picstatic.
5887 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5888 Add ifuncmain9, ifuncmain9pic.
5889 * elf/Makefile [multi-arch && build-shared && have-fpie]
5890 (ifunc-pie-tests): Add ifuncmain9pie.
5891 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5892 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5893 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5894
92ad88fe
L
58952019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5896
5897 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5898 * configure: Regenerated.
5899 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5900
6bd4d02e
AZ
59012019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5902
5903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5904 symbol as __wcspcy instead of wcscpy.
5905
1b218417
ST
59062019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5907
5908 * include/stdio.h (__renameat2): New hidden prototype.
5909 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5910 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5911 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5912 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5913
c4f50205
JM
59142019-02-27 Joseph Myers <joseph@codesourcery.com>
5915
f627dd4d
JM
5916 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5917 if statement.
5918
c4f50205
JM
5919 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5920 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5921 * benchtests/bench-strlen.c (do_test): Likewise.
5922 (test_main): Likewise.
5923 * catgets/gencat.c (read_old): Likewise.
5924 * elf/cache.c (load_aux_cache): Likewise.
5925 * iconvdata/bug-iconv8.c (do_test): Likewise.
5926 * math/test-tgmath-ret.c (do_test): Likewise.
5927 * nis/nis_call.c (rec_dirsearch): Likewise.
5928 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5929 * nptl/tst-audit-threads.c (do_test): Likewise.
5930 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5931 * nss/nss_test1.c (init): Likewise.
5932 * nss/test-netdb.c (test_hosts): Likewise.
5933 * posix/execvpe.c (maybe_script_execute): Likewise.
5934 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5935 * stdio-common/tst-printf.c (do_test): Likewise.
5936 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5937 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5938 * stdlib/qsort.c (STACK_SIZE): Likewise.
5939 * stdlib/test-canon.c (do_test): Likewise.
5940 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5941 * string/memcmp.c (OPSIZ): Likewise.
5942 * string/test-strcpy.c (do_test): Likewise.
5943 (do_random_tests): Likewise.
5944 * string/test-strlen.c (do_test): Likewise.
5945 (test_main): Likewise.
5946 * string/test-strrchr.c (do_test): Likewise.
5947 (do_random_tests): Likewise.
5948 * string/tester.c (test_memrchr): Likewise.
5949 (test_memchr): Likewise.
5950 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5951 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5952 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5953 (read_encoded_value_with_base): Likewise.
5954 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5955 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5956 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5957 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5958 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5959 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5960 Likewise.
5961 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5962 Likewise.
5963 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5964 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5965 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5968 Likewise.
5969 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5970 Likewise.
5971 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5972 Likewise.
5973 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5974 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5975 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5976 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5977 * time/test_time.c (main): Likewise.
5978
7b3fb620
AZ
59792019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5980
457208b1
AZ
5981 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5982
30a7e208
AZ
5983 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5984 wmemcpy.
5985
ddf21ec7
AZ
5986 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5987 wmemcpy.
5988
4d801563
AZ
5989 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5990
81a14439
AZ
5991 * include/wchar.h (__wcscpy): New prototype.
5992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5993 (__wcscpy): Route internal symbol to generic implementation.
5994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5995 Add internal __wcscpy alias.
5996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5997 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5998 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5999 * wcsmbs/wcscpy.c (wcscpy): Add
6000 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6001 use generic implementation.
6002 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6003
39ef0744
AZ
6004 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6005 wmemset.
6006
7b3fb620
AZ
6007 * sysdeps/m68k/wcpcpy.c: Remove file.
6008 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6009
e0cb7b61
JM
60102019-02-26 Joseph Myers <joseph@codesourcery.com>
6011
aa0e4663
JM
6012 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6013 than after operators.
6014 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6015 * sysdeps/mach/hurd/getcwd.c
6016 (__hurd_canonicalize_directory_name_internal): Likewise.
6017 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6018 (pthread_mutex_consistent): Likewise.
6019 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6020 Likewise.
6021 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6022 (__pthread_mutex_transfer_np): Likewise.
6023 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6024 (__pthread_mutex_unlock): Likewise.
6025 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6026 (mtx_owned_p): Likewise.
6027 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6028 (pthread_mutexattr_getrobust): Likewise.
6029 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6030 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6031 Likewise.
6032 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6033 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6034 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6035 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6036 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6038 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6039 Likewise.
6040 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6041 Likewise.
6042 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6043 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6044 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6045 (____longjmp_chk): Likewise.
6046 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6047 Likewise.
6048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6049 (INTERNAL_SYSCALL): Likewise.
6050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6051 (INTERNAL_SYSCALL): Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6053 (__get_clockfreq_via_cpuinfo): Likewise.
6054
e0cb7b61
JM
6055 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6056 comments.
6057 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6058 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6059 (WORD_COPY_BWD): Likewise.
6060 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6062 Likewise.
6063 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6064 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6065 comment.
6066 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6067
a04549c1
JM
60682019-02-25 Joseph Myers <joseph@codesourcery.com>
6069
6070 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6071 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6072 rather than after operators.
6073 * elf/cache.c (print_cache): Likewise.
6074 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6075 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6076 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6077 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6078 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6079 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6080 (reauth_proc): Likewise.
6081 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6082 (__file_name_split_at): Likewise.
6083 (__directory_name_split_at): Likewise.
6084 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6085 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6086 * iconv/gconv_dl.c (do_print): Likewise.
6087 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6088 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6089 * locale/setlocale.c (new_composite_name): Likewise.
6090 * malloc/memusagestat.c (main): Likewise.
6091 * misc/fstab.c (fstab_convert): Likewise.
6092 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6093 Likewise.
6094 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6095 (getgrent_next_file): Likewise.
6096 (internal_getgrnam_r): Likewise.
6097 (internal_getgrgid_r): Likewise.
6098 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6099 Likewise.
6100 (internal_getgrent_r): Likewise.
6101 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6102 (getpwent_next_nss): Likewise.
6103 (getpwent_next_file): Likewise.
6104 (internal_getpwnam_r): Likewise.
6105 (internal_getpwuid_r): Likewise.
6106 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6107 Likewise.
6108 (getspent_next_nss): Likewise.
6109 (internal_getspnam_r): Likewise.
6110 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6111 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6112 * string/strchr.c (STRCHR): Likewise.
6113 * string/strchrnul.c (STRCHRNUL): Likewise.
6114 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6115 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6116 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6117 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6118 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6119 Likewise.
6120 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6121 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6122 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6123 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6124 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6125 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6126 (open_file): Likewise.
6127 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6128 (pthread_mutexattr_setprotocol): Likewise.
6129 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6130 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6131 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6132 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6133 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6134 Likewise.
6135 (elf_machine_rela): Likewise.
6136 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6137 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6138 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6139 * sysdeps/posix/rename.c (rename): Likewise.
6140 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6141 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6142 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6143 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6144 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6145 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6146 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6147 Likewise.
6148 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6149 Likewise.
6150 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6151 * time/tzfile.c (__tzfile_compute): Likewise.
6152
34a5a146
JM
61532019-02-22 Joseph Myers <joseph@codesourcery.com>
6154
6155 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6156 rather than after operators.
6157 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6158 * crypt/md5.c (md5_finish_ctx): Likewise.
6159 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6160 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6161 * elf/cache.c (load_aux_cache): Likewise.
6162 * elf/dl-load.c (open_verify): Likewise.
6163 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6164 * elf/readelflib.c (process_elf_file): Likewise.
6165 * elf/rtld.c (dl_main): Likewise.
6166 * elf/sprof.c (generate_call_graph): Likewise.
6167 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6168 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6169 * hurd/dtable.c (reauth_dtable): Likewise.
6170 * hurd/getdport.c (__getdport): Likewise.
6171 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6172 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6173 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6174 Likewise.
6175 * hurd/hurdioctl.c (fioctl): Likewise.
6176 * hurd/hurdselect.c (_hurd_select): Likewise.
6177 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6178 (STOPSIGS): Likewise.
6179 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6180 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6181 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6182 * hurd/msgportdemux.c (msgport_server): Likewise.
6183 * hurd/setauth.c (_hurd_setauth): Likewise.
6184 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6185 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6186 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6187 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6188 * login/tst-utmp.c (do_check): Likewise.
6189 (simulate_login): Likewise.
6190 * mach/lowlevellock.h (lll_lock): Likewise.
6191 (lll_trylock): Likewise.
6192 * math/test-fenv.c (ALL_EXC): Likewise.
6193 * math/test-fenvinline.c (ALL_EXC): Likewise.
6194 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6195 * nis/nis_call.c (__do_niscall3): Likewise.
6196 * nis/nis_callback.c (cb_prog_1): Likewise.
6197 * nis/nis_defaults.c (searchaccess): Likewise.
6198 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6199 * nis/nis_ismember.c (internal_ismember): Likewise.
6200 * nis/nis_local_names.c (nis_local_principal): Likewise.
6201 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6202 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6203 Likewise.
6204 * nis/ypclnt.c (yp_match): Likewise.
6205 (yp_first): Likewise.
6206 (yp_next): Likewise.
6207 (yp_master): Likewise.
6208 (yp_order): Likewise.
6209 * nscd/hstcache.c (cache_addhst): Likewise.
6210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6211 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6212 (internal_getpwuid_r): Likewise.
6213 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6214 * posix/glob.h (__GLOB_FLAGS): Likewise.
6215 * posix/regcomp.c (peek_token): Likewise.
6216 (peek_token_bracket): Likewise.
6217 (parse_expression): Likewise.
6218 * posix/regexec.c (sift_states_iter_mb): Likewise.
6219 (check_node_accept_bytes): Likewise.
6220 * posix/tst-spawn3.c (do_test): Likewise.
6221 * posix/wordexp-test.c (testit): Likewise.
6222 * posix/wordexp.c (parse_tilde): Likewise.
6223 (exec_comm): Likewise.
6224 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6225 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6226 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6227 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6228 * stdio-common/tst-fileno.c (do_test): Likewise.
6229 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6230 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6231 * stdlib/strtod_l.c (round_and_return): Likewise.
6232 (____STRTOF_INTERNAL): Likewise.
6233 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6234 * string/strcspn.c (STRCSPN): Likewise.
6235 * string/test-memmem.c (simple_memmem): Likewise.
6236 * termios/tcsetattr.c (tcsetattr): Likewise.
6237 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6238 * time/asctime.c (asctime_internal): Likewise.
6239 * time/strptime_l.c (__strptime_internal): Likewise.
6240 * time/sys/time.h (timercmp): Likewise.
6241 * time/tzfile.c (__tzfile_compute): Likewise.
6242
b0b50fe0
PF
62432019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6244
b39d961c
TS
6245 [BZ #21915]
6246 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 6247
f43b8dd5
GG
62482019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6249
6250 * argp/argp-help.c (__argp_error_internal): New function,
6251 renamed from __argp_error, but that takes a 'mode_flags'
6252 parameter to control the format of long double parameters.
6253 (__argp_error): Converted into a call __argp_error_internal.
6254 (__argp_failure_internal): New function, renamed from
6255 __argp_failure, but that takes a 'mode_flags' parameter.
6256 (__argp_failure): Converted into a call __argp_failure_internal.
6257 * misc/err.c (__vwarnx_internal): New function, renamed from
6258 vwarnx, but that takes a 'mode_flags' parameter.
6259 (vwarnx): Converted into a call to __vwarnx_internal.
6260 (__vwarn_internal): New function, renamed from vwarn, but that
6261 takes a 'mode_flags' parameter.
6262 (vwarn): Converted into a call to __vwarn_internal.
6263 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6264 call to __vfxprintf with 'mode_flags'.
6265 (__error_internal): New function, renamed from error, but that
6266 takes a 'mode_flags' parameter.
6267 (error): Converted into a call to __error_internal.
6268 (__error_at_line_internal): New function, renamed from
6269 error_at_line, but that takes a 'mode_flags' parameter.
6270 (error_at_line): Converted into a call to
6271 __error_at_line_internal.
6272 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6273 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6274 Likewise.
6275
dc0afac3 62762019-02-20 Martin Liska <mliska@suse.cz>
6277
6278 * math/Makefile: Install math-vector-fortran.h.
6279 * bits/math-vector-fortran.h: New file.
6280 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6281
4a2dd41c
GG
62822019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6283
6284 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6285 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6286
04de9302
WS
62872019-02-19 Wolfram Sang <wsa@the-dreams.de>
6288
6289 * nptl/pthread_mutex_trylock.c: Fix comment.
6290
b026ce1e
CD
62912019-02-19 Carlos O'Donell <carlos@redhat.com>
6292
6293 * nptl/pthread_tryjoin.c: Fix comment.
6294
8c9289b6
JM
62952019-02-18 Joseph Myers <joseph@codesourcery.com>
6296
6297 [BZ #24231]
6298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6299 after R_SPARC_H34 case.
6300
308e022f
FW
63012019-02-18 Florian Weimer <fweimer@redhat.com>
6302
6303 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6304 (getanswer): Do not call Dprintf.
6305 (res_gethostbyname2_context): Likewise.
6306 (res_gethostbyaddr_context): Likewise.
6307
a5406364
FW
63082019-02-18 Florian Weimer <fweimer@redhat.com>
6309
6310 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6311 declaration.
6312 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6313 Remove definitions.
6314 * libio/stdfiles.c: Update comment.
6315 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6316 set _IO_stdin, _IO_stdout, _IO_stderr.
6317 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6318 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6319 inline function.
6320 (_IO_deallocate_file): New inline function.
6321 * libio/iolibio.h (_IO_vprintf): Remove definition.
6322 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6323 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6324 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6325 _IO_legacy_file.
6326 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6327 __builtin_expect. Use _IO_legacy_file.
6328
6c29942c
SL
63292019-02-18 Stefan Liebler <stli@linux.ibm.com>
6330
6331 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6332 Initialize ctid with a known value and remove update of ctid
6333 after clone.
6334 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6335 as assumed current value of ctid_ptr.
6336
225d9445 63372019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
6338
6339 Check that non-sysdeps headers have wrapper headers.
6340 * scripts/check-wrapper-headers.py: New file.
6341 * Makefile (tests-special): Add check-wrapper-headers.out.
6342 (check-wrapper-headers.out): New target.
6343 * Rules (tests-special): Add check-wrapper-headers.out.
6344 (check-wrapper-headers.out): New target.
6345
225d9445 63462019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
6347
6348 Add missing header wrappers under include/.
6349 * include/ar.h: New file.
6350 * include/bits/mqueue2.h: Likewise.
6351 * include/bits/stdio.h: Likewise.
6352 * include/bits/stdio2.h: Likewise.
6353 * include/fstab.h: Likewise.
6354 * include/fts.h: Likewise.
6355 * include/lastlog.h: Likewise.
6356 * include/netinet/icmp6.h: Likewise.
6357 * include/netinet/igmp.h: Likewise.
6358 * include/netinet/ip6.h: Likewise.
6359 * include/re_comp.h: Likewise.
6360 * include/regexp.h: Likewise.
6361 * include/rpcsvc/bootparam.h: Likewise.
6362 * include/rpcsvc/yp_prot.h: Likewise.
6363 * include/sys/random.h: Likewise.
6364 * include/sys/stropts.h: Likewise.
6365 * include/sys/ttychars.h: Likewise.
6366 * include/sys/vfs.h: Likewise.
6367 * include/wait.h: Likewise.
6368
225d9445 63692019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
6370
6371 * nptl_db/proc_service.h: Move to ...
6372 * sysdeps/nptl/proc_service.h: ... here.
6373 * nptl_db/thread_db.h: Move to ...
6374 * sysdeps/nptl/thread_db.h: ... here.
6375 * nptl/descr.h: Include <thread_db.h>.
6376
e442e40d
AZ
63772019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6378
6379 * io/Makefile (tests): Add tst-lockf.
6380 * io/lockf.c (lockf): Use __fcntl and only define for
6381 !__OFF_T_MATCHES_OFF64_T.
6382 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6383 __OFF_T_MATCHES_OFF64_T case.
6384 * io/tst-lockf.c: New file.
6385 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6386 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6387 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6388 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6389 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6391 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6392 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6394
bc10e22c
FW
63952019-02-15 Florian Weimer <fweimer@redhat.com>
6396
6397 [BZ #24211]
6398 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6399 pd->result after the thread descriptor has been freed.
6400
365f05c7
JM
64012019-02-15 Joseph Myers <joseph@codesourcery.com>
6402
8a11f970
JM
6403 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6404 from function return type.
6405
365f05c7
JM
6406 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6407
6b5c8607 64082019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
6409
6410 * scripts/test_printers_common.py: Set TERM to a known harmless
6411 value.
6412
712182c8
JM
64132019-02-14 Joseph Myers <joseph@codesourcery.com>
6414
6415 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6416 (xdr_u_int): Likewise.
6417 (xdr_enum): Likewise.
6418 (xdr_bytes): Reword fall-through comment.
6419 (xdr_string): Likewise.
6420
eb76e5b4
AZ
64212019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6422
6423 [BZ #2421]
6424 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6425 (tests): Add tst-join8 tst-join9.
6426 * nptl/lll_timedwait_tid.c: Remove file.
6427 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6428 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6429 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6430 * nptl/pthread_join_common.c (timedwait_tid): New function.
6431 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6432 is set.
6433 * nptl/tst-join5.c (thread_join): New function.
6434 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6435 check.
6436 * nptl/tst-join8.c: New file.
6437 * nptl/tst-join9.c: Likewise.
6438 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6439 lll_futex_timed_wait_cancel): Add generic macros.
6440 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6441 Remove definitions.
6442 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6443 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6445 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6446 Remove function.
6447 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6448 Likewise.
6449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6450 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6451 (lll_futex_timed_wait_cancel): New macro.
6452
3904fd85
WD
64532019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6454
6455 * benchtests/Makefile: Add malloc-simple benchmark.
6456 * benchtests/bench-malloc-simple.c: New benchmark.
6457
24ca04fe
SP
64582019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6459
6460 * benchtests/bench-memmove.c (do_one_test): Remove unused
6461 ORIG_SRC.
6462 (do_test): Adjust.
6463 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6464 ORIG_SRC.
6465 (do_test): Adjust.
6466
85bd1ddb
JW
64672019-01-13 Jim Wilson <jimw@sifive.com>
6468
6469 [BZ #24040]
6470 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6471 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6472 (func): New.
6473 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6474 call func directly.
6475 * nptl/Makefile (tests): Add tst-unwind-thread.
6476 (CFLAGS-tst-unwind-thread.c): Define.
6477 * nptl/tst-unwind-thread.c: New file.
6478 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6479 as undefined.
6480
86140c62
JM
64812019-02-13 Joseph Myers <joseph@codesourcery.com>
6482
10756268
JM
6483 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6484 comment wording.
6485 * nis/nis_call.c (__do_niscall3): Likewise.
6486
05383720
JM
6487 * catgets/gencat.c (normalize_line): Use braces around empty
6488 'else' body.
6489 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6490 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6491 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6492 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6493 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6494 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6495 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6496 definition.
6497
86140c62
JM
6498 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6499 execlp returns.
6500
16f87cfd
WD
65012019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6502
6503 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6504 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6505 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6506 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6507 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6508 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6509 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6510 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6511 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6512 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6513 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6514 * benchtests/bench-bcopy.c: Delete file.
6515 * benchtests/bench-bzero.c: Likewise.
6516 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6517 (simple_memccpy): Remove.
6518 (generic_memccpy): Add function.
6519 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6520 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6521 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6522 (generic_mempcpy): Add new function.
6523 * benchtests/bench-memset.c (simple_bzero): Remove.
6524 (builtin_bzero): Remove.
6525 (builtin_memset): Remove.
6526 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6527 (generic_rawmemchr): Add new function.
6528
0c6d82e9
FW
65292019-02-12 Florian Weimer <fweimer@redhat.com>
6530
6531 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6532
b3fbfe81
AZ
65332019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6534
6535 [BZ #24122]
6536 * elf/Makefile (tests): Add tst-audit13.
6537 (modules-names): Add tst-audit13mod1.
6538 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6539 rule.
6540 * elf/tst-audit13.c: New file.
6541 * elf/tst-audit13mod1.c: Likewise.
6542
3b856d09
FW
65432019-02-12 Florian Weimer <fweimer@redhat.com>
6544
6545 [BZ #24122]
6546 * elf/rtld.c (unload_audit_module): New function.
6547 (report_audit_module_load_error): Likewise.
6548 (load_audit_module): Likewise. Extracted from dl_main. Call
6549 _dl_close if the laversion symbol cannot be found. Use early
6550 returns for error handling. Add malloc error check. Check for a
6551 zero return value from la_version. Remove spurious comment about
6552 static TLS initialization. Remove useless casts.
6553 (notify_audit_modules_of_loaded_object): New function. Extracted
6554 from dl_main.
6555 (load_audit_module): Likewise.
6556 (dl_main): Call load_audit_modules.
6557
32db86d5
JM
65582019-02-12 Joseph Myers <joseph@codesourcery.com>
6559
6560 * elf/dl-exception.c (_dl_exception_create_format): Add
6561 fall-through comments.
6562 * elf/ldconfig.c (parse_conf_include): Likewise.
6563 * elf/rtld.c (print_statistics): Likewise.
6564 * locale/programs/charmap.c (parse_charmap): Likewise.
6565 * misc/mntent_r.c (__getmntent_r): Likewise.
6566 * posix/wordexp.c (parse_arith): Likewise.
6567 (parse_backtick): Likewise.
6568 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6569 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6571
a51bc4fe
PC
65722019-02-11 Paul A. Clarke <pc@us.ibm.com>
6573
6574 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6575 Use float instead of double.
6576
fb25b135
TS
65772019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6578
6579 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6580
32ea7299
JM
65812019-02-08 Joseph Myers <joseph@codesourcery.com>
6582
6583 * sysdeps/powerpc/bits/mathinline.h: Remove.
6584
eef4d4f8
FW
65852019-02-08 Florian Weimer <fweimer@redhat.com>
6586
6587 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6588 * math/bits/math-finite.h: Move to ...
6589 * bits/math-finite.h: ... here.
6590
fdfbd47d
FW
65912019-02-08 Florian Weimer <fweimer@redhat.com>
6592
6593 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6594 * bits/unistd_ext.h: here.
6595
11eb21c4
PF
65962019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6597
6598 [BZ #21915]
6599 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6600 * nss/tst-nss-files-hosts-long.c: New file.
6601 * nss/tst-nss-files-hosts-long.root: New directory.
6602 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6603 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6604
e47d82c9
FW
66052019-02-08 Florian Weimer <fweimer@redhat.com>
6606
6607 * include/bits/unistd_ext.h: Remove file.
6608 * posix/bits/unistd_ext.h: Move to ...
6609 * sysdeps/generic/bits/unistd_ext.h: ... here.
6610
8f89ab21
FW
66112019-02-08 Florian Weimer <fweimer@redhat.com>
6612
6613 * include/bits/unistd_ext.h: New file.
6614
144a794e
TS
66152019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6616
6617 * time/tst-strftime2.c: Use array_length macros instead of magic
6618 numbers.
6619
669ff911
FW
66202019-02-08 Florian Weimer <fweimer@redhat.com>
6621
6622 [BZ #24161]
6623 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6624 argument.
6625 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6626 locking if the new do_locking argument is true.
6627 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6628 __run_fork_handlers.
6629
d0bd87d4 66302019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
6631
6632 [BZ #6399]
6633 Linux: Add gettid system call wrapper.
6634 * posix/Makefile (headers): Add bits/unistd_ext.h.
6635 * posix/bits/unistd_ext.h: New file.
6636 * posix/unistd.h: Include it.
6637 * manual/process.texi (Process Identification): Document gettid.
6638 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6639 tst-gettid, tst-gettid-kill.
6640 (tst-gettid): Link with $(shared-thread-library).
6641 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6642 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6643 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6644 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6645 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6646 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6647 Add gettid.
6648 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6649 Likewise.
6650 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6651 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6652 Likewise.
6653 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6654 Likewise.
6655 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6656 Likewise.
6657 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6658 Likewise.
6659 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6660 Likewise.
6661 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6662 Likewise.
6663 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6664 Likewise.
6665 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6666 (GLIBC_2.30): Likewise.
6667 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6668 (GLIBC_2.30): Likewise.
6669 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6670 (GLIBC_2.30): Likewise.
6671 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6672 (GLIBC_2.30): Likewise.
6673 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6674 Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6676 (GLIBC_2.30): Likewise.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6678 (GLIBC_2.30): Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6680 (GLIBC_2.30): Likewise.
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6682 (GLIBC_2.30): Likewise.
6683 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6684 Likewise.
6685 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6686 Likewise.
6687 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6688 Likewise.
6689 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6691 Likewise.
6692 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6693 Likewise.
6694 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6695 Likewise.
6696 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6697 Likewise.
6698 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6699
225d9445 67002019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
6701
6702 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6703 compatibility symbols.
6704
823624bd
SL
67052019-02-07 Stefan Liebler <stli@linux.ibm.com>
6706
6707 [BZ #24180]
6708 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6709 Add compiler barriers and comments.
6710
8311c83f
FW
67112019-02-07 Florian Weimer <fweimer@redhat.com>
6712
6713 * include/array_length.h (array_length): Do not use a statement
6714 expression and _Static_assert, so that array_length can be used at
6715 file scope and as a constant expression.
6716
94b63e66
FW
67172019-02-07 Florian Weimer <fweimer@redhat.com>
6718
6719 * support/xdlfcn.h (xdlmopen): Declare.
6720 * support/xdlmopen.c: New file.
6721 * support/Makefile (libsupport-routines): Add xdlmopen.
6722
c2d8f0b7
JM
67232019-02-06 Joseph Myers <joseph@codesourcery.com>
6724
6725 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6726 before return type, without separate inline.
6727 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6728 * elf/dl-tunables.h (tunable_is_name): Likewise.
6729 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6730 (do_set_top_pad): Likewise.
6731 (do_set_mmap_threshold): Likewise.
6732 (do_set_mmaps_max): Likewise.
6733 (do_set_mallopt_check): Likewise.
6734 (do_set_perturb_byte): Likewise.
6735 (do_set_arena_test): Likewise.
6736 (do_set_arena_max): Likewise.
6737 (do_set_tcache_max): Likewise.
6738 (do_set_tcache_count): Likewise.
6739 (do_set_tcache_unsorted_limit): Likewise.
6740 * nis/nis_subr.c (count_dots): Likewise.
6741 * nptl/allocatestack.c (advise_stack_range): Likewise.
6742 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6743 (do_sin): Likewise.
6744 (reduce_sincos): Likewise.
6745 (do_sincos): Likewise.
6746 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6747 (do_set_elision_enable): Likewise.
6748 (TUNABLE_CALLBACK_FNDECL): Likewise.
6749
3b935595
FW
67502019-02-06 Florian Weimer <fweimer@redhat.com>
6751
6752 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6753 (xdlsym): Use dlerror to detect a NULL symbol.
6754
b4333340
FW
67552019-02-06 Florian Weimer <fweimer@redhat.com>
6756
6757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6758 <stap-probe.h>.
6759 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6760
b6d8a999
SL
67612019-02-06 Stefan Liebler <stli@linux.ibm.com>
6762
6763 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6764
94eeeec0
SL
67652019-02-06 Stefan Liebler <stli@linux.ibm.com>
6766
6767 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6768 __wmemcmp and weak alias to wmemcmp.
6769
bc79db3f
SL
67702019-02-06 Stefan Liebler <stli@linux.ibm.com>
6771
6772 [BZ #23403]
6773 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6774 TLS_TCB_AT_TP tls variant.
6775 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6776 Add alignment checks.
6777 * support/Makefile (libsupport-routines): Add xposix_memalign and
6778 xpthread_setstack.
6779 * support/support.h: Add xposix_memalign.
6780 * support/xthread.h: Add xpthread_attr_setstack.
6781 * support/xposix_memalign.c: New File.
6782 * support/xpthread_attr_setstack.c: Likewise.
6783
f1ac7455
FW
67842019-02-05 Florian Weimer <fweimer@redhat.com>
6785
6786 [BZ #24164]
6787 arm: Use "nr" constraint for Systemtap probes, to avoid the
6788 compiler using memory operands for constants, due to the "o"
6789 alternative in the default "nor" constraint.
6790 * include/stap-probe.h [USE_STAP_PROBE]: Include
6791 <stap-probe-machine.h>
6792 * sysdeps/generic/stap-probe-machine.h: New file.
6793 * sysdeps/arm/stap-probe-machine.h: Likewise.
6794
7a0dcfc6
JM
67952019-02-04 Joseph Myers <joseph@codesourcery.com>
6796
77dc0d86
JM
6797 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6798 with 0, not tcache->entries[tc_idx].
6799
7a0dcfc6
JM
6800 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6801 once.
6802
65f7767a
AS
68032019-02-04 Andreas Schwab <schwab@suse.de>
6804
6805 [BZ #16976]
6806 [BZ #17396]
6807 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6808 looking up collating elements match against (wide) character
6809 sequence instead of name. Correct alignment adjustment.
6810 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6811 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6812 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6813 (LOCALES): Add cs_CZ.ISO-8859-2.
6814 * posix/tst-fnmatch4.c: New file.
6815 * posix/tst-fnmatch5.c: New file.
6816 * include/wchar.h (__wmemcmp): Declare.
6817 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6818 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6819 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6820 * sysdeps/s390/wmemcmp.c: Likewise.
6821
3f635fb4
L
68222019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6823
6824 [BZ #24155]
6825 CVE-2019-7309
6826 * NEWS: Updated for CVE-2019-7309.
6827 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6828 upper 32 bits of RDX register for x32. Use unsigned Jcc
6829 instructions, instead of signed.
6830 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6831 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6832
2ab5741b
FW
68332019-02-04 Florian Weimer <fweimer@redhat.com>
6834
6835 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6836 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6837 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6838 Likewise.
6839 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6840 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6841 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6842 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6843 Likewise.
6844 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6845 Likewise.
6846 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6847 Likewise.
6848 (posix_spawn_file_actions_addopen): Likewise.
6849 (posix_spawn_file_actions_addclose): Likewise.
6850 (posix_spawn_file_actions_adddup2): Likewise.
6851 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6852 qualifiers.
6853 (posix_spawn_file_actions_addfchdir_np): Likewise.
6854
8692ebdb
DN
68552019-02-04 David Newall <glibc@davidnewall.com>
6856
6857 elf: Implement --preload option for the dynamic linker.
6858 * elf/rtld.c (preloadarg): New variable.
6859 (handle_preload_list): Pass through “where” argument to
6860 do_preload.
6861 (dl_main): Handle "--preload" and add second call to
6862 handle_preload_list.
6863 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6864 (tst-rtld-preload-OBJS): Set variable.
6865 (tst-rtld-preload.out): New target.
6866 * elf/tst-rtld-preload.sh: New file.
6867
5e10136b
MM
68682019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6869
6870 * Makefile (testrun.sh): Exit in case of incorrect argument.
6871
221baae0
FW
68722019-02-04 Florian Weimer <fweimer@redhat.com>
6873
6874 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6875 alignment gaps.
6876
b8c72381
FW
68772019-02-03 Florian Weimer <fweimer@redhat.com>
6878
6879 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6880 implicit overflow checks.
6881
11f382ee
AJ
68822019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6883
6884 * stdlib/isomac.c: Include <unistd.h>.
6885
77c7d55e
FW
68862019-02-03 Florian Weimer <fweimer@redhat.com>
6887
6888 * include/time.h (__tzfile_default): Use int, not long int, for
6889 the GMT offsets.
6890 * time/tzfile.c (struct ttinfo): Change type of the offset member
6891 to int.
6892 (__tzfile_read): Remove useless cast.
6893 (__tzfile_default): Adjust prototype.
6894 * time/tzset.c (tz_rule): Change type of the offset member to int.
6895 (parse_offset): Change the type of the sign variable to int.
6896
ee9941f9
FW
68972019-02-03 Florian Weimer <fweimer@redhat.com>
6898
6899 [BZ #24153]
6900 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6901 * libio/getchar.c (getchar): Likewise.
6902 * libio/getchar_u.c (getchar_unlocked): Likewise.
6903 * libio/getwchar.c (getwchar): Likewise.
6904 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6905 * libio/iogets.c (_IO_gets): Likewise.
6906 * libio/vscanf.c (_IO_vscanf): Likewise.
6907 * libio/vwscanf.c (__vwscanf): Likewise.
6908 * libio/tst-bz24153.c: New file.
6909 * libio/Makefile (tests): Add it.
6910
c70824b9
FW
69112019-02-02 Florian Weimer <fweimer@redhat.com>
6912
6913 [BZ #14829]
6914 * manual/resource.texi (Basic Scheduling Functions): Add
6915 portability note. Change process to task throughout the section.
6916 Remove incorrect comment about sched_yield as it affects
6917 tasks/threads, not entire processes.
6918 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6919 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6920
4dcbbc3b
JM
69212019-02-01 Joseph Myers <joseph@codesourcery.com>
6922
6923 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6924 * configure: Regenerated.
6925 * manual/install.texi (Tools for Compilation): Update minimum GCC
6926 version.
6927 * INSTALL: Regenerated.
6928
6175507c
FW
69292019-02-01 Florian Weimer <fweimer@redhat.com>
6930
6931 * support/support_test_compare_string.c
6932 (support_test_compare_string): Use "string" in error message.
6933 * support/tst-test_compare_string.c (do_test): Adjust.
6934
baef1943
FW
69352019-02-01 Florian Weimer <fweimer@redhat.com>
6936
6937 * support/support_format_address_family.c
6938 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6939
395599f0
FW
69402019-02-01 Florian Weimer <fweimer@redhat.com>
6941
6942 * manual/socket.texi (Internet Address Formats): Clarify the byte
6943 order of struct sockaddr_in, struct sockaddr_in6. Document
6944 sin6_flowinfo and sin6_scope_id.
6945
b06f4c00
WD
69462019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6947
6948 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6949 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6950 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6951 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6952 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6953 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6954
83d1cc42
FX
69552019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6956
6957 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6958 [!MEMCHR](MEMCHR): Set to __memchr.
6959 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6960 Add memchr_generic and memchr_nosimd.
6961 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6962 (__libc_ifunc_impl_list): Add memchr ifuncs.
6963 * sysdeps/aarch64/multiarch/memchr.c: New file.
6964 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6965 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6966
c7d3890f
FX
69672019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6968
6969 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6970 Add memset_emag.
6971 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6972 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6973 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6974 Add IS_EMAG check for ifunc dispatch.
6975 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6976 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6977
07c3d1ec
FX
69782019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6979
6980 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6981 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6982 Add emag.
6983 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6984 New macro.
6985
114f792e
SL
69862019-02-01 Stefan Liebler <stli@linux.ibm.com>
6987
6988 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6989
d5627550
VG
69902019-01-31 Vineet Gupta <vgupta@synopsys.com>
6991
6992 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6993 syscall-template file.
6994
5fc9ed4c
CD
69952019-01-31 Carlos O'Donell <carlos@redhat.com>
6996 Torvald Riegel <triegel@redhat.com>
6997 Rik Prohaska <prohaska7@gmail.com>
6998
6999 [BZ# 23844]
7000 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7001 tst-rwlock-trywrlock-stall.
7002 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7003 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7004 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7005 Set __wrphase_fute to 1 only if we started the write phase.
7006 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7007 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7008 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7009 * support/xpthread_rwlock_destroy.c: New file.
7010 * support/xthread.h: Declare xpthread_rwlock_destroy.
7011
932329a5
JM
70122019-02-01 Joseph Myers <joseph@codesourcery.com>
7013
7014 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7015 version to 4.0.2.
7016
5f10701f
PP
70172019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7018
7019 [BZ #24051]
7020 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7021 * libio/fileops.c (_IO_new_file_underflow): Likewise
7022 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7023 * libio/putchar.c (putchar): Likewise.
7024 * libio/putchar_u.c (putchar_unlocked): Likewise.
7025 * libio/putwchar.c (putchar): Likewise.
7026 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7027 * libio/tst-bz24051.c: New test.
7028 * libio/Makefile (tests): Add tst-bz24051
7029
583dd860
PE
70302019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7031
b626c5aa 7032 CVE-2019-9169
583dd860
PE
7033 regex: fix read overrun [BZ #24114]
7034 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7035 https://debbugs.gnu.org/34140
7036 * posix/regexec.c (proceed_next_node):
7037 Do not read past end of input buffer.
7038
2bac7daa
FW
70392019-01-31 Florian Weimer <fweimer@redhat.com>
7040
7041 [BZ #24059]
7042 * nss/nss_files/files-alias.c (get_next_alias): Handle
7043 continuation line without newline at the end.
7044 * nss/tst-nss-files-alias-truncated.c: New file.
7045 * nss/Makefile [$(build-shared)] (tests): Add
7046 tst-nss-files-alias-truncated.
7047 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7048 * support/namespace.h (struct support_chroot_configuration): Add
7049 aliases member.
7050 (struct support_chroot): Add path_aliases member.
7051 * support/support_chroot.c (support_chroot_create): Handle
7052 aliases.
7053 (support_chroot_free): Free path_aliases.
7054
330c9d0d
SP
70552019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7056
de44ab67
SP
7057 * version.h (RELEASE): Set to "development".
7058 (VERSION): Set to "2.29.9000".
7059 * NEWS: Add section for 2.30.
7060
56c86f5d
SP
7061 * version.h (RELEASE): Set to "stable".
7062 (VERSION): Set to "2.29".
7063 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7064
330c9d0d
SP
7065 * NEWS: Add the list of bugs fixed in 2.29.
7066 * manual/contrib.texi: Update contributors list with some more
7067 names.
7068 * manual/install.texi: Update latest versions of packages
7069 tested.
7070 * INSTALL: Regenerated.
7071
e1e47c91
SP
70722019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7073
7074 * po/be.po: Update translations.
7075 * po/bg.po: Likewise.
7076 * po/ca.po: Likewise.
7077 * po/cs.po: Likewise.
7078 * po/da.po: Likewise.
7079 * po/de.po: Likewise.
7080 * po/el.po: Likewise.
7081 * po/eo.po: Likewise.
7082 * po/es.po: Likewise.
7083 * po/fi.po: Likewise.
7084 * po/fr.po: Likewise.
7085 * po/gl.po: Likewise.
7086 * po/hr.po: Likewise.
7087 * po/hu.po: Likewise.
7088 * po/ia.po: Likewise.
7089 * po/id.po: Likewise.
7090 * po/it.po: Likewise.
7091 * po/ja.po: Likewise.
7092 * po/ko.po: Likewise.
7093 * po/lt.po: Likewise.
7094 * po/nb.po: Likewise.
7095 * po/nl.po: Likewise.
7096 * po/pl.po: Likewise.
7097 * po/pt_BR.po: Likewise.
7098 * po/ru.po: Likewise.
7099 * po/rw.po: Likewise.
7100 * po/sk.po: Likewise.
7101 * po/sl.po: Likewise.
7102 * po/sv.po: Likewise.
7103 * po/tr.po: Likewise.
7104 * po/uk.po: Likewise.
7105 * po/vi.po: Likewise.
7106 * po/zh_CN.po: Likewise.
7107 * po/zh_TW.po: Likewise.
7108
8d016826
UB
71092019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7110
7111 [BZ #24130]
7112 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7113 of $f3 register on $y_is_neg path.
7114
a0bb5abd
ST
71152019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7116
b96e22d0 7117 [BZ #24110]
a0bb5abd
ST
7118 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7119 sigaltstack.ss_flags.
7120
b22eed37
TS
71212019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7122
7123 [BZ #23758]
7124 * manual/time.texi (strftime): Document "%Ey".
7125 * time/strftime_l.c (__strftime_internal): Set the default width
7126 padding with zero of "%Ey" to 2.
7127
32f600a2
TS
7128 [BZ #24096]
7129 * manual/time.texi (strftime): Document "%EC" and "%EY".
7130 * time/Makefile (tests): Add tst-strftime2.
7131 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7132 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7133 override padding for "%Ey".
7134 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7135 "%Ey" in the subformat as if decorated with that flag.
7136 * time/tst-strftime2.c: New file.
7137
8e889c5d
AZ
71382019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7139
3367acdb
AZ
7140 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7141 are not defined.
7142
8e889c5d
AZ
7143 [BZ #24122]
7144 * elf/Makefile (tests): Add tst-audit13.
7145 (modules-names): Add tst-audit13mod1.
7146 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7147 rule.
7148 * elf/rtld.c (dl_main): Handle invalid audit module version.
7149 * elf/tst-audit13.c: New file.
7150 * elf/tst-audit13mod1.c: Likewise.
7151
a95dc01c
ST
71522019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7153
7154 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7155 returned by __hurd_at_flags.
ee4d7902
ST
7156 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7157 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7158 directly instead of __hurd_file_name_lookup.
a95dc01c 7159
712f1167
JM
71602019-01-21 Joseph Myers <joseph@codesourcery.com>
7161
7162 * scripts/build-many-glibcs.py (Context.checkout): Default
7163 binutils version to 2.32 branch.
7164
108bc404
FW
71652019-01-21 Florian Weimer <fweimer@redhat.com>
7166
7167 [BZ #20018]
7168 CVE-2016-10739
7169 resolv: Reject trailing characters in host names
7170 * include/arpa/inet.h (__inet_aton_exact): Declare.
7171 (inet_aton): Remove hidden prototype. No longer used internally.
7172 * nscd/gai.c (__inet_aton): Do not define.
7173 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7174 * nss/digits_dots.c (__inet_aton): Likewise.
7175 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7176 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7177 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7178 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7179 (tst-resolv-trailing): Likewise.
7180 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7181 libc.
7182 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7183 Make static. Add endp parameter.
7184 (__inet_aton_exact): New function.
7185 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7186 (__inet_addr): Call inet_aton_end.
7187 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7188 not just IPv6. Call __inet_aton_exact.
7189 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7190 (tests): Make const. Add additional test cases with trailing
7191 characters.
7192 (do_test): Use array_length.
7193 * resolv/tst-inet_aton_exact.c: New file.
7194 * resolv/tst-resolv-trailing.c: Likewise.
7195 * resolv/tst-resolv-nondecimal.c: Likewise.
7196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7197
5165de69
L
71982019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7199
7200 [BZ# 24097]
7201 CVE-2019-6488
7202 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7203 Clear the upper 32 bits of RSI register.
7204 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7205 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7206 and tst-size_t-wcsnlen.
7207 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7208 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7209
c7c54f65
L
72102019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7211
7212 [BZ# 24097]
7213 CVE-2019-6488
7214 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7217 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7218 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7219
ee915088
L
72202019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7221
7222 [BZ# 24097]
7223 CVE-2019-6488
7224 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7226 * sysdeps/x86_64/strcmp.S: Likewise.
7227 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7228 tst-size_t-strncmp and tst-size_t-wcsncmp.
7229 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7230 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7231 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7232
82d0b4a4
L
72332019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7234
7235 [BZ# 24097]
7236 CVE-2019-6488
7237 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7238 RDX_LP for length. Clear the upper 32 bits of RDX register.
7239 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7240 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7241 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7242 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7243
ecd8b842
L
72442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 [BZ# 24097]
7247 CVE-2019-6488
7248 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7249 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7250 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7251 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7252
231c5676
L
72532019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7254
7255 [BZ# 24097]
7256 CVE-2019-6488
7257 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7258 length. Clear the upper 32 bits of RDX register.
7259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7260 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7261 Likewise.
7262 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7263 Likewise.
7264 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7265 tst-size_t-wmemchr.
7266 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7267
b304fc20
L
72682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7269
7270 [BZ# 24097]
7271 CVE-2019-6488
7272 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7273 length. Clear the upper 32 bits of RDX register.
7274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7275 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7276 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7277 tst-size_t-wmemcmp.
7278 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7279 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7280
97700a34
L
72812019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7282
7283 [BZ# 24097]
7284 CVE-2019-6488
7285 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7286 upper 32 bits of RDX register.
7287 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7288 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7289 tst-size_t-wmemchr.
7290 * sysdeps/x86_64/x32/test-size_t.h: New file.
7291 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7292 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7293
6ca53a24
FW
72942019-01-18 Florian Weimer <fweimer@redhat.com>
7295
7296 [BZ #24112]
7297 resolv: Do not send queries for non-host-names in nss_dns.
7298 * resolv/nss_dns/dns-host.c (check_name): New function.
7299 (_nss_dns_gethostbyname2_r): Use it.
7300 (_nss_dns_gethostbyname_r): Likewise.
7301 (_nss_dns_gethostbyname4_r): Likewise.
7302
5e30b8ef
FW
73032019-01-21 Florian Weimer <fweimer@redhat.com>
7304
7305 * resolv/inet_addr.c: Reformat to GNU style.
7306 (__inet_addr, __inet_aton): Update comment.
7307
71effcea
FW
73082019-01-18 Florian Weimer <fweimer@redhat.com>
7309
7310 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7311 ("malloc: Use current (C11-style) atomics for fastbin access").
7312 This commit introduces a substantial performance regression on
7313 POWER and Aarch64.
7314 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7315 (REMOVE_FB): Define.
7316 (_int_malloc): Use it and reindent.
7317 (_int_free): Use CAS loop with
7318 catomic_compare_and_exchange_val_rel.
7319 (malloc_consolidate): Use atomic_exchange_acq.
7320
7321
562f4362
L
73222019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7323
7324 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7325 -Wl,-z,now.
7326 (LDFLAGS-tst-minsigstksz-2): Likewise.
7327 (LDFLAGS-tst-minsigstksz-3): Likewise.
7328 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7329 (LDFLAGS-tst-minsigstksz-4): Likewise.
7330
80dfa298
TS
73312019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7332
7333 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7334 than "alternate".
7335
008b598e
PC
73362019-01-16 Paul A. Clarke <pc@us.ibm.com>
7337
7338 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7339
fbbc9a4e
ZW
73402019-01-16 Zack Weinberg <zackw@panix.com>
7341
6b5c8607
TS
7342 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7343 (xget_sigstack_location): New test support functions.
7344 * support/xsigstack.c: New file, implementing them.
7345 * support/tst-xsigstack.c: New test for them.
7346 * support/Makefile: Update.
fbbc9a4e 7347
6b5c8607
TS
7348 * signal/tst-minsigstksz-1.c
7349 * signal/tst-minsigstksz-2.c
7350 * signal/tst-minsigstksz-3.c
7351 * signal/tst-minsigstksz-3a.c
7352 * signal/tst-minsigstksz-4.c: New tests.
7353 * signal/Makefile: Run them.
fbbc9a4e 7354
5f1135e4
SP
73552019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7356
7357 * po/libc.pot: Regenerate.
7358
ecdacd34
TMQMF
73592019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7360
7361 * math/libm-test-fma.inc (fma_test_data): Set
7362 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7363
56054664
RA
73642019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7365
7366 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7367 (do_test): Changed __vector __int128_t to __vector unsigned int.
7368
1a153e47
LS
73692019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7370
7371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7372 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7373 stpcpy-avx2 and stpncpy-avx2.
7374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7375 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7376 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7377 and __stpncpy_avx2.
7378 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7379 ifunc-strcpy.h}: rename header for a more generic name.
7380 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7381 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7382 AVX unaligned load is fast and vzeroupper is preferred.
7383 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7384 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7385 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7386 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7387 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7388 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7389
a1b02ae7
DL
73902019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7391
7392 * argp/argp-help.c: Fix typo in comment.
7393 * misc/sys/cdefs.h: Likewise.
7394 * posix/regexec.c (sift_states_iter_mb): Likewise.
7395 * socket/sockatmark.c: Likewise.
7396 * socket/sys/socket.h: Likewise.
7397 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7398 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7399 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7401 * sysdeps/unix/sockatmark.c: Likewise.
7402 * time/strptime_l.c: Likewise.
7403
5cbbf01e
TS
74042019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7405
7406 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7407 missing space after the cast of "_NL_CURRENT".
7408
0bc9bdf1
RA
74092019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7410
7411 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7412 ifdef to fix read of VSCR.
7413 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7414 tst-ucontext-ppc64-vscr.c to test list.
7415 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7416
5494af04
AH
74172019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7418
7419 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7420 fall-through.
7421
e17f63ff
JW
74222019-01-09 Jim Wilson <jimw@sifive.com>
7423
7424 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7425
02f440c1
WD
74262019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7427
7428 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7429 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7430 __memcpy_falkor for ares.
7431 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7432 Add new define.
7433 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7434 Add ares cpu.
7435
69da3c9e
L
74362019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7437
7438 [BZ #24066]
7439 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7440 4_FP_W_TYPEs are used for IEEE quad precision.
7441 * soft-fp/extendhftf2.c: Likewise.
7442 * soft-fp/extendsftf2.c: Likewise.
7443 * soft-fp/extendxftf2.c: Likewise.
7444 * soft-fp/trunctfdf2.c: Likewise.
7445 * soft-fp/trunctfhf2.c: Likewise.
7446 * soft-fp/trunctfsf2.c: Likewise.
7447 * soft-fp/trunctfxf2.c: Likewise.
7448 * sysdeps/alpha/ots_cvttx.c: Likewise.
7449 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7450 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7451 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7452 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7453 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7454 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7455 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7456 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7457 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7458 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7459 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7460 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7461 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7462 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7463 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7464 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7465 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7466
2ef42716
AJ
74672019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7468
7469 [BZ #24024]
7470 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7471 code with -fmath-errno.
7472 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7473 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7474 * string/test-strerror-errno.c: New file.
7475
7395f3a0
AJ
74762019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7477
7478 [BZ #24046]
7479 * localedata/locales/en_US (date_fmt): Add, set to
7480 "%a %d %b %Y %r %Z".
7481
010fe231
FW
74822019-01-07 Florian Weimer <fweimer@redhat.com>
7483
7484 [BZ #24063]
7485 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7486 instead of @var{errno}.
7487 (Parsing of Integers): Likewise.
7488 (Parsing of Floats): Likewise.
7489 * manual/filesys.texi (Working with Directory Trees): Likewise.
7490 (Temporary Files): Likewise.
7491 * manual/job.texi (Terminal Access Functions): Likewise.
7492 * manual/llio.texi (Synchronizing I/O): Likewise.
7493 * manual/math.texi (SVID Random): Likewise.
7494 * manual/message.texi (The catgets Functions): Likewise.
7495 (Translation with gettext): Likewise.
7496 (Locating gettext catalog): Likewise.
7497 (Charset conversion in gettext): Likewise.
7498 * manual/nss.texi (NSS Module Function Internals): Likewise.
7499 * manual/search.texi (Hash Search Function): Likewise.
7500 * manual/setjmp.texi (System V contexts): Likewise.
7501 * manual/time.texi (Sleeping): Likewise.
7502 * manual/users.texi (Lookup User): Likewise.
7503 (Lookup Group): Likewise.
7504
b79dc8d0
AZ
75052019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7506
7507 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7508 fix typo.
7509
890461fe 75102019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
7511
7512 [BZ #19444]
7513 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7514 __builtin_unreachable for default case in switch.
7515 (__ieee754_yn): Likewise.
7516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7517 (__ieee754_ynl): Likewise.
7518 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7519 (__ieee754_ynl): Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7521 (__ieee754_ynl): Likewise.
7522
8b18d418
SN
75232019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7524
7525 * manual/maint.texi: Use @{ and @}.
7526
4392898d
FW
75272019-01-04 Florian Weimer <fweimer@redhat.com>
7528
7529 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7530 function.
7531 (do_in_chroot_1): Call it.
7532 (run_chroot_tests):
7533 Improve error reporting in case it is not possible to create a
7534 collision for the PTY name required by the test.
7535
17cc27d5
AZ
75362019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7537
ce7eb0e9
AZ
7538 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7539 lll_wait_tid with timeout.
7540 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7541 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7542 futex_reltimed_wait_cancelable for cancelabla mode.
7543 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7544 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7545 macros.
7546 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7547 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7548 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7549 SYSCALL_CANCEL_NCS): New macro.
7550 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7551 (lll_timedwait_tid): Remove macro.
7552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7553 Likewise.
7554 (lll_timedwait_tid): Likewise.
7555 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7556 Likewise.
7557 (lll_timedwait_tid): Likewise.
7558 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7559 Likewise.
7560 (lll_timedwait_tid): Likewise.
7561 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7562 Use INTERNAL_SYSCALL_CANCEL.
7563 * sysdeps/unix/sysv/linux/futex-internal.h
7564 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7565 instead of __pthread_{enable,disable}_asynccancel.
7566 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7567 (lll_futex_wait_cancel): New macro.
7568
0b13e255
AZ
7569 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7570 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7571
85c828a4
AZ
7572 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7573 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7574
d0d7f85f
AZ
7575 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7576 in backtrace analysis.
7577 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7578 side-effects.
7579 (tf_send): Likewise.
7580
17cc27d5
AZ
7581 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7582 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7583 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7584 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7585 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7586 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7587 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7588 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7589 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7590 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7591 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7592 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7593 Likewise.
7594 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7595 tst-cancel-wrappers.sh.
7596 (generated): Remove tst-cancel-wrappers.out.
7597 (tst-cancel-wrappers.out): Remove rule.
7598 * nptl/tst-cancel-wrappers.sh: Remove file.
7599
7d7af8f1
SN
76002019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7601
7602 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7603 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7604 Update.
7605
805334b2
AZ
76062019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7607
7608 [BZ #23640]
7609 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7610 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7611 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7612 close-on-exec reset for adddup2 file action.
7613 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7614
03992356
ZW
76152019-01-03 Zack Weinberg <zackw@panix.com>
7616
7617 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7618 parameter. Only use deprecated scanf when __USE_GNU is defined
7619 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7620 than 201103L, whichever is relevant for the language being compiled.
7621
7622 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7623 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7624 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7625 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7626 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7627
7628 * libio/iovsscanf.c
7629 * libio/fwscanf.c
7630 * libio/iovswscanf.c
7631 * libio/swscanf.c
7632 * libio/vscanf.c
7633 * libio/vwscanf.c
7634 * libio/wscanf.c
7635 * stdio-common/fscanf.c
7636 * stdio-common/scanf.c
7637 * stdio-common/vfscanf.c
7638 * stdio-common/vfwscanf.c
7639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7640 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7641 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7642 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7643 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7644 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7645 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7646 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7647 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7648 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7649 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7650 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7651 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7652 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7653 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7654
7655 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7656 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7657 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7658 not sscanf.
7659 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7660 with a preprocessor macro.
7661
7662 * stdio-common/bug21.c, stdio-common/scanf14.c:
7663 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7664 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7665 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7666 to xscanf, xfscanf, xsscanf.
7667
7668 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7669 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7670 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7671 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7672 xfscanf, xsscanf.
7673 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7674 override feature selection macros or provide definitions of u_char etc.
7675 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7676 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7677 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7678 with -std=gnu89.
7679
8083afa5
AZ
76802019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7681
6f343c1f
AZ
7682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7683 bits/termios-misc.h.
7684 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7685 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7687 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7688 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7689 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7690
51f4beb0
AZ
7691 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7693 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7694 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7695 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7696 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7697 termios-misc.h.
7698 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7699 (sysdep_headers): Add termios-misc.h.
7700
f69c5cb2
AZ
7701 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7702 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7703 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7704
3aa4a07e
AZ
7705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7706 termios-tcflow.h.
7707 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7708 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7709 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7710 TCSAFLUSH): Move to termios-tcflow.h.
7711 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7712 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7715
22679ddf
AZ
7716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7717 termios-c_lflag.h.
7718 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7719 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7720 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7721 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7722 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7723 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7724 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7725 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7726 Likewise.
7727 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7728 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7729 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7731
72eb6ecc
AZ
7732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7733 termios-c_cflag.h.
7734 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7735 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7737 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7738 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7739 termios-c_cflag.h.
7740 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7741 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7744
9c5d0d02
AZ
7745 [BZ #23783]
7746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7747 termios-baud.h.
7748 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7749 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7750 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7751 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7752 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7753 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7754 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7755 __MAX_BAUD): Move to termios-baud.h.
7756 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7757 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7758 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7760 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7761
7b832018
AZ
7762 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7763 termios-c_oflag.h.
7764 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7765 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7766 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7768 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7769 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7770 termios-c_oflag.h.
7771 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7772 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7773 FFR1): Likewise.
7774 [USE_MISC] (XTABS): Likewise.
7775 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7776 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7779
3127003e
AZ
7780 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7781 termios-c_iflag.h.
7782 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7783 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7785 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7786 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7787 IUTF8): Move to termios-c_iflag.h.
7788 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7789 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7791 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7792
48c1dd96
AZ
7793 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7794 termios-cc.h.
7795 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7796 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7797 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7800 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7801 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7802 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7803 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7804 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7806 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7807
e5a50db3
AZ
7808 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7809 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7810 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7813 termios-struct.h.
7814 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7815 termios-struct.h.
7816 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7817 Likewise.
7818 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7819 Likewise.
7820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7821 Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7823 Likewise.
7824 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7825 _HAVE_C_OSPEED): Define.
7826 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7827 _HAVE_C_OSPEED): Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7829 _HAVE_C_OSPEED): Likewise.
7830 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7831 (cfsetospeed): Check for define value instead of existence.
7832 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7833 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7834 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7835 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7836 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7837
8083afa5
AZ
7838 [BZ #17783]
7839 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7840 Define.
7841 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7842 (TIOCSER_TEMT): Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7844 (TEOCSER_TEMT): Likewise.
7845
4d7d7dc6
P
78462019-01-02 PanderMusubi <pander@users.sourceforge.net>
7847
7848 [BZ #24011]
7849 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7850
8e291a29
JM
78512019-01-02 Joseph Myers <joseph@codesourcery.com>
7852
7853 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7854
55137f7d
ST
78552019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7856
7857 * sysdeps/htl/pt-barrierattr-setpshared.c
7858 (pthread_barrierattr_setpshared): Add stub warning.
7859 * sysdeps/htl/pt-condattr-setpshared.c
7860 (pthread_condattr_setpshared): Likewise.
7861 * sysdeps/htl/pt-mutexattr-setpshared.c
7862 (pthread_mutexattr_setpshared): Likewise.
7863 * sysdeps/htl/pt-rwlockattr-setpshared.c
7864 (pthread_rwlockattr_setpshared): Likewise.
7865 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7866 (pthread_mutexattr_setpshared): Likewise.
7867
2ce09e01
JM
78682019-01-02 Joseph Myers <joseph@codesourcery.com>
7869
acb55dcb
JM
7870 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7871 constants to match with Linux 4.20.
7872
2ce09e01
JM
7873 * sysdeps/mips/mips32/libm-test-ulps: Update.
7874 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7875
fe20bb1d
AJ
78762019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7877
7878 [BZ #24034]
7879 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7880 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7881 than __typeof (...) for the a_ptr variable.
7882
2d9837c1
GG
78832019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7884
7885 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7886 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7887 * libio/Makefile (tests): Add tst-sprintf-ub and
7888 tst-sprintf-chk-ub.
7889 (CFLAGS-tst-sprintf-ub.c): New variable.
7890 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7891 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7892 destination buffer and check for overflows in fortified mode.
7893 * libio/libioP.h (PRINTF_CHK): New macro.
7894 * libio/tst-sprintf-chk-ub.c: New file.
7895 * libio/tst-sprintf-ub.c: Likewise.
7896
d5c6df0b 78972019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
7898
7899 [BZ #24018]
7900 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7901 failure.
7902
66081e38
FW
79032019-01-02 Florian Weimer <fweimer@redhat.com>
7904
7905 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7906
04277e02
JM
79072019-01-01 Joseph Myers <joseph@codesourcery.com>
7908
6ef3d225
JM
7909 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7910 macro.
7911
e3d4e292
JM
7912 * sysdeps/unix/sysv/linux/netpacket/packet.h
7913 (PACKET_IGNORE_OUTGOING): New macro.
7914
f4507797
JM
7915 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7916 macro.
7917
47ad5e1a
JM
7918 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7919 version to 4.20.
7920 (riscv_flush_icache): New syscall.
7921
7628a1b0
JM
7922 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7923 trailing whitespace removed.
7924 * scripts/config.guess: Update to version 2019-01-01.
7925 * scripts/config.sub: Update to version 2019-01-01.
7926 * scripts/move-if-change: Update from gnulib.
7927
c9123888
JM
7928 * NEWS: Update copyright dates.
7929 * catgets/gencat.c (print_version): Likewise.
7930 * csu/version.c (banner): Likewise.
7931 * debug/catchsegv.sh: Likewise.
7932 * debug/pcprofiledump.c (print_version): Likewise.
7933 * debug/xtrace.sh (do_version): Likewise.
7934 * elf/ldconfig.c (print_version): Likewise.
7935 * elf/ldd.bash.in: Likewise.
7936 * elf/pldd.c (print_version): Likewise.
7937 * elf/sotruss.sh: Likewise.
7938 * elf/sprof.c (print_version): Likewise.
7939 * iconv/iconv_prog.c (print_version): Likewise.
7940 * iconv/iconvconfig.c (print_version): Likewise.
7941 * locale/programs/locale.c (print_version): Likewise.
7942 * locale/programs/localedef.c (print_version): Likewise.
7943 * login/programs/pt_chown.c (print_version): Likewise.
7944 * malloc/memusage.sh (do_version): Likewise.
7945 * malloc/memusagestat.c (print_version): Likewise.
7946 * malloc/mtrace.pl: Likewise.
7947 * manual/libc.texinfo: Likewise.
7948 * nptl/version.c (banner): Likewise.
7949 * nscd/nscd.c (print_version): Likewise.
7950 * nss/getent.c (print_version): Likewise.
7951 * nss/makedb.c (print_version): Likewise.
7952 * posix/getconf.c (main): Likewise.
7953 * scripts/test-installation.pl: Likewise.
7954 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7955
04277e02
JM
7956 * All files with FSF copyright notices: Update copyright dates
7957 using scripts/update-copyrights.
7958 * locale/programs/charmap-kw.h: Regenerated.
7959 * locale/programs/locfile-kw.h: Likewise.
7960
e740e5b1
JM
79612018-12-31 Joseph Myers <joseph@codesourcery.com>
7962
7963 * timezone/zdump.c: Update from tzcode 2018i.
7964 * timezone/zic.c: Likewise.
7965
9b7f98b3
PE
79662018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7967
7968 regex: improve Gnulib port to AIX
7969 From the glibc point of view, this removes duplicate macro
7970 definitions and is obviously safe.
7971 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7972 * posix/regex_internal.h:
7973 (__attribute__, __attribute_warn_unused_result__):
7974 Remove; already defined elsewhere.
7975
b50dd3bc
FW
79762018-12-31 Florian Weimer <fw@deneb.enyo.de>
7977
7978 [BZ #24027]
7979 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7980 copying operation. (ncopies had the wrong type, resulting in an
7981 integer wraparound and too few elements being copied.)
7982
0b9c8490
L
79832018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7984
7985 [BZ #24022]
7986 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7987 <asm/syscalls.h> exists with __has_include__ before including it.
7988
01047fa6
JM
79892018-12-31 Joseph Myers <joseph@codesourcery.com>
7990
7991 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7992 version to 4.20.
7993
6b5c8607 79942018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
7995
7996 * hurd/lookup-retry: Include <unistd.h>.
7997 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7998 Release it on return. Handle "pid" magical lookup retry.
7999
ab74d59f 80002018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
989182c4
RL
8001
8002 [BZ #10496]
8003 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8004 (t_fmt_ampm): Likewise.
8005 * localedata/locales/aa_ER (t_fmt): Likewise.
8006 (t_fmt_ampm): Likewise.
8007 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8008 (t_fmt_ampm): Likewise.
8009 * localedata/locales/aa_ET (t_fmt): Likewise.
8010 (t_fmt_ampm): Likewise.
8011 * localedata/locales/am_ET (t_fmt): Likewise.
8012 (t_fmt_ampm): Likewise.
8013 * localedata/locales/byn_ER (t_fmt): Likewise.
8014 (t_fmt_ampm): Likewise.
8015 * localedata/locales/om_ET (t_fmt): Likewise.
8016 (t_fmt_ampm): Likewise.
8017 * localedata/locales/sid_ET (t_fmt): Likewise.
8018 (t_fmt_ampm): Likewise.
8019 * localedata/locales/so_DJ (t_fmt): Likewise.
8020 (t_fmt_ampm): Likewise.
8021 * localedata/locales/so_ET (t_fmt): Likewise.
8022 (t_fmt_ampm): Likewise.
8023 * localedata/locales/so_SO (t_fmt): Likewise.
8024 (t_fmt_ampm): Likewise.
8025 * localedata/locales/ti_ER (t_fmt): Likewise.
8026 (t_fmt_ampm): Likewise.
8027 * localedata/locales/ti_ET (t_fmt): Likewise.
8028 (t_fmt_ampm): Likewise.
8029 * localedata/locales/tig_ER (t_fmt): Likewise.
8030 (t_fmt_ampm): Likewise.
8031 * localedata/locales/wal_ET (t_fmt): Likewise.
8032 (t_fmt_ampm): Likewise.
8033
8034 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8035 * localedata/locales/ar_IN (t_fmt): Likewise.
8036 * localedata/locales/bhb_IN (t_fmt): Likewise.
8037 * localedata/locales/bho_IN (t_fmt): Likewise.
8038 * localedata/locales/bi_VU (t_fmt): Likewise.
8039 * localedata/locales/bn_BD (t_fmt): Likewise.
8040 * localedata/locales/bn_IN (t_fmt): Likewise.
8041 * localedata/locales/brx_IN (t_fmt): Likewise.
8042 * localedata/locales/doi_IN (t_fmt): Likewise.
8043 * localedata/locales/en_HK (t_fmt): Likewise.
8044 (t_fmt_ampm): Likewise.
8045 * localedata/locales/en_IN (t_fmt): Likewise.
8046 * localedata/locales/en_PH (t_fmt): Likewise.
8047 * localedata/locales/gu_IN (t_fmt): Likewise.
8048 * localedata/locales/hi_IN (t_fmt): Likewise.
8049 * localedata/locales/hif_FJ (t_fmt): Likewise.
8050 * localedata/locales/hne_IN (t_fmt): Likewise.
8051 * localedata/locales/kn_IN (t_fmt): Likewise.
8052 * localedata/locales/kok_IN (t_fmt): Likewise.
8053 * localedata/locales/ks_IN (t_fmt): Likewise.
8054 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8055 * localedata/locales/mag_IN (t_fmt): Likewise.
8056 * localedata/locales/mai_IN (t_fmt): Likewise.
8057 * localedata/locales/mjw_IN (t_fmt): Likewise.
8058 * localedata/locales/ml_IN (t_fmt): Likewise.
8059 * localedata/locales/mni_IN (t_fmt): Likewise.
8060 * localedata/locales/mr_IN (t_fmt): Likewise.
8061 * localedata/locales/ms_MY (t_fmt): Likewise.
8062 * localedata/locales/pa_IN (t_fmt): Likewise.
8063 * localedata/locales/raj_IN (t_fmt): Likewise.
8064 * localedata/locales/sa_IN (t_fmt): Likewise.
8065 * localedata/locales/sat_IN (t_fmt): Likewise.
8066 * localedata/locales/sd_IN (t_fmt): Likewise.
8067 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8068 * localedata/locales/tcy_IN (t_fmt): Likewise.
8069 * localedata/locales/the_NP (t_fmt): Likewise.
8070 * localedata/locales/to_TO (t_fmt): Likewise.
8071 * localedata/locales/ur_IN (t_fmt): Likewise.
8072
8073 * localedata/locales/hif_FJ (d_t_fmt): Set to
8074 "%A %d %b %Y %I:%M:%S %p".
8075 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8076
8077 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8078 * localedata/locales/ar_BH (t_fmt): Likewise.
8079 * localedata/locales/ar_DZ (t_fmt): Likewise.
8080 * localedata/locales/ar_EG (t_fmt): Likewise.
8081 * localedata/locales/ar_IQ (t_fmt): Likewise.
8082 * localedata/locales/ar_JO (t_fmt): Likewise.
8083 * localedata/locales/ar_KW (t_fmt): Likewise.
8084 * localedata/locales/ar_LB (t_fmt): Likewise.
8085 * localedata/locales/ar_LY (t_fmt): Likewise.
8086 * localedata/locales/ar_OM (t_fmt): Likewise.
8087 * localedata/locales/ar_QA (t_fmt): Likewise.
8088 * localedata/locales/ar_SD (t_fmt): Likewise.
8089 * localedata/locales/ar_SS (t_fmt): Likewise.
8090 * localedata/locales/ar_SY (t_fmt): Likewise.
8091 * localedata/locales/ar_TN (t_fmt): Likewise.
8092 * localedata/locales/ar_YE (t_fmt): Likewise.
8093
8094 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8095 (t_fmt_ampm): Likewise.
8096 * localedata/locales/gez_ET (t_fmt): Likewise.
8097 (t_fmt_ampm): Likewise.
8098
8099 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8100 (t_fmt_ampm): Likewise.
8101 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8102
8103 * localedata/locales/zh_HK (t_fmt):
8104 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8105
8106 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8107 because this locale does not use the 12-hour clock.
8108 (t_fmt): Set to "%Z %H:%M:%S".
8109 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8110
8111 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8112 because this locale does not use the 12-hour clock.
8113 (t_fmt): Set to "%H:%M:%S %Z".
8114 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8115
8116 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8117 because this locale does not use the 12-hour clock.
8118 (t_fmt): Set to "%T".
8119 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8120 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8121
8122 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8123 because this locale does not use the 12-hour clock.
8124 (t_fmt): Set to "%H:%M:%S %Z".
8125 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8126
8127 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8128 because this locale does not use the 12-hour clock.
8129 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8130 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8131
ab74d59f 81322018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
27841a7d
RL
8133
8134 [BZ #10496]
8135 [BZ #23724]
8136 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8137 (t_fmt_ampm): Likewise.
8138 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8139 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8140 (d_fmt): Set to "%-d.%-m.%y".
8141
0253580a
AZ
81422018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8143
8144 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8145 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8146 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8147 Likewise.
8148 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8149 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8150 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8151 function.
8152 * support/blob_repeat.c (check_mul_overflow_size_t,
8153 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8154
09104e5b
AJ
81552018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8156
8157 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8158
c0feb731
PE
81592018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8160
8161 regex: simplify Gnulib port
8162 This simplifies the code, by removing stuff intended for porting
8163 to Gnulib but no longer needed there.
8164 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8165 uses of libc_hidden_def, weak_alias.
8166 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8167 _Restrict_ except for public-facing headers.
8168 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8169 Remove; already defined elsewhere.
8170 * posix/regex.c, posix/regex_internal.h:
8171 Use __GNUC_PREREQ instead of rolling our own.
8172 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8173
5289f1f5
WD
81742018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8175
8176 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 8177 (memchr_strlen): New function.
5289f1f5 8178
ba4b8fab
L
81792018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8180
8181 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8182 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8183 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8184
9412979a
L
81852018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8186
8187 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8188
8700a785
L
81892018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8190
8191 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8192 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8193 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8194 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8195 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8196 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8197 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8198
57b3ff8e
JM
81992018-12-21 Joseph Myers <joseph@codesourcery.com>
8200
8201 [BZ #24023]
8202 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8203 PLT reference in libc.so.
8204 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8205 _Q_lltoq and _Q_qtod PLT references in libc.so.
8206
90d3320d
WD
82072018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8208
8209 * benchtests/bench-memchr.c: Cleanup defines.
8210 * benchtests/bench-memcmp.c: Likewise.
8211 * benchtests/bench-memset.c: Likewise.
8212 * benchtests/bench-memset-large.c: Likewise.
8213 * benchtests/bench-memset-walk.c: Likewise.
8214 * benchtests/bench-stpcpy.c: Likewise.
8215 * benchtests/bench-stpncpy.c: Likewise.
8216 * benchtests/bench-strcat.c: Likewise.
8217 * benchtests/bench-strchr.c: Likewise.
8218 * benchtests/bench-strcmp.c: Likewise.
8219 * benchtests/bench-strcpy.c: Likewise.
8220 * benchtests/bench-strcspn.c: Likewise.
8221 * benchtests/bench-string.h: Likewise.
8222 * benchtests/bench-strlen.c: Likewise.
8223 * benchtests/bench-strncat.c: Likewise.
8224 * benchtests/bench-strncmp.c: Likewise.
8225 * benchtests/bench-strncpy.c: Likewise.
8226 * benchtests/bench-strnlen.c: Likewise.
8227 * benchtests/bench-strpbrk.c: Likewise.
8228 * benchtests/bench-strrchr.c: Likewise.
8229 * benchtests/bench-strspn.c: Likewise.
8230
192963be
JM
82312018-12-21 Joseph Myers <joseph@codesourcery.com>
8232
5d025ea6
JM
8233 * stdlib/longlong.h: Update from GCC.
8234
192963be
JM
8235 [BZ #23993]
8236 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8237 * configure: Regenerated.
8238 * manual/install.texi (Tools for Compilation): Update minimum GCC
8239 version.
8240 * INSTALL: Regenerated.
8241
6b5c8607 82422018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
8243
8244 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8245
6b5c8607 82462018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
8247
8248 * malloc/malloc.c (mremap_chunk): Additional checks.
8249
5f72b005
MH
82502018-12-21 Mao Han <han_mao@c-sky.com>
8251
8252 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8253 * scripts/build-many-glibcs.py: Add C-SKY targets.
8254 * sysdeps/csky/Implies: New file.
8255 * sysdeps/csky/Makefile: Likewise.
8256 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8257 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8258 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8259 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8260 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8261 * sysdeps/csky/abiv2/memmove.S: Likewise.
8262 * sysdeps/csky/abiv2/memset.S: Likewise.
8263 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8264 * sysdeps/csky/abiv2/start.S: Likewise.
8265 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8266 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8267 * sysdeps/csky/abiv2/strlen.S: Likewise.
8268 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8269 * sysdeps/csky/abort-instr.h: Likewise.
8270 * sysdeps/csky/atomic-machine.h: Likewise.
8271 * sysdeps/csky/bits/endian.h: Likewise.
8272 * sysdeps/csky/bits/fenv.h: Likewise.
8273 * sysdeps/csky/bits/link.h: Likewise.
8274 * sysdeps/csky/bits/setjmp.h: Likewise.
8275 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8276 * sysdeps/csky/bsd-setjmp.S: Likewise.
8277 * sysdeps/csky/configure: Likewise.
8278 * sysdeps/csky/configure.ac: Likewise.
8279 * sysdeps/csky/dl-machine.h: Likewise.
8280 * sysdeps/csky/dl-procinfo.c: Likewise.
8281 * sysdeps/csky/dl-procinfo.h: Likewise.
8282 * sysdeps/csky/dl-sysdep.h: Likewise.
8283 * sysdeps/csky/dl-tls.h: Likewise.
8284 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8285 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8286 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8287 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8288 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8289 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8290 * sysdeps/csky/fpu/fegetround.c: Likewise.
8291 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8292 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8293 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8294 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8295 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8296 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8297 * sysdeps/csky/fpu/fesetround.c: Likewise.
8298 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8299 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8300 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8301 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8302 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8303 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8304 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8305 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8306 * sysdeps/csky/fpu_control.h: Likewise.
8307 * sysdeps/csky/gccframe.h: Likewise.
8308 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8309 * sysdeps/csky/ldsodefs.h: Likewise.
8310 * sysdeps/csky/libc-tls.c: Likewise.
8311 * sysdeps/csky/linkmap.h: Likewise.
8312 * sysdeps/csky/machine-gmon.h: Likewise.
8313 * sysdeps/csky/memusage.h: Likewise.
8314 * sysdeps/csky/nofpu/Implies: Likewise.
8315 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8316 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8317 * sysdeps/csky/nptl/Makefile: Likewise.
8318 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8319 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8320 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8321 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8322 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8323 * sysdeps/csky/nptl/tls.h: Likewise.
8324 * sysdeps/csky/preconfigure: Likewise.
8325 * sysdeps/csky/sfp-machine.h: Likewise.
8326 * sysdeps/csky/sotruss-lib.c: Likewise.
8327 * sysdeps/csky/stackinfo.h: Likewise.
8328 * sysdeps/csky/sysdep.h: Likewise.
8329 * sysdeps/csky/tininess.h: Likewise.
8330 * sysdeps/csky/tst-audit.h: Likewise.
8331 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8332 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8333 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8334 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8335 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8336 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8337 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8338 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8339 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8340 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8341 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8342 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8343 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8344 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8345 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8346 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8347 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8348 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8349 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8350 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8351 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8352 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8353 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8354 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8355 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8356 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8357 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8358 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8359 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8360 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8364 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8365 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8366 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8367 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8368 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8369 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8370 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8371 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8372 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8373 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8374 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8375
6b5c8607 83762018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
8377
8378 * include/time.h (__difftime64): Add.
8379 * time/difftime.c (subtract): convert to 64-bit time.
8380 * time/difftime.c (__difftime64): Add.
8381 * time/difftime.c (__difftime): Wrap around __difftime64.
8382
ab416931
L
83832018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8384
8385 * manual/examples/add.c: Remove redundant "if not".
8386 * manual/examples/argp-ex1.c: Likewise.
8387 * manual/examples/argp-ex2.c: Likewise.
8388 * manual/examples/argp-ex3.c: Likewise.
8389 * manual/examples/argp-ex4.c: Likewise.
8390 * manual/examples/atexit.c: Likewise.
8391 * manual/examples/db.c: Likewise.
8392 * manual/examples/dir.c: Likewise.
8393 * manual/examples/dir2.c: Likewise.
8394 * manual/examples/execinfo.c: Likewise.
8395 * manual/examples/filecli.c: Likewise.
8396 * manual/examples/filesrv.c: Likewise.
8397 * manual/examples/fmtmsgexpl.c: Likewise.
8398 * manual/examples/genpass.c: Likewise.
8399 * manual/examples/inetcli.c: Likewise.
8400 * manual/examples/inetsrv.c: Likewise.
8401 * manual/examples/isockad.c: Likewise.
8402 * manual/examples/longopt.c: Likewise.
8403 * manual/examples/memopen.c: Likewise.
8404 * manual/examples/memstrm.c: Likewise.
8405 * manual/examples/mkdirent.c: Likewise.
8406 * manual/examples/mkfsock.c: Likewise.
8407 * manual/examples/mkisock.c: Likewise.
8408 * manual/examples/mygetpass.c: Likewise.
8409 * manual/examples/pipe.c: Likewise.
8410 * manual/examples/popen.c: Likewise.
8411 * manual/examples/rprintf.c: Likewise.
8412 * manual/examples/search.c: Likewise.
8413 * manual/examples/select.c: Likewise.
8414 * manual/examples/setjmp.c: Likewise.
8415 * manual/examples/sigh1.c: Likewise.
8416 * manual/examples/sigusr.c: Likewise.
8417 * manual/examples/stpcpy.c: Likewise.
8418 * manual/examples/strdupa.c: Likewise.
8419 * manual/examples/strftim.c: Likewise.
8420 * manual/examples/subopt.c: Likewise.
8421 * manual/examples/swapcontext.c: Likewise.
8422 * manual/examples/termios.c: Likewise.
8423 * manual/examples/testopt.c: Likewise.
8424 * manual/examples/testpass.c: Likewise.
8425 * manual/examples/timeval_subtract.c: Likewise.
8426
515f463f
JM
84272018-12-19 Joseph Myers <joseph@codesourcery.com>
8428
da75c1b1
JM
8429 * sysdeps/x86/fpu/math_private.h: New file.
8430 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8431
515f463f
JM
8432 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8433 definition.
8434 (cosh): Likewise.
8435 (tanh): Likewise.
8436
1616d034
TMQMF
84372018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8438
8439 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8440 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8441 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8442 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8443 fields.
8444 (_dl_show_auxv): Give a special treatment to
8445 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8446 and AT_L3_CACHEGEOMETRY.
8447 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8448 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8449 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8450 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8451
61595e3d
AS
84522018-12-19 Andreas Schwab <schwab@suse.de>
8453
8454 * nscd/connections.c (check_use): Don't abort on invalid len.
8455
bbb7dc84
ST
84562018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8457
8458 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8459 values in the 64bit value cases.
8460
6b5c8607 84612018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 8462
c4c2836a
AA
8463 * include/time.h
8464 (__ctime64_r): Add.
8465 * time/ctime_r.c
8466 (__ctime64_r): Add.
8467 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8468
7755e504
AA
8469 * include/time.h
8470 (__ctime64): Add.
8471 * time/gmtime.c
8472 (__ctime64): Add.
8473 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8474
a1d346ce
AA
8475 * include/time.h
8476 (__gmtime64_r): Add.
8477 * time/gmtime.c
8478 (__gmtime64_r): Add.
8479 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8480
131db8b0
AA
8481 * include/time.h
8482 (__gmtime64): Add.
8483 * time/gmtime.c
8484 (__gmtime64): Add.
8485 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8486
64c2277d
AA
8487 * include/time.h
8488 (__localtime64_r): Add.
8489 * time/localtime.c
8490 (__localtime64_r): Add.
8491 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8492
56b98bf1
AZ
84932018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8494
64dd7a16
AZ
8495 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8496 kernel_sigction definition.
8497
8b1d5da5
AZ
8498 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8499
f9eabb19
AZ
8500 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8501
56b98bf1
AZ
8502 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8503 __syscall_rt_sigaction.
8504 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8505 (kernel_sigaction): Use Linux generic defintion.
8506 (STUB): Define.
8507 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8508 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8509 (__syscall_rt_sigaction): Remove implementation.
8510 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8511 hidden.
8512 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8513 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8514 INTERNAL_SYSCALL): Remove definitions.
8515 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8516 action and signal set size.
8517 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8519
43a45c2d
AZ
85202018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8521 James Clarke <jrtc27@jrtc27.com>
8522
dfa6216f 8523 [BZ #23967]
43a45c2d
AZ
8524 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8525 Define if SA_RESTORER is defined.
8526 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8527 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8528 already defined.
8529 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8530 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8531 definitions.
8532 (HAS_SA_RESTORER): Define.
8533 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8534 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8535 (HAS_SA_RESTORER): Define.
8536 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8537 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8538 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8539 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8541
646ce7e0
JM
85422018-12-18 Joseph Myers <joseph@codesourcery.com>
8543
8544 * sysdeps/unix/sysv/linux/kernel-features.h
8545 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8546 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8547 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8548 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8549 (__ASSUME_ST_INO_64_BIT): Likewise.
8550 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8551 <kernel-features.h>.
8552 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8553 Remove conditional code.
8554 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8555 <kernel-features.h>.
8556 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8557 Remove conditional code.
8558 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8559 <kernel-features.h>.
8560 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8561 Remove conditional code.
8562 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8563 <kernel-features.h>.
8564 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8565 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8566
80190d2b
SL
85672018-12-18 Stefan Liebler <stli@linux.ibm.com>
8568
8569 * sysdeps/s390/multiarch/ifunc-resolve.h
8570 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8571 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8572 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8573 Delete macro definition.
8574 (s390_libc_ifunc_init): Rename to
8575 s390_libc_ifunc_expr_stfle_init.
8576 * sysdeps/s390/bzero: Use
8577 s390_libc_ifunc_expr_stfle_init instead of
8578 s390_libc_ifunc_init.
8579 * sysdeps/s390/memcmp.c: Likewise.
8580 * sysdeps/s390/memcpy.c: Likewise.
8581 * sysdeps/s390/mempcpy.c: Likewise.
8582 * sysdeps/s390/memset.c: Likewise.
8583
12f0dcb8
SL
85842018-12-18 Stefan Liebler <stli@linux.ibm.com>
8585
8586 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8587 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8588
25654a8c
SL
85892018-12-18 Stefan Liebler <stli@linux.ibm.com>
8590
8591 * sysdeps/s390/multiarch/Makefile
8592 (sysdep_routines): Remove wmemcmp variants.
8593 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8594 * sysdeps/s390/multiarch/ifunc-impl-list.c
8595 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8596 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8597 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8598 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8599 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8600 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8601 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8602 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8603
d2a7436c
SL
86042018-12-18 Stefan Liebler <stli@linux.ibm.com>
8605
8606 * sysdeps/s390/multiarch/Makefile
8607 (sysdep_routines): Remove wmemset variants.
8608 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8609 * sysdeps/s390/multiarch/ifunc-impl-list.c
8610 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8611 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8612 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8613 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8614 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8615 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8616 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8617 * sysdeps/s390/ifunc-wmemset.h: New file.
8618
c62534ae
SL
86192018-12-18 Stefan Liebler <stli@linux.ibm.com>
8620
8621 * sysdeps/s390/multiarch/Makefile
8622 (sysdep_routines): Remove wmemchr variants.
8623 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8624 * sysdeps/s390/multiarch/ifunc-impl-list.c
8625 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8626 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8627 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8628 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8629 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8630 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8631 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8632 * sysdeps/s390/ifunc-wmemchr.h: New file.
8633
79b44cf6
SL
86342018-12-18 Stefan Liebler <stli@linux.ibm.com>
8635
8636 * sysdeps/s390/multiarch/Makefile
8637 (sysdep_routines): Remove wcscspn variants.
8638 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8639 * sysdeps/s390/multiarch/ifunc-impl-list.c
8640 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8641 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8642 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8643 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8644 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8645 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8646 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8647 * sysdeps/s390/ifunc-wcscspn.h: New file.
8648
8e87c1f6
SL
86492018-12-18 Stefan Liebler <stli@linux.ibm.com>
8650
8651 * sysdeps/s390/multiarch/Makefile
8652 (sysdep_routines): Remove wcspbrk variants.
8653 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8654 * sysdeps/s390/multiarch/ifunc-impl-list.c
8655 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8656 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8657 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8658 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8659 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8660 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8661 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8662 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8663
8507e831
SL
86642018-12-18 Stefan Liebler <stli@linux.ibm.com>
8665
8666 * sysdeps/s390/multiarch/Makefile
8667 (sysdep_routines): Remove wcsspn variants.
8668 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8669 * sysdeps/s390/multiarch/ifunc-impl-list.c
8670 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8671 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8672 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8673 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8674 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8675 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8676 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8677 * sysdeps/s390/ifunc-wcsspn.h: New file.
8678
4753713a
SL
86792018-12-18 Stefan Liebler <stli@linux.ibm.com>
8680
8681 * sysdeps/s390/multiarch/Makefile
8682 (sysdep_routines): Remove wcsrchr variants.
8683 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8684 * sysdeps/s390/multiarch/ifunc-impl-list.c
8685 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8686 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8687 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8688 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8689 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8690 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8691 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8692 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8693
c09c1b6f
SL
86942018-12-18 Stefan Liebler <stli@linux.ibm.com>
8695
8696 * sysdeps/s390/multiarch/Makefile
8697 (sysdep_routines): Remove wcschrnul variants.
8698 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8699 * sysdeps/s390/multiarch/ifunc-impl-list.c
8700 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8701 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8702 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8703 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8704 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8705 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8706 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8707 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8708
cf3ccc31
SL
87092018-12-18 Stefan Liebler <stli@linux.ibm.com>
8710
8711 * sysdeps/s390/multiarch/Makefile
8712 (sysdep_routines): Remove wcschr variants.
8713 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8714 * sysdeps/s390/multiarch/ifunc-impl-list.c
8715 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8716 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8717 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8718 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8719 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8720 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8721 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8722 * sysdeps/s390/ifunc-wcschr.h: New file.
8723
e9873e1d
SL
87242018-12-18 Stefan Liebler <stli@linux.ibm.com>
8725
8726 * sysdeps/s390/multiarch/Makefile
8727 (sysdep_routines): Remove wcsncmp variants.
8728 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8729 * sysdeps/s390/multiarch/ifunc-impl-list.c
8730 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8731 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8732 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8733 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8734 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8735 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8736 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8737 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8738
3459e23d
SL
87392018-12-18 Stefan Liebler <stli@linux.ibm.com>
8740
8741 * sysdeps/s390/multiarch/Makefile
8742 (sysdep_routines): Remove wcscmp variants.
8743 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8744 * sysdeps/s390/multiarch/ifunc-impl-list.c
8745 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8746 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8747 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8748 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8749 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8750 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8751 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8752 * sysdeps/s390/ifunc-wcscmp.h: New file.
8753
814a76e1
SL
87542018-12-18 Stefan Liebler <stli@linux.ibm.com>
8755
8756 * sysdeps/s390/multiarch/Makefile
8757 (sysdep_routines): Remove wcsncat variants.
8758 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8759 * sysdeps/s390/multiarch/ifunc-impl-list.c
8760 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8761 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8762 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8763 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8764 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8765 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8766 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8767 * sysdeps/s390/ifunc-wcsncat.h: New file.
8768
3389cae4
SL
87692018-12-18 Stefan Liebler <stli@linux.ibm.com>
8770
8771 * sysdeps/s390/multiarch/Makefile
8772 (sysdep_routines): Remove wcscat variants.
8773 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8774 * sysdeps/s390/multiarch/ifunc-impl-list.c
8775 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8776 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8777 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8778 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8779 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8780 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8781 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8782 * sysdeps/s390/ifunc-wcscat.h: New file.
8783
c3081bcb
SL
87842018-12-18 Stefan Liebler <stli@linux.ibm.com>
8785
8786 * sysdeps/s390/multiarch/Makefile
8787 (sysdep_routines): Remove wcpncpy variants.
8788 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8789 * sysdeps/s390/multiarch/ifunc-impl-list.c
8790 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8791 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8792 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8793 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8794 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8795 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8796 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8797 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8798
0966dd86
SL
87992018-12-18 Stefan Liebler <stli@linux.ibm.com>
8800
8801 * sysdeps/s390/multiarch/Makefile
8802 (sysdep_routines): Remove wcsncpy variants.
8803 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8804 * sysdeps/s390/multiarch/ifunc-impl-list.c
8805 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8806 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8807 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8808 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8809 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8810 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8811 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8812 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8813
0582e428
SL
88142018-12-18 Stefan Liebler <stli@linux.ibm.com>
8815
8816 * sysdeps/s390/multiarch/Makefile
8817 (sysdep_routines): Remove wcpcpy variants.
8818 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8819 * sysdeps/s390/multiarch/ifunc-impl-list.c
8820 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8821 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8822 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8823 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8824 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8825 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8826 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8827 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8828
804f2e5c
SL
88292018-12-18 Stefan Liebler <stli@linux.ibm.com>
8830
8831 * sysdeps/s390/multiarch/Makefile
8832 (sysdep_routines): Remove wcscpy variants.
8833 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8834 * sysdeps/s390/multiarch/ifunc-impl-list.c
8835 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8836 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8837 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8838 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8839 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8840 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8841 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8842 * sysdeps/s390/ifunc-wcscpy.h: New file.
8843
c7e7cd26
SL
88442018-12-18 Stefan Liebler <stli@linux.ibm.com>
8845
8846 * sysdeps/s390/multiarch/Makefile
8847 (sysdep_routines): Remove wcsnlen variants.
8848 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8849 * sysdeps/s390/multiarch/ifunc-impl-list.c
8850 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8851 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8852 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8853 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8854 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8855 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8856 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8857 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8858
2e02d0b7
SL
88592018-12-18 Stefan Liebler <stli@linux.ibm.com>
8860
8861 * sysdeps/s390/multiarch/Makefile
8862 (sysdep_routines): Remove wcslen variants.
8863 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8864 * sysdeps/s390/multiarch/ifunc-impl-list.c
8865 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8866 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8867 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8868 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8869 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8870 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8871 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8872 * sysdeps/s390/ifunc-wcslen.h: New file.
8873
89bfcbdf
SL
88742018-12-18 Stefan Liebler <stli@linux.ibm.com>
8875
8876 * sysdeps/s390/multiarch/Makefile
8877 (sysdep_routines): Remove memrchr variants.
8878 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8879 * sysdeps/s390/multiarch/ifunc-impl-list.c
8880 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8881 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8882 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8883 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8884 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8885 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8886 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8887 * sysdeps/s390/ifunc-memrchr.h: New file.
8888
196655ba
SL
88892018-12-18 Stefan Liebler <stli@linux.ibm.com>
8890
8891 * sysdeps/s390/multiarch/Makefile
8892 (sysdep_routines): Remove memccpy variants.
8893 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8894 * sysdeps/s390/multiarch/ifunc-impl-list.c
8895 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8896 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8897 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8898 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8899 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8900 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8901 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8902 * sysdeps/s390/ifunc-memccpy.h: New file.
8903
4c7b3cec
SL
89042018-12-18 Stefan Liebler <stli@linux.ibm.com>
8905
8906 * sysdeps/s390/multiarch/Makefile
8907 (sysdep_routines): Remove rawmemchr variants.
8908 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8909 * sysdeps/s390/multiarch/ifunc-impl-list.c
8910 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8911 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8912 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8913 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8914 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8915 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8916 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8917 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8918
581a051c
SL
89192018-12-18 Stefan Liebler <stli@linux.ibm.com>
8920
8921 * sysdeps/s390/multiarch/Makefile
8922 (sysdep_routines): Remove memchr variants.
8923 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8924 * sysdeps/s390/multiarch/ifunc-impl-list.c
8925 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8926 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8927 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8928 * sysdeps/s390/multiarch/memchr.c: Move to ...
8929 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8930 * sysdeps/s390/ifunc-memchr.h: New file.
8931 * sysdeps/s390/s390-64/memchr.S: Move to ...
8932 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8933 for 31/64bit and ifunc handling.
8934 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8935 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8936 * sysdeps/s390/s390-32/memchr.S: Likewise.
8937
5d2ec20a
SL
89382018-12-18 Stefan Liebler <stli@linux.ibm.com>
8939
8940 * sysdeps/s390/multiarch/Makefile
8941 (sysdep_routines): Remove strcspn variants.
8942 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8943 * sysdeps/s390/multiarch/ifunc-impl-list.c
8944 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8945 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8946 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8947 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8948 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8949 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8950 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8951 * sysdeps/s390/ifunc-strcspn.h: New file.
8952
572cca93
SL
89532018-12-18 Stefan Liebler <stli@linux.ibm.com>
8954
8955 * sysdeps/s390/multiarch/Makefile
8956 (sysdep_routines): Remove strpbrk variants.
8957 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8958 * sysdeps/s390/multiarch/ifunc-impl-list.c
8959 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8960 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8961 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8962 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8963 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8964 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8965 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8966 * sysdeps/s390/ifunc-strpbrk.h: New file.
8967
483fc569
SL
89682018-12-18 Stefan Liebler <stli@linux.ibm.com>
8969
8970 * sysdeps/s390/multiarch/Makefile
8971 (sysdep_routines): Remove strspn variants.
8972 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8973 * sysdeps/s390/multiarch/ifunc-impl-list.c
8974 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8975 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8976 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8977 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8978 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8979 * sysdeps/s390/multiarch/strspn.c: Move to ...
8980 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8981 * sysdeps/s390/ifunc-strspn.h: New file.
8982
26ea8760
SL
89832018-12-18 Stefan Liebler <stli@linux.ibm.com>
8984
8985 * sysdeps/s390/multiarch/Makefile
8986 (sysdep_routines): Remove strrchr variants.
8987 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8988 * sysdeps/s390/multiarch/ifunc-impl-list.c
8989 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8990 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8991 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8992 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8993 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8994 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8995 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8996 * sysdeps/s390/ifunc-strrchr.h: New file.
8997
a1361e65
SL
89982018-12-18 Stefan Liebler <stli@linux.ibm.com>
8999
9000 * sysdeps/s390/multiarch/Makefile
9001 (sysdep_routines): Remove strchrnul variants.
9002 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9003 * sysdeps/s390/multiarch/ifunc-impl-list.c
9004 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9005 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9006 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9007 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9008 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9009 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9010 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9011 * sysdeps/s390/ifunc-strchrnul.h: New file.
9012
32f12653
SL
90132018-12-18 Stefan Liebler <stli@linux.ibm.com>
9014
9015 * sysdeps/s390/multiarch/Makefile
9016 (sysdep_routines): Remove strchr variants.
9017 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9018 * sysdeps/s390/multiarch/ifunc-impl-list.c
9019 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9020 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9021 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9022 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9023 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9024 * sysdeps/s390/multiarch/strchr.c: Move to ...
9025 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9026 * sysdeps/s390/ifunc-strchr.h: New file.
9027
316b8842
SL
90282018-12-18 Stefan Liebler <stli@linux.ibm.com>
9029
9030 * sysdeps/s390/multiarch/Makefile
9031 (sysdep_routines): Remove strncmp variants.
9032 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9033 * sysdeps/s390/multiarch/ifunc-impl-list.c
9034 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9035 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9036 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9037 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9038 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9039 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9040 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9041 * sysdeps/s390/ifunc-strncmp.h: New file.
9042
cdab85fe
SL
90432018-12-18 Stefan Liebler <stli@linux.ibm.com>
9044
9045 * sysdeps/s390/multiarch/Makefile
9046 (sysdep_routines): Remove strcmp variants.
9047 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9048 * sysdeps/s390/multiarch/ifunc-impl-list.c
9049 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9050 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9051 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9052 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9053 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9054 * sysdeps/s390/ifunc-strcmp.h: New file.
9055 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9056 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9057 for 31/64bit and ifunc handling.
9058 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9059 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9060 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9061
b9353351
SL
90622018-12-18 Stefan Liebler <stli@linux.ibm.com>
9063
9064 * sysdeps/s390/multiarch/Makefile
9065 (sysdep_routines): Remove strncat variants.
9066 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9067 * sysdeps/s390/multiarch/ifunc-impl-list.c
9068 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9069 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9070 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9071 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9072 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9073 * sysdeps/s390/multiarch/strncat.c: Move to ...
9074 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9075 * sysdeps/s390/ifunc-strncat.h: New file.
9076
8e5a0afb
SL
90772018-12-18 Stefan Liebler <stli@linux.ibm.com>
9078
9079 * sysdeps/s390/multiarch/Makefile
9080 (sysdep_routines): Remove strcat variants.
9081 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9082 * sysdeps/s390/multiarch/ifunc-impl-list.c
9083 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9084 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9085 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9086 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9087 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9088 * sysdeps/s390/multiarch/strcat.c: Move to ...
9089 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9090 * sysdeps/s390/ifunc-strcat.h: New file.
9091
25218822
SL
90922018-12-18 Stefan Liebler <stli@linux.ibm.com>
9093
9094 * sysdeps/s390/multiarch/Makefile
9095 (sysdep_routines): Remove stpncpy variants.
9096 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9097 * sysdeps/s390/multiarch/ifunc-impl-list.c
9098 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9099 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9100 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9101 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9102 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9103 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9104 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9105 * sysdeps/s390/ifunc-stpncpy.h: New file.
9106
d1bdbf38
SL
91072018-12-18 Stefan Liebler <stli@linux.ibm.com>
9108
9109 * sysdeps/s390/multiarch/Makefile
9110 (sysdep_routines): Remove strncpy variants.
9111 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9112 * sysdeps/s390/multiarch/ifunc-impl-list.c
9113 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9114 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9115 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9116 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9117 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9118 * sysdeps/s390/ifunc-strncpy.h: New file.
9119 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9120 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9121 and adjust ifunc handling.
9122 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9123 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9124 and adjust ifunc handling.
9125 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9126 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9127
97044931
SL
91282018-12-18 Stefan Liebler <stli@linux.ibm.com>
9129
9130 * sysdeps/s390/multiarch/Makefile
9131 (sysdep_routines): Remove stpcpy variants.
9132 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9133 * sysdeps/s390/multiarch/ifunc-impl-list.c
9134 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9135 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9136 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9137 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9138 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9139 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9140 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9141 * sysdeps/s390/ifunc-stpcpy.h: New file.
9142
914a4e05
SL
91432018-12-18 Stefan Liebler <stli@linux.ibm.com>
9144
9145 * sysdeps/s390/multiarch/Makefile
9146 (sysdep_routines): Remove strcpy variants.
9147 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9148 * sysdeps/s390/multiarch/ifunc-impl-list.c
9149 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9150 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9151 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9152 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9153 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9154 * sysdeps/s390/ifunc-strcpy.h: New file.
9155 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9156 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9157 for 31/64bit and ifunc handling.
9158 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9159 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9160 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9161
de10e44d
SL
91622018-12-18 Stefan Liebler <stli@linux.ibm.com>
9163
9164 * sysdeps/s390/multiarch/Makefile
9165 (sysdep_routines): Remove strnlen variants.
9166 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9167 * sysdeps/s390/multiarch/ifunc-impl-list.c
9168 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9169 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9170 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9171 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9172 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9173 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9174 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9175 * sysdeps/s390/ifunc-strnlen.h: New file.
9176
ff3ca374
SL
91772018-12-18 Stefan Liebler <stli@linux.ibm.com>
9178
9179 * sysdeps/s390/multiarch/Makefile
9180 (sysdep_routines): Remove strlen variants.
9181 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9182 * sysdeps/s390/multiarch/ifunc-impl-list.c
9183 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9184 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9185 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9186 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9187 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9188 * sysdeps/s390/multiarch/strlen.c: Move to ...
9189 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9190 * sysdeps/s390/ifunc-strlen.h: New file.
9191
d2c4c403
SL
91922018-12-18 Stefan Liebler <stli@linux.ibm.com>
9193
9194 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9195 * sysdeps/s390/multiarch/ifunc-impl-list.c
9196 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9197 * sysdeps/s390/ifunc-memmem.h: New file.
9198 * sysdeps/s390/memmem.c: Likewise.
9199 * sysdeps/s390/memmem-c.c: Likewise.
9200 * sysdeps/s390/memmem-vx.c: Likewise.
9201
8c25dddd
SL
92022018-12-18 Stefan Liebler <stli@linux.ibm.com>
9203
9204 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9205 * sysdeps/s390/multiarch/ifunc-impl-list.c
9206 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9207 * sysdeps/s390/ifunc-strstr.h: New file.
9208 * sysdeps/s390/strstr.c: Likewise.
9209 * sysdeps/s390/strstr-c.c: Likewise.
9210 * sysdeps/s390/strstr-vx.c: Likewise.
9211
cdd927d9
SL
92122018-12-18 Stefan Liebler <stli@linux.ibm.com>
9213
9214 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9215 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9216 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9217 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9218 New defines.
9219 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9220 * sysdeps/s390/memmove-c.c: New file.
9221 * sysdeps/s390/memmove.c: Likewise.
9222 * sysdeps/s390/multiarch/ifunc-impl-list.c
9223 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9224
2ee1bc57
SL
92252018-12-18 Stefan Liebler <stli@linux.ibm.com>
9226
9227 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9228 * sysdeps/s390/configure.ac: Add check for z13 support.
9229 * sysdeps/s390/configure: Regenerated.
9230
d097d976
SL
92312018-12-18 Stefan Liebler <stli@linux.ibm.com>
9232
9233 * sysdeps/s390/memcopy.h: New file.
9234
e099aab0
SL
92352018-12-18 Stefan Liebler <stli@linux.ibm.com>
9236
9237 * sysdeps/s390/s390-32/bcopy.S: Remove.
9238 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9239
18eb862d
SL
92402018-12-18 Stefan Liebler <stli@linux.ibm.com>
9241
9242 * sysdeps/s390/ifunc-memcpy.h: New File.
9243 * sysdeps/s390/memcpy.S: Move to ...
9244 * sysdeps/s390/memcpy-z900.S ... here.
9245 Move implementations from memcpy-s390x.s to here.
9246 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9247 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9248 Remove memcpy/mempcpy variants.
9249 * sysdeps/s390/Makefile (sysdep_routines):
9250 Add memcpy/mempcpy variants.
9251 * sysdeps/s390/multiarch/ifunc-impl-list.c
9252 (__libc_ifunc_impl_list): Adjust ifunc variants for
9253 memcpy and mempcpy.
9254 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9255 to ...
9256 * sysdeps/s390/memcpy.c: ... here.
9257 Adjust ifunc variants for memcpy.
9258 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9259 * sysdeps/s390/mempcpy.c: ... here.
9260 Adjust ifunc variants for mempcpy.
9261 * sysdeps/s390/mempcpy.S: Delete file.
9262
df3eb8de
SL
92632018-12-18 Stefan Liebler <stli@linux.ibm.com>
9264
9265 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9266 * sysdeps/s390/memcpy.S: ... here.
9267 Adjust to be usable for 31/64bit.
9268 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9269 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9270 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9271 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9272 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9273 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9274 Adjust to be usable for 31/64bit.
9275 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9276 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9277 * sysdeps/s390/multiarch/memcpy.c: ... here.
9278 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9279
b7e024a8
SL
92802018-12-18 Stefan Liebler <stli@linux.ibm.com>
9281
9282 * sysdeps/s390/ifunc-memcmp.h: New File.
9283 * sysdeps/s390/memcmp.S: Move to ...
9284 * sysdeps/s390/memcmp-z900.S ... here.
9285 Move implementations from memcmp-s390x.s to here.
9286 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9287 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9288 Remove memcmp variants.
9289 * sysdeps/s390/Makefile (sysdep_routines):
9290 Add memcmp variants.
9291 * sysdeps/s390/multiarch/ifunc-impl-list.c
9292 (__libc_ifunc_impl_list): Adjust ifunc variants for
9293 memcmp.
9294 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9295 to ...
9296 * sysdeps/s390/memcmp.c: ... here.
9297 Adjust ifunc variants for memcmp.
9298
6c6b8c74
SL
92992018-12-18 Stefan Liebler <stli@linux.ibm.com>
9300
9301 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9302 * sysdeps/s390/memcmp.S: ... here.
9303 Adjust to be usable for 31/64bit.
9304 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9305 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9306 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9307 Remove memcmp.
9308 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9309 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9310 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9311 Adjust to be usable for 31/64bit.
9312 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9313 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9314 * sysdeps/s390/multiarch/memcmp.c: ... here.
9315 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9316
07be3928
SL
93172018-12-18 Stefan Liebler <stli@linux.ibm.com>
9318
9319 * sysdeps/s390/s390-32/bzero.S: Delete file.
9320 * sysdeps/s390/s390-64/bzero.S: Likewise.
9321 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9322 * sysdeps/s390/bzero.c: New file.
9323 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9324 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9325 * sysdeps/s390/multiarch/ifunc-impl-list.c
9326 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9327
712a254a
SL
93282018-12-18 Stefan Liebler <stli@linux.ibm.com>
9329
9330 * sysdeps/s390/ifunc-memset.h: New File.
9331 * sysdeps/s390/memset.S: Move to ...
9332 * sysdeps/s390/memset-z900.S ... here.
9333 Move implementations from memset-s390x.s to here.
9334 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9335 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9336 Remove memset variants.
9337 * sysdeps/s390/Makefile (sysdep_routines):
9338 Add memset variants.
9339 * sysdeps/s390/multiarch/ifunc-impl-list.c
9340 (__libc_ifunc_impl_list): Adjust ifunc variants for
9341 memset.
9342 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9343 to ...
9344 * sysdeps/s390/memset.c: ... here.
9345 Adjust ifunc variants for memset.
9346
5f1743d1
SL
93472018-12-18 Stefan Liebler <stli@linux.ibm.com>
9348
9349 * sysdeps/s390/s390-64/memset.S: Move to ...
9350 * sysdeps/s390/memset.S: ... here.
9351 Adjust to be usable for 31/64bit.
9352 * sysdeps/s390/s390-32/memset.S: Delete File.
9353 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9354 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9355 Remove memset.
9356 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9357 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9358 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9359 Adjust to be usable for 31/64bit.
9360 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9361 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9362 * sysdeps/s390/multiarch/memset.c: ... here.
9363 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9364
e8023f26
SL
93652018-12-18 Stefan Liebler <stli@linux.ibm.com>
9366
9367 * sysdeps/s390/multiarch/ifunc-resolve.h
9368 (s390_libc_ifunc_init, s390_libc_ifunc,
9369 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9370
b8686c0d
SL
93712018-12-18 Stefan Liebler <stli@linux.ibm.com>
9372
9373 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9374 * sysdeps/s390/configure.ac: Add check for z10 support.
9375 * sysdeps/s390/configure: Regenerated.
9376
cd815050
L
93772018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9378
9379 * sysdeps/i386/atomic-machine.h: Merged with ...
9380 * sysdeps/x86_64/atomic-machine.h: To ...
9381 * sysdeps/x86/atomic-machine.h: This. New file.
9382
053c52b1
FW
93832018-12-18 Florian Weimer <fweimer@redhat.com>
9384
9385 Rewrite locale/gen-translit.pl in Python.
9386 * locale/Makefile (generated): Add C-translit.h.
9387 (before-compile): Add $(objpfx)C-translit.h.
9388 (C-translit.h): Move to $(objpfx). Create target directory.
9389 Build using Python script.
9390 * locale/gen-translit.py: New file.
9391 * locale/gen-translit.pl: Remove file.
9392 * locale/C-translit.h.in: Change comment character to '#' for
9393 easier parsing without a C preprocessor.
9394 * locale/C-translit.h: Remove generated file.
9395 * manual/install.texi (Tools for Compilation): Do not mention
9396 C-translit.h.
9397 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9398 Remove locale/C-translit.h.
9399 * scripts/update-copyrights: Likewise.
9400 * INSTALL: Regenerate.
9401
40e6c1ec
FW
94022018-12-18 Florian Weimer <fweimer@redhat.com>
9403
9404 [BZ #23995]
9405 * localedata/locales/bi_VU: Remove executable bit from file.
9406
6b5c8607 94072018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
9408
9409 * include/time.h
9410 (__localtime64): Add.
9411 * manual/maint.texi: Document Y2038 symbol handling.
9412 * time/localtime.c
9413 (__localtime64): Add.
bfb79db4 9414 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 9415
df648905
JM
94162018-12-17 Joseph Myers <joseph@codesourcery.com>
9417
551e81d9
JM
9418 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9419 Do not clobber r12.
9420
df648905
JM
9421 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9422 to allow extra macros from first or second sources.
9423 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9424 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9425 (tests-special): Add $(objpfx)tst-mman-consts.out.
9426 ($(objpfx)tst-mman-consts.out): New makefile target.
9427
6bbfc5c0
MH
94282018-12-17 Mao Han <han_mao@c-sky.com>
9429
9430 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9431 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9432 without stat64 system call support.
9433 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9434 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9435 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9436 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9437 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9438 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9439 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9440 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9441 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9442 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9443 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9444
ef202e53
PE
94452018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9446
9447 regex: fix storage-exhaustion error
9448 [BZ #18040]
9449 * posix/regexec.c (get_subexp):
9450 Do not continue if storage is exhausted.
9451
077caf61
AG
94522018-12-15 Assaf Gordon <assafgordon@gmail.com>
9453
9454 regex: fix heap-use-after-free error
9455 [BZ #18040]
9456 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9457 https://debbugs.gnu.org/32592
9458 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9459 call extend_buffers which reallocates the re_string_t internal buffer.
9460 Local variable 'buf' was not updated in such case, resulting in
9461 use-after-free.
9462 * posix/regexec.c (get_subexp): Update 'buf' after call to
9463 get_subexp_sub.
9464
0c1719e6
FW
94652018-12-15 Florian Weimer <fweimer@redhat.com>
9466
9467 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9468 (minimum_stride_size): Use it.
9469 (support_blob_repeat_allocate): Likewise.
9470
033a2c0a
JM
94712018-12-14 Joseph Myers <joseph@codesourcery.com>
9472
9473 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9474 definition.
9475 (acosh): Likewise.
9476 (atanh): Likewise.
9477
e361dc04
FW
94782018-12-14 Florian Weimer <fweimer@redhat.com>
9479
9480 * manual/process.texi (Process Creation Concepts): Remove
9481 documentation of process (ID) lifetime. List more process
9482 creation functions. Reference Process Identification section.
9483 (Process Identification): Add information about process ID
9484 lifetime. Describe Linux thread/task IDs.
9485 * manual/signal.texi (Signaling Another Process): Mention that the
9486 signal is always sent to the process.
9487
bd51ff5e
GG
94882018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9489
9490 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9491 and tst-ldbl-efgcvt.
9492 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9493 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9494 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9495 (fcvt_tests, output_error, output_r_error, do_test): Use the
9496 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9497 select the type of floating-point variables and arguments; to
9498 produce extra tests for double and conversion specifiers for
9499 printf; and to set the names of called functions.
9500 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9501 in tst-efgcvt-template.c.
9502 * misc/tst-ldbl-efgcvt.c: Likewise.
9503
268bb71e
SL
95042018-12-14 Stefan Liebler <stli@linux.ibm.com>
9505
9506 * nss/Makefile (tst-nss-test3.out): New rule.
9507
db6df070
JM
95082018-12-13 Joseph Myers <joseph@codesourcery.com>
9509
9510 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9511 clobber sp.
9512
ade8b817
CD
95132018-12-13 fanjinke <fanjinke@hygon.cn>
9514
9515 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9516 "HygonGenuine".
9517
3d265911
AS
95182018-12-13 Andreas Schwab <schwab@suse.de>
9519
f21e8f8c 9520 [BZ #23861]
3d265911 9521 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
9522 (__pthread_rwlock_rdlock_full): Update expected value for
9523 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9524 * nptl/tst-rwlock-pwn.c: New file.
9525 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 9526
bf8ae8c0
JM
95272018-12-12 Joseph Myers <joseph@codesourcery.com>
9528
9529 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9530 definition.
9531
de099757
LS
95322018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9533
9534 * benchtests/scripts/compare_bench.py (do_compare): write to
9535 stderr in casestat is not present.
9536 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9537 stderr in case timings field is not present. Also string showing
9538 the output filename goes into the stderr.
9539
1990185f
LS
95402018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9541
9542 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9543 and ZeroDivisorError exceptions.
9544 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9545 argument to loop through user provided statistics.
9546 * benchtests/scripts/compare_bench.py (main): Include the --stats
9547 argument.
9548
587426d4
LS
95492018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9550
9551 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9552 instead of return.
9553
46703efa
FW
95542018-12-12 Florian Weimer <fweimer@redhat.com>
9555
9556 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9557 clause to copyright header.
9558
1d880d4a
TMQMF
95592018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9560
9561 [BZ #23614]
9562 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9563 registers saved in the stack frame.
9564 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9565 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9566
1a502f52
GG
95672018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9568
9569 * include/bits/monetary-ldbl.h: New file.
9570 * include/bits/printf-ldbl.h: Likewise.
9571 * include/bits/stdio-ldbl.h: Likewise.
9572 * include/bits/stdlib-ldbl.h: Likewise.
9573 * include/bits/syslog-ldbl.h: Likewise.
9574 * include/bits/wchar-ldbl.h: Likewise.
9575
df682d1d
GG
95762018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9577
9578 * libio/libio.h: Remove redirection for _IO_vfprintf.
9579
c2c082c1
AS
95802018-12-11 Andreas Schwab <schwab@suse.de>
9581
9582 * Makerules: Remove all references to abilist-pattern.
9583 (update-all-abi): Simplify find expression.
9584
505b5b29
SN
95852018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9586
9587 [BZ #23961]
9588 * math/auto-libm-test-in: Add new test case.
9589 * math/auto-libm-test-out-pow: Regenerated.
9590 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9591
304c61a2
DD
95922018-12-10 DJ Delorie <dj@redhat.com>
9593
9594 [BZ #23948]
9595 * support/test-container.c: Move postclean step to before we
9596 change namespaces.
9597
a8110b72
JM
95982018-12-10 Joseph Myers <joseph@codesourcery.com>
9599
cb7be159
JM
9600 * scripts/gen-as-const.py (main): Handle --python option.
9601 * scripts/gen-py-const.awk: Remove.
9602 * Makerules (py-const-script): Use gen-as-const.py.
9603 ($(py-const)): Likewise.
9604 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9605 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9606 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9607 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9608 ~PTHREAD_MUTEX_NO_ELISION_NP.
9609 * manual/README.pretty-printers: Update reference to
9610 gen-py-const.awk.
9611
a8110b72
JM
9612 * scripts/glibcextract.py: New file.
9613 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9614 or tempfile. Import glibcexctract.
9615 (compute_c_consts): Remove. Moved to glibcextract.py.
9616 (gen_test): Update reference to compute_c_consts.
9617 (main): Likewise.
9618 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9619 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9620 * sysdeps/unix/sysv/linux/Makefile
9621 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9622 Redirect stderr as well as stdout.
9623
f9ba9eb8
RÁE
96242018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9625
9626 [BZ #19767]
9627 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
9628 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9629 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 9630 ALWAYS_USE_VSYSCALL.
b39d961c 9631 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
9632 ALWAYS_USE_VSYSCALL.
9633 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9634 ALWAYS_USE_VSYSCALL.
9635
8d20a2f4
FW
96362018-12-10 Florian Weimer <fweimer@redhat.com>
9637
9638 [BZ #23972]
9639 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9640 offset instead of count for clarity. Fix typo in comment.
9641 (__old_getdents64): Keep track of previous offset. Use it to call
9642 handle_overflow.
9643 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9644 that d_off is never zero.
9645
80472e2f
AS
96462018-12-10 Andreas Schwab <schwab@suse.de>
9647
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9649 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9651 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9652 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9653
0afcb29d
JM
96542018-12-10 Joseph Myers <joseph@codesourcery.com>
9655
9656 * timezone/private.h: Update from tzcode 2018g.
9657 * timezone/tzfile.h: Likewise.
9658 * timezone/tzselect.ksh: Likewise.
9659 * timezone/zdump.c: Likewise.
9660 * timezone/zic.c: Likewise.
9661
b93f4052
PP
96622018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9663
9664 [BZ #23490]
9665 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9666 (do_test): Adjust buffer size and fix format.
9667
7c9a7c68
DD
96682018-12-07 DJ Delorie <dj@redhat.com>
9669
9670 [BZ #23907]
9671 * malloc/tst-tcfree3.c: New.
9672 * malloc/Makefile: Add it.
9673
37caec3a
L
96742018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9675
9676 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9677
10446f5d
GG
96782018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9679
9680 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9681 used as a mask for the mode argument of __vfscanf_internal and
9682 __vfwscanf_internal.
9683 * stdio-common/vfscanf-internal.c
9684 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9685 (__strtof128_internal): Define to __wcstof128_internal.
9686 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9687 __strtof128_internal or __wcstof128_internal when the format of
9688 long double is the same as _Float128.
9689
45f33aac
ST
96902018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9691
9692 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9693 * posix/confstr.c (confstr): Rename to __confstr.
9694 (__confstr): Add hidden def.
9695 (confstr): Add weak alias for __confstr.
9696 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9697 confstr.
9698
a092ca94
L
96992018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9700
9701 * NEWS: Mention getcpu.
9702 * include/sched.h (__getcpu): New libc_hidden_proto.
9703 * manual/resource.texi: Document getcpu.
9704 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9705 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9706 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9707 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9717 Likewise.
9718 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9720 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9722 Likewise.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9724 Likewise.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9726 Likewise.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9728 Likewise.
9729 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9731 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9732 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9734 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9738 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9739 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9740 Also check getcpu.
9741
7c857b6f
ST
97422018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9743
9744 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9745 functions.
9746 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9747
3a3fb755
FW
97482018-12-07 Florian Weimer <fweimer@redhat.com>
9749
9750 [BZ #17405]
9751 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9752 * posix/Versions (GLIBC_2.29): Export
9753 posix_spawn_file_actions_addfchdir_np.
9754 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9755 * posix/spawn_faction_destroy.c
9756 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9757 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9758 and the field action.fchdir_action.
9759 * posix/tst-spawn-chdir.c (add_chdir): New function.
9760 (do_test): Add do_fchdir loop. Call add_chdir.
9761 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9762 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9763 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9764 posix_spawn_file_actions_addfchdir_np.
9765 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9770 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9771 Likewise.
9772 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9773 Likewise.
9774 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9775 Likewise.
9776 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9777 Likewise.
9778 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9779 Likewise.
9780 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9781 Likewise.
9782 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9783 (GLIBC_2.29): Likewise.
9784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9785 (GLIBC_2.29): Likewise.
9786 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9787 (GLIBC_2.29): Likewise.
9788 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9789 (GLIBC_2.29): Likewise.
9790 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9791 Likewise.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9793 (GLIBC_2.29): Likewise.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9795 (GLIBC_2.29): Likewise.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9797 (GLIBC_2.29): Likewise.
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9799 (GLIBC_2.29): Likewise.
9800 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9801 Likewise.
9802 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9803 Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9805 Likewise.
9806 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9807 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9808 Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9810 Likewise.
9811 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9812 Likewise.
9813 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9814 Likewise.
9815
c37cd439
JM
98162018-12-06 Joseph Myers <joseph@codesourcery.com>
9817
9818 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9819 trailing whitespace removed.
9820 * scripts/config.guess: Update to version 2018-11-28.
9821 * scripts/config.sub: Update to version 2018-11-28.
9822 * scripts/install-sh: Update to version 2018-03-11.20.
9823 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9824 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9825
899478c2
FW
98262018-12-07 Florian Weimer <fweimer@redhat.com>
9827
9828 [BZ #23927]
9829 CVE-2018-19591
9830 * inet/tst-if_index-long.c: New file.
9831 * inet/Makefile (tests): Add tst-if_index-long.
9832
f255336a
FW
98332018-12-07 Florian Weimer <fweimer@redhat.com>
9834
9835 * support/check.h (support_record_failure_is_failed): Declare.
9836 * support/descriptors.h: New file.
9837 * support/support_descriptors.c: Likewise.
9838 * support/tst-support_descriptors.c: Likewise.
9839 * support/support_record_failure.c
9840 (support_record_failure_is_failed): New function.
9841 * support/Makefile (libsupport-routines): Add support_descriptors.
9842 (tests): Add tst-support_descriptors.
9843
35caceb1
ZW
98442018-12-05 Zack Weinberg <zackw@panix.com>
9845 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9846
9847 * stdio-common/vfprintf-internal.c
9848 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9849 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9851 and __no_long_double.
9852 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9853 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9855 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9856 and __nldbl_*syslog* functions.
9857 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9858 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9859 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9860 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9861 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9862 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9863 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9864 (__nldbl_vwprintf, __nldbl_wprintf):
9865 Directly call the appropriate __v*printf_internal routine, passing
9866 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9867 variable names.
9868 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9869 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9870 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9871 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9872 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9873 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9874 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9875 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9876 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9877 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9878 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9879 (__nldbl_syslog, __nldbl_vsyslog):
9880 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9881 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9882 appropriate.
9883 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9884 appropriate.
9885
4e2f43f8
ZW
98862018-12-05 Zack Weinberg <zackw@panix.com>
9887 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9888
9889 [BZ #11319]
9890 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9891 Moved here from debug/vsprintf_chk.c.
9892 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9893 and completion logic for the strfile to match exactly what
9894 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9895 _IO_str_init_static_internal instead of maxlen-1.
9896 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9897 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9898 __vsprintf_internal.
9899
9900 * debug/vsprintf_chk.c (__vsprintf_chk)
9901 * debug/sprintf_chk.c (__sprintf_chk):
9902 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9903 'flags' argument is positive, and slen as maxlen. No need to lock
9904 the FILE and/or construct a temporary FILE. Minimize and normalize
9905 header inclusions and variable names. Do not libc_hidden_def anything.
9906
9907 * debug/asprintf_chk.c (__asprintf_chk)
9908 * debug/dprintf_chk.c (__dprintf_chk)
9909 * debug/fprintf_chk.c (__fprintf_chk)
9910 * debug/fwprintf_chk.c (__fwprintf_chk)
9911 * debug/printf_chk.c (__printf_chk)
9912 * debug/snprintf_chk.c (__snprintf_chk)
9913 * debug/swprintf_chk.c (__swprintf_chk)
9914 * debug/vasprintf_chk.c (__vasprintf_chk)
9915 * debug/vdprintf_chk.c (__vdprintf_chk)
9916 * debug/vfprintf_chk.c (__vfprintf_chk)
9917 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9918 * debug/vprintf_chk.c (__vprintf_chk)
9919 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9920 * debug/vswprintf_chk.c (__vswprintf_chk)
9921 * debug/vwprintf_chk.c (__vwprintf_chk)
9922 * debug/wprintf_chk.c (__wprintf_chk):
9923 Directly call the corresponding vxxprintf_internal function, passing
9924 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9925 the FILE and/or construct a temporary FILE. Minimize and normalize
9926 header inclusions and variable names. Do not libc_hidden_def anything.
9927
9928 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9929 __obstack_vprintf_internal.
9930 (__obstack_vprintf_chk): Convert into a wrapper that calls
9931 __obstack_vprintf_internal (these two functions already had the
9932 same code) and move to new file...
9933 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9934 file.
9935 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9936 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9937 * debug/Makefile (routines): Add vobprintf_chk.
9938
9939 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9940 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9941 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9942 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9943 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9944 (__nldbl___obstack_vfprintf_chk):
9945 Directly call the corresponding vxxprintf_internal function,
9946 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9947 duplicate comparison of slen with 0 or maxlen from the corresponding
9948 non-__nldbl function.
9949
9950 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9951 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9952 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9953 Remove libc_hidden_proto.
9954
9955 * stdio-common/vfprintf-internal.c
9956 (__vfprintf_internal, __vfwprintf_internal):
9957 Do not check _IO_FLAGS2_FORTIFY.
9958 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9959 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9960 a comment explaining why it has the maxlen argument.
9961 (_IO_acquire_lock_clear_flags2_fct): Remove.
9962 (_IO_acquire_lock_clear_flags2): Remove.
9963 (_IO_release_lock): Remove conditional statement which will
9964 now never execute.
9965 (_IO_acquire_lock): Remove variable which is now unused.
9966 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9967 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9968
9969 * stdio-common/Makefile (tests): Add tst-bz11319 and
9970 tst-bz11319-fortify2.
9971 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9972 * stdio-common/tst-bz11319-fortify2.c: New file.
9973 * stdio-common/tst-bz11319.c: Likewise.
9974
124fc732
ZW
99752018-12-05 Zack Weinberg <zackw@panix.com>
9976 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9977
9978 * misc/syslog.c: Include libioP.h, not iolibio.h.
9979 (__vsyslog_internal): New function with the former body of
9980 __vsyslog_chk; takes mode_flags argument same as
9981 __v*printf_internal. Call __vfprintf_internal directly.
9982
9983 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9984 Remove libc_hidden_def.
9985 (__syslog, __syslog_chk): Use __vsyslog_internal.
9986 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9987
9988 * include/sys/syslog.h: Add multiple inclusion guard.
9989 Add prototype for __vsyslog_internal.
9990 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9991
9992 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9993 Use __vsyslog_internal.
9994
698fb75b
ZW
99952018-12-05 Zack Weinberg <zackw@panix.com>
9996 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9997
9998 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9999 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10000 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10001 New functions.
10002 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10003 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10004
10005 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10006 Include wctype.h here if COMPILE_WPRINTF is defined.
10007 Define __vfprintf_internal or __vfwprintf_internal, depending
10008 on COMPILE_WPRINTF.
10009 Temporarily, on entry to this function, update mode_flags
10010 according to the environmental settings corresponding to
10011 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10012 Throughout, check mode_flags instead of __ldbl_is_dbl and
10013 _IO_FLAGS2_FORTIFY on the destination FILE.
10014 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10015 Include vfprintf-internal.c. Don't include wctype.h.
10016 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10017 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10018 and vfprintf.
10019 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10020 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10021 and vfwprintf.
10022 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10023
10024 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10025 and add mode_flags argument; use __vfprintf_internal.
10026 (__vdprintf): New function. Alias vdprintf to this.
10027 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10028 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10029 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10030 (__obstack_printf): Use __obstack_printf_internal.
10031 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10032 public aliases __vsnprintf and vsnprintf.
10033 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10034 called internally.
10035 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10036 public aliases _IO_vsprintf and vsprintf.
10037 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10038 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10039 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10040 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10041 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10042
10043 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10044 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10045 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10046 * stdio-common/printf.c: Use __vfprintf_internal.
10047
10048 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10049 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10050 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10051
10052 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10053 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10054 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10055 __vfwprintf_internal.
10056
10057 * libio/libio.h: Remove libc_hidden_proto and declaration for
10058 _IO_vfprintf.
10059 Remove declaration of _IO_vfwprintf.
10060 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10061 _IO_vsprintf.
10062 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10063 _IO_obstack_printf.
10064 * include/stdio.h: Add prototype for __vasprintf.
10065 (__vsnprintf): Remove declaration, because there are no more
10066 internal calls.
10067 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10068 declaration, because there are no more internal calls.
10069
10070 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10071 __vsnprintf_internal, instead of _IO_vsnprintf.
10072 * argp/argp-help.c (__argp_error, __argp_failure): Use
10073 __vasprintf_internal, instead of _IO_vasprintf.
10074 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10075 redefine, because there are no more internal calls.
10076
d91798b3
ZW
100772018-12-05 Zack Weinberg <zackw@panix.com>
10078 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10079
10080 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10081 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10082 Include libio/strfile.h instead of libioP.h.
10083 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10084 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10085 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10086 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10087 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10088 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10089 necessary. Do not set __no_long_double. Normalize variable names.
10090 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10091 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10092 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10093 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10094 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10095 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10096 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10097 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10098 Do not set __no_long_double. Normalize variable names.
10099
b87eb3f8
ZW
101002018-12-05 Zack Weinberg <zackw@panix.com>
10101 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10102
10103 * stdio-common/isoc99_scanf.c
10104 * stdio-common/isoc99_fscanf.c
10105 * stdio-common/isoc99_sscanf.c
10106 * stdio-common/isoc99_vscanf.c
10107 * stdio-common/isoc99_vfscanf.c
10108 * stdio-common/isoc99_vsscanf.c
10109 * wcsmbs/isoc99_wscanf.c
10110 * wcsmbs/isoc99_fwscanf.c
10111 * wcsmbs/isoc99_swscanf.c
10112 * wcsmbs/isoc99_vwscanf.c
10113 * wcsmbs/isoc99_vfwscanf.c
10114 * wcsmbs/isoc99_vswscanf.c:
10115 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10116 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10117 No need to lock and unlock the FILE passed to that function.
10118
10119 * stdio-common/vfscanf-internal.c
10120 (__vfscanf_internal, __vfwscanf_internal):
10121 Don't look at _IO_FLAGS2_SCANF_STD.
10122 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10123 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10124 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10125
349718d4
ZW
101262018-12-05 Zack Weinberg <zackw@panix.com>
10127 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10128
10129 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10130 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10131 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10132 * libio/strfile.h: Add multiple inclusion guard.
10133 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10134
10135 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10136 consistency with the other version of this file.
10137 (ldbl_compat_symbol): New macro.
10138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10139 New macro.
10140
10141 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10142 Define __vfscanf_internal or __vfwscanf_internal, depending on
10143 COMPILE_WSCANF; don't define any other public symbols.
10144 Remove errval and code to set errp.
10145 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10146 as the mode_flags argument.
10147 (encode_error, conv_error, input_error): Don't set errval.
10148 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10149 Include vfscanf-internal.c.
10150 * stdio-common/vfscanf.c: New file defining the public entry
10151 point vfscanf, which calls __vfscanf_internal.
10152 * stdio-common/vfwscanf.c: New file defining the public entry
10153 point vfwscanf, which calls __vfwscanf_internal.
10154
10155 * stdio-common/iovfscanf.c: New file.
10156 * stdio-common/iovfwscanf.c: Likewise.
10157
10158 * stdio-common/Makefile (routines): Add vfscanf-internal,
10159 vfwscanf-internal, iovfscanf, iovfwscanf.
10160 * stdio-common/Versions: Mention GLIBC_2.29, so that
10161 it can be used in SHLIB_COMPAT expressions.
10162 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10163 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10164 Call __vfscanf_internal, instead of _IO_vfscanf.
10165 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10166 _IO_vfscanf.
10167 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10168 _IO_vfwscanf.
10169
10170 * libio/iovsscanf.c: Clean up includes, when possible. Use
10171 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10172 __vfscanf_internal or __vfwscanf_internal directly.
10173 * libio/iovswscanf.c: Likewise.
10174 * libio/swscanf.c: Likewise.
10175 * libio/vscanf.c: Likewise.
10176 * libio/vwscanf.c: Likewise.
10177 * libio/wscanf.c: Likewise.
10178 * stdio-common/isoc99_fscanf.c: Likewise.
10179 * stdio-common/isoc99_scanf.c: Likewise.
10180 * stdio-common/isoc99_sscanf.c: Likewise.
10181 * stdio-common/isoc99_vfscanf.c: Likewise.
10182 * stdio-common/isoc99_vscanf.c: Likewise.
10183 * stdio-common/isoc99_vsscanf.c: Likewise.
10184 * stdio-common/scanf.c: Likewise.
10185 * stdio-common/sscanf.c: Likewise.
10186 * wcsmbs/isoc99_fwscanf.c: Likewise.
10187 * wcsmbs/isoc99_swscanf.c: Likewise.
10188 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10189 * wcsmbs/isoc99_vswscanf.c: Likewise.
10190 * wcsmbs/isoc99_vwscanf.c: Likewise.
10191 * wcsmbs/isoc99_wscanf.c: Likewise.
10192
6b5c8607 101932018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
10194
10195 * include/time.h
10196 (__tz_compute): Replace time_t with __time64_t.
10197 (__tz_convert): Replace time_t* with __time64_t.
10198 (__offtime): Replace time_t* with __time64_t.
10199 * time/gmtime.c
10200 (__gmtime_r): Adjust call to __tz_convert.
10201 (gmtime): Likewise.
10202 * time/localtime.c
10203 (__localtime_r): Likewise.
10204 (localtime): Likewise.
10205 * time/offtime.c: Replace time_t with __time64_t.
10206 * time/tzset.c: Likewise.
10207
bd598da9
JM
102082018-12-04 Joseph Myers <joseph@codesourcery.com>
10209
10210 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10211 dynamic linker unless [$(run-built-tests) = yes].
10212
b2e93de0
DD
102132018-12-03 DJ Delorie <dj@delorie.com>
10214
10215 * support/test-container.c (check_for_unshare_hints): New.
10216 (main): Call it if unshare fails. Add support for "su" scriptlet
10217 command.
10218
477a02f6
JM
102192018-12-03 Joseph Myers <joseph@codesourcery.com>
10220
10221 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10222 'START' to indicate that start text should be output.
10223 (gen_test): Likewise.
10224 (main): Generate 'START' for first symbol or '--' line, or at end
10225 of input if not previously generated.
10226
6af956e5
RÁE
102272018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10228
10229 [BZ #19767]
10230 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10231 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10232 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10233 ALWAYS_USE_VSYSCALL.
10234
f5ec0ea9
AZ
102352018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10236
10237 [BZ #23913]
10238 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10239 new_argv by one.
10240
8cebd4ff
CD
102412018-12-03 Carlos O'Donell <carlos@redhat.com>
10242
10243 [BZ #23923]
10244 * locale/programs/localedef.c: Declare boolean hard_links default true.
10245 (options): Add --no-hard-links option.
10246 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10247 * locale/programs/localedef.h: Declare prototype for hard_links.
10248 * locale/programs/locfile.c (write_locale_data): Don't use hard
10249 links if hard_links is false.
10250
c22e4c2a
L
102512018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10254 cpu_features_basic.
10255 (__cache_sysconf): Likewise.
10256 (init_cacheinfo): Likewise.
10257 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10258 populate COMMON_CPUID_INDEX_80000007 and
10259 COMMON_CPUID_INDEX_80000008.
10260 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10261 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10262 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10263 (init_cpu_features): Use _Static_assert on
10264 index_arch_Fast_Unaligned_Load.
10265 __get_cpuid_registers and __get_arch_feature. Updated for
10266 cpu_features_basic. Set stepping in cpu_features.
10267 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10268 (FEATURE_INDEX_2): New.
10269 (FEATURE_INDEX_MAX): Changed to enum.
10270 (COMMON_CPUID_INDEX_D_ECX_1): New.
10271 (COMMON_CPUID_INDEX_80000007): Likewise.
10272 (COMMON_CPUID_INDEX_80000008): Likewise.
10273 (cpuid_registers): Likewise.
10274 (cpu_features_basic): Likewise.
10275 (CPU_FEATURE_USABLE): Likewise.
10276 (bit_arch_XXX_Usable): Likewise.
10277 (cpu_features): Use cpuid_registers and cpu_features_basic.
10278 (bit_arch_XXX): Reweritten.
10279 (bit_cpu_XXX): Likewise.
10280 (index_cpu_XXX): Likewise.
10281 (reg_XXX): Likewise.
10282 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10283 <support/check.h>.
10284 (CHECK_CPU_FEATURE): New.
10285 (CHECK_CPU_FEATURE_USABLE): Likewise.
10286 (cpu_kinds): Likewise.
10287 (do_test): Print vendor, family, model and stepping. Check
10288 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10289 (TEST_FUNCTION): Removed.
10290 Include <support/test-driver.c> instead of
10291 "../../test-skeleton.c".
10292 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10293 Check POPCNT instead of POPCOUNT.
10294 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10295
7b36d26b
ST
102962018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10297
10298 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10299 there is no element in `consts'.
10300
02cd5c1a
FW
103012018-12-01 Florian Weimer <fweimer@redhat.com>
10302
10303 * support/support_capture_subprocess.c
10304 (support_capture_subprocess): Check that pipe descriptors have
10305 expected values. Close original pipe descriptors in subprocess.
10306
fc493bc9
ST
103072018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10308
10309 [BZ #23032]
10310 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10311 attr with __pthread_default_barrierattr.
10312 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10313 attr with __pthread_default_condattr.
10314 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10315 attr with __pthread_default_mutexattr.
10316 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10317 attr with __pthread_default_rwlockattr.
10318
6310e6be
KW
103192018-12-01 Kemi Wang <kemi.wang@intel.com>
10320
10321 * manual/tunables.texi (POSIX Thread Tunables): New node.
10322 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10323 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10324 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10325 __pthread_tunables_init.
10326 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10327 (max_adaptive_count): Define.
10328 * nptl/pthread_mutex_conf.c: New file.
10329 * nptl/pthread_mutex_conf.h: New file.
10330 * sysdeps/generic/adaptive_spin_count.h: New file.
10331 * sysdeps/nptl/dl-tunables.list: New file.
10332 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10333 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10334 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10335 Likewise.
10336
8e67b39e
PP
103372018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10338
10339 [BZ #20544]
10340 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10341 * stdlib/on_exit.c (__on_exit): Likewise.
10342 * stdlib/Makefile (tests): Add tst-bz20544.
10343 * stdlib/tst-bz20544.c: New test.
10344
15b8d67e
RÁE
103452018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10346
10347 [BZ #19767]
10348 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10349 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10350 New.
10351
5e63c240
FW
103522018-11-30 Florian Weimer <fweimer@redhat.com>
10353
10354 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10355 Extend error logging.
10356 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10357 symbol.
10358
71058602 103592018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 10360
5fb7fc96
AZ
10361 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10362 __sigismember instead of sigismember.
10363 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10364 cancel_handler): New definitions.
10365 (do_system): Use posix_spawn instead of fork and execl and remove
10366 reentracy code.
10367 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10368 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10369 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10370 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10371 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10372 * sysdeps/unix/sysv/linux/system.c: Likewise.
10373
14d0e87d
AZ
10374 [BZ #22834]
10375 [BZ #17490]
10376 * NEWS: Add new semantic for atfork with popen and system.
10377 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10378 fork and execl.
10379
e5d262ef
TMQMF
103802018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10381
10382 [BZ #23690]
10383 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10384 modification order when accessing reloc_result->addr.
10385 * include/link.h (reloc_result): Add field init.
10386 * nptl/Makefile (tests): Add tst-audit-threads.
10387 (modules-names): Add tst-audit-threads-mod1 and
10388 tst-audit-threads-mod2.
10389 Add rules to build tst-audit-threads.
10390 * nptl/tst-audit-threads-mod1.c: New file.
10391 * nptl/tst-audit-threads-mod2.c: Likewise.
10392 * nptl/tst-audit-threads.c: Likewise.
10393 * nptl/tst-audit-threads.h: Likewise.
10394
7e1d4240
JM
103952018-11-30 Joseph Myers <joseph@codesourcery.com>
10396
10397 * scripts/gen-as-const.py: New file.
10398 * scripts/gen-as-const.awk: Remove.
10399 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10400 gen-as-const.py.
10401 ($(objpfx)test-as-const-%.c): Likewise.
10402
ce7387cc
L
104032018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10404
10405 * elf/dl-exception.c: Include <_itoa.h>.
10406
c6a5bdc1
ST
104072018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10408
10409 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10410 returned by __f_setlk.
10411
a5275ba5
L
104122018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10413 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10414
10415 * elf/Makefile (tests-internal): Add tst-create_format1.
10416 * elf/dl-exception.c (_dl_exception_create_format): Support
10417 %x, %lx and %zx.
10418 * elf/tst-create_format1.c: New file.
10419
3a67e81d
CAC
104202018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10421
10422 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10423 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10424 gnulib.)
10425 * argp/argp-help.c (__argp_failure): Likewise.
10426
4975f0c3
MH
104272018-11-29 Mao Han <han_mao@c-sky.com>
10428
10429 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10430 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10431 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10432 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10433 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10434 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10435 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10436 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10437 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10438 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10439 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10440 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10441 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10442 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10443 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10444 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10445 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10446 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10447 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10448 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10449 (R_CKCORE_TLS_TPOFF32): New defines.
10450
250102c8
FW
104512018-11-29 Florian Weimer <fweimer@redhat.com>
10452
10453 * posix/Makefile (before-compile): Remove testcases.h and
10454 ptestcases.h.
10455 (generated): Add testcases.h and ptestcases.h.
10456 (testcases.h, ptestcases.h): Move to $(objpfx).
10457 (runtests.o): Add dependency on testcases.h.
10458 (runptests.o): Add dependency on ptestcases.h.
10459 * posix/testcases.h, posix/ptestcases.h: Remove files.
10460 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10461 not touch posix/testcases.h and posix/ptestcases.h.
10462
96cd0558
FW
104632018-11-28 Florian Weimer <fweimer@redhat.com>
10464
10465 support: Add signal support to support_capture_subprocess_check.
10466 * support/capture_subprocess.h (support_capture_subprocess_check):
10467 Adjust comment and rename parameter.
10468 * support/support_capture_subprocess_check.c
10469 (print_actual_status): New function.
10470 (support_capture_subprocess_check): Support negative
10471 status_or_signal. Call print_actual_status.
10472 * support/tst-support_capture_subprocess.c (do_test): Call
10473 support_capture_subprocess_check.
10474 * libio/tst-vtables-common.c (termination_status)
10475 (init_termination_status): Remove.
10476 (check_for_termination): Adjust support_capture_subprocess_check
10477 call.
10478 (do_test): Remove call to init_termination_status.
10479
530504e3
JM
104802018-11-28 Joseph Myers <joseph@codesourcery.com>
10481
10482 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10483 source directory instead of a copy.
10484 (CommandList.create_copy_dir): Remove.
10485
9a0b6970
SL
104862018-11-28 Stefan Liebler <stli@linux.ibm.com>
10487
10488 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10489
47d8d9a2
FW
104902018-11-28 Florian Weimer <fweimer@redhat.com>
10491
10492 * support/support.h (support_quote_string): Do not use str
10493 parameter name.
10494
b473b7d8
JM
104952018-11-27 Joseph Myers <joseph@codesourcery.com>
10496
10497 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10498 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10499
c74a91de
FW
105002018-11-27 Florian Weimer <fweimer@redhat.com>
10501
10502 * support/support.h (support_quote_string): Declare.
10503 * support/support_quote_string.c: New file.
10504 * support/tst-support_quote_string.c: Likewise.
10505 * support/Makefile (libsupport-routines): Add
10506 support_quote_string.
10507 (tests): Add tst-support_quote_string.
10508
d527c860
FW
105092018-11-27 Florian Weimer <fweimer@redhat.com>
10510
10511 [BZ #23927]
10512 CVE-2018-19591
10513 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10514 descriptor leak in case of ENODEV error.
10515
979cfed0
RÁE
105162018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10517
10518 [BZ #19767]
10519 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10520 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10521 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10522
ce035c6e
CD
105232018-11-26 Carlos O'Donell <carlos@redhat.com>
10524
10525 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10526 Error for unknown lines.
10527
2bd0bfcc
JM
105282018-11-26 Joseph Myers <joseph@codesourcery.com>
10529
10530 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10531 Touch additional files.
10532
affec03b
FW
105332018-11-26 Florian Weimer <fweimer@redhat.com>
10534
10535 [BZ #23907]
10536 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10537 double-frees.
10538
8ae74ead
RÁE
105392018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10540
10541 [BZ #19767]
10542 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10543 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10544 SHARED. Include sysdep.h.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10546 ALWAYS_USE_VSYSCALL.
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10548 ALWAYS_USE_VSYSCALL.
10549
1e8bdc3a
RÁE
105502018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10551
10552 [BZ #19767]
10553 * nptl/Makefile (tests-static): Add tst-cond11-static.
10554 (tests): Likewise.
10555 * nptl/tst-cond11-static.c: New File.
10556 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10557 tst-affinity-static.
10558 (tests): Likewise.
10559 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10560 instead of SHARED.
10561 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10562 (USE_VSYSCALL): Likewise.
10563 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10564 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10565 instead of SHARED.
10566 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10567 SHARED.
10568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10569 New.
10570
1283c478
JM
105712018-11-23 Joseph Myers <joseph@codesourcery.com>
10572
10573 [BZ #23915]
10574 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10575 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10576 Undefine.
10577
c089fd80
L
105782018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10579
10580 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10581 (tst-cet-legacy-1a-ARGS): New.
10582 ($(objpfx)tst-cet-legacy-1a): New target.
10583 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10584
cc6c89fa
JM
105852018-11-22 Joseph Myers <joseph@codesourcery.com>
10586
95edd05c
JM
10587 * conform/conformtest.py (CompileSubTest.__init__): Set
10588 self.run_early to False.
10589 (ExecuteSubTest.__init__): Likewise.
10590 (HeaderTests.run): Try running all non-optional, non-XFAILed
10591 compilation tests in a single execution of the compiler.
10592
cc6c89fa
JM
10593 * conform/conformtest.py (CompileSubTest): New class.
10594 (ExecuteSubTest): Likewise.
10595 (ElementTest.run): Rename to gen_subtests. Append tests to
10596 self.subtests instead of running them.
10597 (ConstantTest.run): Likewise.
10598 (SymbolTest.run): Likewise.
10599 (TypeTest.run): Likewise.
10600 (TagTest.run): Likewise.
10601 (FunctionTest.run): Likewise.
10602 (VariableTest.run): Likewise.
10603 (MacroFunctionTest.run): Likewise.
10604 (MacroStrTest.run): Likewise.
10605 (HeaderTests.handle_test_line): Generate subtests for tests.
10606 (HeaderTests.run): Run subtests for tests.
10607
a502c529
SN
106082018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10609
10610 * math/Versions (GLIBC_2.29): Add pow.
10611 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10612 symbol.
10613 * math/w_pow.c: New file.
10614 * sysdeps/i386/fpu/w_pow.c: New file.
10615 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10617 and add necessary aliases.
10618 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10619 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10620 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10621 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10622 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10623 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10624 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10625 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10626 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10627 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10628 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10629 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10630 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10631 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10632 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10637 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10638 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10639 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10640 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10642 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10643 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10644 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10645 __pow.
10646 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10647 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10648 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10649
718d6542
SN
106502018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10651
10652 * math/Versions (GLIBC_2.29): Add log2.
10653 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10654 symbol.
10655 * math/w_log2.c: New file.
10656 * sysdeps/i386/fpu/w_log2.c: New file.
10657 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10658 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10659 and add necessary aliases.
10660 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10661 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10662 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10663 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10664 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10665 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10666 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10667 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10668 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10670 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10671 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10672 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10673 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10674 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10679 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10680 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10681 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10682 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10683 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10684 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10685 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10686
f29b7c49
SN
106872018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10688
10689 * math/Versions (GLIBC_2.29): Add log.
10690 * math/w_log_compat.c (__log_compat): Change to versioned compat
10691 symbol.
10692 * math/w_log.c: New file.
10693 * sysdeps/i386/fpu/w_log.c: New file.
10694 * sysdeps/ia64/fpu/e_log.S: Update.
10695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10696 and add necessary aliases.
10697 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10698 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10699 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10700 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10701 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10702 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10703 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10704 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10705 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10706 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10707 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10708 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10709 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10710 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10711 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10718 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10720 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10721 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10722 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10723 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10724 __log.
10725 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10726 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10727 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10728 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10729
c20a1056
SN
107302018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10731
10732 * math/Versions (GLIBC_2.29): Add exp and exp2.
10733 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10734 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10735 * math/w_exp_compat.c (__exp_compat): Likewise.
10736 * math/w_exp.c: New file.
10737 * math/w_exp2.c: New file.
10738 * sysdeps/i386/fpu/w_exp.c: New file.
10739 * sysdeps/i386/fpu/w_exp2.c: New file.
10740 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10741 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10742 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10743 and add necessary aliases.
10744 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10745 and add necessary aliases.
10746 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10747 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10748 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10749 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10750 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10751 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10752 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10753 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10754 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10755 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10756 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10757 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10758 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10759 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10760 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10761 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10762 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10767 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10768 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10769 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10771 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10772 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10773 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10774 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10775 (__ieee754_exp): Rename to __exp.
10776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10777 (__ieee754_exp): Rename to __exp.
10778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10779 (__ieee754_exp): Rename to __exp.
10780 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10781 __exp.
10782 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10783
bcdaad21
DD
107842018-11-20 DJ Delorie <dj@redhat.com>
10785
10786 * malloc/malloc.c (tcache_entry): Add key field.
10787 (tcache_put): Set it.
10788 (tcache_get): Likewise.
10789 (_int_free): Check for double free in tcache.
10790 * malloc/tst-tcfree1.c: New.
10791 * malloc/tst-tcfree2.c: New.
10792 * malloc/Makefile: Run the new tests.
10793 * manual/probes.texi: Document memory_tcache_double_free probe.
10794
10795 * dlfcn/dlerror.c (check_free): Prevent double frees.
10796
5770c0ad
WD
107972018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10798
10799 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10800
9a62a939
JM
108012018-11-20 Joseph Myers <joseph@codesourcery.com>
10802
10803 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10804 in tests. Use names for format arguments.
10805 (ConstantTest.run): Likewise.
10806 (SymbolTest.run): Likewise.
10807 (TypeTest.run): Likewise.
10808 (TagTest.run): Likewise.
10809 (FunctionTest.run): Likewise.
10810 (VariableTest.run): Likewise.
10811 (MacroFunctionTest.run): Likewise.
10812 (MacroStrTest.run): Likewise.
10813 (HeaderTests.__init__): Set self.num_tests.
10814 (HeaderTests.handle_test_line): Set test.num. Increment
10815 self.num_tests.
10816
b15b1a95
ST
108172018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10818
10819 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10820 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10821 SEEK_SET.
10822
0c7f97ae
MH
108232018-11-19 Mao Han <han_mao@c-sky.com>
10824
10825 * scripts/config.guess: Update to version 2018-08-29.
10826 * scripts/config.sub: Update to version 2018-08-29.
10827
35e3fbc4
FW
108282018-11-19 Florian Weimer <fweimer@redhat.com>
10829
10830 support: Print timestamps in timeout handler.
10831 * support/support_test_main.c (print_timestamp): New function.
10832 (signal_handler): Use it to print the termination time and the
10833 time of the last write to standard output.
10834
c75772e3
ZW
108352018-11-16 Zack Weinberg <zackw@panix.com>
10836 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10837
10838 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10839 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10840 argument.
10841 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10842 and add flags argument. Check flags instead of __ldbl_is_dbl when
10843 deciding whether to set is_long_double.
10844 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10845 passing zero for flags argument.
10846 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10847
10848 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10849 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10850 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10851 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10852 variable names. Remove libc_hidden_def/libc_hidden_proto from
10853 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10854 longer called from within the library.
10855 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10856 for __nldbl___vstrfmon_l, declare it explicitly.
10857
10858 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10859
346ef23f
ST
108602018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10861
10862 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10863 macros
10864 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10865 F_SETLK64, F_SETLKW64, respectively.
10866 * sysdeps/mach/hurd/f_setlk.c: New file.
10867 * sysdeps/mach/hurd/f_setlk.h: New file.
10868 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10869 f_setlk.
10870 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10871 (__libc_fcntl): Move non-flock operations to...
10872 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10873 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10874
de20b81a
PE
108752018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10876
5d8af156
PE
10877 mktime: DEBUG_MKTIME cleanup
10878 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10879 And it’s no longer needed now that glibc and Gnulib both have
10880 their own testing mechanisms for mktime.
10881 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10882
86aece3b
PE
10883 mktime: fix non-EOVERFLOW errno handling
10884 [BZ#23789]
10885 mktime was not properly reporting failures when the underlying
10886 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10887 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10888 The problem could happen on non-glibc platforms, with Gnulib.
10889 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10890 (tm_diff): ... this simpler function, which does not change errno.
10891 All callers changed to deal with errno themselves.
10892 (ranged_convert, __mktime_internal): Return failure immediately if
10893 the underlying function reports any failure other than EOVERFLOW.
10894 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10895 gap code fails.
10896
f6b3331b
PE
10897 mktime: fix bug with Y2038 DST transition
10898 [BZ#23789]
10899 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10900 mishandle a DST transition that jumps over the Y2038 boundary.
10901 No such DST transitions are known so this is only a theoretical
10902 bug, but we might as well do things right.
10903
efbdddc3
PE
10904 mktime: make more room for overflow
10905 [BZ#23789]
10906 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10907 This is so that we can add tm_diff results to a previous guess,
10908 which will be useful in a later patch.
10909
6c90d759
PE
10910 mktime: simplify offset guess
10911 [BZ#23789]
10912 * time/mktime.c (__mktime_internal): Omit excess precision.
10913
32c12f3f
PE
10914 mktime: new test for mktime failure
10915 [BZ#23789]
10916 Based on a test suggested by Albert Aribaud in:
10917 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10918 * time/Makefile (tests): Add bug-mktime4.
10919 * time/bug-mktime4.c: New file.
10920
de20b81a
PE
10921 mktime: fix EOVERFLOW bug
10922 [BZ#23789]
10923 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10924 Include libc-config.h, not config.h, for __set_errno.
10925 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10926
8c6c3fb0
ST
109272018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10928
10929 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10930 __attribute_copy__ to copy attributes from name. Drop static qualifier
10931 to avoid warnings about leaf attribute not having effect on static
10932 functions.
10933
6923f6db
FW
109342018-11-13 Florian Weimer <fweimer@redhat.com>
10935
10936 * malloc/malloc.c (fastbin_push_entry): New function.
10937 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10938 (REMOVE_FB): Remove macro.
10939 (_int_malloc): Use fastbin_pop_entry and reindent.
10940 (_int_free): Use fastbin_push_entry.
10941 (malloc_consolidate): Use atomic_exchange_acquire.
10942
53f5c659
JM
109432018-11-13 Joseph Myers <joseph@codesourcery.com>
10944
0c096dcf
JM
10945 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10946 alias attribute, not with strong_alias.
10947
9c4b457e
JM
10948 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10949 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10950 with additional parameter thread.
10951 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10952 in terms of __hidden_ver2.
10953 (hidden_tls_def): New macro.
10954 (libc_hidden_tls_def): Likewise.
10955 (rtld_hidden_tls_def): Likewise.
10956 (libm_hidden_tls_def): Likewise.
10957 (libmvec_hidden_tls_def): Likewise.
10958 (libresolv_hidden_tls_def): Likewise.
10959 (librt_hidden_tls_def): Likewise.
10960 (libdl_hidden_tls_def): Likewise.
10961 (libnss_files_hidden_tls_def): Likewise.
10962 (libnsl_hidden_tls_def): Likewise.
10963 (libnss_nisplus_hidden_tls_def): Likewise.
10964 (libutil_hidden_tls_def): Likewise.
10965 (libutil_hidden_tls_def): Likweise.
10966 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10967 libc_hidden_tls_def.
10968 (__sim_disabled_exceptions_thread): Likewise.
10969 (__sim_round_mode_thread): Likewise.
10970
53f5c659
JM
10971 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10972 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10973 copy attributes from name.
10974
092dfde6
JM
109752018-11-12 Joseph Myers <joseph@codesourcery.com>
10976
f578f97b
JM
10977 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10978 Use __attribute_copy__ to copy attributes from name.
10979
9a7c643a
JM
10980 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10981 with __hidden_ver1 call.
10982 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10983 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10984 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10985 (__cosf): Do not declare here.
10986 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10987 (__sincosf): Do not declare here.
10988 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10989 (__sinf): Do not declare here.
10990
092dfde6
JM
10991 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10992 (__BIG_ENDIAN): Likewise.
10993 (__BYTE_ORDER): Likewise.
10994 (strong_alias): Likewise.
10995 (_strong_alias): Likewise.
10996
1ecba1fa
FW
109972018-11-12 Florian Weimer <fweimer@redhat.com>
10998
10999 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11000 function. Move after the definition of in_smallbin_range. Do not
11001 use __builtin_expect for paths that lead to a noreturn function.
11002 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11003 because it is unclear whether this is in fact an unlikely
11004 condition.
11005 (_int_malloc, _int_free): Adjust.
11006 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11007 variables.
11008 * malloc/arena.c (heap_trim): Likewise.
11009
434c34bd
ST
110102018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11011
11012 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11013 it, free it if needed.
11014 (reauthenticate): Test and use ccwdir.
11015 (child_init_port): In non-resetids case, test and use ccwdir.
11016 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
11017 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11018 * hurd/hurd/port.h (_hurd_port_move): New function.
11019 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11020 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
11021 * hurd/Versions (_hurd_port_move): Export function.
11022 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11023 symbol.
58bb655a
ST
11024 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11025 of dtablesize for allocating dtable_cloexec.
434c34bd 11026
1626a1cf
MS
110272018-11-09 Martin Sebor <msebor@redhat.com>
11028
11029 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11030 it's already defined.
11031 (_strong_alias): Use __attribute_copy__.
11032 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11033 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11034 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11035 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11036 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11037 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11038 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11039 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11040 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11041 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11042 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11043 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11044 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11045 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11046 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11047 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11048 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11049 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11050 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11051
968ed530
GG
110522018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11053
11054 * misc/tst-efgcvt.c: Include support/check.h and
11055 support/test-driver.c. Do not include test-skeleton.c.
11056 (error_count): Remove.
11057 (output_error): Replace increments to error_count with calls to
11058 support_record_failure.
11059 (output_r_error): Likewise.
11060 (special): Likewise.
11061 (do_test): Unconditionally return zero.
11062 (TEST_FUNCTION): Remove.
11063
c3ec0972
JM
110642018-11-09 Joseph Myers <joseph@codesourcery.com>
11065
91faaa93
JM
11066 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11067 not $(@D)/scratch.
11068 ($(linknamespace-header-tests)): Likewise.
11069
c3ec0972
JM
11070 * conform/conformtest.py: New file.
11071 * conform/conformtest.pl: Remove.
11072 * conform/GlibcConform.pm: Likewise.
11073 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11074 (KEYWORDS_C99): Likewise.
11075 (KEYWORDS): Likewise.
11076 * conform/Makefile ($(conformtest-header-tests)): Use
11077 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11078 option. Use --header instead of --headers.
11079 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11080 function entries.
11081 * conform/data/spawn.h-data: Likewise.
11082 * conform/data/fcntl.h-data (openat): Add space after function
11083 name.
11084 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11085 (wcscasecmp_l): Likewise.
11086 * conform/data/termios.h-data (c_cc): Add space after element
11087 name.
11088
43257c33
GG
110892018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11090
11091 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11092 instead of manually comparing and reporting mismatching strings.
11093 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11094 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11095
e5de3b5b
JM
110962018-11-08 Joseph Myers <joseph@codesourcery.com>
11097
11098 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11099 __ASSUME_SOCKETCALL.
11100 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11101 (__ASSUME_SOCKETCALL): Remove.
11102 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11103 (__ASSUME_SOCKETCALL): Likewise.
11104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11105 (__ASSUME_SOCKETCALL): Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11107 (__ASSUME_SOCKETCALL): Likewise.
11108 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11109 (__ASSUME_SOCKETCALL): Likewise.
11110 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11111 (__ASSUME_SOCKETCALL): Likewise.
11112 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11113 (__ASSUME_SOCKETCALL): Likewise.
11114
d524fa6c
L
111152018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 [BZ #23509]
11118 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11119 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11120 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11121 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11122 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11123 lc_unknown.
11124
ac806026
AH
111252018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11126
11127 [BZ #17630]
11128 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11129
596cc360
JM
111302018-11-07 Joseph Myers <joseph@codesourcery.com>
11131
11132 [BZ #23867]
11133 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11134 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11135 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11136 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11137
00c86a37
AZ
111382018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11139
11140 * support/support_test_compare_string.c
11141 (support_test_compare_string): Fix printf format.
11142
1df872fd
FW
111432018-11-07 Florian Weimer <fweimer@redhat.com>
11144
11145 Implement TEST_COMPARE_STRING.
11146 * support/check.h (TEST_COMPARE_STRING): Define.
11147 (support_test_compare_string): Declare.
11148 * support/Makefile (libsupport-routines): Add
11149 support_test_compare_string.
11150 (tests): Add tst-test_compare_string.
11151 * support/support_test_compare_string.c: New file.
11152 * support/tst-test_compare_string.c: Likewise.
11153
295132ff
AS
111542018-11-07 Andreas Schwab <schwab@suse.de>
11155
11156 [BZ #23864]
11157 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11158 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11159 Undef.
11160
e143ceba
JM
111612018-11-06 Joseph Myers <joseph@codesourcery.com>
11162
11163 [BZ #23862]
11164 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11165 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11166 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11167 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11168 Likewise.
11169
4a938cb2
FW
111702018-11-06 Florian Weimer <fweimer@redhat.com>
11171
11172 [BZ #17405]
11173 * posix/Makefile (routines): Add spawn_faction_addchdir.
11174 (tests): Add tst-spawn-chdir.
11175 * posix/Versions (GLIBC_2.29): Add
11176 posix_spawn_file_actions_addchdir_np.
11177 * posix/spawn_faction_addchdir.c: New file.
11178 * posix/spawn_faction_destroy.c
11179 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11180 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11181 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11182 chdir_action.
11183 * posix/tst-spawn-chdir.c: New file.
11184 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11185 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11186 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11187 posix_spawn_file_actions_addchdir_np.
11188 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11189 Likewise.
11190 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11191 Likewise.
11192 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11193 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11194 Likewise.
11195 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11196 Likewise.
11197 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11198 Likewise.
11199 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11200 Likewise.
11201 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11202 Likewise.
11203 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11204 Likewise.
11205 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11206 (GLIBC_2.29): Likewise.
11207 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11208 (GLIBC_2.29): Likewise.
11209 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11210 (GLIBC_2.29): Likewise.
11211 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11212 (GLIBC_2.29): Likewise.
11213 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11214 Likewise.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11216 (GLIBC_2.29): Likewise.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11218 (GLIBC_2.29): Likewise.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11220 (GLIBC_2.29): Likewise.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11222 (GLIBC_2.29): Likewise.
11223 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11224 Likewise.
11225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11226 Likewise.
11227 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11228 Likewise.
11229 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11230 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11231 Likewise.
11232 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11233 Likewise.
11234 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11235 Likewise.
11236 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11237 Likewise.
11238
7597b0c7
GG
112392018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11240
11241 * misc/Makefile (tests): Add tst-ldbl-error.
11242 * misc/tst-ldbl-error.c: New file.
11243
9771e6cb
GG
112442018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11245
11246 * misc/Makefile (tests): Add tst-ldbl-warn.
11247 * misc/tst-ldbl-warn.c: New file.
11248
2c03961f
GG
112492018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11250
11251 * argp/Makefile (tests): Add tst-ldbl-argp.
11252 * argp/tst-ldbl-argp.c: New file.
11253
6d6ee046
AS
112542018-11-05 Arjun Shankar <arjun@redhat.com>
11255
11256 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11257 __gconv_path_elem and call __gconv_get_path unconditionally.
11258
bd3b0fba
AS
112592018-11-05 Andreas Schwab <schwab@suse.de>
11260
11261 [BZ #22927]
11262 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11263 creating the first helper thread failed.
11264
2e96e980
ST
112652018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11266
11267 * sysdeps/mach/hurd/msync.c: New file.
11268
6e36266c
FW
112692018-11-02 Florian Weimer <fweimer@redhat.com>
11270
11271 * support/shell-container.c (copy_func): Call
11272 support_copy_file_range instead of copy_file_range to support
11273 cross-device copies.
11274
599f7bee
FW
112752018-11-02 Florian Weimer <fweimer@redhat.com>
11276
11277 * support/test-container.c: Include <libc-pointer-arith.h> for
11278 ALIGN_UP.
11279
ff48ea67
ZL
112802018-11-01 Zong Li <zong@andestech.com>
11281
af1d5782
ZL
11282 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11283 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11284 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11285 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11286
ff48ea67
ZL
11287 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11288 variable to avoid overlap arguments.
11289
daea71c2
JM
112902018-11-01 Joseph Myers <joseph@codesourcery.com>
11291
eac4405a
JM
11292 * posix/bug-regex22.c (main): Use puts with distinct error
11293 messages for unexpected success of re_compile_pattern, not printf
11294 with NULL argument to %s.
11295
6f30e59f
JM
11296 * stdio-common/bug22.c: Include <libc-diag.h>.
11297 (do_test): Disable -Wformat-overflow= warnings around fprintf
11298 calls outputting more than INT_MAX characters.
11299 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11300 around printf call with NULL %s argument.
11301
daea71c2
JM
11302 [BZ #23848]
11303 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11304 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11305 Undefine.
11306 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11307 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11308 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11309 (__ASSUME_SENDTO_SYSCALL): Likewise.
11310 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11311 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11312 [!__arch64__].
11313 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11314 (__ASSUME_CONNECT_SYSCALL): Likewise.
11315 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11316 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11317 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11318 Define.
11319 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11320 Likewise.
11321 [__LINUX_KERNEL_VERSION >= 0x040400]
11322 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11323 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11324 Remove.
11325 (listen): Likewise.
11326 (setsockopt): Likewise.
11327
8e3c00db
FN
113282018-11-01 Fredrik Noring <noring@nocrew.org>
11329
11330 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11331 with the ISA override.
11332
ab74d59f 113332018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
9c3dbdbe
RAE
11334
11335 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11336 #endif.
11337
e3a88b3e
ST
113382018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11339
a67377e7 11340 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 11341 translate the error message.
a67377e7
ST
11342 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11343 printing trailing whitespaces refused by git.
11344 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11345 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 11346 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 11347
3ca235ed
JM
113482018-10-30 Joseph Myers <joseph@codesourcery.com>
11349
11350 * conform/linknamespace.py: New file.
11351 * conform/linknamespace.pl: Remove file.
11352 * conform/Makefile ($(linknamespace-header-tests)): Use
11353 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11354 option.
11355
60708030
FW
113562018-10-30 Florian Weimer <fweimer@redhat.com>
11357
11358 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11359 memory leaks.
11360
a91e9301
FW
113612018-10-30 Florian Weimer <fweimer@redhat.com>
11362
11363 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11364
07da99aa
FW
113652018-10-30 Florian Weimer <fweimer@redhat.com>
11366
11367 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11368 support_blob_repeat.
11369
f5e7e959
FW
113702018-10-30 Florian Weimer <fweimer@redhat.com>
11371
11372 Avoid spurious test failures in stdlib/test-bz22786.
11373 * support/Makefile (libsupport-routines): Add blob_repeat.
11374 (tests): Add tst-support_blob_repeat.
11375 * support/blob_repeat.h: New file.
11376 * support/blob_repeat.c: Likewise.
11377 * support/tst-support_blob_repeat.c: Likewise.
11378 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11379 support_blob_repeat_allocate.
11380
2dd12baa
AS
113812018-10-30 Andreas Schwab <schwab@suse.de>
11382
11383 [BZ #23125]
11384 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11385 Don't use tail call.
11386 * elf/tst-unwind-main.c: New file.
11387 * elf/Makefile (tests): Add tst-unwind-main.
11388 (CFLAGS-tst-unwind-main.c): Define.
11389
6b5c8607 113902018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
11391
11392 [BZ #23791]
11393 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11394 n_cs_precedes to 0.
11395 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11396
c6982f7e
JM
113972018-10-29 Joseph Myers <joseph@codesourcery.com>
11398
954cf3c2
JM
11399 * conform/glibcconform.py: Do not import shutil.
11400 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11401 of mkdtemp.
11402
c6982f7e
JM
11403 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11404 critic_missing for versions before 3.4.
11405 * configure: Regenerated.
11406 * manual/install.texi (Tools for Compilation): Document
11407 requirement for Python to build glibc.
11408 * INSTALL: Regenerated.
11409 * Rules [PYTHON]: Make code unconditional.
11410 * benchtests/Makefile [PYTHON]: Likewise.
11411 * conform/Makefile [PYTHON]: Likewise.
11412 * manual/Makefile [PYTHON]: Likewise.
11413 * math/Makefile [PYTHON]: Likewise.
11414
46a7f24c
ST
114152018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11416
11417 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 11418 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 11419 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
11420 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11421 _hurd_intr_rpc_msg_about_to global point to start of controlled
11422 assembly snippet. Make it check canceled flag.
11423 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11424 the _hurd_intr_rpc_msg_about_to point.
11425 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11426 issue, remove cancel flag check.
46a7f24c 11427
e5b8756d
JM
114282018-10-26 Joseph Myers <joseph@codesourcery.com>
11429
11430 * scripts/build-many-glibcs.py: Remove compatibility for missing
11431 os.cpu_count and re.fullmatch.
11432
ba5b14c7
SN
114332018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11434
11435 [BZ #23822]
11436 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11437 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11438 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11439
fe61f17c
JM
114402018-10-25 Joseph Myers <joseph@codesourcery.com>
11441
11442 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11443 macro.
11444
7c5e34d7
FW
114452018-10-25 Florian Weimer <fweimer@redhat.com>
11446
11447 [BZ #23562]
11448 [BZ #23821]
11449 XFAIL siginfo_t si_band conform test on sparc64.
11450 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11451 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11452 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11453 (conformtest-xfail-conds): Add sparc64-linux.
11454 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11455 sparc64.
11456 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11457
5b784e88
JM
114582018-10-25 Joseph Myers <joseph@codesourcery.com>
11459
11460 * elf/elf.h (NT_MIPS_DSP): New macro.
11461 (NT_MIPS_FP_MODE): Likewise.
11462
41432ebe
ZL
114632018-10-25 Zong Li <zong@andestech.com>
11464
11465 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11466 name by adding the file extension (.so).
11467
d026efea
ST
114682018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11469
11470 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11471 (test-xfail-ISO11/threads.h/linknamespace,
11472 test-xfail-ISO11/threads.h/conform): Add.
11473
b71ac2b9
JM
114742018-10-24 Joseph Myers <joseph@codesourcery.com>
11475
11476 * math/gen-libm-test.py: Import os.
11477 (ALL_FLOATS_MANUAL): New constant.
11478 (ALL_FLOATS_SUFFIX): Likewise.
11479 (Ulps.all_functions): New function.
11480 (real_all_ulps): Likewise.
11481 (generate_err_table_sub): Likewise.
11482 (generate_err_table): Likewise.
11483 (main): Handle -s and -m options.
11484 * manual/libm-err-tab.pl: Remove.
11485 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11486 instead of libm-err-tab.pl.
11487 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11488 != no].
11489 * manual/install.texi (Tools for Compilation): Document
11490 requirement for Python to build manual.
11491 * INSTALL: Regenerated.
11492
6b5c8607 114932018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
11494
11495 * bits/time64.h: New file.
11496 * include/time.h: Replace internal_time_t with __time64_t.
11497 * posix/bits/types (__time64_t): Add.
11498 * stdlib/Makefile: Add bits/time64.h to includes.
11499 * time/tzfile.c: Replace internal_time_t with __time64_t.
11500
97d91fcc 115012018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
11502
11503 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11504 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11505 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11506 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11507 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11508 prototype.
11509 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11510 * posix/spawn_faction_addclose.c
11511 (__posix_spawn_file_actions_addclose): Add hidden definition.
11512 * posix/spawn_faction_adddup2.c
11513 (__posix_spawn_file_actions_adddup2): Likewise.
11514 * posix/spawn_faction_destroy.c
11515 (__posix_spawn_file_actions_destroy): Likewise.
11516 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11517 Likewise.
11518 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11519 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11520 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11521 Likewise.
11522 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11523 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11524 Likewise.
11525
2954daf0
AS
115262018-10-24 Andreas Schwab <schwab@suse.de>
11527
11528 [BZ #18093]
11529 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11530 format cache.
11531 * elf/cache.c (print_cache): Likewise.
11532
6b5c8607 115332018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
11534
11535 * bits/timesize.h: New file.
11536 * stdlib/Makefile (headers): Add bits/timesize.h.
11537 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11538 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11539 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11540 (__SEM_PAD_AFTER_TIME): Likewise.
11541 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11542 (__SHM_PAD_AFTER_TIME): Likewise.
11543 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11544 (__MSQ_PAD_BEFORE_TIME): Likewise.
11545 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11546 (__SEM_PAD_BEFORE_TIME): Likewise.
11547 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11548 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11549 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
11550 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11552 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
11553 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11554 (__SEM_PAD_BEFORE_TIME): Likewise.
11555 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11556 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11557 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11558 (__MSQ_PAD_BEFORE_TIME): Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11560 (__SEM_PAD_BEFORE_TIME): Likewise.
11561 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11562 (__SHM_PAD_BEFORE_TIME): Likewise.
11563 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11564 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11565 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11566
7cc65773
L
115672018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11570 USE_RDTSCP is defined.
11571 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11572 USE_RDTSCP is defined.
11573
c3d8dc45
AZ
115742018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11575
18ad0de6
AZ
11576 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11577 defined.
11578
c3d8dc45
AZ
11579 [BZ #23709]
11580 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11581 independently of other flags.
11582
f1034472
FW
115832018-10-23 Florian Weimer <fweimer@redhat.com>
11584
11585 * time/tst-mktime2.c (N_STRINGS): Remove.
11586 (set_timezone): New function.
11587 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11588 (mktime_test1): Report localtime failure and check errno value.
11589 Use TEST_COMPARE.
11590 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11591 (do_test): Remove alarm call. Use set_timezone and array_length.
11592
367d7cc2
AS
115932018-10-23 Andreas Schwab <schwab@suse.de>
11594
11595 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11596 (__start_context): Use END instead of PSEUDO_END.
11597
be8ff03f
JM
115982018-10-22 Joseph Myers <joseph@codesourcery.com>
11599
029ad711
JM
11600 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11601 version to 4.19.
11602
8190520f
JM
11603 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11604 version to 4.19.
11605
be8ff03f
JM
11606 [BZ #23793]
11607 * wcsmbs/c32rtomb.c: New file.
11608 * wcsmbs/mbrtoc32.c: Likewise.
11609 * wcsmbs/tst-c32-state.c: Likewise.
11610 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11611 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11612 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11613 (tests): Add tst-c32-state.
11614 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11615 $(gen-locales).
11616
2dd8e58c
L
116172018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11618
11619 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11620 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11621
d0a74159
JM
116222018-10-19 Joseph Myers <joseph@codesourcery.com>
11623
11624 [BZ #23794]
11625 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11626 pair and return 0 in that case, and use saved character to
11627 interpret following character.
11628 * wcsmbs/tst-c16-surrogate.c: New file.
11629 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11630 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11631 Depend on $(gen-locales)
11632
f997b4be
IYM
116332018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11634
11635 [BZ #23562]
11636 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11637 (struct siginfo_t): Use correct type for si_band.
11638
53b2bb87
FW
116392018-10-19 Florian Weimer <fweimer@redhat.com>
11640
11641 [BZ #23689]
11642 * resource/bits/types/struct_rusage.h (struct rusage): Update
11643 comment on struct. Remove extraneous field comment.
11644
0a271c8f
DM
116452018-10-18 David S. Miller <davem@davemloft.net>
11646
94a3a27f
DM
11647 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11648 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11649 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11650 sysdep_routines in subdir elf.
11651 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11652 version for __vdso_clock_gettime.
11653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11654 Define.
11655 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11656 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11657
0a271c8f
DM
11658 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11659
72771e53
L
116602018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11661
11662 * sysdeps/i386/init-arch.h: Removed.
11663 * sysdeps/i386/i586/init-arch.h: Likewise.
11664 * sysdeps/i386/i686/init-arch.h: Likewise.
11665 * sysdeps/i386/i686/hp-timing.h: Likewise.
11666 * sysdeps/x86_64/hp-timing.h: Likewise.
11667 * sysdeps/i386/isa.h: New file.
11668 * sysdeps/i386/i586/isa.h: Likewise.
11669 * sysdeps/i386/i686/isa.h: Likewise.
11670 * sysdeps/x86_64/isa.h: Likewise.
11671 * sysdeps/x86/hp-timing.h: New file.
11672 * sysdeps/x86/init-arch.h: Include <isa.h>.
11673
c2b7ccad
JM
116742018-10-17 Joseph Myers <joseph@codesourcery.com>
11675
11676 * math/libm-test-pow.inc (pow_test_data): Do not allow
11677 divide-by-zero exception for pow(+/- 0, -Inf).
11678
26756e57
ZW
116792018-10-17 Zack Weinberg <zackw@panix.com>
11680
11681 * manual/job.texi (Job Control is Optional): Remove node, as
11682 job control has not been optional in quite some time.
11683 (Job Control): Mention briefly that systems older than
11684 POSIX.1-2001 might not support job control.
11685 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11686 defined on systems conforming to POSIX.1-2001.
11687
c5288d37
AS
116882018-10-17 Arjun Shankar <arjun@redhat.com>
11689
11690 [BZ #22062]
11691 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11692 indentation.
11693 * (__gconv_read_conf): Mark function static.
11694 * (once): New static variable.
11695 * (__gconv_load_conf): New function.
11696 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11697 * iconv/gconv_db.c (once): Remove static variable.
11698 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11699 __gconv_read_conf.
11700 * (__gconv_find_transform): Likewise.
11701 * iconv/tst-iconv-mt.c: New test.
11702 * iconv/Makefile: Add tst-iconv_mt.
11703
8c8d2a8a
JM
117042018-10-17 Joseph Myers <joseph@codesourcery.com>
11705
11706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
11707 bits/shm-pad.h.
11708 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11709 (shmatt_t): Define as __syscall_ulong_t.
11710 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11711 and [__SHM_PAD_AFTER_TIME].
11712 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11713 Define shm_segsz and associated padding based on
11714 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11715 Use __syscall_ulong_t instead of unsigned long int.
11716 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11717 unsigned long int.
11718 [__USE_MISC] (struct shm_info): Likewise.
11719 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11720 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11721 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11722 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11723 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11724 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11725 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11726 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11727 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11728 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11729 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11730
11731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
11732 bits/shmlba.h.
11733 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11734 (SHMLBA): Remove macro.
11735 (__getpagesize): Remove function declaration.
11736 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11737 <bits/shmlba.h>.
11738 (SHMLBA): Remove macro.
11739 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11740 <bits/shmlba.h>.
11741 (SHMLBA): Remove macro.
11742 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11743 <bits/shmlba.h>.
11744 (SHMLBA): Remove macro.
11745 (__getpagesize): Remove function declaration.
11746 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11747 <bits/shmlba.h>.
11748 (SHMLBA): Remove macro.
11749 (__getshmlba): Remove function declaration.
11750 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11751 (SHMLBA): Remove macro.
11752 (__getpagesize): Remove function declaration.
11753 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11754 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11755 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11756 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11757 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11758 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11759 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11760 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11761 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11762 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11763
403b4feb
SL
117642018-10-17 Stefan Liebler <stli@linux.ibm.com>
11765
11766 [BZ #23275]
11767 * nptl/tst-mutex10.c: New File.
11768 * nptl/Makefile (tests): Add tst-mutex10.
11769 (tst-mutex10-ENV): New variable.
11770 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11771 Ensure that elision path is used if elision is available.
11772 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11773 Likewise.
11774 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11775 Likewise.
11776 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11777 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11778 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11779 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11780 Likewise.
11781 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11782 (__pthread_mutex_cond_lock_adjust): Likewise.
11783 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11784 Likewise.
11785 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11786 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11787 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11788 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11789 Add comments.
11790 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11791 Use atomic_load_relaxed and atomic_store_relaxed.
11792 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11793 Use atomic_store_relaxed.
11794
ce5a7de6
AS
117952018-10-17 Andreas Schwab <schwab@suse.de>
11796
11797 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11798 * crypt/badsalttest.c (TIMEOUT): Likewise.
11799 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11800 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11801 * io/test-lfs.c (TIMEOUT): Likewise.
11802 * libio/tst-atime.c (TIMEOUT): Likewise.
11803 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11804 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11805 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11806 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11807 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11808 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11809 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11810 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11811 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11812 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11813 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11814 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11815 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11816 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11817 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11818 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11819 * nptl/tst-once2.c (TIMEOUT): Likewise.
11820 * nptl/tst-once3.c (TIMEOUT): Likewise.
11821 * nptl/tst-once4.c (TIMEOUT): Likewise.
11822 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11823 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11824 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11825 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11826 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11827 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11828 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11829 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11830 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11831 * posix/tst-chmod.c (TIMEOUT): Likewise.
11832 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11833 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11834 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11835 * posix/tst-regex2.c (TIMEOUT): Likewise.
11836 * posix/tst-waitid.c (TIMEOUT): Likewise.
11837 * rt/tst-aio.c (TIMEOUT): Likewise.
11838 * rt/tst-aio10.c (TIMEOUT): Likewise.
11839 * rt/tst-aio4.c (TIMEOUT): Likewise.
11840 * rt/tst-aio5.c (TIMEOUT): Likewise.
11841 * rt/tst-aio6.c (TIMEOUT): Likewise.
11842 * rt/tst-aio64.c (TIMEOUT): Likewise.
11843 * rt/tst-aio7.c (TIMEOUT): Likewise.
11844 * rt/tst-aio9.c (TIMEOUT): Likewise.
11845 * rt/tst-clock.c (TIMEOUT): Likewise.
11846 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11847 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11848 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11849 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11850 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11851 * rt/tst-timer4.c (TIMEOUT): Likewise.
11852 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11853 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11854 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11855 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11856 * time/tst-ftime.c (TIMEOUT): Likewise.
11857 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11858
6b5c8607 118592018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
11860
11861 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11862 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11863 for thunderX2.
11864
bcdb1bfa
JM
118652018-10-15 Joseph Myers <joseph@codesourcery.com>
11866
11867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11868 bits/sem-pad.h.
11869 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11870 instead of <bits/wordsize.h>.
11871 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11872 and [__SEM_PAD_AFTER_TIME].
11873 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11874 __syscall_ulong_t instead of unsigned long int.
11875 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11876 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11877 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11878 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11879 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11880 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11881 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11882 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11883 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11884 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11885 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11886
f4efbdfb
PE
118872018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11888
620a5d4c
PE
11889 regex: simplify by using intprops.h
11890 [BZ#23744]
11891 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11892 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11893 intprops.h defines them.
11894
f4efbdfb
PE
11895 regex: __builtin_expect → __glibc_unlikely
11896 [BZ#23744]
11897 This refactoring was prompted by a problem when the regex code is
11898 used as part of Gnulib and when the builder’s compiler does not grok
11899 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11900 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11901 Although this refactoring does not fix the problem directly,
11902 we might as well have Gawk use the now-preferred glibc style for when
11903 __builtin_expect is unavailable.
11904 * posix/regex_internal.h (BE): Remove.
11905 All uses replaced by __glibc_unlikely or __glibc_likely.
11906
9f9feb6d
JM
119072018-10-11 Joseph Myers <joseph@codesourcery.com>
11908
11909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11910 bits/msq-pad.h.
11911 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11912 instead of <bits/wordsize.h>.
11913 (msgqnum_t): Define as __syscall_ulong_t.
11914 (msglen_t): Likewise.
11915 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11916 and [__MSQ_PAD_AFTER_TIME].
11917 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11918 __syscall_ulong_t instead of unsigned long int.
11919 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11920 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11921 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11922 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11923 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11924 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11925 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11926 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11927 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11928 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11929 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11930
b9c0f6c1
JM
119312018-10-10 Joseph Myers <joseph@codesourcery.com>
11932
2a4b25fa
JM
11933 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11934 (struct shmid_ds): Condition padding after time fields on
11935 [__WORDSIZE == 32].
11936 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11937 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11938 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11939
19e62f26
JM
11940 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11941 (struct semid_ds): Condition padding after time fields on
11942 [__WORDSIZE == 32].
11943 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11944 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11945 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11946 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11947
b9c0f6c1
JM
11948 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11949 (struct msqid_ds): Condition padding after time fields on
11950 [__WORDSIZE == 32].
11951 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11952 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11953 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11954 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11955
97785a61
SN
119562018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11957
11958 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11959
ed643089
SN
119602018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11961
11962 * libio/tst-readline.c (TIMEOUT): Define.
11963
5a580643
PE
119642018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11965
11966 mktime fix for Gnulib + coreutils
11967 [BZ#23745]
11968 This fix affects only Gnulib. Problem discovered when
11969 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11970 * time/mktime.c:
11971 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11972 Do not define since it is not used. Defining an unused static
11973 function prompts a warning from GCC when Coreutils is configured
11974 with --enable-gcc-warnings.
11975
c892ae04
LS
119762018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11977
11978 * benchtests/scripts/compare_bench.py (main): set float type on
11979 threshold argument.
11980
ab74d59f 119812018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
a68ec8ea
RL
11982
11983 [BZ #23740]
11984 * localedata/locales/kl_GL (mon): Update, the relative case.
11985 (alt_mon): Add, fill with month names in the nominative case.
11986 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11987 (d_fmt): Set to "%b %d %Y".
11988
a1987621
JM
119892018-10-04 Joseph Myers <joseph@codesourcery.com>
11990
47c49251
JM
11991 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11992 <bits/mman-linux.h>.
11993 (PROT_READ): Don't define here.
11994 (PROT_WRITE): Likewise.
11995 (PROT_EXEC): Likewise.
11996 (PROT_NONE): Likewise.
11997 (PROT_GROWSDOWN): Likewise.
11998 (PROT_GROWSUP): Likewise.
11999 (MAP_SHARED): Likewise.
12000 (MAP_PRIVATE): Likewise.
12001 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12002 [__USE_MISC] (MAP_FILE): Likewise.
12003 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12004 [__USE_MISC] (MAP_ANON): Likewise.
12005 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12006 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12007 (MCL_CURRENT): Likewise.
12008 (MCL_FUTURE): Likewise.
12009 (MCL_ONFAULT): Likewise.
12010 [__USE_MISC] (MADV_NORMAL): Likewise.
12011 [__USE_MISC] (MADV_RANDOM): Likewise.
12012 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12013 [__USE_MISC] (MADV_WILLNEED): Likewise.
12014 [__USE_MISC] (MADV_DONTNEED): Likewise.
12015 [__USE_MISC] (MADV_FREE): Likewise.
12016 [__USE_MISC] (MADV_REMOVE): Likewise.
12017 [__USE_MISC] (MADV_DONTFORK): Likewise.
12018 [__USE_MISC] (MADV_DOFORK): Likewise.
12019 [__USE_MISC] (MADV_HWPOISON): Likewise.
12020 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12021 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12022 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12023 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12024 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12025 (__MAP_ANONYMOUS): New macro.
12026 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12027 <bits/mman-linux.h> inclusion.
12028 (MAP_FIXED): Likewise.
12029 (MS_SYNC): Likewise.
12030 (MS_ASYNC): Likewise.
12031 (MS_INVALIDATE): Likewise.
12032 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12033 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12034 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12035 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12036 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12037 [__USE_MISC] (MADV_DODUMP): Likewise.
12038 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12039 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12040
a1987621
JM
12041 [BZ #23735]
12042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12043 Define.
12044 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12045 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12046 Add test-nldbl-redirect.
12047 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12048 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12049 $(objpfx)libnldbl_nonshared.a.
12050
e7624d70
SL
120512018-10-04 Stefan Liebler <stli@linux.ibm.com>
12052
12053 * support/support.h (support_objdir_elf_ldso): New variable.
12054 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12055 * support/Makefile (CFLAGS-support_paths.c): Add definition
12056 for OBJDIR_ELF_LDSO_PATH.
12057 * support/test-container.c (main): Search for the ld.so
12058 which is also used by the testsuite.
12059
ab74d59f 120602018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
dae3ed95
RL
12061
12062 [BZ #20209]
12063 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12064 should be "sap" rather than "sab".
12065 (day): Fix spelling of Sunday, should be "sapaat" rather than
12066 "sabaat".
12067
f346b5b3
JM
120682018-10-02 Joseph Myers <joseph@codesourcery.com>
12069
12070 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12071
4a06ceea
MJ
120722018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12073
12074 [BZ #19444]
12075 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12076 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12077 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12078
a06fc4a5
AZ
120792018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12080
12081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12082
a1ccc065
L
120832018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12086 Add -mrtm.
12087 (CFLAGS-elision-unlock.c): Likewise.
12088 (CFLAGS-elision-timed.c): Likewise.
12089 (CFLAGS-elision-trylock.c): Likewise.
12090 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12091
0b727ed4
AZ
120922018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12093
12094 [BZ #21037]
12095 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12096 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12097 new fd_to_filename interface.
12098 * libio/freopen64.c (freopen64): Likewise.
12099 * libio/tst-memstream.h: New file.
12100 * libio/tst-memstream4.c: Likewise.
12101 * libio/tst-wmemstream4.c: Likewise.
12102 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12103 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12104 and remove internal dynamic allocation.
12105
d0e91e8c
JM
121062018-10-01 Joseph Myers <joseph@codesourcery.com>
12107
12108 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12109 (MREMAP_MAYMOVE): Do not define here.
12110 [__USE_GNU] (MREMAP_FIXED): Likewise.
12111 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12112 (MREMAP_MAYMOVE): Define here instead.
12113 [__USE_GNU] (MREMAP_FIXED): Likewise.
12114 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12115 (MREMAP_MAYMOVE): Remove.
12116 [__USE_GNU] (MREMAP_FIXED): Likewise.
12117
c52944e8
JM
121182018-09-28 Joseph Myers <joseph@codesourcery.com>
12119
12120 * math/fromfp.h: Do not include <math_private.h>.
12121 * math/s_cacosh_template.c: Likewise.
12122 * math/s_casin_template.c: Likewise.
12123 * math/s_casinh_template.c: Likewise.
12124 * math/s_ccos_template.c: Likewise.
12125 * math/s_cproj_template.c: Likewise.
12126 * math/s_fdim_template.c: Likewise.
12127 * math/s_fmaxmag_template.c: Likewise.
12128 * math/s_fminmag_template.c: Likewise.
12129 * math/s_iseqsig_template.c: Likewise.
12130 * math/s_ldexp_template.c: Likewise.
12131 * math/s_nextdown_template.c: Likewise.
12132 * math/w_log1p_template.c: Likewise.
12133 * math/w_scalbln_template.c: Likewise.
12134 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12135 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12136 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12137 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12138 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12139 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12140 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12141 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12142 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12143 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12144 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12145 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12146 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12147 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12148 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12149 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12150 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12155 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12156 * sysdeps/ieee754/k_standardf.c: Likewise.
12157 * sysdeps/ieee754/k_standardl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12159 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12160 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12166 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12167 * sysdeps/ieee754/s_signgam.c: Likewise.
12168 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12169 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12170 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12171 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12172 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12173 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12174 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12175 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12176 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12177 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12178 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12179 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12180 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12181 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12182 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12183 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12184 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12185 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12186 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12187 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12188 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12189 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12190 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12191 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12192 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12193 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12194 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12195 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12196 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12197 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12198 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12199 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12200 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12201 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12202 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12203 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12204 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12205 <math_private.h>.
12206 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12207
7b1f9406
L
122082018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12209
12210 [BZ #23716]
12211 * sysdeps/i386/dl-cet.c: Removed.
12212 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12213 prototype.
12214 (_dl_runtime_profile_shstk): Likewise.
12215 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12216 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12217
7a16bdbb
AZ
122182018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12219
12220 [BZ #23579]
12221 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12222 do_test_with_invalid_iov): New tests.
12223 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12224 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12225 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12226 errno is ENOSYS.
12227 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12228 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12229 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12230
9755bc46
JM
122312018-09-27 Joseph Myers <joseph@codesourcery.com>
12232
81dca813
JM
12233 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12234 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12235 (MATH_REDIRECT_BINARY_ARGS): New macro.
12236 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12237 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12238 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12239 header inclusion.
12240 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12242 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12243 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12248 Likewise.
12249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12250 Likewise.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12253 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12254 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12256 Likewise.
12257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12258 Likewise.
12259 * sysdeps/generic/math_private_calls.h
12260 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12261 Do not declare and define as an inline function.
12262 * math/divtc3.c (__divtc3): Use copysign functions instead of
12263 __copysign variants.
12264 * math/multc3.c (__multc3): Likewise.
12265 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12266 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12267 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12268 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12269 Likewise.
12270 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12271 (__ieee754_yn): Likewise.
12272 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12273 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12274 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12275 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12276 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12277 (__sin): Likewise.
12278 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12280 Likewise.
12281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12282 Likewise.
12283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12284 Likewise.
12285 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12286 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12287 Likewise.
12288 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12289 (__ieee754_ynf): Likewise.
12290 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12291 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12292 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12293 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12294 Likewise.
12295 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12296 (__ieee754_ynl): Likewise.
12297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12300 Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12302 (__ieee754_ynl): Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12306 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12307 Likewise.
12308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12309 (__ieee754_ynl)
12310 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12312 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12313 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12314 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12315
9755bc46
JM
12316 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12317 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12318 using MATH_REDIRECT.
12319 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12320 header inclusion.
12321 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12324 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12325 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12332 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12333 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12335 (round): Redirect to __round.
12336 (__roundl): Call round instead of __round.
12337 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12338 Remove macro.
12339 [_ARCH_PWR5X] (__roundf): Likewise.
12340 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12341 functions instead of __round variants.
12342 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12343 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12344 Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12346 Likewise.
12347 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12348 Likewise.
12349 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12351 __lroundl.
12352 (__ieee754_expl): Call roundl instead of __roundl.
12353
f841c97e
AS
123542018-09-27 Andreas Schwab <schwab@suse.de>
12355
12356 [BZ #23717]
12357 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12358 (do_test): Make st1 static.
12359
6ca8284e
AS
123602018-09-26 Andreas Schwab <schwab@suse.de>
12361
12362 [BZ #23707]
12363 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12364 * elf/Makefile (tests): Add tst-unwind-ctor.
12365 (modules-names): Add tst-unwind-ctor-lib.
12366 ($(objpfx)tst-unwind-ctor): Depend on
12367 $(objpfx)tst-unwind-ctor-lib.so.
12368
61d8b5fe
JM
123692018-09-26 Joseph Myers <joseph@codesourcery.com>
12370
12371 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12372 file. Most contents moved from ....
12373 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12374 and include <bits/mman-map-flags-generic.h>.
12375 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12376 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12377 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12378 <bits/mman-map-flags-generic.h>.
12379 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12380 macros defined in <bits/mman-map-flags-generic.h>.
12381 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12382 <bits/mman-map-flags-generic.h>.
12383 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12384 defined in <bits/mman-map-flags-generic.h>.
12385
46341286
AS
123862018-09-26 Andreas Schwab <schwab@suse.de>
12387
12388 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12389 output.
12390
b5c45e83
AZ
123912018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12392 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12393 Fangrui Song <maskray@google.com>
12394
12395 [BZ #20480]
12396 * config.make.in (have-textrel_ifunc): New define.
12397 * configure.ac: Add check if linker supports textrel relocation with
12398 ifunc.
12399 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12400 tst-ifunc-textrel.
12401 (CFLAGS-tst-ifunc-textrel.c): New rule.
12402 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12403 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12404 * elf/tst-ifunc-textrel.c: New file.
12405
8ea4d2b7
JM
124062018-09-25 Joseph Myers <joseph@codesourcery.com>
12407
d62f9ec0
JM
12408 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12409 <bits/procfs-prregset.h>.
12410 (prgregset_t): Define using __prgregset_t.
12411 (prfpregset_t): Define using __prfpregset_t.
12412 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12413 (sysdep_headers): Add bits/procfs-prregset.h.
12414 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12415 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12416 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12417 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12418
d0d8eb43
JM
12419 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12420 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12421 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12422 pr_uid and pr_gid.
12423 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12424 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12425 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12426 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12427 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12428 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12429 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12430 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12431 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12432 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12433 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12434 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12435 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12436 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12437 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12439 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12440 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12441 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12442 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12443 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12444 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12445 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12446 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12447
8ea4d2b7
JM
12448 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12449 AArch64 version. Include <bits/procfs.h>.
12450 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12451 (sysdep_headers): Add bits/procfs.h.
12452 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12453 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12454 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12455 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12456 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12457 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12458 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12459 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12460 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12461 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12462 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12463 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12464 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12465 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12466 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12468 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12469
c7027166
AZ
124702018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12471
12472 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12473 Use libsupport.
12474
335a3b0a
AS
124752018-09-25 Arjun Shankar <arjun@redhat.com>
12476
12477 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12478 (__gconv_max_path_elem_len): Likewise.
12479 (__gconv_nmodules): Likewise.
12480 (__gconv_get_path): Likewise.
12481 (path_elem): Move to ...
12482 * iconv/gconv_conf.c: ... here.
12483 (__gconv_get_path): Mark function static.
12484 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12485 * iconv/gconv_open.c: ... here.
12486
462d348c
AS
124872018-09-24 Andreas Schwab <schwab@suse.de>
12488
12489 * scripts/haveversions.awk: New file.
12490 * Makerules ($(common-objpfx)Versions.def)
12491 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12492 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12493 Move rules ...
12494 * Makeconfig ($(common-objpfx)Versions.def)
12495 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12496 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12497 ... here.
12498 ($(common-objpfx)Versions.mk): New rule. Include it.
12499 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12500 Emit error if build-obsolete-nsl = yes.
12501 * manual/install.texi (Configuring and compiling): Describe
12502 --enable-obsolete-nsl as unavaiable after version 2.28.
12503 * INSTALL: Regenerate.
12504
f0458cf4
AZ
125052018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12506
12507 * NEWS: Add note about new TLE support on powerpc64le.
12508 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12509 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12510 __ununsed1.
12511 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12512 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12513 * sysdeps/powerpc/powerpc32/sysdep.h,
12514 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12515 ABORT_TRANSACTION): Remove macros.
12516 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12518 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12520 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12521 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12522 usage.
12523 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12524
ab74d59f 125252018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
434d45fd
RL
12526
12527 [BZ #10425]
12528 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12529 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12530 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12531 which is the same as in it_IT.
12532 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12533 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12534
d90c9b1a
JM
125352018-09-20 Joseph Myers <joseph@codesourcery.com>
12536
7abf97be
JM
12537 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12538 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12539 using MATH_REDIRECT.
12540 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12541 header inclusion.
12542 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12543 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12544 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12545 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12546 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12552 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12553 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12554 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12555 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12556 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12557 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12558 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12560 (ceil): Redirect to __ceil.
12561 (floor): Redirect to __floor.
12562 (trunc): Redirect to __trunc.
12563 (__truncl): Call trunc instead of __trunc.
12564 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12565 Remove macro.
12566 [_ARCH_PWR5X] (__truncf): Likewise.
12567 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12568 trunc functions instead of __trunc variants.
12569 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12570 Likewise.
12571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12572 Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12574 Likewise.
12575 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12576 Likewise.
12577
d90c9b1a
JM
12578 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12579 [__i586__ || __pentium__].
12580 [__i486__]: Handle explicitly.
12581 (HAS_CPUID): Define to 1 if above macros are undefined.
12582 (HAS_I586): Likewise.
12583 (HAS_I686): Likewise.
12584
db9a8ad4
FW
125852018-09-20 Florian Weimer <fweimer@redhat.com>
12586
12587 * misc/tst-gethostid.c: New file.
12588 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12589 (tst-gethostid): Link with -ldl.
12590
1214ba06
MY
125912018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12592
12593 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12594 value from gethostbyname_r.
12595
791b350d
CD
125962018-09-19 Carlos O'Donell <carlos@redhat.com>
12597
12598 * stdlib/tst-setcontext9.c (f1): Rename to...
12599 (f1a): ... this.
12600 (f1b): New function implementing lower half of f1 in alternate stack.
12601
8e6fd2bd
PE
126022018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12603
e1080e7e
PE
12604 Fix mktime localtime offset confusion
12605 [BZ #23603]
12606 * include/time.h (__mktime_internal): The localtime offset is now
12607 of type long int instead of time_t. This is the longstanding type
12608 in glibc, and it is more than enough to represent difference
12609 between localtime and gmtime even if it is 32 bits and time_t is
12610 64. Changing it now will let us avoid an unnecessary change when
12611 time_t is widened to 64 bits on 32-bit platforms.
12612 * time/mktime-internal.h (mktime_offset_t): Now long int.
12613
8e6fd2bd
PE
12614 Merge mktime, timegm from upstream Gnulib
12615 [BZ #23603][BZ #16346]
12616 This fixes some obscure problems with integer overflow.
12617 Although it looks scary, it is almost all a byte-for-byte copy
12618 from Gnulib, and the Gnulib code has been tested reasonably well.
12619 * include/intprops.h: New file, copied from Gnulib.
12620 * include/verify.h, time/mktime-internal.h:
12621 New tiny files, simplified from Gnulib.
12622 * time/mktime.c: Copy from Gnulib. This has the following changes:
12623 Do not include config.h if DEBUG_MKTIME is nonzero.
12624 Include stdbool.h, intprops.h, verify.h.
12625 Include string.h only if needed.
12626 Include stdlib.h on MS-Windows.
12627 Include mktime-internal.h.
12628 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12629 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12630 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12631 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12632 simplify later conditionals; default the others to zero. Use
12633 these conditionals to express only the code needed on the current
12634 platform. In uses of these conditionals, explicitly spell out how
12635 _LIBC affects things, so it’s easier to review from a glibc
12636 viewpoint.
12637 (WRAPV): Remove; no longer needed now that we have
12638 systematic overflow checking.
12639 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12640 compartmentalize tzset issues. Move system-dependent tzsettish
12641 code here from mktime.
12642 (verify): Remove; now done by verify.h. All uses changed.
12643 (long_int): Use a more-conservative definition, to avoid
12644 integer overflow.
12645 (SHR): Remove, replacing with ...
12646 (shr): New function, which means we needn’t worry about side
12647 effects in args, and conversion analysis is simpler.
12648 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12649 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12650 (time_t_avg, time_t_add_ok): Remove.
12651 (mktime_min, mktime_max): New constants.
12652 (leapyear, isdst_differ): Use bool for booleans.
12653 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12654 Use long_int, not time_t, for mktime differences.
12655 (long_int_avg): New function, replacing time_t_avg.
12656 INT_ADD_WRAPV replaces time_t_add_ok.
12657 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12658 All uses changed.
12659 (convert_time): New function.
12660 (ranged_convert): Use it.
12661 (__mktime_internal): Last arg now points to mktime_offset_t, not
12662 time_t. All uses changed. This is a no-op on glibc, where
12663 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12664 offset guess. Directly check for integer overflow instead of
12665 using a heuristic that works only 99.9...% of the time.
12666 Access *OFFSET only once, to avoid an unlikely race if the
12667 compiler delays a load and if this cascades into a signed integer
12668 overflow.
12669 (mktime): Move tzsettish code to my_tzset, and move
12670 localtime_offset to within mktime so that it doesn’t
12671 need a separate ifdef.
12672 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12673 instead of localtime.
12674 * time/timegm.c: Copy from Gnulib. This has the following changes:
12675 Include mktime-internal.h.
12676 [!_LIBC]: Include config.h and time.h. Do not include
12677 timegm.h or time_r.h. Make __mktime_internal a macro,
12678 and include mktime-internal.h to get its declaration.
12679 (timegm): Temporary is now mktime_offset_t, not time_t.
12680 This affects only Gnulib.
12681
83a552b0
WD
126822018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12683
12684 [BZ #23637]
12685 * string/test-strstr.c (pr23637): New function.
12686 (test_main): Add tests with longer needles.
12687 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12688 * string/strstr.c (AVAILABLE): Likewise.
12689
d7347278
SN
126902018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12691
12692 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12693
424c4f60
SN
126942018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12695
12696 * NEWS: Mention pow improvements.
12697 * math/Makefile (type-double-routines): Add e_pow_log_data.
12698 * sysdeps/generic/math_private.h (__exp1): Remove.
12699 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12700 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12701 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12702 contraction.
12703 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12704 (exp_inline): Remove.
12705 (__ieee754_exp): Only single double input is handled.
12706 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12707 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12708 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12709 (__pow_log_data): Define.
12710 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12711 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12712 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12713 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12714 contraction.
12715 (CFLAGS-e_pow-fma4.c): Likewise.
12716
e4e4fde5
PE
127172018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12718
dab9c348
PE
12719 Simplify tzfile fstat failure code
12720 [BZ #21716]
12721 * time/tzfile.c (__tzfile_read): Simplify slightly.
12722
e4e4fde5
PE
12723 Fix tzfile low-memory assertion failure
12724 [BZ #21716]
12725 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12726 when registering time zone abbreviations.
12727
50bc59ca
JM
127282018-09-18 Joseph Myers <joseph@codesourcery.com>
12729
d3a43e49
JM
12730 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12731 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12732 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12733 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12734 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12735 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12736 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12737 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12738 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12739
50bc59ca
JM
12740 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12741 __ceil.
12742 (__ceill): Call ceil instead of __ceil.
12743 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12744 __floor.
12745 (__floorl): Call floor instead of __floor.
12746
89983cb3
JM
127472018-09-17 Joseph Myers <joseph@codesourcery.com>
12748
71223ef9
JM
12749 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12750 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12751 using MATH_REDIRECT.
12752 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12753 header inclusion.
12754 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12757 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12758 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12761 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12766 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12767 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12770 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12772 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12773 Remove macro.
12774 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12775 functions instead of __ceil variants.
12776 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12777 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12778 Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12780 Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12782 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12783 Likewise.
12784 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12785 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12786
89983cb3
JM
12787 [BZ #21286]
12788 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12789 constant.
12790 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12791 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12792 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12793 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12794 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12795 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12796 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12797 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12798 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12799 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12800 (ILL_BADIADDR): Remove constant.
12801 (TRAP_BRANCH): Likewise.
12802 (TRAP_HWBKPT): Likewise.
12803
e44acb20
JM
128042018-09-14 Joseph Myers <joseph@codesourcery.com>
12805
3f7f1d18
JM
12806 [BZ #23656]
12807 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12808 Remove [_MIPS_SIM = _ABIN32] conditional case.
12809 (struct elf_prpsinfo): Likewise.
12810
d59f3e5e
JM
12811 [BZ #23649]
12812 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12813 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12814 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12815 Likewise.
12816 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12817 elf_prpsinfo): Likewise.
12818 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12819 elf_prpsinfo): Likewise.
12820 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12821 Likewise.
12822
f29b6f17
JM
12823 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12824 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12825 using MATH_REDIRECT.
12826 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12827 header inclusion.
12828 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12829 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12830 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12831 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12834 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12835 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12838 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12839 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12840 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12841 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12842 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12843 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12844 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12845 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12846 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12852 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12853 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12854 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12855 __rint variants.
12856 * math/e_scalbf.c (invalid_fn): Likewise.
12857 * math/e_scalbl.c (invalid_fn): Likewise.
12858 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12859 Likewise.
12860 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12861 Likewise.
12862 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12863 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12864 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12865 Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12867 Likewise.
12868 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12869 Likewise.
12870 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12871 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12872
e44acb20
JM
12873 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12874 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12875 New macro.
12876 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12877 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12878 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12879 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12880 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12881 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12882 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12883 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12884 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12885 && !NO_MATH_REDIRECT] (floor): Likewise.
12886 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12887 header inclusion.
12888 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12891 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12895 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12900 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12901 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12904 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12905 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12906 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12907 Remove macro.
12908 [_ARCH_PWR5X] (__floorf): Likewise.
12909 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12910 inline function.
12911 [__SSE4_1__] (__floorf): Likewise.
12912 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12913 instead of __floor variants.
12914 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12915 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12916 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12917 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12918 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12919 * math/w_tgamma_compat.c (__tgamma): Likewise.
12920 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12921 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12922 * math/w_tgammal_compat.c (__tgammal): Likewise.
12923 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12925 Likewise.
12926 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12927 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12928 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12929 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12930 Likewise.
12931 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12932 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12933 Likewise.
12934 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12936 Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12938 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12939 Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12942 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12943 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12944 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12945 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12946
221e4bab
JM
129472018-09-12 Joseph Myers <joseph@codesourcery.com>
12948
12949 * elf/Makefile (modules-names-tests): New variable.
12950
3e08ff54
SN
129512018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12952
12953 * NEWS: Mention log2 improvements.
12954 * math/Makefile (type-double-routines): Add e_log2_data.
12955 * sysdeps/i386/fpu/e_log2_data.c: New file.
12956 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12957 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12958 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12959 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12961 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12962
f41b0a43
SN
129632018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12964
12965 * NEWS: Mention log improvement.
12966 * math/Makefile (type-double-routines): Add e_log_data.
12967 * sysdeps/i386/fpu/e_log_data.c: New file.
12968 * sysdeps/ia64/fpu/e_log_data.c: New file.
12969 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12970 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12971 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12972 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12973 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12974 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12975
5a274db4
L
129762018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12977 Xuepeng Guo <xuepeng.guo@intel.com>
12978
12979 [BZ #23606]
12980 * sysdeps/i386/start.S: Include <sysdep.h>
12981 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12982 enabled. Add cfi_undefined (eip).
12983
b1176270
JM
129842018-09-11 Joseph Myers <joseph@codesourcery.com>
12985
4e7fbdd7
JM
12986 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12987 (MOVQ): Likewise.
12988 (EXTRACT_WORDS64): Likewise.
12989 (INSERT_WORDS64): Likewise.
12990 (GET_FLOAT_WORD): Likewise.
12991 (SET_FLOAT_WORD): Likewise.
12992
b1176270
JM
12993 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12994 argument.
12995 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12996 build, but not for second build if --full-gcc. Use
12997 --enable-languages=all for second build if --full-gcc.
12998 (get_parser): Add --full-gcc option.
12999 (main): Update call to Context.
13000
ab74d59f 130012018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
527f355e
RL
13002
13003 [BZ #10797]
13004 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13005 Single Quotation Mark).
13006 (thousands_sep): Likewise.
13007 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13008 * localedata/locales/it_IT (thousands_sep): Use ".".
13009 (grouping): Use "3;3".
13010
7244f13d
JM
130112018-09-10 Joseph Myers <joseph@codesourcery.com>
13012
13013 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13014 x86_64 and i686 configs using --enable-obsolete-rpc
13015 --enable-obsolete-nsl.
13016
38245425
SL
130172018-09-06 Stefan Liebler <stli@linux.ibm.com>
13018
13019 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13020
28669f86
SL
130212018-09-06 Stefan Liebler <stli@linux.ibm.com>
13022
13023 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13024 Increment size of new_argv by one.
13025
ab74d59f 130262018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
a33650d1
RL
13027
13028 [BZ #17426]
13029 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13030 * localedata/locales/ar_IN (d_fmt): Likewise.
13031 * localedata/locales/bhb_IN (d_fmt): Likewise.
13032 * localedata/locales/bho_IN (d_fmt): Likewise.
13033 * localedata/locales/bn_BD (d_fmt): Likewise.
13034 * localedata/locales/bn_IN (d_fmt): Likewise.
13035 * localedata/locales/doi_IN (d_fmt): Likewise.
13036 * localedata/locales/gu_IN (d_fmt): Likewise.
13037 * localedata/locales/hi_IN (d_fmt): Likewise.
13038 * localedata/locales/hne_IN (d_fmt): Likewise.
13039 * localedata/locales/kn_IN (d_fmt): Likewise.
13040 * localedata/locales/mag_IN (d_fmt): Likewise.
13041 * localedata/locales/mai_IN (d_fmt): Likewise.
13042 * localedata/locales/mjw_IN (d_fmt): Likewise.
13043 * localedata/locales/ml_IN (d_fmt): Likewise.
13044 * localedata/locales/mni_IN (d_fmt): Likewise.
13045 * localedata/locales/mr_IN (d_fmt): Likewise.
13046 * localedata/locales/pa_IN (d_fmt): Likewise.
13047 * localedata/locales/raj_IN (d_fmt): Likewise.
13048 * localedata/locales/sat_IN (d_fmt): Likewise.
13049 * localedata/locales/sd_IN (d_fmt): Likewise.
13050 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13051 * localedata/locales/ta_IN (d_fmt): Likewise.
13052 * localedata/locales/ta_LK (d_fmt): Likewise.
13053 * localedata/locales/tcy_IN (d_fmt): Likewise.
13054 * localedata/locales/ur_IN (d_fmt): Likewise.
13055
13056 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13057 * localedata/locales/ks_IN (d_fmt): Likewise.
13058 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13059
13060 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13061 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13062 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13063 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13064
d114e6a7
SN
130652018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13066
13067 * NEWS: Mention exp and exp2 improvements.
13068 * math/Makefile (libm-support): Remove t_exp.
13069 (type-double-routines): Add math_err and e_exp_data.
13070 * sysdeps/aarch64/libm-test-ulps: Update.
13071 * sysdeps/arm/libm-test-ulps: Update.
13072 * sysdeps/i386/fpu/e_exp_data.c: New file.
13073 * sysdeps/i386/fpu/math_err.c: New file.
13074 * sysdeps/i386/fpu/t_exp.c: Remove.
13075 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13076 * sysdeps/ia64/fpu/math_err.c: New file.
13077 * sysdeps/ia64/fpu/t_exp.c: Remove.
13078 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13079 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13080 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13082 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13083 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13084 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13085 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13086 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13087 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13088 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13089 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13090 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13091 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13094
b9d8c474
JM
130952018-09-05 Joseph Myers <joseph@codesourcery.com>
13096
b7cdc2ae
JM
13097 * sysdeps/alpha/fpu/math_private.h: Remove.
13098
b9d8c474
JM
13099 * sysdeps/generic/math_private.h
13100 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13101 Move this inline function ....
13102 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13103 * include/math.h [!_ISOMAC]: To here....
13104
418d99e6
JM
131052018-09-04 Joseph Myers <joseph@codesourcery.com>
13106
13107 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13108 code ....
13109 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13110 * include/fenv.h [!_ISOMAC]: ... to here.
13111 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13112 (feraiseexcept): Likewise.
13113 * math/fromfp.h: Do not include <fenv_private.h>.
13114 * math/s_cexp_template.c: Likewise.
13115 * math/s_csin_template.c: Likewise.
13116 * math/s_csinh_template.c: Likewise.
13117 * math/s_ctan_template.c: Likewise.
13118 * math/s_ctanh_template.c: Likewise.
13119 * math/s_iseqsig_template.c: Likewise.
13120 * math/w_acos_compat.c: Likewise.
13121 * math/w_acosf_compat.c: Likewise.
13122 * math/w_acosl_compat.c: Likewise.
13123 * math/w_asin_compat.c: Likewise.
13124 * math/w_asinf_compat.c: Likewise.
13125 * math/w_asinl_compat.c: Likewise.
13126 * math/w_j0_compat.c: Likewise.
13127 * math/w_j0f_compat.c: Likewise.
13128 * math/w_j0l_compat.c: Likewise.
13129 * math/w_j1_compat.c: Likewise.
13130 * math/w_j1f_compat.c: Likewise.
13131 * math/w_j1l_compat.c: Likewise.
13132 * math/w_jn_compat.c: Likewise.
13133 * math/w_jnf_compat.c: Likewise.
13134 * math/w_log10_compat.c: Likewise.
13135 * math/w_log10f_compat.c: Likewise.
13136 * math/w_log10l_compat.c: Likewise.
13137 * math/w_log2_compat.c: Likewise.
13138 * math/w_log2f_compat.c: Likewise.
13139 * math/w_log2l_compat.c: Likewise.
13140 * math/w_log_compat.c: Likewise.
13141 * math/w_logf_compat.c: Likewise.
13142 * math/w_logl_compat.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13152 * sysdeps/ieee754/k_standardl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13165 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13170 * math/w_ilogb_template.c: Include <fenv.h> instead of
13171 <fenv_private.h>.
13172 * math/w_llogb_template.c: Likewise.
13173 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13175
70e2ba33
JM
131762018-09-03 Joseph Myers <joseph@codesourcery.com>
13177
13178 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13179 * math/fromfp.h: Include <fenv_private.h>.
13180 * math/math-narrow.h: Likewise.
13181 * math/s_cexp_template.c: Likewise.
13182 * math/s_csin_template.c: Likewise.
13183 * math/s_csinh_template.c: Likewise.
13184 * math/s_ctan_template.c: Likewise.
13185 * math/s_ctanh_template.c: Likewise.
13186 * math/s_iseqsig_template.c: Likewise.
13187 * math/w_acos_compat.c: Likewise.
13188 * math/w_acosf_compat.c: Likewise.
13189 * math/w_acosl_compat.c: Likewise.
13190 * math/w_asin_compat.c: Likewise.
13191 * math/w_asinf_compat.c: Likewise.
13192 * math/w_asinl_compat.c: Likewise.
13193 * math/w_ilogb_template.c: Likewise.
13194 * math/w_j0_compat.c: Likewise.
13195 * math/w_j0f_compat.c: Likewise.
13196 * math/w_j0l_compat.c: Likewise.
13197 * math/w_j1_compat.c: Likewise.
13198 * math/w_j1f_compat.c: Likewise.
13199 * math/w_j1l_compat.c: Likewise.
13200 * math/w_jn_compat.c: Likewise.
13201 * math/w_jnf_compat.c: Likewise.
13202 * math/w_llogb_template.c: Likewise.
13203 * math/w_log10_compat.c: Likewise.
13204 * math/w_log10f_compat.c: Likewise.
13205 * math/w_log10l_compat.c: Likewise.
13206 * math/w_log2_compat.c: Likewise.
13207 * math/w_log2f_compat.c: Likewise.
13208 * math/w_log2l_compat.c: Likewise.
13209 * math/w_log_compat.c: Likewise.
13210 * math/w_logf_compat.c: Likewise.
13211 * math/w_logl_compat.c: Likewise.
13212 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13213 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13214 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13215 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13240 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13241 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13242 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13243 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13244 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13245 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13247 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13248 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13249 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13250 * sysdeps/ieee754/k_standardl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13281 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13282 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13287 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13288 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13289 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13290 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13291 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13292 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13293 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13294 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13295 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13296 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13297 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13298 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13299 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13300 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13301 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13302 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13303 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13304 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13305 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13306 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13307 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13308 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13309 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13310 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13311 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13312 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13313 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13314 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13315 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13316 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13317 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13318 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13319 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13320 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13321 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13322
a6e8926f
PP
133232018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13324
13325 [BZ #20271]
13326 * include/stdio.h (__libc_fatal): Mention newline in comment.
13327 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13328 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13330 * nss/nsswitch.c (__nss_next2): Likewise.
13331 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13332 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13333 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13334 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13335 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13336 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13337 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13338 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13339 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13340 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13341 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13342 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13343 (__netlink_assert_response): Likewise.
13344
2bbd06bc
JM
133452018-08-31 Joseph Myers <joseph@codesourcery.com>
13346
13347 * conform/glibcconform.py: New file.
13348 * conform/list-header-symbols.py: Likewise.
13349 * conform/list-header-symbols.pl: Remove.
13350 * conform/Makefile (tests-special): Only add linknamespace tests
13351 if [PYTHON].
13352 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13353
81b9d87b
L
133542018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13355
13356 [BZ #23597]
13357 * support/Makefile (libsupport-routines): Add
13358 support_copy_file_range and xcopy_file_range.
13359 * support/support.h: Include <sys/types.h>.
13360 (support_copy_file_range): New prototype.
13361 * support/support_copy_file_range.c: New file. Copied and
13362 modified from io/copy_file_range-compat.c.
13363 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13364 instead of copy_file_range.
13365 * support/xcopy_file_range.c: New file.
13366 * support/xunistd.h (xcopy_file_range): New prototype.
13367
d330f31a
CD
133682018-08-30 Carlos O'Donell <carlos@redhat.com>
13369
13370 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13371 xpthread_create and xpthread_join.
13372
2bda273a
FW
133732018-08-30 Florian Weimer <fweimer@redhat.com>
13374
13375 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13376
3bad2358
SL
133772018-08-30 Stefan Liebler <stli@linux.ibm.com>
13378
13379 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13380 if malloc fails.
13381
09c12efc
JM
133822018-08-29 Joseph Myers <joseph@codesourcery.com>
13383
13384 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13385 and minus_oflow as non-finite.
13386
ff6b2450
JM
133872018-08-28 Joseph Myers <joseph@codesourcery.com>
13388
13389 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13390 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13391 moved to fenv_private.h except for ...
13392 (TOINT_INTRINSICS): Kept in math_private.h.
13393 (roundtoint): Likewise.
13394 (converttoint): Likewise.
13395 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13396 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13397 * sysdeps/arm/math_private.h: Remove.
13398 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13399 ....
13400 * sysdeps/generic/math_private.h: ... this file. Include
13401 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13402 Include <fenv_private.h>. Remove functions and macros moved to
13403 fenv_private.h.
13404 * sysdeps/i386/fpu/math_private.h: Remove.
13405 * sysdeps/mips/math_private.h: Move to ....
13406 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13407 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13408 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13409 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13410 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13411 * sysdeps/powerpc/fpu/math_private.h: Do not include
13412 <fenv_private.h>.
13413 * sysdeps/riscv/rvf/math_private.h: Move to ....
13414 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13415 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13416 <fenv_private.h>.
13417 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13418 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13419 * sysdeps/sparc/fpu/math_private.h: Remove.
13420 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13421 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13422 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13423 <fenv_private.h>.
13424 * sysdeps/x86_64/fpu/math_private.h: Do not include
13425 <sysdeps/i386/fpu/fenv_private.h>.
13426
761404b7
FW
134272018-08-28 Florian Weimer <fweimer@redhat.com>
13428
13429 [BZ #23578]
13430 * posix/tst-regcomp-truncated.c: New file.
13431 * posix/Makefile (tests): Add it.
13432 (tst-regcomp-truncated.out): Depend on generated locales.
13433
d6c44c3d
FW
134342018-08-28 Florian Weimer <fweimer@redhat.com>
13435
13436 * support/test-container.c (main): Treat unshare failure with
13437 EPERM as an unsupported test.
13438
745664bd
FW
134392018-08-28 Florian Weimer <fweimer@redhat.com>
13440
13441 [BZ #23520]
13442 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13443 * nscd/netgroupcache.c
13444 (addgetnetgrentX): Add tofreep parameter. Do not free
13445 heap-allocated buffer.
13446 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13447 (addgetnetgrentX_ignore): New function.
13448 (addgetnetgrent): Call it.
13449 (readdgetnetgrent): Likewise.
13450
c8dd67e7
RS
134512018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13452
13453 * string/memmem.c: Use memcmp for first match.
13454
ab74d59f 134552018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
5abedf97
RL
13456
13457 [BZ #17426]
13458 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13459
86de0499
DD
134602018-08-27 DJ Delorie <dj@redhat.com>
13461
13462 * support/Makefile (others): Don't list programs explicitly as a
13463 dependency of "others".
13464
c3ab2110
JM
134652018-08-27 Joseph Myers <joseph@codesourcery.com>
13466
13467 * sysdeps/generic/math-tests-trap-force.h: New file.
13468 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13469 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13470 * sysdeps/powerpc/math-tests.h: Remove file.
13471 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13472
6b5c8607
TS
134732018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13474 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
13475
13476 [BZ #23538]
13477 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13478 Update r to include the set wake-request flag if waiters are
13479 remaining after spinning.
13480
4061791f
JM
134812018-08-27 Joseph Myers <joseph@codesourcery.com>
13482
13483 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13484
bc680b33
PE
134852018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13486
761404b7 13487 [BZ #23578]
bc680b33
PE
13488 regex: fix uninitialized memory access
13489 I introduced this bug into gnulib in commit
13490 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13491 eventually it was merged into glibc. The bug was found by
13492 project-repo <bugs@feusi.co> and reported here:
13493 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13494 Diagnosis and draft fix reported by Assaf Gordon here:
13495 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13496 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13497 * posix/regex_internal.c (build_wcs_upper_buffer):
13498 Fix bug when mbrtowc returns 0.
13499
02458a52
CD
135002018-08-24 Carlos O'Donell <carlos@redhat.com>
13501
13502 * po/be.po: Update translation.
13503
acc2842a
DD
135042018-08-24 DJ Delorie <dj@delorie.com>
13505
13506 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13507 $(libunwind).
13508
6c3a8a9d
PP
135092018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13510
b39d961c
TS
13511 [BZ #23400]
13512 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13513 create temporary files in source tree.
6c3a8a9d 13514
895ef79e
JM
135152018-08-24 Joseph Myers <joseph@codesourcery.com>
13516
13517 * sysdeps/generic/math-tests-trap.h: New file.
13518 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13519 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13520 * sysdeps/aarch64/math-tests.h: Remove file.
13521 * sysdeps/arm/math-tests.h: Likewise.
13522 * sysdeps/riscv/math-tests.h: Likewise.
13523 * sysdeps/aarch64/math-tests-trap.h: New file.
13524 * sysdeps/arm/math-tests-trap.h: Likewise.
13525 * sysdeps/riscv/math-tests-trap.h: Likewise.
13526
ca3aac57
WD
135272018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13528
13529 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13530 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13531 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13532 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13533 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13534 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13542 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13543 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13544 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13545 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13546 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13547
60bcac09
JM
135482018-08-23 Joseph Myers <joseph@codesourcery.com>
13549
13550 * sysdeps/generic/math-tests-exceptions.h: New file.
13551 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13552 (EXCEPTION_TESTS_float): Do not define here.
13553 (EXCEPTION_TESTS_double): Likewise.
13554 (EXCEPTION_TESTS_long_double): Likewise.
13555 (EXCEPTION_TESTS_float128): Likewise.
13556 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13557 Likewise.
13558 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13559 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13560 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13561 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13562 * sysdeps/mips/math-tests.h: Likewise.
13563 * sysdeps/nios2/math-tests.h: Likewise.
13564 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13565 (EXCEPTION_TESTS_float): Do not define here.
13566 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13567 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13568 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13569
3bded567
WD
135702018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13571
13572 * NEWS: Move optimized sinf entry to 2.29.
13573
900fb446
WD
135742018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13575
13576 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13577
561b0bec
DD
135782018-08-22 DJ Delorie <dj@redhat.com>
13579
13580 * Makefile (testroot.pristine): New rules to initialize the
13581 test-in-container "testroot".
13582 * Makerules (all-testsuite): Add tests-container.
13583 * Rules (tests-expected): Add tests-container.
13584 (binaries-all-tests): Likewise.
13585 (tests-container): New, run these tests in the testroot container.
13586 * support/Makefile (others): Add *-container, support_paths.c,
13587 xmkdirp, and links-dso-program.
13588 * support/links-dso-program-c.c: New.
13589 * support/links-dso-program.cc: New.
13590 * support/test-container.c: New.
13591 * support/shell-container.c: New.
13592 * support/echo-container.c: New.
13593 * support/true-container.c: New.
13594 * support/xmkdirp.c: New.
13595 * support/xsymlink.c: New.
13596 * support/support_paths.c: New.
13597 * support/support.h: Add support paths prototypes.
13598 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13599
13600 * nss/tst-nss-test3.c: Convert to test-in-container.
13601 * nss/tst-nss-test3.root/: New.
13602
b35d3509
PE
136032018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13604
13605 regex: port Gnulib code to z/OS POSIX environment
13606 Problem reported by Arnold Robbins in:
13607 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13608 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13609 Undef.
13610
16a25138
JM
136112018-08-22 Joseph Myers <joseph@codesourcery.com>
13612
debc4c98
JM
13613 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13614 (ROUNDING_TESTS_double): Remove.
13615 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13616 (ROUNDING_TESTS_double): Remove.
13617 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13618 (ROUNDING_TESTS_double): Remove.
13619 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13620 (ROUNDING_TESTS_float): Remove.
13621 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13622 (ROUNDING_TESTS_float): Remove.
13623 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13624 (ROUNDING_TESTS_float): Remove.
13625 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13626 !TEST_MATHVEC here.
13627 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13628 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13629
16a25138
JM
13630 * sysdeps/generic/math-tests-rounding.h: New file.
13631 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13632 (ROUNDING_TESTS_float): Do not define here.
13633 (ROUNDING_TESTS_double): Likewise.
13634 (ROUNDING_TESTS_long_double): Likewise.
13635 (ROUNDING_TESTS_float128): Likewise.
13636 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13637 (ROUNDING_TESTS_double): Undefine before defining.
13638 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13639 (ROUNDING_TESTS_double): Undefine before defining.
13640 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13641 (ROUNDING_TESTS_double): Undefine before defining.
13642 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13643 (ROUNDING_TESTS_float): Undefine before defining.
13644 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13645 (ROUNDING_TESTS_float): Undefine before defining.
13646 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13647 (ROUNDING_TESTS_float): Undefine before defining.
13648 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13649 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13650 not define here.
13651 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13652 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13653 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13654 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13655 (ROUNDING_TESTS_float): Do not define here.
13656 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13657 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13658 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13659 (ROUNDING_TESTS_float): Likewise.
13660 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13661 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13662 * sysdeps/mips/math-tests.h [__mips_soft_float]
13663 (ROUNDING_TESTS_float): Likewise.
13664 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13665 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13666 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13667 (ROUNDING_TESTS_double): Likewise.
13668 (ROUNDING_TESTS_long_double): Likewise.
13669
38b0593e
TK
136702018-08-21 Tobias Klauser <tklauser@distanz.ch>
13671
13672 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13673 (PF_XDP): New macro.
13674 (AF_XDP): New macro.
13675 (SOL_XDP): New macro.
13676
5cd7dbde
JM
136772018-08-21 Joseph Myers <joseph@codesourcery.com>
13678
13679 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13680 (TCP_INQ): Likewise.
13681 (TCP_CM_INQ): Likewise.
13682 (TCP_REPAIR_ON): Likewise.
13683 (TCP_REPAIR_OFF): Likewise.
13684 (TCP_REPAIR_OFF_NO_WP): Likewise.
13685 (struct tcp_zerocopy_receive): New type.
13686
aa42b3db
FW
136872018-08-21 Florian Weimer <fweimer@redhat.com>
13688
13689 * support/support.h (support_descriptor_supports_holes): Declare.
13690 * support/Makefile (libsupport-routines): Add
13691 support_descriptor_supports_holes.
13692 * support/support_descriptor_supports_holes.c: New file.
13693 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13694 and stop testing if holes are not supported.
13695 * io/test-lfs.c (do_prepare): Likewise.
13696 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13697 Likewise.
13698 * timezone/tst-tzset.c (create_tz_file): Likewise.
13699 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13700 variable.
13701 (do_prepare): Set it.
13702 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13703
c7627f41
FW
137042018-08-21 Florian Weimer <fweimer@redhat.com>
13705
13706 [BZ #17248]
13707 * Makeconfig (+cflags): Do not sort (and deduplicate).
13708
ef939d92
FW
137092018-08-21 Florian Weimer <fweimer@redhat.com>
13710
13711 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13712 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13713
88ffb39d
FW
137142018-08-20 Florian Weimer <fweimer@redhat.com>
13715
13716 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13717 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13718
17419540
JM
137192018-08-20 Joseph Myers <joseph@codesourcery.com>
13720
e6edd40d
JM
13721 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13722 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13723 and ssi_arch members.
13724
17419540
JM
13725 * elf/elf.c (NT_VMCOREDD): New macro.
13726 (AT_MINSIGSTKSZ): Likewise.
13727
fa78896b
RS
137282018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13729
13730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13731 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13732 s_cosf-ppc64 and s_cosf-power8.
13733 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13734 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13735 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13736 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13743 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13744 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13745
86a6c75a
FW
137462018-08-17 Florian Weimer <fweimer@redhat.com>
13747
13748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13749
35cfefd9
FW
137502018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13751
13752 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13753
6413fcde
FW
137542018-08-16 Florian Weimer <fweimer@redhat.com>
13755
13756 * configure.ac: Add --with-nonshared-cflags option.
13757 * config.make.in (extra-nonshared-cflags): Set variable.
13758 * Makeconfig (CFLAGS-.oS): Use it.
13759 * manual/install.texi (Configuring and compiling): Document
13760 --with-nonshared-cflags.
13761 * configure: Regenerate.
13762 * INSTALL: Likewise.
13763
93a2584c
FW
137642018-08-16 Florian Weimer <fweimer@redhat.com>
13765
13766 * Makeconfig (ASFLAGS): Always append required assembler flags.
13767
f6f275d2 137682018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
13769
13770 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13771 (malloc_consolidate): Likewise.
13772
30a17d8c
PC
137732018-08-16 Pochang Chen <johnchen902@gmail.com>
13774
13775 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13776
953a5a4a
SP
137772018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13778
34f86d61
SP
13779 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13780 every strlen call.
13781
953a5a4a
SP
13782 * benchtests/bench-strlen.c: Print performance numbers in json.
13783
7793ad7a
RS
137842018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13785
13786 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13787 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13788 only for little endian.
13789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13790 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13791 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13793 Add check for little endian.
13794 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13795 (__strcmp_power9): Add check for little endian.
13796 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13797 Add check for little endian.
13798 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13799 (__strncmp_power9): Add check for little endian.
13800 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13801 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13802 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13803 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13804 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13805
436e4d5b
SP
138062018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13807
13808 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13809 [!STRLEN](STRLEN): Set to __strlen.
13810 * sysdeps/aarch64/multiarch/strlen.c: New file.
13811 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13812 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13813 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13814 (__libc_ifunc_impl_list): Add strlen.
13815 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13816 strlen_generic and strlen_asimd.
13817
126c4e3f
WD
138182018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13819
13820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13821 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13822 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13823
49acec17
WD
138242018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13825
13826 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13827
fdb16de3
FW
138282018-08-14 Florian Weimer <fweimer@redhat.com>
13829
13830 [BZ #23519]
13831 * include/stdio.h (__vfxprintf): Declare.
13832 * stdio-common/fxprintf.c (__vfxprintf): New function.
13833 (__fxprintf): Call it.
13834 * misc/err.c (convert_and_print): Remove function.
13835 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13836 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13837 * misc/Makefile (tests): Add tst-warn-wide.
13838 * misc/tst-warn-wide.c: New file.
13839
599cf397
WD
138402018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13841 Szabolcs Nagy <szabolcs.nagy@arm.com>
13842
13843 * NEWS: Mention sinf, cosf, sincosf.
13844 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13845 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13846 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13847 constants rather than including generic sincosf.h.
13848 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13849 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13850 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13851 (reduced_cos): Remove.
13852 (sinf_poly): New function.
13853 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13854
e95c6f61
FW
138552018-08-14 Florian Weimer <fweimer@redhat.com>
13856
13857 [BZ #23521]
13858 [BZ #23522]
13859 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13860 processing, bail out if no room, and close the stream before
13861 returning ERANGE.
13862 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13863 (tst-nss-files-alias-leak): Link with libdl.
13864 (tst-nss-files-alias-leak.out): Depend on nss_files.
13865
13866 * nss/tst-nss-files-alias-leak.c: New file.
13867
2d7acfac
FW
138682018-08-14 Florian Weimer <fweimer@redhat.com>
13869
13870 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13871 server_user, stat_user.
13872
f3cd0904
JM
138732018-08-13 Joseph Myers <joseph@codesourcery.com>
13874
17b26500
JM
13875 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13876 version to 4.18.
13877 (io_pgetevents): New syscall.
13878 (rseq): Likewise.
13879
3c1622eb
JM
13880 * manual/install.texi (Configuring and compiling): Do not list
13881 tools used for testing pretty printers here.
13882 (Tools for Compilation): List Python, PExpect and GDB here.
13883 Update descriptions of uses of Perl and Python.
13884 * INSTALL: Regenerate.
13885
f3cd0904
JM
13886 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13887 version to 4.18.
13888
b7b52b9d
FW
138892018-08-13 Florian Weimer <fweimer@redhat.com>
13890
13891 * misc/error.c (error): Add missing va_end call.
13892 (error_at_line): Likewise.
13893
01780188
FW
138942018-08-13 Florian Weimer <fweimer@redhat.com>
13895
13896 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13897
44727aec
SP
138982018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13899
8cac1f26
SP
13900 * benchtests/scripts/benchout.schema.json (properties): Add
13901 new properties.
13902
44727aec
SP
13903 * benchtests/bench-skeleton.c (main): Add duration and
13904 iterations attributes.
13905
c77bf91b
PE
139062018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13907
13908 regex: Gnulib unibyte RRI uses bytes not chars
13909 Adjust the non-glibc code to agree with what Gawk needs for
13910 rational range interpretation (RRI) for regular expression ranges.
13911 In unibyte locales, Gawk wants ranges to use the underlying byte
13912 rather than the character code point. This change does not affect
13913 glibc proper.
13914 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13915 In unibyte locales, use the byte value rather than
13916 running it through btowc.
13917
2ce7ba7d
JM
139182018-08-10 Joseph Myers <joseph@codesourcery.com>
13919
13920 * sysdeps/generic/math-tests-snan.h: New file.
13921 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13922 (SNAN_TESTS_float): Do not define here.
13923 (SNAN_TESTS_double): Likewise.
13924 (SNAN_TESTS_long_double): Likewise.
13925 (SNAN_TESTS_float128): Likewise.
13926 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13927 * sysdeps/i386/fpu/math-tests.h: Remove file.
13928 * sysdeps/ia64/math-tests-snan.h: New file.
13929 * sysdeps/ia64/math-tests.h: Remove file.
13930 * sysdeps/x86/math-tests.h: Likewise.
13931 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13932
ea5c662c
WD
139332018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13934 Szabolcs Nagy <szabolcs.nagy@arm.com>
13935
13936 * math/Makefile: Add s_sincosf_data.c.
13937 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13938 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13939 (sincosf_poly): Likewise.
13940 (reduce_small): Likewise.
13941 (reduce_large): Likewise.
13942 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13943 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13944 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13945 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13946
43cfdf8f
SN
139472018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13948 Szabolcs Nagy <szabolcs.nagy@arm.com>
13949
13950 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13951 (converttoint): Use lround.
13952 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13953 document the semantics when TOINT_INTRINSICS is set.
13954 (converttoint): Likewise.
13955 (TOINT_RINT): Remove.
13956 (TOINT_SHIFT): Remove.
13957 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13958 path.
13959
69065288
FW
139602018-08-10 Florian Weimer <fweimer@redhat.com>
13961
13962 [BZ #23497]
13963 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13964 function.
13965 (__old_getdents64): Use getdents64. Convert entries without
13966 moving them.
13967 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13968 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13969 tst-readdir64-compat.
13970
8f135efc
IL
139712018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13972
13973 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13974 Fix unwind.
13975
71c01af5
IL
139762018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13977
13978 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13979 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13980 code to s390x-mcount.h and #include it.
13981 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13983 (__fentry__): Add.
13984
8d997d22
IL
139852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13986
13987 * stdlib/Versions: Remove __fentry__.
13988 * sysdeps/i386/Versions: Add __fentry__.
13989 * sysdeps/x86_64/Versions: Add __fentry__.
13990
69e2444a
IL
139912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13992
13993 * sysdeps/s390/Makefile: Register the new tests.
13994 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13995 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13996 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13997 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13998 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13999 * sysdeps/s390/tst-dl-runtime.c: New file.
14000
bde6320f
IL
140012018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14002
14003 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14004 Do not clobber R0.
14005
5755f5e4
IL
140062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14007
14008 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14009 Do not clobber R0.
14010
c8ad8522
IL
140112018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14012
14013 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14014 Do not clobber R0.
14015
b215eee1
IL
140162018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14017
14018 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14019 Do not clobber R0.
14020
329c6fec
IL
140212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14022
14023 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14024 Use symbolic offsets for stack variables.
14025
0fb7afa2
IL
140262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14027
14028 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14029 Use symbolic offsets for stack variables.
14030
6954059a
IL
140312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14032
14033 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14034 Use symbolic offsets for stack variables.
14035
c7099673
IL
140362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14037
14038 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14039 Use symbolic offsets for stack variables.
14040
2813e41e
JM
140412018-08-09 Joseph Myers <joseph@codesourcery.com>
14042
14043 * math/gen-libm-test.py: New file.
14044 * math/gen-libm-test.pl: Remove.
14045 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14046 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14047 gen-libm-test.pl.
14048 ($(libm-test-c-noauto-obj)): Likewise.
14049 ($(libm-test-c-auto-obj)): Likewise.
14050 ($(libm-test-c-narrow-obj)): Likewise.
14051 (regen-ulps): Likewise.
14052 * math/README.libm-test: Update references to gen-libm-test.pl.
14053 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14054 referencing gen-libm-test.pl.
14055 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14056 * math/libm-test-support.c: Likewise.
14057 * math/libm-test-support.h: Likewise.
14058 * sysdeps/generic/libm-test-ulps: Likewise.
14059
be64b194
SP
140602018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14061
14062 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14063 Fix value.
14064
140137fb
JM
140652018-08-08 Joseph Myers <joseph@codesourcery.com>
14066
14067 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14068 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14069
b5403eca
ST
140702018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14071
14072 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14073 symbols.
8ac0f9e6
ST
14074 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14075 __pthread_setspecific): Add hidden proto.
14076 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14077 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 14078
014efdd7
SP
140792018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14080
14081 * benchtests/bench-string.h (buf1_size, buf2_size): New
14082 variables.
14083 (init_sizes): New function.
14084 (test_init): Use it.
14085 (alloc_buf, exit_error): New functions.
14086 (alloc_bufs): Use ALLOC_BUF.
14087 (realloc_bufs): Remove.
14088 * benchtests/bench-memcmp.c (do_test): Adjust.
14089 * benchtests/bench-memset-large.c (do_test): Likewise.
14090 * benchtests/bench-memset-walk.c (do_test): Likewise.
14091 * benchtests/bench-memset.c (do_test): Likewise.
14092 * benchtests/bench-strncmp.c (do_test): Likewise.
14093
92a4cba7
AS
140942018-08-06 Andreas Schwab <schwab@suse.de>
14095
14096 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14097 of CONST_THREAD_AREA.
14098
fb4c32ae
L
140992018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14100
14101 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14102 (STATE_SAVE_MASK): Likewise.
14103 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14104 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14105 (STATE_SAVE_MASK): Likewise.
14106 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14107 instead of <cpu-features.h>.
14108
bf418187
DD
141092018-08-03 DJ Delorie <dj@redhat.com>
14110
14111 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 14112 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 14113
bb17621a
DD
14114 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14115
ea705eb5
JM
141162018-08-03 Joseph Myers <joseph@codesourcery.com>
14117
14118 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14119 after TEST_* calls.
14120 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14121 * math/libm-test-logb.inc (logb_test_data): Likewise.
14122
284f42bc
WD
141232018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14124
14125 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14126 * string/strstr.c (AVAILABLE): Likewise.
14127
430388d5
L
141282018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14129
14130 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14131 <init-arch.h>.
14132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14133 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14134 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14135
c5760aa9
CD
141362018-08-03 Carlos O'Donell <carlos@redhat.com>
14137
14138 * po/be.po: Update translation.
14139
6b535b84
CD
14140 * po/be.po: Update translation.
14141
ae67f2e5
L
141422018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14143
14144 * sysdeps/x86/cpu-features-offsets.sym
14145 (rtld_global_ro_offsetof): Removed.
14146 (CPU_FEATURES_SIZE): Likewise.
14147 (CPUID_OFFSET): Likewise.
14148 (CPUID_SIZE): Likewise.
14149 (CPUID_EAX_OFFSET): Likewise.
14150 (CPUID_EBX_OFFSET): Likewise.
14151 (CPUID_ECX_OFFSET): Likewise.
14152 (CPUID_EDX_OFFSET): Likewise.
14153 (FAMILY_OFFSET): Likewise.
14154 (MODEL_OFFSET): Likewise.
14155 (FEATURE_OFFSET): Likewise.
14156 (FEATURE_SIZ): Likewise.
14157 (COMMON_CPUID_INDEX_1): Likewise.
14158 (COMMON_CPUID_INDEX_7): Likewise.
14159 (FEATURE_INDEX_1): Likewise.
14160 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14161
6b5c8607 141622018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
14163
14164 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14165 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14166 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14167 (install-locales): Depend on install-locale-archive.
14168 (install-locale-archive): Define.
7b7adbd8 14169 (install-locale-files): Define.
08a5ee14
CD
14170 (build-one-locale): Define macro.
14171 * manual/install.texi (Running make install): Document.
14172 * manual/INSTALL: Regenerate.
14173
525691bd
SP
141742018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14175
d67d634b
SP
14176 * benchtests/scripts/compare_strings.py: Import traceback.
14177 (parse_file): Pretty-print error.
14178
525691bd
SP
14179 * NEWS: Mention the change.
14180 * elf/dl-tunables.list: Rename tune namespace to cpu.
14181 * sysdeps/powerpc/dl-tunables.list: Likewise.
14182 * sysdeps/x86/dl-tunables.list: Likewise.
14183 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14184 cpu.name.
14185 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14186 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14187 * manual/README.tunables: Likewise.
14188 * manual/tunables.texi: Likewise.
14189 * sysdeps/powerpc/cpu-features.c: Likewise.
14190 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14191 (init_cpu_features): Likewise.
14192 * sysdeps/x86/cpu-features.c: Likewise.
14193 * sysdeps/x86/cpu-features.h: Likewise.
14194 * sysdeps/x86/cpu-tunables.c: Likewise.
14195 * sysdeps/x86_64/Makefile: Likewise.
14196 * sysdeps/x86/dl-cet.c: Likewise.
14197
506d7fb1
JM
141982018-08-02 Joseph Myers <joseph@codesourcery.com>
14199
14200 [BZ #23479]
14201 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14202 [__mips_hard_float].
14203 (FE_UNDERFLOW): Likewise.
14204 (FE_OVERFLOW): Likewise.
14205 (FE_DIVBYZERO): Likewise.
14206 (FE_INVALID): Likewise.
14207 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14208 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14209 (FE_UPWARD): Likewise.
14210 (FE_DOWNWARD): Likewise.
14211 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14212 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14213 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14214 [__mips_hard_float].
14215 (FP_ROUNDMODE): Likewise.
14216 (FP_RND_NEAREST): Likewise.
14217 (FP_RND_ZERO): Likewise.
14218 (FP_RND_PINF): Likewise.
14219 (FP_RND_MINF): Likewise.
14220 (FP_EX_INVALID): Likewise.
14221 (FP_EX_OVERFLOW): Likewise.
14222 (FP_EX_UNDERFLOW): Likewise.
14223 (FP_EX_DIVZERO): Likewise.
14224 (FP_EX_INEXACT): Likewise.
14225 (FP_INIT_ROUNDMODE): Likewise.
14226 * sysdeps/mips/nofpu/fesetenv.c: New file.
14227 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14228
f6dcefbe
JM
142292018-08-01 Joseph Myers <joseph@codesourcery.com>
14230
14231 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14232 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14233 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14234 conditional on [FE_UPWARD].
14235
fa67ba06
PE
142362018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14237
14238 regex: fix memory leak in Gnulib
14239 Problem and fix reported by Assaf Gordon in:
14240 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14241 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14242 range_ends members too, as they are defined in 'struct
14243 re_charset_t' even if not _LIBC. This affects only Gnulib.
14244
82c80ac2
L
142452018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14248 ...
14249 (get_common_indices): This.
14250 (init_cpu_features): Updated.
14251
c0e7e2c1
JM
142522018-08-01 Joseph Myers <joseph@codesourcery.com>
14253
46f8cf57
JM
14254 * sysdeps/generic/math-tests-snan-payload.h: New file.
14255 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14256 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14257 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14258 * sysdeps/generic/math-tests.h: Include
14259 <math-tests-snan-payload.h>.
14260 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14261 * sysdeps/hppa/math-tests.h: Remove file.
14262 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14263 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14264 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14265 Likewise.
14266
c0e7e2c1
JM
14267 * sysdeps/generic/math-tests-snan-cast.h: New file.
14268 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14269 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14270 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14271 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14272
e6855a3b 142732018-08-01 Carlos O'Donell <carlos@redhat.com>
74939c83 14274
b029723b
CD
14275 * version.h (RELEASE): Set to "development".
14276 (VERSION): Set to "2.28.9000".
14277 * NEWS (2.29): New section.
14278
3c03baca
CD
14279 * version.h (RELEASE): Set to "stable".
14280 (VERSION): Set to "2.28".
14281 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14282 * NEWS: Add the list of bugs fixed in 2.28.
14283
74939c83
CD
14284 * po/ca.po: Update to latest version.
14285 * po/cs.po: Likewise
14286 * po/da.po: Likewise
14287 * po/el.po: Likewise
14288 * po/eo.po: Likewise
14289 * po/es.po: Likewise
14290 * po/fi.po: Likewise
14291 * po/fr.po: Likewise
14292 * po/gl.po: Likewise
14293 * po/hu.po: Likewise
14294 * po/ia.po: Likewise
14295 * po/id.po: Likewise
14296 * po/it.po: Likewise
14297 * po/ja.po: Likewise
14298 * po/ko.po: Likewise
14299 * po/lt.po: Likewise
14300 * po/nb.po: Likewise
14301 * po/nl.po: Likewise
14302 * po/pt_BR.po: Likewise
14303 * po/ru.po: Likewise
14304 * po/rw.po: Likewise
14305 * po/sk.po: Likewise
14306 * po/sl.po: Likewise
14307 * po/tr.po: Likewise
14308 * po/zh_CN.po: Likewise
14309 * po/zh_TW.po: Likewise
14310
d4b54bdf
ST
143112018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14312
14313 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14314 initialization...
14315 (init): ... before initializing libpthread.
14316
42fc12ef
ST
14317 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14318 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14319 (__mach_setup_tls): ... new function.
14320 (mach_setup_tls): New alias.
14321 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14322 __mach_setup_thread.
14323 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14324 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14325 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14326 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14327
6cca855e
CD
143282018-07-31 Carlos O'Donell <carlos@redhat.com>
14329
f650932b
CD
14330 * manual/install.texi: Update versions.
14331 * INSTALL: Regenerate.
14332
6cca855e
CD
14333 * manual/contrib.texi (Contributors): Update contributions.
14334
07fdea47
CD
143352018-07-31 Carlos O'Donell <carlos@redhat.com>
14336
14337 * po/be.po: Update translations.
14338
63d5fad4
AZ
143392018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14340
14341 * sysdeps/sh/libm-test-ulps: Update.
14342
1ff712a6
CD
143432018-07-30 Carlos O'Donell <carlos@redhat.com>
14344
14345 * po/bg.po: Update translations.
14346 * po/de.po: Likewise.
14347 * po/hr.po: Likewise.
14348 * po/pt_BR.po: Likewise.
14349 * po/sv.po: Likewise.
14350 * po/vi.po: Likewise.
14351
98864ed0
L
143522018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14353
14354 [BZ #23467]
14355 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14356 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14357 (CFLAGS-tst-cet-property-1.o): New.
14358 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14359 ($(objpfx)tst-cet-property-2): Likewise.
14360 ($(objpfx)tst-cet-property-2.out): Likewise.
14361 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14362 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14363 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14364 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14365 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14366
c92a00d8
L
143672018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14368
14369 [BZ #23458]
14370 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14371
99bc6241
ST
143722018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14373
14374 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14375 __sbrk): Do not set attribute_hidden.
af86087f 14376 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
14377 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14378 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14379
bcb1c4af
CD
143802018-07-27 Carlos O'Donell <carlos@redhat.com>
14381
14382 * po/uk.po: Update translations.
14383 * po/cs.po: Likewise.
14384 * po/pl.po: Likewise.
14385
4591b7db
L
143862018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14387
14388 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14389 parse beyond the note end.
14390
2c6da2f4
AZ
143912018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14392
14393 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14394 kernel does not support OFD locks.
14395 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14396
20365a31
ST
143972018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14398
14399 * sysdeps/mach/hurd/Versions (libc): Make __access and
14400 __access_noerrno external so they can override the ld symbols.
14401 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14402 __writev, __open64, __access_noerrno extern so they can be overrided.
14403 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14404 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14405
cb1a43db
CD
144062018-07-26 Carlos O'Donell <carlos@redhat.com>
14407
14408 * po/libc.pot: Regenerate.
14409
74759ae5
JM
144102018-07-26 Joseph Myers <joseph@codesourcery.com>
14411
14412 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14413
da80612d
L
144142018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14415
14416 [BZ #23459]
14417 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14418 function.
14419 (init_cpu_features): Call get_extended_indices for both Intel
14420 and AMD CPUs.
14421 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14422 Remove "for AMD" comment.
14423
65d87ade
L
144242018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14425
14426 [BZ # 23456]
14427 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14428 COMMON_CPUID_INDEX_80000001.
14429
c9dc4d51
SL
144302018-07-26 Stefan Liebler <stli@linux.ibm.com>
14431
14432 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14433 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14434
cfba5dbb
FW
144352018-07-26 Florian Weimer <fweimer@redhat.com>
14436
14437 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14438 aliases for symbols not in the implementation namespace.
14439
6b5c8607 144402018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
14441
14442 [BZ #23393]
14443 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14444 lowercase in LATIN script.
14445 * localedata/Makefile (test-input): Add en_US.UTF-8.
14446 * localedata/en_US.UTF-8.in: New file.
14447 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14448 and restore old tests.
14449 * posix/tst-regexloc.c (do_test): Add back range expression test.
14450
3fb455b3
L
144512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14452
14453 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14454
d6499b70
AZ
144552018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14456
14457 * nptl/threads.h: Move to ...
14458 * sysdeps/nptl/threads.h: ... here.
14459 * sysdeps/hurd/stdc-predef.h: New file.
14460
08ac6bed
L
144612018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14462
14463 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14464 tst-cet-setcontext-1 if CET is enabled.
14465 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14466 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14467
9faaf938
AZ
144682018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14469
14470 * include/threads.h: Move to ...
14471 * sysdeps/nptl/threads.h: ... here.
14472 * sysdeps/htl/threads.h: New file.
14473 * conform/Makefile (linknamespace-libs-ISO11): Use
14474 static-thread-library instead of linking libpthread.
14475 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14476
d6b8f847
FW
144772018-07-25 Florian Weimer <fweimer@redhat.com>
14478
14479 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14480 nanoseconds into seconds.
14481 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14482 (do_test): Likewise.
14483 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14484 (do_test): Likewise. Avoid nanosecond overflow and spurious
14485 timeouts due to system load.
14486 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14487 (child_wait): Increment it.
14488 (do_test): Wait as long as necessary until all expected threads
14489 have arrived.
14490
25123a1c
L
144912018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14492 H.J. Lu <hongjiu.lu@intel.com>
14493
14494 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14495 __ssp.
14496 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14497 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14498 (__push___start_context): New.
14499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14500 <asm/prctl.h>.
14501 (__getcontext): Record the current shadow stack base. Save the
14502 caller's shadow stack pointer and base.
14503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14504 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14505 (__push___start_context): New prototype.
14506 (__makecontext): Call __push___start_context to allocate a new
14507 shadow stack, push __start_context onto the new stack as well
14508 as the new shadow stack.
14509 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14510 <asm/prctl.h>.
14511 (__setcontext): Restore the target shadow stack.
14512 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14513 <asm/prctl.h>.
14514 (__swapcontext): Record the current shadow stack base. Save
14515 the caller's shadow stack pointer and base. Restore the target
14516 shadow stack.
14517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14518 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14519 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14520
375a4844
L
145212018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14522
14523 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14524 tst-setcontext8 and tst-setcontext9.
14525 * stdlib/tst-setcontext6.c: New file.
14526 * stdlib/tst-setcontext7.c: Likewise.
14527 * stdlib/tst-setcontext8.c: Likewise.
14528 * stdlib/tst-setcontext9.c: Likewise.
14529
bd4f7903
L
145302018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 * stdlib/Makefile ((tests): Add tst-setcontext5.
14533 * stdlib/tst-setcontext5.c: New file.
14534
7e28f203
L
145352018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14536
14537 * stdlib/Makefile (tests): Add tst-setcontext4.
14538 * stdlib/tst-setcontext4.c: New file.
14539
8516ad2d
L
145402018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14541
14542 * stdlib/Makefile (tests): Add tst-swapcontext1.
14543 * stdlib/tst-swapcontext1.c: New test.
14544
fddcd003
L
145452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14546
14547 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14548 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14549 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14550 and tst-cet-legacy-4c.
14551 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14552 and tst-cet-legacy-mod-4.
14553 (CFLAGS-tst-cet-legacy-2.c): New.
14554 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14555 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14556 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14557 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14558 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14559 ($(objpfx)tst-cet-legacy-1): Likewise.
14560 ($(objpfx)tst-cet-legacy-2): Likewise.
14561 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14562 ($(objpfx)tst-cet-legacy-2a): Likewise.
14563 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14564 ($(objpfx)tst-cet-legacy-4): Likewise.
14565 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14566 ($(objpfx)tst-cet-legacy-4a): Likewise.
14567 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14568 (tst-cet-legacy-4a-ENV): Likewise.
14569 ($(objpfx)tst-cet-legacy-4b): Likewise.
14570 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14571 (tst-cet-legacy-4b-ENV): Likewise.
14572 ($(objpfx)tst-cet-legacy-4c): Likewise.
14573 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14574 (tst-cet-legacy-4c-ENV): Likewise.
14575 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14576 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14577 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14578 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14579 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14580 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14581 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14582 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14583 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14584 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14585 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14586
9aa3113a
L
145872018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14588
14589 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14590 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14591 with ssp_base.
14592 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14593 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14594 with ssp_base.
14595
9c79cec8
AS
145962018-07-25 Andreas Schwab <schwab@suse.de>
14597
14598 [BZ #23442]
14599 * locale/weightwc.h (findidx): Handle the case where usrc is a
14600 prefix of cp but one character too short.
14601
969c3355
AZ
146022018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14603
14604 * NEWS: Add ISO C threads addition.
14605
e0f9c462
FW
146062018-07-24 Florian Weimer <fweimer@redhat.com>
14607
14608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14609 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14610 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14611 4.13.
14612
394df381
L
146132018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14614
14615 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14616 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14617 <sys/prctl.h> and <asm/prctl.h>.
14618 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14619 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14620 and <asm/prctl.h>.
14621 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14622 ARCH_CET_LEGACY_BITMAP.
14623 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14624 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14625 * sysdeps/x86/libc-start.c: Include <startup.h>.
14626
46545530
FW
146272018-07-24 Florian Weimer <fweimer@redhat.com>
14628
14629 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14630 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14631
6b5c8607 146322018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 14633 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
14634 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14635
14636 [BZ #14092]
9d0a979e
RJ
14637 * manual/debug.texi: Update adjacent chapter name.
14638 * manual/probes.texi: Likewise.
14639 * manual/threads.texi (ISO C Threads): New section.
14640 (POSIX Threads): Convert to a section.
14641
146422018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14643 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14644
14645 [BZ# 14092]
0a07288b
AZ
14646 * nptl/Makefile (tests): Add new test files.
14647 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14648 * nptl/tst-cnd-basic.c: Likewise.
14649 * nptl/tst-cnd-broadcast.c: Likewise.
14650 * nptl/tst-cnd-timedwait.c: Likewise.
14651 * nptl/tst-mtx-basic.c: Likewise.
14652 * nptl/tst-mtx-recursive.c: Likewise.
14653 * nptl/tst-mtx-timedlock.c: Likewise.
14654 * nptl/tst-mtx-trylock.c: Likewise.
14655 * nptl/tst-thrd-basic.c: Likewise.
14656 * nptl/tst-thrd-detach.c: Likewise.
14657 * nptl/tst-thrd-sleep.c: Likewise.
14658 * nptl/tst-tss-basic.c: Likewise.
14659
ce7528f6
AZ
146602018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14661
c6dd669b
AZ
14662 [BZ #14092]
14663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14664 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14665 symbols.
14666 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14679 Likewise.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14681 Likewise.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14683 Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14694 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14695 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14696 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14697 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14698 Likewise.
14699 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14711 ikewise.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14714 Likewise.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14716 Likewise.
14717 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14719 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14720 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14721 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14725
78d40132
AZ
14726 [BZ #14092]
14727 * conform/data/threads.h-data (thread_local): New macro.
14728 (TSS_DTOR_ITERATIONS): Likewise.
14729 (tss_t): New type.
14730 (tss_dtor_t): Likewise.
14731 (tss_create): New function.
14732 (tss_get): Likewise.
14733 (tss_set): Likewise.
14734 (tss_delete): Likewise.
14735 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14736 tss_get, and tss_set objects.
14737 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14738 * nptl/tss_create.c: New file.
14739 * nptl/tss_delete.c: Likewise.
14740 * nptl/tss_get.c: Likewise.
14741 * nptl/tss_set.c: Likewise.
14742 * sysdeps/nptl/threads.h (thread_local): New define.
14743 (TSS_DTOR_ITERATIONS): Likewise.
14744 (tss_t): New typedef.
14745 (tss_dtor_t): Likewise.
14746 (tss_create): New prototype.
14747 (tss_get): Likewise.
14748 (tss_set): Likewise.
14749 (tss_delete): Likewise.
14750
918311a3
AZ
14751 [BZ #14092]
14752 * conform/data/threads.h-data (cnd_t): New type.
14753 (cnd_init): New function.
14754 (cnd_signal): Likewise.
14755 (cnd_broadcast): Likewise.
14756 (cnd_wait): Likewise.
14757 (cnd_timedwait): Likewise.
14758 (cnd_destroy): Likewise.
14759 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14760 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14761 object.
14762 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14763 * nptl/cnd_broadcast.c: New file.
14764 * nptl/cnd_destroy.c: Likewise.
14765 * nptl/cnd_init.c: Likewise.
14766 * nptl/cnd_signal.c: Likewise.
14767 * nptl/cnd_timedwait.c: Likewise.
14768 * nptl/cnd_wait.c: Likewise.
14769 * sysdeps/nptl/threads.h (cnd_t): New type.
14770 (cnd_init): New prototype.
14771 (cnd_signa): Likewise.
14772 (cnd_broadcast): Likewise.
14773 (cnd_wait): Likewise.
14774 (cnd_timedwait): Likewise.
14775 (cnd_destroy): Likewise.
14776
3c20a679
AZ
14777 [BZ #14092]
14778 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14779 (once_flag): New type.
14780 (call_once): New function.
14781 * nptl/Makefile (libpthread-routines): Add call_once object.
14782 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14783 * nptl/call_once.c: New file.
14784 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14785 (once_flag): New type.
14786 (call_once): New prototype.
14787
18d59c1b
AZ
14788 [BZ #14092]
14789 * conform/data/threads.h-data (mtx_plain): New constant.
14790 (mtx_recursive): Likewise.
14791 (mtx_timed): Likewise.
14792 (mtx_t): New type.
14793 (mtx_init): New function.
14794 (mtx_lock): Likewise.
14795 (mtx_timedlock): Likewise.
14796 (mtx_trylock): Likewise.
14797 (mtx_unlock): Likewise.
14798 (mtx_destroy): Likewise.
14799 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14800 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14801 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14802 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14803 * nptl/mtx_destroy.c: New file.
14804 * nptl/mtx_init.c: Likewise.
14805 * nptl/mtx_lock.c: Likewise.
14806 * nptl/mtx_timedlock.c: Likewise.
14807 * nptl/mtx_trylock.c: Likewise.
14808 * nptl/mtx_unlock.c: Likewise.
14809 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14810 (mtx_recursive): Likewise.
14811 (mtx_timed): Likewise.
14812 (mtx_t): New type.
14813 (mtx_init): New prototype.
14814 (mtx_lock): Likewise.
14815 (mtx_timedlock): Likewise.
14816 (mtx_trylock): Likewise.
14817 (mtx_unlock): Likewise.
14818 (mtx_destroy): Likewise.
14819
ce7528f6
AZ
14820 [BZ #14092]
14821 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14822 (linknamespace-libs-ISO11): Add libpthread.a.
14823 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14824 functions.
14825 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14826 * nptl/Makefile (headers): Add threads.h.
14827 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14828 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14829 thrd_yield.
14830 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14831 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14832 thrd_join, thrd_sleep, and thrd_yield symbols.
14833 * nptl/descr.h (struct pthread): Add c11 field.
14834 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14835 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14836 routine with expected function prototype.
14837 (__pthread_create_2_1): Add C11 threads check based on attribute
14838 value.
14839 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14840 * nptl/thrd_create.c: New file.
14841 * nptl/thrd_current.c: Likewise.
14842 * nptl/thrd_detach.c: Likewise.
14843 * nptl/thrd_equal.c: Likewise.
14844 * nptl/thrd_exit.c: Likewise.
14845 * nptl/thrd_join.c: Likewise.
14846 * nptl/thrd_priv.h: Likewise.
14847 * nptl/thrd_sleep.c: Likewise.
14848 * nptl/thrd_yield.c: Likewise.
14849 * include/threads.h: Likewise.
14850
e27f41ba
L
148512018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14852
14853 * bits/indirect-return.h: New file.
14854 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14855 * sysdeps/x86/bits/indirect-return.h: Likewise.
14856 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14857 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14858 (swapcontext): Add __INDIRECT_RETURN.
14859 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14860 (prepare_test_buffer): Use it.
14861
21526a50
AS
148622018-07-24 Andreas Schwab <schwab@suse.de>
14863
14864 [BZ #23448]
14865 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14866 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14867
3650e1d9
L
148682018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14869
14870 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14871 Redefine if shadow stack is enabled.
14872 (SYSCALL_ERROR_LABEL): Likewise.
14873 (__vfork): Pop shadow stack and jump back to to caller directly
14874 when shadow stack is in use.
14875 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14876 Redefine if shadow stack is enabled.
14877 (SYSCALL_ERROR_LABEL): Likewise.
14878 (__vfork): Pop shadow stack and jump back to to caller directly
14879 when shadow stack is in use.
14880
ca027e0f
L
148812018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14882
14883 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14884 enabled.
14885 (foo): Likewise.
14886 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14887 (foo): Likewise.
14888
b99f1c95
JM
148892018-07-20 Joseph Myers <joseph@codesourcery.com>
14890
14891 * scripts/build-many-glibcs.py (Context.checkout): Default
14892 binutils version to 2.31 branch.
14893
c8fabb84
ZL
148942018-07-20 Zong Li <zong@andestech.com>
14895
14896 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14897 URL of gcc's tarball.
14898
786658a0
FW
148992018-07-20 Florian Weimer <fweimer@redhat.com>
14900
14901 [BZ #23396]
14902 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14903 not compare an extra byte after the end of the weights.
14904
46f2474e
ST
149052018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14906
14907 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14908 to 1.
8ba1520e
ST
14909 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14910 hidden prototypes.
14911 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14912 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
14913 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14914 list of libraries whose stack executability is expected.
14915 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14916 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14917 variable.
14918 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14919 libc.so libpthread.so.
46f2474e 14920
60088242
TS
149212018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14922
14923 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14924 SOCK_NONBLOCK.
75d5e4a0
TS
14925 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14926 and SOCK_NONBLOCK.
de195be0
TS
14927 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14928 implement __pipe2.
14929 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 14930
1cf4ae7f
LS
149312018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14932
14933 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14934 library to improve command line parsing.
14935 (__main__): make schema file as optional parameter (--schema),
14936 defaulting to benchtests/scripts/benchout.schema.json.
14937 (main): move out of the parsing stuff to __main_  and leave it
14938 only as caller of main comparison functions.
14939
e84bd851
L
149402018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14941
14942 * NEWS: Add a note for Intel CET status.
14943 * manual/install.texi: Likewise.
14944 * INSTALL: Regenerated.
14945
df467d22
QP
149462018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14947
14948 [BZ #23140]
14949 * localedata/locales/oc_FR (mon): Rename to...
14950 (alt_mon): This, then update October (typo fix).
14951 (mon): New content (genitive case, month names preceded by
14952 "de" or "d’").
14953
14954 [BZ #23422]
14955 * localedata/locales/oc_FR (abday): Update all items.
14956 (day): Update Wednesday and Saturday (typo fixes).
14957 (abmon): Update all items, except May.
14958 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14959 (LC_IDENTIFICATION): Bump the revision number and date.
14960 Keep the "category" entries in alphabetic order.
14961 (LC_ADDRESS): Remove no longer needed comment.
14962 (LC_COLLATE): Use “copy "ca_ES"”.
14963 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14964 "name_mrs".
14965
5c112f1b
JM
149662018-07-18 Joseph Myers <joseph@codesourcery.com>
14967
14968 * grp/tst_fgetgrent.c: Include <unistd.h>.
14969 (main): Use mkstemp instead of tmpnam.
14970 * io/test-utime.c (main): Likewise.
14971 * posix/annexc.c (macrofile): Change to modifiable array.
14972 (main): Remove macrofile here.
14973 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14974 macrofile here.
14975 (check_header): Do not remove macrofile here.
14976 * posix/bug-getopt1.c: Include <stdlib.h>.
14977 (do_test): Use mkstemp instead of tmpnam.
14978 * posix/bug-getopt2.c: Include <stdlib.h>.
14979 (do_test): Use mkstemp instead of tmpnam.
14980 * posix/bug-getopt3.c: Include <stdlib.h>.
14981 (do_test): Use mkstemp instead of tmpnam.
14982 * posix/bug-getopt4.c: Include <stdlib.h>.
14983 (do_test): Use mkstemp instead of tmpnam.
14984 * posix/bug-getopt5.c: Include <stdlib.h>.
14985 (do_test): Use mkstemp instead of tmpnam.
14986 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14987 (main): Use mkstemp instead of tmpnam.
14988 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14989 (main): Use mkstemp instead of tmpnam.
14990 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14991 (main): use mkstemp instead of tmpnam.
14992 * stdlib/isomac.c (macrofile): Change to modifiable array.
14993 (main): Remove macrofile here.
14994 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14995 macrofile here.
14996 (check_header): Do not remove macrofile here.
14997
6d90776d
L
149982018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14999
15000 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15001 glibc.tune.x86_shstk.
15002
e6c69509
L
150032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15004
15005 * NEWS: Mention --enable-cet.
15006 * manual/install.texi: Document --enable-cet.
15007 * INSTALL: Regenerated.
15008
e2d40a88
L
150092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15010
15011 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15012 Add _CET_NOTRACK before indirect jump to jump table.
15013
77a8ae09
L
150142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15015
15016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15017 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15018 to jump table.
15019
90d15dc5
L
150202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15021
15022 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15024 to jump table.
15025
f1574581
L
150262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15027
15028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15029 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15030 to jump table.
15031
7fb61336
L
150322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15033
15034 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15035 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15036 to jump table.
15037
0a899af0
L
150382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15039
15040 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15041 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15042 to jump table.
15043 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15044
177824e2
L
150452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15046
15047 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15048 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15049 to jump table.
15050
00e7b76a
L
150512018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15052
15053 * sysdeps/i386/i686/multiarch/memset-sse2.S
15054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15055 to jump table.
15056
7e119cd5
L
150572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15058
15059 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15060 indirect jump to jump table.
15061
03aaf49b
L
150622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15065 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15066 to jump table.
15067 (MEMCPY): Likewise.
15068
811e9e52
L
150692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15070
15071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15072 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15073 to jump table.
15074 (MEMCPY): Likewise.
15075
8817df42
L
150762018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15077
15078 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15079 _CET_NOTRACK before indirect jump to jump table.
15080
921595d1
L
150812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15082
15083 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15084 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15085 to jump table.
15086
4ef60d95
L
150872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15088
15089 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15090 indirect jump to jump table.
15091
61c4aad7
VT
150922018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15093
15094 [BZ #22241]
15095 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15096 (LOCALES): Likewise.
15097 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15098 * localedata/locales/sah_RU: New file.
15099 * localedata/sah_RU.UTF-8.in: New file.
15100
be9ccd27
L
151012018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15102
15103 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15104 "sysdep.h".
15105 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15106 _CET_ENDBR to indirect jump targets and adjust jump destination
15107 for _CET_ENDBR.
15108 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15109 "sysdep.h".
15110 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15111 _CET_ENDBR to indirect jump targets and adjust jump destination
15112 for _CET_ENDBR.
15113 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15114 "sysdep.h".
15115 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15116 _CET_ENDBR to indirect jump targets and adjust jump destination
15117 for _CET_ENDBR.
15118
5efc6777
L
151192018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15120
15121 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15122 _CET_ENDBR.
15123
562837c0
L
151242018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15125
15126 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15127 _CET_ENDBR.
15128 (_dl_tlsdesc_undefweak): Likewise.
15129 (_dl_tlsdesc_dynamic): Likewise.
15130 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15131 (_dl_tlsdesc_resolve_rel): Likewise.
15132 (_dl_tlsdesc_resolve_rela): Likewise.
15133 (_dl_tlsdesc_resolve_hold): Likewise.
15134 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15135 (_dl_tlsdesc_undefweak): Likewise.
15136 (_dl_tlsdesc_dynamic): Likewise.
15137 (_dl_tlsdesc_resolve_rela): Likewise.
15138 (_dl_tlsdesc_resolve_hold): Likewise.
15139
124bcde6
L
151402018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15141
15142 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15143 (_fini): Likewise.
15144 * sysdeps/x86_64/crti.S (_init): Likewise.
15145 (_fini): Likewise.
15146
ab74d59f 151472018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
9145f033
RL
15148
15149 [BZ #23140]
15150 * localedata/locales/os_RU (mon): Rename to...
15151 (alt_mon): This.
15152 (mon): Import from CLDR (genitive case).
15153
ba2ea23d
L
151542018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15155
15156 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15157 cet-tunables.h> when CET is enabled.
15158
f753fa7d
L
151592018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15160
6b5c8607 15161 [BZ #21598]
f753fa7d
L
15162 * configure.ac: Add --enable-cet.
15163 * configure: Regenerated.
15164 * elf/Makefille (all-built-dso): Add a comment.
15165 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15166 Include <dl-prop.h>.
15167 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15168 segment.
15169 * elf/dl-open.c: Include <dl-prop.h>.
15170 (dl_open_worker): Call _dl_open_check.
15171 * elf/rtld.c: Include <dl-prop.h>.
15172 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15173 _rtld_main_check.
15174 * sysdeps/generic/dl-prop.h: New file.
15175 * sysdeps/i386/dl-cet.c: Likewise.
15176 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15177 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15178 * sysdeps/x86/cet-tunables.h: Likewise.
15179 * sysdeps/x86/check-cet.awk: Likewise.
15180 * sysdeps/x86/configure: Likewise.
15181 * sysdeps/x86/configure.ac: Likewise.
15182 * sysdeps/x86/dl-cet.c: Likewise.
15183 * sysdeps/x86/dl-procruntime.c: Likewise.
15184 * sysdeps/x86/dl-prop.h: Likewise.
15185 * sysdeps/x86/libc-start.h: Likewise.
15186 * sysdeps/x86/link_map.h: Likewise.
15187 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15188 _CET_ENDBR.
15189 (_dl_runtime_profile): Likewise.
15190 (_dl_runtime_resolve_shstk): New.
15191 (_dl_runtime_profile_shstk): Likewise.
15192 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15193 if CET is enabled.
15194 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15195 (CFLAGS-.os): Likewise.
15196 (CFLAGS-.op): Likewise.
15197 (CFLAGS-.oS): Likewise.
15198 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15199 is enabled.
15200 (tests-special): Add $(objpfx)check-cet.out.
15201 (cet-built-dso): New.
15202 (+$(cet-built-dso:=.note)): Likewise.
15203 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15204 ($(objpfx)check-cet.out): New.
15205 (generated): Add check-cet.out.
15206 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15207 <cet-tunables.h>.
15208 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15209 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15210 (init_cpu_features): Call get_cet_status to check CET status
15211 and update dl_x86_feature_1 with CET status. Call
15212 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15213 (set_x86_shstk). Disable and lock CET in libc.a.
15214 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15215 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15216 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15217 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15218 (_CET_ENDBR): Define if not defined.
15219 (ENTRY): Add _CET_ENDBR.
15220 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15221 x86_shstk.
15222 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15223 _CET_ENDBR.
15224 (_dl_runtime_profile): Likewise.
15225
52b2a80f
RA
152262018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15227
15228 [BZ #21895]
15229 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15230 restore r2 on longjmp.
15231 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15232 test list.
15233 Added rules to build test tst-setjmp-bug21895-static.
15234 Added module setjmp-bug21895 and rules to build a shared object from it.
15235 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15236 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15237
3ae725df
WD
152382018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15239
15240 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15241 * benchtests/bench-strstr.c: Likewise.
15242 * string/memmem.c (FASTSEARCH): Define.
15243 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15244 Add support for FASTSEARCH.
15245 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15246 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15247 (FASTSEARCH): Define.
15248 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15249 * string/test-strstr.c: Likewise.
15250
31e422ca
L
152512018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15252
15253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15254 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15255
faaee1f0
L
152562018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15257 H.J. Lu <hongjiu.lu@intel.com>
15258
15259 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15260 (__longjmp): Restore shadow stack pointer if shadow stack is
15261 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15262 isn't defined for __longjmp_cancel.
15263 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15264 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15265 and SHADOW_STACK_POINTER_OFFSET is defined.
15266 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15267 (setjmp): Save shadow stack pointer if shadow stack is enabled
15268 and SHADOW_STACK_POINTER_OFFSET is defined.
15269 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15270 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15271 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15272 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15273 <jmp_buf-ssp.h>.
15274 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15275 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15276 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15277 Remove jmp_buf-ssp.sym.
15278 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15279 <jmp_buf-ssp.h>.
15280 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15281 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15282 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15283 jmp_buf-ssp.sym.
15284 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15285 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15286 (__longjmp): Restore shadow stack pointer if shadow stack is
15287 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15288 isn't defined for __longjmp_cancel.
15289 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15290 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15291 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15292
ebff9c5c
L
152932018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 [BZ #22563]
15296 * nptl/pthread_create.c: Include <tls-setup.h>.
15297 (__pthread_create_2_1): Call tls_setup_tcbhead.
15298 * sysdeps/generic/tls-setup.h: New file.
15299 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15300 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15301 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15302 Likewise.
15303 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15304 to feature_1.
15305 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15306 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15307 (X86_FEATURE_1_SHSTK): Likewise.
15308 (CET_ENABLED): Likewise.
15309 (IBT_ENABLED): Likewise.
15310 (SHSTK_ENABLED): Likewise.
15311
ab74d59f 153122018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
0a83bad2
RL
15313
15314 [BZ #23208]
15315 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15316 (LOCALES): Likewise.
15317 * localedata/dsb_DE.UTF-8.in: New file.
15318 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15319
046bfed9
FW
153202018-07-12 Florian Weimer <fweimer@redhat.com>
15321
15322 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15323 __mprotect, not mprotect.
15324
93304f5f
FW
153252018-07-11 Florian Weimer <fweimer@redhat.com>
15326
15327 * io/Makefile (headers): Add bits/statx.h.
15328
4beefeeb
MF
153292018-07-10 Mike FABIAN <mfabian@redhat.com>
15330
15331 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15332 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15333 and headers.
15334 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15335 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15336 for utf8_gen.py
15337
fd70af45
FW
153382018-07-10 Florian Weimer <fweimer@redhat.com>
15339
15340 * io/Makefile (routines): Add statx.
15341 (tests-internal): Add tst-statx.
15342 * io/Versions (GLIBC_2.28): Export statx.
15343 * io/bits/statx.h: New file.
15344 * io/sys/stat.h [__USE_GNU]: Include it.
15345 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15346 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15347 Define.
15348 * io/statx.c: New file.
15349 * io/statx_generic.: Likewise.
15350 * io/tst-statx.: Likewise.
15351 * include/bits/statx.h: Likewise.
15352 * sysdeps/unix/sysv/linux/kernel-features.h
15353 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15354 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15355 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15356 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15357 Undefine.
15358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15359 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15360 * sysdeps/unix/sysv/linux/statx.c: New file.
15361 * manual/filesys.texi: Note that statx is undocumented.
15362 * sysdeps/**/libc*.abilist: Update.
15363
b444e8f7
AZ
153642018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15365
15366 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15367 a kernel issue which lead to test failure in some cases.
15368
7b2f4ced
FW
153692018-07-10 Florian Weimer <fweimer@redhat.com>
15370
15371 [BZ #23036]
15372 * posix/regexec.c (check_node_accept_bytes): When comparing
15373 weights, do not compare an extra byte after the end of the
15374 weights.
15375
4fa34da6
FW
153762018-07-10 Florian Weimer <fweimer@redhat.com>
15377
15378 * libio/readline.c: Fix copyright year.
15379 * libio/tst-readline.c Likewise.
15380 * nss/tst-nss-files-hosts-getent.c: Likewise.
15381
916124ed
FW
153822018-07-06 Florian Weimer <fweimer@redhat.com>
15383
15384 [BZ #18991]
15385 * nss/nss_files/files-XXX.c (internal_getent): Use
15386 __libc_readline_unlocked. Seek back to the start of the line if
15387 parsing failes with ERANGE.
15388 (get_contents_ret, get_contents): Remove.
15389 * nss/tst-nss-files-hosts-getent.c: New file.
15390 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15391 (tst-nss-files-hosts-getent): Link with -ldl.
15392
3f5e3f5d
FW
153932018-07-06 Florian Weimer <fweimer@redhat.com>
15394
15395 * include/stdio.h (__libc_readline_unlocked): Declare.
15396 (__ftello64, __fseeko64): Declare aliases.
15397 * libio/readline.c: New file.
15398 * libio/tst-readline.c: Likewise.
15399 (routines): Add readline.
15400 (tests-internal): Add tst-readlime.
15401 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15402 __libc_readline_unlocked.
15403 * libio/fseeko.c (__fseeko): Rename from fseeko.
15404 (fseeko): Add alias.
15405 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15406 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15407 (fseeko64): Add alias.
15408 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15409 * libio/ftello64.c (__ftello64): Rename from ftello64.
15410 (ftello64): Add alias.
15411
397c54c1
SN
154122018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15413
15414 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15415 HWCAP_ATOMICS.
15416
d0cd7980
SN
154172018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15418
15419 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15420 Use dl_hwcap without masking.
15421 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15422 Remove HWCAP_CPUID.
15423
ddb3c626
FW
154242018-07-06 Florian Weimer <fweimer@redhat.com>
15425
15426 * conform/conformtest.pl (checknamespace): Escape literal braces
15427 in regular expressions.
15428
bce5911b
AP
154292018-07-06 Amit Pawar <amit.pawar@amd.com>
15430
15431 * sysdeps/x86/cpu-features.c (get_common_indeces):
15432 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15433 * sysdeps/x86/cpu-features.c (init_cpu_features):
15434 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15435
3a885c1f
FW
154362018-07-05 Florian Weimer <fweimer@redhat.com>
15437
15438 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15439 protector.
15440 (CFLAGS-elf-init.oS): Likewise.
15441
38cade0c
FW
154422018-07-05 Florian Weimer <fweimer@redhat.com>
15443 Carlos O'Donell <carlos@redhat.com>
15444
15445 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15446 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15447 with stack protector enabled because there is no risk of infinite
15448 recursion.
15449
9449a295
MR
154502018-07-05 Maciej W. Rozycki <macro@mips.com>
15451
15452 [BZ #19818]
15453 [BZ #23307]
15454 * libc-abis (ABSOLUTE): New ABI.
15455 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15456 * NEWS: Mention the new ABI.
15457
d6da5cb6
FW
154582018-07-05 Florian Weimer <fweimer@redhat.com>
15459
15460 [BZ # 17662]
15461 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15462 (RENAME_WHITEOUT): Define.
15463 [__USE_GNU] (renameat2): Declare.
15464 * stdio-common/Makefile (routines): Add renameat2.
15465 (tests): Add tst-renameat2.
15466 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15467 * stdio-common/renameat2.c: New file.
15468 * stdio-common/tst-renameat2.c: Likewise.
15469 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15470 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15471 undocumented.
15472 * sysdeps/unix/sysv/linux/kernel-features.h
15473 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15475 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15477 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15478 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15479 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15480 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15481 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15482 * include/stdio.h (__renameat): Add alias for renameat.
15483 * stdio-common/renameat.c (__renameat): Rename from renameat.
15484 Add hidden definition and alias.
15485 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15486 * sysdeps/mach/hurd/renameat.c: Likewise.
15487 * sysdeps/**/libc*.abilist: Add renameat2.
15488
1002d708
AZ
154892018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15490
15491 * posix/bug-regex33.c: Fix build after regex sync.
15492
34fdb893
CD
154932018-07-04 Carlos O'Donell <carlos@redhat.com>
15494
15495 [BZ #23164]
15496 * localedata/tst-langinfo-setlocale.c: New file.
15497 * localedata/tst-langinfo-setlocale-static.c: New file.
15498 * localedata/tst-langinfo-newlocale.c: New file.
15499 * localedata/tst-langinfo-newlocale-static.c: New file.
15500 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15501 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15502 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15503 (tests-static): Remove tst-langinfo-static. Add
15504 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15505 (tests-special): Remove $(objpfx)tst-langinfo.out,
15506 $(objpfx)tst-langinfo-static.out. Add
15507 $(objpfx)tst-langinfo-setlocale.out,
15508 $(objpfx)tst-langinfo-newlocale.out,
15509 $(objpfx)tst-langinfo-setlocale-static.out,
15510 $(objpfx)tst-langinfo-newlocale-static.out.
15511 ($(objpfx)tst-langinfo.out): Remove.
15512 ($(objpfx)tst-langinfo-static.out): Remove.
15513 ($(objpfx)tst-langinfo-newlocale.out): New target.
15514 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15515 (test-xfail-tst-langinfo-newlocale-static): Add.
15516 ($(objpfx)tst-langinfo-setlocale.out): New target.
15517 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15518 * localedata/tst-langinfo.c: Call test_locale.
15519 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15520 data.
15521
f2873d2d
FW
155222018-07-04 Florian Weimer <fweimer@redhat.com>
15523
15524 testrun.sh: Implement --tool=strace, --tool=valgrind
15525 * Makefile (testrun-script): Define variable.
15526 (testrun.sh): Use variable.
15527 * manual/install.texi (Tools for Compilation): make 4.0 or later
15528 is required.
15529 * configure.ac: Check for make 4.0 or later.
15530 * INSTALL: Regenerate.
15531 * configure: Likewise.
15532
eb04c213
AZ
155332018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15534
15535 [BZ #23233]
15536 [BZ #21163]
15537 [BZ #18986]
15538 [BZ #13762]
15539 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15540 * posix/PCRE.tests: Remove invalid test.
15541 * posix/bug-regex28.c: Fix expected values for used syntax.
15542 * posix/bug-regex37.c: New file.
15543 * posix/bug-regex38.c: Likewise.
15544 * posix/regcomp.c: Sync with gnulib.
15545 * posix/regex.c: Likewise.
15546 * posix/regex.h: Likewise.
15547 * posix/regex_internal.c: Likewise.
15548 * posix/regex_internal.h: Likewise.
15549 * posix/regexec.c: Likewise.
15550
b11643c2
MF
155512018-06-26 Mike FABIAN <mfabian@redhat.com>
15552
15553 [BZ #23308]
15554 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15555 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15556 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15557 * localedata/unicode-gen/PropList.txt: likewise.
15558 * localedata/unicode-gen/UnicodeData.txt: likewise.
15559 * localedata/charmaps/UTF-8: Regenerate.
15560 * localedata/locales/i18n_ctype: likewise.
15561 * localedata/locales/tr_TR: likewise.
15562 * localedata/locales/translit_circle: likewise.
15563 * localedata/locales/translit_cjk_compat: likewise.
15564 * localedata/locales/translit_combining: likewise.
15565 * localedata/locales/translit_compat: likewise.
15566 * localedata/locales/translit_font: likewise.
15567 * localedata/locales/translit_fraction: likewise.
15568
5a357506
FW
155692018-07-03 Florian Weimer <fweimer@redhat.com>
15570
15571 [BZ #23363]
15572 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15573 * stdio-common/tst-printf.sh: Adjust expected output.
15574 * LICENSES: Update.
15575
7279af00
AZ
155762018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15577
15578 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15579 symbol.
15580
b7b88cea
GG
155812018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15582
15583 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15584 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15585 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15586 * stdio-common/tst-printfsz-islongdouble.c: New file.
15587 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15589 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15590 [subdir == stdio-common] (tests-internal): Add
15591 test-printf-size-ieee128, and test-printf-size-ibm128.
15592 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15593 (CFLAGS-test-printf-size-ibm128.c): New variables.
15594 [subdir == stdio-common] (tests-special): Add
15595 $(objpfx)test-printf-size-ieee128.out and
15596 $(objpfx)test-printf-size-ibm128.out.
15597 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15598 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15599 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15600 __printf_sizeieee128.
15601 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15602 New file.
15603 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15604 Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15606 Likewise.
15607
2b445206
SN
156082018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15609
15610 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15611 (exp2f_inline): Likewise.
15612 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15613 (__math_uflowf): Likewise.
15614 (__math_may_uflowf): Likewise.
15615 (__math_divzerof): Likewise.
15616 (__math_invalidf): Likewise.
15617 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15618 (__math_oflowf): Likewise.
15619 (__math_uflowf): Likewise.
15620 (__math_may_uflowf): Likewise.
15621 (__math_divzerof): Likewise.
15622 (__math_invalidf): Likewise.
15623
2827ab99
CD
156242018-06-29 DJ Delorie <dj@redhat.com>
15625 Carlos O'Donell <carlos@redhat.com>
15626
15627 [BZ #23329]
15628 * include/libc-symbols.h: Comment the freeres framework.
15629 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15630 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15631 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15632 * dlfcn/dlerror.c: Include libc-symbols.h
15633 (__dlerror_main_freeres): New function.
15634 * dlfcn/dlfreeres.c: New file.
15635 * dlfcn/sdlfreeres.c: New file.
15636 * include/dlfcn.h: Declare __dlerror_main_freeres.
15637 * malloc/set-freeres.c: Declare __libdl_freeres, and
15638 __libpthread_freeres.
15639 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15640 the releavant libraries are loaded.
15641 * malloc/thread-freeres.c: Add comments.
15642 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15643 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15644 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15645 (__free_stacks): Rename to...
15646 (free_stacks): ...this. Mark static.
15647 (queue_stack): Call free_stacks.
15648 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15649 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15650 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15651 ptr_freeres element from struct.
15652 (pthread_functions): Remove .ptr_freeres from struct initializer.
15653 [SHARED] (nptl_freeres): Remove.
15654 * nptl/nptlfreeres.c: New file.
15655 * nptl/pthreadP.h
15656 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15657 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15658 attribute_hidden.
15659 (__free_stacks): Rename to...
15660 (__nptl_stacks_freeres): ...this.
15661 (__shm_directory_freeres): Declare.
15662 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15663 (__nptl_unwind_freeres): ...this.
15664 * resolv/res-close.c: Add comment.
15665 * resolv/resolv_conf.c: Include libc-symbols.h.
15666 * string/strerror_l.c: Include libc-symbols.h.
15667 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15668 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15669 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15670 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15671
37d3d244
RS
156722018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15673
15674 * stdlib/tst-strfmon_l.c: Add tests for long double.
15675
a1e0c5fa
MW
156762018-06-29 Michael Wolf <milupo@sorbzilla.de>
15677
15678 [BZ #23208]
15679 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15680 * localedata/locales/dsb_DE: New file.
15681
ab74d59f 156822018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
2e0c5de6
RL
15683
15684 [BZ #23140]
15685 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15686 genitive case).
15687 (alt_mon): New entry, import from CLDR (nominative case).
15688
cdb52c71
SL
156892018-06-29 Sylvain Lesage <severo@rednegra.net>
15690
15691 [BZ #22996]
15692 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15693
ce76a5cb
SP
156942018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15695
0aec4c1d
SP
15696 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15697 Use vector registers.
15698
ce76a5cb
SP
15699 * sysdeps/aarch64/multiarch/memmove_falkor.S
15700 (__memcpy_falkor): Use vector registers.
15701
7e8989d0
MS
157022018-06-29 Martin Sebor <msebor@redhat.com>
15703
15704 * manual/stdio.texi (Customizing Printf): Mention interaction
15705 with GCC built-ins.
15706
bac15a72
MR
157072018-06-29 Maciej W. Rozycki <macro@mips.com>
15708
15709 [BZ #23307]
15710 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15711 `st_value' is 0 if `st_shndx' is SHN_ABS.
15712 * elf/tst-absolute-zero.c: New file.
15713 * elf/tst-absolute-zero-lib.c: New file.
15714 * elf/tst-absolute-zero-lib.lds: New file.
15715 * elf/Makefile (tests): Add `tst-absolute-zero'.
15716 (modules-names): Add `tst-absolute-zero-lib'.
15717 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15718 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15719 ($(objpfx)tst-absolute-zero: New dependency.
15720
e69d994a
ZW
157212018-06-29 Zack Weinberg <zackw@panix.com>
15722
15723 * configure.ac: New command-line option --disable-crypt.
15724 Force --disable-nss-crypt when --disable-crypt is given, with a
15725 warning if it was explicitly enabled.
15726 * configure: Regenerate.
15727 * config.make.in: New boolean substitution variable $(build-crypt).
15728 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15729 when $(build-crypt).
15730 * manual/install.texi: Document --disable-crypt.
15731 * INSTALL: Regenerate.
15732
15733 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15734 which is never set.
15735 * conform/Makefile: Only include libcrypt.a in
15736 linknamespace-libs-xsi and linknamespace-libs-XPG4
15737 when $(build-crypt).
15738 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15739 USE_CRYPT to 1 when $(build-crypt).
15740 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15741 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15742 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15743
841785ba
ZW
157442018-06-29 Zack Weinberg <zackw@panix.com>
15745
15746 * crypt/crypt.h, posix/unistd.h: Update comments and
15747 prototypes for crypt and crypt_r.
15748
15749 * manual/crypt.texi (Cryptographic Functions): New initial
15750 exposition.
15751 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15752 (Unpredictable Bytes): Improve initial exposition. Clarify error
15753 behavior of getentropy and getrandom.
15754 * manual/examples/genpass.c: Generate a salt using getentropy
15755 instead of the current time. Use hash $5$ (SHA-2-256).
15756 * manual/examples/testpass.c: Demonstrate validation against
15757 hashes generated with three different one-way functions.
15758
15759 * manual/intro.texi: crypt.texi does not need an overview
15760 anymore.
15761
15762 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15763 * manual/terminal.texi: Consistently refer to "passphrases"
15764 * instead of "passwords", and to the "user database" instead
15765 * of the "password database".
15766 * manual/users.texi: Similarly. Add notes about how actual
15767 passphrase hashes are now stored in the shadow database.
15768 Remove 20-year-old junk todo note.
15769
6ab902e4
ZW
157702018-06-29 Zack Weinberg <zackw@panix.com>
15771
15772 * manual/crypt.texi: Use a normal top-level @node declaration.
15773 Move most of the introductory text to the 'crypt' section.
15774 Move the example programs below the @deftypefun for 'crypt_r'.
15775 Move the 'getpass' section...
15776 * manual/terminal.texi: ...here.
15777
b10a0acc
ZW
157782018-06-29 Zack Weinberg <zackw@panix.com>
15779 Florian Weimer <fweimer@redhat.com>
15780
15781 * posix/unistd.h: Do not declare encrypt.
15782 (_XOPEN_CRYPT): Remove macro definition.
15783 (crypt): Declare only for _USE_MISC.
15784 * stdlib/stdlib.h: Do not declare setkey.
15785 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15786 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15787
15788 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15789 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15790 into compat symbols. Don't define initial_perm if it's not
15791 going to be used.
15792 * crypt/cert.c: Link explicitly with the expected versions for
15793 setkey and encrypt. If they are not available at all, mark
15794 the test as unsupported.
15795
15796 * sunrpc/des_crypt.c: Unconditionally block linkage with
15797 cbc_crypt and ecb_crypt for new binaries.
15798 * sunrpc/des_soft.c: Unconditionally block linkage with
15799 des_setparity for new binaries.
15800
15801 * manual/crypt.texi: Remove the entire "DES Encryption"
15802 section. Also remove the paragraph talking about FIPS 140-2
15803 from the introduction.
15804 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15805 of libgcrypt for "real" encryption, not DES.
15806 * manual/conf.texi (Constants for Sysconf): Mention that
15807 _XOPEN_CRYPT is no longer impelemented.
15808
15809 * conform/data/unistd.h-data: Remove crypt function declaration.
15810
524d796d
FW
158112018-06-29 Florian Weimer <fweimer@redhat.com>
15812
15813 [BZ #23351]
15814 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15815 (disallow_malloc_check): Remove variable.
15816 (__malloc_check_init): Adjust.
15817 (malloc_set_state): Update comment.
15818 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15819 declarations.
15820
ab74d59f 158212018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
339124ab
RL
15822
15823 [BZ #23140]
15824 * localedata/locales/ast_ES (mon): Rename to...
15825 (alt_mon): This.
15826 (mon): Import from CLDR (genitive case).
15827
c1f86a33
DA
158282018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15829 Jakub Sitnicki <jkbs@redhat.com>
15830
15831 [BZ #21812]
15832 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15833 on NLM_F_DUMP_INTR.
15834
0b11b649
SN
158352018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15836
15837 * manual/llio.texi: Remove spurious space.
15838
c1c2848b
FW
158392018-06-28 Florian Weimer <fweimer@redhat.com>
15840
15841 [BZ #23349]
15842 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15843 _STRUCT_TIMESPEC.
15844
86a0f561
RS
158452018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15846
15847 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 15848 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
15849 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15850 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15851 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15852 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15853 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15854
780684eb
MR
158552018-06-27 Maciej W. Rozycki <macro@mips.com>
15856
15857 [BZ #23266]
15858 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15859 Copy and null-terminate entries that are not terminated, in
15860 addition to empty ones.
15861
c49e1822
FW
158622018-06-27 Florian Weimer <fweimer@redhat.com>
15863
15864 [BZ #18023]
b39d961c
TS
15865 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15866 (extend_alloca_account): Remove.
c49e1822
FW
15867 * manual/stdio.texi (Variable Arguments Output): Update comment.
15868
a833e627
JM
158692018-06-27 Joseph Myers <joseph@codesourcery.com>
15870
15871 * nptl/sockperf.c: Remove file.
15872
92d6aa85
FW
158732018-06-27 Florian Weimer <fweimer@redhat.com>
15874
15875 [BZ #18023]
15876 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15877 scratch_buffer instead of extend_alloca.
15878
890c2ced
FW
158792018-06-27 Florian Weimer <fweimer@redhat.com>
15880
15881 [BZ #18023]
15882 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15883 scratch_buffer instead of extend_alloca. Update comments.
15884
4272059d
FW
158852018-06-27 Florian Weimer <fweimer@redhat.com>
15886
15887 [BZ #18023]
15888 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15889 instead of extend_alloca.
15890
27f10a09
JM
158912018-06-26 Joseph Myers <joseph@codesourcery.com>
15892
15893 [BZ #13888]
15894 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15895 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15896 /tmp.
15897 * scripts/test-installation.pl: Put temporary files in build
15898 directory, not /tmp.
15899 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15900 (CFLAGS-bug4.c): Likewise.
15901 (CFLAGS-bug5.c): Likewise.
15902 (CFLAGS-test-fseek.c): Likewise.
15903 (CFLAGS-test-popen.c): Likewise.
15904 (CFLAGS-test_rdwr.c): Likewise.
15905 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15906 /tmp.
15907 * stdio-common/bug4.c (main): Likewise.
15908 * stdio-common/bug5.c (main): Likewise.
15909 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15910 * stdio-common/test-popen.c (do_test): Likewise.
15911 * stdio-common/test_rdwr.c (main): Likewise.
15912
05598a09
PF
159132018-06-26 Patsy Franklin <pfrankli@redhat.com>
15914
15915 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15916 (sem_open): Set sem.newsem.pad to zero for valgrind.
15917
06ab719d
AZ
159182018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15919
15920 [BZ #20251]
15921 * NEWS: Mention fcntl64 addition.
15922 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15923 * login/utmp_file.c: Likewise.
15924 * sysdeps/posix/fdopendir.c: Likewise.
15925 * sysdeps/posix/opendir.c: Likewise.
15926 * sysdeps/unix/pt-fcntl.c: Likewise.
15927 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15928 __fcntl64_nocancel_adjusted): New prototype.
15929 (__fcntl_nocancel_adjusted): Remove prototype.
15930 * io/Makefile (routines): Add fcntl64.
15931 (CFLAGS-fcntl64.c): New rule.
15932 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15933 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15934 * io/fcntl.h (fcntl64): Add prototype and redirect if
15935 __USE_FILE_OFFSET64 is defined.
15936 * io/fcntl64.c: New file.
15937 * manual/llio.text: Add a note for which commands fcntl acts a
15938 cancellation point.
15939 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15940 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15941 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15942 New symbols.
15943 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15944 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15945 non-LFS case.
15946 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15947 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15948 to __fcntl64_nocancel.
15949 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15950 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15951 to __fcntl64_nocancel.
15952 * sysdeps/generic/not-cancel.h: Likewise.
15953 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15954 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15955 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15956 (fcntl64): New symbol.
15957 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15968 fcntl64): Likewise.
15969 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15971 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15979 Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15981 Likewise.
15982 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15985
124e0258
FW
159862018-06-26 Florian Weimer <fweimer@redhat.com>
15987
15988 Run thread shutdown functions in an explicit order.
15989 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15990 definition.
15991 (__libc_thread_freeres): Call thread shutdown functions
15992 explicitly.
15993 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15994 * include/string.h (__strerror_thread_freeres): Declare.
15995 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15996 arena_thread_freeres. No longer static. Remove thread shutdown
15997 hook registration.
15998 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15999 Declare.
16000 * resolv/res-close.c (__res_thread_freeres): Renamed from
16001 res_thread_freeres. No longer static. Remove thread shutdown
16002 hook registration.
16003 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16004 * resolv/resolv_conf.c (freeres): Remove incorrect section
16005 attribute and use libc_freeres_fn.
16006 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16007 strerror_thread_freeres. No longer static. Remove thread
16008 shutdown hook registration.
16009 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16010 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16011 shutdown hook registration.
16012 * Makerules (shlib.lds): Do not provide section boundary symbols
16013 for __libc_thread_subfreeres.
16014 * manual/memory.texi (Basic Allocation): Update comment.
16015
935d920e
FW
160162018-06-26 Florian Weimer <fweimer@redhat.com>
16017
16018 Remove always-defined _RPC_THREAD_SAFE_ macro.
16019 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16020 Do not define _RPC_THREAD_SAFE_.
16021 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16022 conditional.
16023 * sunrpc/clnt_perr.c: Likewise.
16024 * sunrpc/clnt_raw.c: Likewise.
16025 * sunrpc/clnt_simp.c: Likewise.
16026 * sunrpc/key_call.c: Likewise.
16027 * sunrpc/rpc_common.c: Likewise.
16028 * sunrpc/rpc_main.c: Likewise.
16029 * sunrpc/rpc_thread.c: Likewise.
16030 * sunrpc/svc.c: Likewise.
16031 * sunrpc/svc_raw.c: Likewise.
16032 * sunrpc/svc_simple.c: Likewise.
16033 * sumrpc/svcauth_des.c: Likewise.
16034
29055464
FW
160352018-06-26 Florian Weimer <fweimer@redhat.com>
16036
16037 * libio/Makefile (tests-internal): Add tst-vtables,
16038 tst-vtables-interposed.
16039 * libio/tst-vtables.c: New file.
16040 * libio/tst-vtables-common.c: Likewise.
16041 * libio/tst-vtables-interposed.c: Likewise.
16042
5c0202af
FW
160432018-06-26 Florian Weimer <fweimer@redhat.com>
16044
16045 * support/support_test_main.c (support_test_main): Only call
16046 setvbuf if not disables.
16047 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16048 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16049
c402355d
FW
160502018-06-26 Florian Weimer <fweimer@redhat.com>
16051
16052 [BZ #23313]
16053 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16054
43b1048a
FW
160552018-06-25 Florian Weimer <fweimer@redhat.com>
16056
16057 [BZ #18023]
16058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16059 Use struct scratch_buffer instead of extend_alloca.
16060
1599ed4e
FW
160612018-06-25 Florian Weimer <fweimer@redhat.com>
16062
16063 [BZ #18023]
16064 * nss/getent.c (initgroups_keys): Use dynarray instead of
16065 extend_alloca.
16066
a26fe163
FW
160672018-06-25 Florian Weimer <fweimer@redhat.com>
16068
16069 [BZ #18023]
16070 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16071 Use struct scratch_buffer instead of extend_alloca.
16072
90d9d9ce
FW
160732018-06-25 Florian Weimer <fweimer@redhat.com>
16074
16075 [BZ #18023]
16076 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16077 back to malloc directly, without stack allocations.
16078
6b7b2aba
FW
160792018-06-25 Florian Weimer <fweimer@redhat.com>
16080
16081 [BZ #18023]
16082 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16083 of extend_alloca.
16084
2f9f0d18
FW
160852018-06-25 Florian Weimer <fweimer@redhat.com>
16086
16087 [BZ #18023]
16088 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16089 of extend_alloca.
16090 * nscd/hstcache.c (addhstbyX): Likewise.
16091 * nscd/pwdcache.c (addpwbyX): Likewise.
16092 * nscd/servicescache.c (addservbyX): Likewise.
16093
318bad78
FW
160942018-06-25 Florian Weimer <fweimer@redhat.com>
16095
16096 [BZ #18023]
16097 * nscd/connections.c (read_cmdline): New function.
16098 (restart): Use it. Update comment.
16099
ab74d59f 161002018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
189699ab
RL
16101
16102 [BZ #23140]
16103 * localedata/locales/csb_PL (mon): Rename to...
16104 (alt_mon): This.
16105 (abmon): Rename to...
16106 (ab_alt_mon): This.
16107 (mon): Add with proper genitive forms, copy from Wikipedia.
16108 (abmon): Likewise.
16109
ab74d59f 161102018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
0ea3f13c
RL
16111
16112 [BZ #19485]
16113 * localedata/locales/csb_PL (mon): Fix typos:
16114 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16115 (yesstr): Add, value is "jo".
16116 (nostr): Add, value is "nié".
16117
d93f4ff1
TMQMF
161182018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16119
16120 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16121 all log1p and significand functions on m680x0.
16122 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16123 of s_significand.c..
16124 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16125 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16126 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16127 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16128 s_log1p.c and include it..
16129
f6299d2a
VC
161302018-06-21 Vincent Chen <vincentc@andestech.com>
16131
16132 * elf/elf.h (R_NDS32_NONE): New define.
16133 (R_NDS32_32_RELA): Likewise.
16134 (R_NDS32_COPY): Likewise.
16135 (R_NDS32_GLOB_DAT): Likewise.
16136 (R_NDS32_JUMP_SLOT): Likewise.
16137 (R_NDS32_RELATIVE): Likewise.
16138 (R_NDS32_TLS_TPOFF): Likewise.
16139 (R_NDS32_TLS_DESC): Likewise.
16140
61ab61c2
MW
161412018-06-21 Mark Wielaard <mark@klomp.org>
16142
16143 * elf/elf.h (R_BPF_MAP_FD): Removed.
16144 (R_BPF_64_64, R_BPF_64_32): New.
16145
f496b28e
FW
161462018-06-21 Florian Weimer <fweimer@redhat.com>
16147
16148 [BZ #23253]
16149 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16150 Renamed from libc_feholdsetround_ctx.
16151 (default_libc_feresetround_ctx): Renamed from
16152 libc_feresetround_ctx.
16153 (default_libc_feholdsetround_noex_ctx): Renamed from
16154 libc_feholdsetround_noex_ctx.
16155 (default_libc_feresetround_noex_ctx): Renamed from
16156 libc_feresetround_noex_ctx.
16157 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16158 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16159 forwardning to the old implementations under the new names.
16160 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16161 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16162 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16163 (libc_feresetround_ctx): Forward to default implements for i386
16164 and MATH_SET_BOTH_ROUNDING_MODES.
16165 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16166 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16167
1760daad
JM
161682018-06-20 Joseph Myers <joseph@codesourcery.com>
16169
99c7adf9
JM
16170 * string/tst-cmp.c: Include <libc-diag.h>.
16171 (strncmp_max): Disable -Wstringop-overflow= around call to
16172 strncmp.
16173 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16174 strncasecmp.
16175
1760daad
JM
16176 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16177 (main): Disable -Wunused-value around call to strpbrk.
16178 * string/bug-strspn1.c: Include <libc-diag.h>.
16179 (main): Disable -Wunused-value around call to strspn.
16180
209ae17c
TMQMF
161812018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16182 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16183
16184 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16185 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16186
badba23c
TMQMF
161872018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16188
5e79e029
TMQMF
16189 * math/Makefile (libm-calls): Move s_significandF to...
16190 (gen-libm-calls): ... here.
16191 * math/s_significand_template.c: New file.
16192 * math/s_significand.c: Removed.
16193 * math/s_significandf.c: Removed.
16194 * math/s_significandl.c: Removed.
16195 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16196 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16197
badba23c
TMQMF
16198 * math/e_exp2_template.c (declare_mgen_finite_alias,
16199 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16200 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16201 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16202
2d1c89a5
FW
162032018-06-20 Florian Weimer <fweimer@redhat.com>
16204
16205 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16206
646c2833
JM
162072018-06-19 Joseph Myers <joseph@codesourcery.com>
16208
16209 [BZ #23280]
16210 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16211 floating-point number to strtod functions rather than possibly
16212 negating result of those functions.
16213 * stdio-common/tst-scanf-round.c: New file.
16214 * stdio-common/Makefile (tests): Add tst-scanf-round.
16215 ($(objpfx)tst-scanf-round): Depend on $(libm).
16216
c77e4dc0
ST
162172018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16218
16219 * sysdeps/mach/hurd/localplt.data: Move to...
16220 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16221 R_386_GLOB_DAT like on Linux i386.
16222
91b2f3e5
JM
162232018-06-18 Joseph Myers <joseph@codesourcery.com>
16224
f2857da7
JM
16225 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16226 (SHM_STAT_ANY): New macro.
16227 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16228 (SHM_STAT_ANY): Likewise.
16229 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16230 (SHM_STAT_ANY): Likewise.
16231 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16232 (SHM_STAT_ANY): Likewise.
16233 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16234 (SHM_STAT_ANY): Likewise.
16235 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16236 (SHM_STAT_ANY): Likewise.
16237 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16238 (SHM_STAT_ANY): Likewise.
16239 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16240 (SHM_STAT_ANY): Likewise.
16241 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16242 (SHM_STAT_ANY): Likewise.
16243 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16244 (SHM_STAT_ANY): Likewise.
16245 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16246 (SHM_STAT_ANY): Likewise.
16247 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16248 (SHM_STAT_ANY): Likewise.
16249
176c7fee
JM
16250 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16251 (SEM_STAT_ANY): New macro.
16252 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16253 (SEM_STAT_ANY): Likewise.
16254 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16255 (SEM_STAT_ANY): Likewise.
16256 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16257 (SEM_STAT_ANY): Likewise.
16258 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16259 (SEM_STAT_ANY): Likewise.
16260 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16261 (SEM_STAT_ANY): Likewise.
16262 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16263 (SEM_STAT_ANY): Likewise.
16264 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16265 (SEM_STAT_ANY): Likewise.
16266 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16267 (SEM_STAT_ANY): Likewise.
16268 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16269 (SEM_STAT_ANY): Likewise.
16270
86bf0019
JM
16271 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16272 (MSG_STAT_ANY): New macro.
16273 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16274 (MSG_STAT_ANY): Likewise.
16275 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16276 (MSG_STAT_ANY): Likewise.
16277 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16278 (MSG_STAT_ANY): Likewise.
16279 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16280 (MSG_STAT_ANY): Likewise.
16281 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16282 (MSG_STAT_ANY): Likewise.
16283 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16284 (MSG_STAT_ANY): Likewise.
16285 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16286 (MSG_STAT_ANY): Likewise.
16287 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16288 (MSG_STAT_ANY): Likewise.
16289 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16290 (MSG_STAT_ANY): Likewise.
16291
91b2f3e5
JM
16292 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16293 (MAP_TYPE): Change value to 0x2b.
16294
3fe8fc79
FW
162952018-06-18 Florian Weimer <fweimer@redhat.com>
16296
16297 [BZ #15722]
16298 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16299 socket with SOCK_CLOEXEC.
16300
809dc95d
JM
163012018-06-18 Joseph Myers <joseph@codesourcery.com>
16302
16303 [BZ #23303]
16304 * sysdeps/powerpc/powerpc64/le/Makefile
16305 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16306 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16307 (gnulib-tests): Also add $(f128-loader-link) for
16308 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16309
298a8b59
ST
163102018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16311
16312 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16313 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16314 of sendfile.
16315 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16316 (sendfile64): New strong alias.
faf7bbc2
ST
16317 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16318 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16319 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
16320 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16321 attribute.
16322 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16323 ___pthread_get_cleanup_stack.
932d05f0 16324 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
16325 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16326 * mach/shortcut.awk: Make syscall stubs include
16327 <mach-shortcuts-hidden.h> and add hidden definition.
16328 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
16329 (__mach_msg): Add hidden prototype.
16330 * mach/msg.c: Include <mach.h>.
16331 (__mach_msg): Add hidden definition.
b0344cf5
ST
16332 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16333 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16334 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16335 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
16336 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16337 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
16338 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16339 prototype and definition.
16340 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16341 hidden target for _hurd_self_sigstate.
298a8b59 16342
b12c1e79
JM
163432018-06-15 Joseph Myers <joseph@codesourcery.com>
16344
16345 [BZ #23007]
16346 * stdlib/tst-strtod-nan-sign-main.c: New file.
16347 * stdlib/tst-strtod-nan-sign.c: Likewise.
16348 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16349 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16350 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16351 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16352 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16353
b0debe14
HB
163542018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16355
16356 [BZ #23007]
16357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16358 appropriate sign.
16359
14beef75
FW
163602018-06-14 Florian Weimer <fweimer@redhat.com>
16361
16362 [BZ #23290]
16363 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16364 that the result stays within the ISO-8859-1 range.
16365 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16366 characters are defined in IBM273.
16367
c596630b
ST
163682018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16369
16370 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16371 __mach_task_self): Remove attribute_hidden.
16372
35ebb6b0
JM
163732018-06-14 Joseph Myers <joseph@codesourcery.com>
16374
16375 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16376 ignore -Wrestrict for one test.
16377
3c7b9f1f
SE
163782018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16379 Szabolcs Nagy <szabolcs.nagy@arm.com>
16380
16381 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16382
c59ee916
FW
163832018-06-14 Florian Weimer <fweimer@redhat.com>
16384
16385 * scripts/update-abilist.sh: Accept empty list of files to patch.
16386
43b5ff50
ST
163872018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16388
16389 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16390 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
16391 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16392 __libc_read and __libc_write to __read and __write.
c8c6e6d6 16393 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
16394 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16395 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16396 __thread_switch, __evc_wait): Move declarations to...
16397 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16398 attribute_hidden.
06d1a826
ST
16399 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16400 use PLT to call _hurd_self_sigstate.
43b5ff50 16401
fcd6b5ac
JM
164022018-06-13 Joseph Myers <joseph@codesourcery.com>
16403
16404 [BZ #23279]
16405 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16406 MAX_EXP as overflowing.
16407 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16408 overflow flag.
16409 (round_str): Output also whether result overflows in each rounding
16410 mode.
16411 * stdlib/tst-strtod-round-data: Add more tests.
16412 * stdlib/tst-strtod-round-data.h: Regenerated.
16413 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16414 (TEST): Handle extra arguments for overflow flags.
16415 (struct test_overflow): New type.
16416 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16417 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16418 (test_in_one_mode): Take argument with overflow information.
16419 (do_test): Update calls to test_in_one_mode.
16420
35df5a77
CD
164212018-06-12 Carlos O'Donell <carlos@redhat.com>
16422
a745c837
CD
16423 * elf/dl-load (_dl_dst_substitute): Correct comment.
16424 (_dl_dst_count): Likewise.
16425
35df5a77
CD
16426 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16427 lll_futex_timed_wait.
16428
48b12ed5
JM
164292018-06-12 Joseph Myers <joseph@codesourcery.com>
16430
16431 [BZ #23277]
16432 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16433 attribute.
16434 * math/test-nan-const.c: New file.
16435 * math/Makefile (tests): Add test-nan-const.
16436 (CFLAGS-test-nan-const.c): New variable.
16437
cb8f6aff
L
164382018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16439
16440 * benchtests/scripts/compare_strings.py (process_results): Add
16441 funcs argument. Compare only functions which are selected.
16442 (main): Check if base function is among selected functions.
16443 Pass selected functions to process_results.
16444 (__main__): Add -f/--functions argument.
16445
fc2ba803
HZ
164462018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16447 Hongbo Zhang <hongbo.zhang@linaro.org>
16448
16449 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16450 __memcpy_falkor for phecda core.
16451 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16452 __memmove_falkor for phecda core.
16453 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16454 __memset_falkor for phecda core.
16455 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16456 for phecda core.
16457 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16458 macro to identify phecda core.
16459
5aad5f61
CD
164602018-06-12 Carlos O'Donell <carlos@redhat.com>
16461 Andreas Schwab <schwab@suse.de>
16462 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 16463 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
16464
16465 [BZ #23102]
16466 [BZ #21942]
16467 [BZ #18018]
16468 [BZ #23259]
16469 CVE-2011-0536
16470 * elf/dl-dst.h: Remove DL_DST_COUNT.
16471 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16472 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16473 (is_dst): Comment. Support ELF gABI.
16474 (_dl_dst_count): Comment. Simplify and count DSTs.
16475 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16476 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16477 locals.
16478
329ea513
ZW
164792018-06-12 Zack Weinberg <zackw@panix.com>
16480
16481 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16482 * sysdeps/unix/sysv/linux/dl-sysdep.c
16483 Include not-cancel.h. Use __close_nocancel instead of __close,
16484 __open64_nocancel instead of __open, __read_nocancel instead of
16485 __libc_read, and __write_nocancel instead of __libc_write.
16486
16487 * csu/check_fds.c (check_one_fd)
16488 * sysdeps/posix/fdopendir.c (__fdopendir)
16489 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 16490 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
16491
16492 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16493 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 16494 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
16495 Use __open64_nocancel instead of __open_nocancel.
16496
16497 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16498 hidden_proto declarations to the end and issue them if either
16499 IS_IN(libc) or IS_IN(rtld).
16500 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16501 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16502 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16503 read_nocancel, waitpid_nocancel, write_nocancel.
16504
b39d961c
TS
16505 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16506 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16507 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 16508
b39d961c
TS
16509 * nptl/pt-fcntl.c: New file.
16510 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16511 (libpthread-routines): Add pt-fcntl.
16512 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16513 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
16514 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16515 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 16516 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
16517 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16518 to fcntl_nocancel.c.
16519 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16522 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16523
16524 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16525 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16526 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16527 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16528 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16529 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16530 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16531 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16532 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16533 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16534 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16535 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16536 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16537 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16538 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16539 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16540 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16541 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16542 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16543 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16544
b39d961c
TS
16545 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16546 libpthread-routines.
16547 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16548 defines nothing.
329ea513 16549
b39d961c
TS
16550 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16551 __libc_read, and __write instead of __libc_write. Define
16552 __open64 in addition to __open.
329ea513 16553
0221ce2a
L
165542018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16555
16556 [BZ #23250]
16557 [BZ #10686]
16558 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16559 to _private_tm[3] and add __glibc_reserved2.
16560 Add _Static_assert of offset of __private_ss == 0x30.
16561 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16562 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16563
e826574c
FW
165642018-06-12 Florian Weimer <fweimer@redhat.com>
16565
16566 x86: Make strncmp usable from rtld.
16567 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16568 __strncmp_ia32 if in libc (and not in rtld).
16569 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16570 strncmp if not in libc (and not to __strncmp_sse2).
16571
ab74d59f 165722018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
c4ad5782
RL
16573
16574 [BZ #23140]
16575 * localedata/locales/gd_GB (mon): Rename to...
16576 (alt_mon): This.
16577 (mon): Import from CLDR (genitive case).
16578 * localedata/locales/hsb_DE (mon): Rename to...
16579 (alt_mon): This.
16580 (mon): Import from CLDR (genitive case).
16581 * localedata/locales/wa_BE (mon): Rename to...
16582 (alt_mon): This.
16583 (mon): Add, fill with the proper genitive forms, but CLDR data
16584 is incomplete; completed according to the comments in this file.
16585 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16586
16587 * localedata/locales/wa_BE (country_name): Reword
16588 "Beljike" -> "Beldjike".
16589
ca121b11
JM
165902018-06-11 Joseph Myers <joseph@codesourcery.com>
16591
16592 [BZ #23272]
16593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16594 cases of non-finite arguments.
16595 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16596
2b69fecb
JDA
165972018-06-10 John David Anglin <danglin@gcc.gnu.org>
16598
16599 [BZ #23174]
16600 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16601
283d9851
AZ
166022018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16603
16604 [BZ #23264]
16605 * include/unistd.h (__execvpex): New prototype.
16606 * posix/Makefile (tests): Add tst-spawn4.
16607 (tests-internal): Add tst-spawn4-compat.
16608 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16609 * posix/tst-spawn4-compat.c: New file.
16610 * posix/tst-spawn4.c: Likewise.
16611 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16612 binaries as shell scripts.
16613 * sysdeps/posix/spawni.c (__spawni): Likewise.
16614
67c05796
L
166152018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16616
16617 [BZ #23145]
16618 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16619 ($(all-built-dso:=.dynsym): New target.
16620 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16621 ($(objpfx)check-initfini.out): New target.
16622 (generated): Add check-initfini.out.
16623 * scripts/check-initfini.awk: New file.
16624 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16625 (_fini): Likewise.
16626 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16627 (_fini): Likewise.
16628 * sysdeps/arm/crti.S (_init): Mark as hidden.
16629 (_fini): Likewise.
16630 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16631 (_fini): Likewise.
16632 * sysdeps/i386/crti.S (_init): Mark as hidden.
16633 (_fini): Likewise.
16634 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16635 (_fini): Likewise.
16636 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16637 (_fini): Likewise.
16638 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16639 (_fini): Likewise.
16640 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16641 (_fini): Likewise.
16642 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16643 (_fini): Likewise.
16644 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16645 (_fini): Likewise.
16646 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16647 (_fini): Likewise.
16648 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16649 (_fini): Likewise.
16650 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16651 (_fini): Likewise.
16652 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16653 (_fini): Likewise.
16654 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16655 (_fini): Likewise.
16656 * sysdeps/sh/crti.S (_init): Mark as hidden.
16657 (_fini): Likewise.
16658 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16659 (_fini): Likewise.
16660 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16661 (_fini): Likewise.
16662
1c09524e
TMQMF
166632018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16664
16665 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16666 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16667 and TF redirection to KFtype and KF only when the default
16668 long double type is not the IEEE 128-bit floating point type.
16669
0e0577c9
JM
166702018-06-05 Joseph Myers <joseph@codesourcery.com>
16671
0c1c33b2
JM
16672 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16673 macro.
16674 (HWCAP_USCAT): Likewise.
16675 (HWCAP_ILRCPC): Likewise.
16676 (HWCAP_FLAGM): Likewise.
16677 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16678 Increase to 28.
16679 (_dl_aarch64_cap_flags): Add new flag names.
16680
bef1cbf4
JM
16681 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16682 (MAP_FIXED_NOREPLACE): New macro.
16683 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16684 (MAP_FIXED_NOREPLACE): Likewise.
16685 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16686 (MAP_FIXED_NOREPLACE): Likewise.
16687 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16688 (MAP_FIXED_NOREPLACE): Likewise.
16689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16690 (MAP_FIXED_NOREPLACE): Likewise.
16691 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16692 (MAP_FIXED_NOREPLACE): Likewise.
16693 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16694 (MAP_FIXED_NOREPLACE): Likewise.
16695 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16696 (MAP_FIXED_NOREPLACE): Likewise.
16697 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16698 (MAP_FIXED_NOREPLACE): Likewise.
16699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16700 (MAP_FIXED_NOREPLACE): Likewise.
16701 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16702 (MAP_FIXED_NOREPLACE): Likewise.
16703 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16704 (MAP_FIXED_NOREPLACE): Likewise.
16705 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16706 (MAP_FIXED_NOREPLACE): Likewise.
16707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16708 (MAP_FIXED_NOREPLACE): Likewise.
16709 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16710 (MAP_FIXED_NOREPLACE): Likewise.
16711
0e0577c9
JM
16712 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16713 version to 4.17.
16714
ab3a0da0
JM
167152018-06-04 Joseph Myers <joseph@codesourcery.com>
16716
16717 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16718 version to 4.17
16719
d2d9dfb6
ST
167202018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16721
16722 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16723 int.
16724 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16725
a650b05e
LS
167262018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16727
16728 * benchtests/scripts/compare_string.py: (process_results) Catch
16729 exception in non-existent base_func and catch exception in
16730 non-existent attribute.
16731 (parse_file) Catch exception if input file does not exist.
16732
195abbf4
LS
167332018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16734
16735 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16736 options to avoid diff calculation and omit header, respectively.
16737 (main): process --no-diff and --no-header
16738
14570163
LS
167392018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16740 H.J. Lu <hongjiu.lu@intel.com>
16741
16742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16743 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16744 wcsncmp-sse2.
16745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16746 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16747 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16748 and __wcsncmp_sse2.
16749 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16750 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16751 AVX unaligned load is fast and vzeroupper is preferred.
16752 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16753 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16754 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16755 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16756 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16757 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16758 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16759 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16760 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16761 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16762 is undefined.
16763
e02c026f
FW
167642018-06-01 Florian Weimer <fweimer@redhat.com>
16765
16766 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16767 configuring with --disable-multi-arch, building with
16768 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16769 Haswell-era CPU.
16770
d8c19275
FW
167712018-06-01 Florian Weimer <fweimer@redhat.com>
16772
16773 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16774 results from building with “-march=x86-64 -mtune=generic
16775 -mfpmath=sse” and running on a Haswell-era CPU.
16776
0d2163eb
JM
167772018-06-01 Joseph Myers <joseph@codesourcery.com>
16778
16779 [BZ #18473]
16780 * soft-fp/sqrttf2.c: Remove file.
16781 * soft-fp/sqrtdf2.c: Move to ....
16782 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16783 <shlib-compat.h>.
16784 (__sqrtdf2): Make conditional on
16785 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16786 symbol.
16787 * soft-fp/sqrtsf2.c: Move to ....
16788 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16789 <shlib-compat.h>.
16790 (__sqrtsf2): Make conditional on
16791 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16792 symbol.
16793 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16794 (gcc-double-routines): Remove sqrtdf2.
16795 (gcc-quad-routines): Remove sqrttf2.
16796 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16797 Do not filter out sqrtsf2 and sqrtdf2.
16798 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16799 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16800
10450210
FW
168012018-06-01 Florian Weimer <fweimer@redhat.com>
16802
16803 * sysdeps/generic/libcidn.abilist: Remove file.
16804
4e8a6346
FW
168052018-06-01 Florian Weimer <fweimer@redhat.com>
16806
16807 [BZ #23236]
16808 * libio/strfile.h (struct _IO_str_fields): Rename members to
16809 discourage their use and add comment.
16810 (_IO_STR_DYNAMIC): Remove unused macro.
16811 * libio/strops.c (_IO_str_init_static_internal): Do not use
16812 callback pointers. Call malloc and free.
16813 (_IO_str_overflow): Do not use callback pointers. Call malloc
16814 and free.
16815 (enlarge_userbuf): Likewise.
16816 (_IO_str_finish): Call free.
16817 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16818 _allocate_buffer_unused.
16819 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16820 and free.
16821 (enlarge_userbuf): Likewise.
16822 (_IO_wstr_finish): Call free.
16823 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16824 _allocate_buffer_unused, _free_buffer_unused.
16825 * libio/memstream.c (__open_memstream): Likewise.
16826 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16827 * libio/wmemstream.c (open_wmemstream): Likewise.
16828
50d004c9
PP
168292018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16830
16831 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16832 AMD Ryzen 7 1800X.
16833
2c93fce7
RS
168342018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16835
16836 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16837 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16838 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16839 New file.
16840 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16841 Likewise.
16842 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16843
0ce2fa69
FW
168442018-05-29 Florian Weimer <fweimer@redhat.com>
16845
16846 * support/Makefile (libsupport-routines): Add
16847 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16848 xpthread_barrierattr_setpshared.
16849 * support/xpthread_barrierattr_destroy.c: New file.
16850 * support/xpthread_barrierattr_init.c: Likewise.
16851 * support/xpthread_barrierattr_setpshared.c: Likewise.
16852
7f7b5d8d
L
168532018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16854
16855 [BZ #23206]
16856 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16857 _r_debug and update DT_DEBUG for debugger.
16858
e4890300
FW
168592018-05-29 Florian Weimer <fweimer@redhat.com>
16860
16861 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16862 (tst-strtod5i.out): Likewise.
16863
2c753f3e
JM
168642018-05-25 Joseph Myers <joseph@codesourcery.com>
16865
b5453d9f
JM
16866 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16867 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16868 (sparc64-quad-routines): New variable. Moved from ....
16869 [$(subdir) = soft-fp] (sysdep_routines): Add
16870 $(sparc64-quad-routines). Moved from ....
16871 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16872 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16873 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16874 moved from ....
16875 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16876 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16877 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16878 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16879 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16880 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16881 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16882 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16883 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16884 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16885 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16886 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16887 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16888 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16889 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16890 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16891 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16892 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16893 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16894 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16895 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16896 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16897 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16898 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16899 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16900 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16901 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16902 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16903 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16904 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16905 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16906 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16907 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16908 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16909 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16910 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16911 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16912 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16913 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16914 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16915 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16916 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16917 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16918 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16919 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16920 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16921 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16922 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16923 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16924 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16925 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16926 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16927 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16928 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16929 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16930 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16932 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16933
2c753f3e
JM
16934 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16935 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16936 (sparc32-quad-routines): New variable. Moved from ....
16937 [$(subdir) = soft-fp] (sysdep_routines): Add
16938 $(sparc32-quad-routines). Moved from ....
16939 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16940 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16941 moved from ....
16942 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16943 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16944 * sysdeps/sparc/sparc32/q_add.c: ... here.
16945 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16946 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16947 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16948 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16949 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16950 * sysdeps/sparc/sparc32/q_div.c: ... here.
16951 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16952 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16953 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16954 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16955 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16956 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16957 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16958 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16959 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16960 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16961 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16962 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16963 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16964 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16965 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16966 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16967 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16968 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16969 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16970 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16971 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16972 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16973 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16974 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16975 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16976 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16977 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16978 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16979 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16980 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16981 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16982 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16983 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16984 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16985 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16986 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16987 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16988 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16989 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16990 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16991 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16992 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16993 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16994 * sysdeps/sparc/sparc32/q_util.c: ... here.
16995 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16996 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16997 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16998 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16999
c1dc1e1b
TMQMF
170002018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17001 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17002
17003 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17004 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17005 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17006 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17007
14186e8d
JM
170082018-05-24 Joseph Myers <joseph@codesourcery.com>
17009
17010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17011 powerpc/soft-fp.
17012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17013 Likewise.
17014 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17015 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17016
fb0e10b8
GG
170172018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17018
17019 [BZ #23171]
17020 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17021 double version.
17022
1dfeb17e
JM
170232018-05-23 Joseph Myers <joseph@codesourcery.com>
17024
17025 * sysdeps/sh/Implies: Remove sh/soft-fp.
17026 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17027 * sysdeps/sh/sfp-machine.h: ... here.
17028
727b38df
L
170292018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17032 (__mempcpy_erms): Skip zero length.
17033 (__memmove_erms): Likewise.
17034 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17035 (__memset_erms): Likewise.
17036
2834fb46
JM
170372018-05-23 Joseph Myers <joseph@codesourcery.com>
17038
17039 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17040 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17041 Add functions moved from ....
17042 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17043 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17044 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17045 from ....
17046 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17047 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17048 * sysdeps/alpha/e_sqrtl.c: ... here.
17049 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17050 * sysdeps/alpha/local-soft-fp.h: ... here.
17051 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17052 * sysdeps/alpha/ots_add.c: ... here.
17053 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17054 * sysdeps/alpha/ots_cmp.c: ... here.
17055 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17056 * sysdeps/alpha/ots_cmpe.c: ... here.
17057 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17058 * sysdeps/alpha/ots_cvtqux.c: ... here.
17059 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17060 * sysdeps/alpha/ots_cvtqx.c: ... here.
17061 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17062 * sysdeps/alpha/ots_cvttx.c: ... here.
17063 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17064 * sysdeps/alpha/ots_cvtxq.c: ... here.
17065 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17066 * sysdeps/alpha/ots_cvtxt.c: ... here.
17067 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17068 * sysdeps/alpha/ots_div.c: ... here.
17069 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17070 * sysdeps/alpha/ots_mul.c: ... here.
17071 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17072 * sysdeps/alpha/ots_nintxq.c: ... here.
17073 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17074 * sysdeps/alpha/ots_sub.c: ... here.
17075 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17076 * sysdeps/alpha/sfp-machine.h: ... here.
17077
7f9f1ecb
FW
170782018-05-23 Florian Weimer <fweimer@redhat.com>
17079
17080 [BZ #19728]
17081 [BZ #19729]
17082 [BZ #22247]
17083 CVE-2016-6261
17084 CVE-2016-6263
17085 CVE-2017-14062
17086 Switch to extern IDNA implementation (libidn2).
17087 * libidn: Remove subdirectory.
17088 * LICENSES: Do not mention licensing conditions for the removed
17089 libidn code.
17090 * config.h.in (HAVE_LIBIDN): Remove.
17091 * include/dlfcn.h (__libc_dlopen): Update comment.
17092 * include/idna.h: Remove file.
17093 * inet/Makefile (routines): Add idna.
17094 (tests-static, tests-internal): Add tst-idna_name_classify.
17095 (LOCALES): Generate locales for tests.
17096 (tst-idna_name_classify.out): Depend on generated locales.
17097 * inet/idna_name_classify.c: New file.
17098 * inet/tst-idna_name_classify.c: Likewise.
17099 * inet/net-internal.h (__idna_to_dns_encoding)
17100 (__idna_from_dns_encoding): Declare.
17101 * inet/net-internal.h (enum idna_name_classification): Define.
17102 (__idna_name_classify): Declare.
17103 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17104 __idna_from_dns_encoding.
17105 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17106 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17107 name as a fallback in case of encoding errors.
17108 (getnameinfo): Use DEPRECATED_NI_IDN.
17109 * inet/idna.c: New file.
17110 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17111 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17112 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17113 (modules-names): Add tst-no-libidn2.
17114 (extra-test-objs): Add tst-no-libidn2.os.
17115 (LDFLAGS-tst-no-libidn2.so): Set soname.
17116 (LOCALES): Set, and generate locales.
17117 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17118 (tst-resolv-ai_idn-latin1): Likewise.
17119 (tst-resolv-ai_idn-nolibidn2): Likewise.
17120 (tst-resolv-ai_idn.out): Depend on locales.
17121 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17122 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17123 tst-no-libidn2.so.
17124 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17125 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17126 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17127 * resolv/tst-resolv-ai_idn.c: New file.
17128 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17129 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17130 * resolv/tst-no-libidn2.c: Likewise.
17131 * support/support_format_addrinfo.c (format_ai_flags): Do not
17132 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17133 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17134 (gaih_inet): Call __idna_to_dns_encoding and
17135 __idna_from_dns_encoding, and use the original (punycode) name if
17136 __idna_from_dns_encoding fails due to an encoding error.
17137 (getaddrinfo): Use DEPRECATED_AI_IDN.
17138 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17139 * sysdeps/unix/inet/configure: Remove file.
17140 * sysdeps/unix/inet/configure.ac: Likewise.
17141
5f7b841d
FW
171422018-05-23 Florian Weimer <fweimer@redhat.com>
17143
17144 Implement allocate_once.
17145 * include/allocate_once.h: New file.
17146 * misc/allocate_once.c: Likewise.
17147 * misc/tst-allocate_once.c: Likewise.
17148 * misc/Makefile (routines): Add allocate_once.
17149 (tests-internal): Add tst-allocate_once.
17150 (generated): Add tst-allocate_once.mtrace,
17151 tst-allocate_once-mem.out.
17152 (tests-special): Add tst-allocate_once-mem.out.
17153 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17154 (tst-allocate_once-mem.out): Call mtrace.
17155 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17156
ed983107
L
171572018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17158
17159 [BZ #23196]
17160 * string/test-memcpy.c (do_test1): New function.
17161 (test_main): Call it.
17162
9aaaab7c
AS
171632018-05-23 Andreas Schwab <schwab@suse.de>
17164
17165 [BZ #23196]
17166 CVE-2018-11237
17167 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17168 (L(preloop_large)): Save initial destination pointer in %r11 and
17169 use it instead of %rax after the loop.
17170 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17171
5c5c0dd7
JM
171722018-05-22 Joseph Myers <joseph@codesourcery.com>
17173
8f145c77
JM
17174 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17175 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17176 -I../soft-fp. Moved from ....
17177 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17178 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17179 * sysdeps/aarch64/e_sqrtl.c: ... here.
17180 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17181 * sysdeps/aarch64/sfp-machine.h: ... here.
17182
3d6302a5
JM
17183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17184 -Wmaybe-uninitialized around access to fq[0].
17185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17186 Likewise.
17187
5c5c0dd7
JM
17188 [BZ #18471]
17189 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17190 aliases for non-libc case of versioned symbols.
17191 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17192 (llseek): Define as compat symbol if
17193 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17194 with link warning.
17195 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17196 Make into a compat symbol, disabled for minimum symbol version
17197 GLIBC_2.28 and later.
17198 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17199
ed0d6988
FW
172002018-05-22 Florian Weimer <fweimer@redhat.com>
17201
17202 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17203 not add -mpreferred-stack-boundary=4.
17204 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17205 (stack-align-test-flags): Likewise.
17206 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17207 Likewise.
17208 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17209 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17210 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17211 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17212 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17213 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17214 (CFLAGS-tst-align2.c): Likewise.
17215
e28e9b1e
L
172162018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17219 (index_arch_Prefer_FSRM): Likewise.
17220 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17221 Also check Prefer_FSRM.
17222 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17223 Also return OPTIMIZE (erms) for Prefer_FSRM.
17224
1af30adc
L
172252018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17226
17227 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17228 (index_cpu_FSRM): Likewise.
17229 (reg_FSRM): Likewise.
17230
78274dc8
JM
172312018-05-18 Joseph Myers <joseph@codesourcery.com>
17232
7c67e6e8
JM
17233 * math/gen-tgmath-tests.py: Import sys.
17234 (Tests.__init__): Initialize macros_seen.
17235 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17236 if requested to do so for this macro.
17237 (Tests.add_all_tests): Take argument for macro for which to
17238 generate tests.
17239 (Tests.check_macro_list): New function.
17240 (main): Handle check-list argument and argument specifying macro
17241 for which to generate tests.
17242 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17243 [PYTHON] (tgmath3-macro-tests): Likewise.
17244 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17245 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17246 not test-tgmath3.c.
17247 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17248 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17249 to CFLAGS.
17250 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17251 [PYTHON] ($(foreach
17252 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17253 rule.
17254 [PYTHON] (tests-special): Add
17255 $(objpfx)test-tgmath3-macro-list.out.
17256 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17257
ebc129fd
JM
17258 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17259 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17260 later.
17261
78274dc8
JM
17262 [BZ #22639]
17263 * time/tzset.c (SECSPERDAY): Cast to time_t.
17264 * time/tst-y2039.c: New file.
17265 * time/Makefile (tests): Add tst-y2039.
17266
6f7fdeeb
LS
172672018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17268
17269 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17270 (PREFETCH_ONE_SET): Remove duplicate line.
17271
e363a91c
FW
172722018-05-17 Florian Weimer <fweimer@redhat.com>
17273
17274 * sysdeps/generic/math-type-macros-double.h: Include
17275 <math-nan-payload-double.h> after <libm-alias-double.h>.
17276 * sysdeps/generic/math-type-macros-float.h: Include
17277 <math-nan-payload-float.h> after <libm-alias-float.h>.
17278 * sysdeps/generic/math-type-macros-float128.h: Include
17279 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17280 * sysdeps/generic/math-type-macros-ldouble.h: Include
17281 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17282
dae6c43c
AS
172832018-05-17 Andreas Schwab <schwab@suse.de>
17284
17285 * resolv/res_send.c (__res_context_send): Don't set errno when
17286 returing error after malloc failure.
17287
0068c085
L
172882018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17289
17290 * nptl/allocatestack.c (allocate_stack): Remove the
17291 !__ASSUME_PRIVATE_FUTEX paths.
17292 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17293 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17294 Likewise.
17295 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17296 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17297 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17298 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17299 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17300 !__ASSUME_PRIVATE_FUTEX path.
17301 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17302 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17303 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17304 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17305 !__ASSUME_PRIVATE_FUTEX macros.
17306 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17307 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17308 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17309 * sysdeps/unix/sysv/linux/kernel-features.h
17310 (__ASSUME_PRIVATE_FUTEX): Removed.
17311
632a6cbe
JM
173122018-05-17 Joseph Myers <joseph@codesourcery.com>
17313
17314 * math/Makefile (libm-narrow-fns): Add div.
17315 (libm-test-funcs-narrow): Likewise.
17316 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17317 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17318 * math/gen-auto-libm-tests.c (test_functions): Add div.
17319 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17320 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17321 (NARROW_DIV_TRIVIAL): Likewise.
17322 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17323 macro.
17324 (__ddivl): Likewise.
17325 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17326 ddiv.
17327 (CFLAGS-nldbl-ddiv.c): New variable.
17328 (CFLAGS-nldbl-fdiv.c): Likewise.
17329 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17330 __nldbl_ddivl.
17331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17332 prototype.
17333 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17334 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17335 * math/auto-libm-test-in: Add tests of div.
17336 * math/auto-libm-test-out-narrow-div: New generated file.
17337 * math/libm-test-narrow-div.inc: New file.
17338 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17341 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17342 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17343 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17352 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17353 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17354 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17355 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17357 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17382
8c78faa9
AZ
173832018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17384
17385 [BZ #23178]
17386 * nscd/nscd-client.h (sendfileall): Remove prototype.
17387 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17388 (handle_request): Use writeall instead of sendfileall.
17389 * nscd/aicache.c (addhstaiX): Likewise.
17390 * nscd/grpcache.c (cache_addgr): Likewise.
17391 * nscd/hstcache.c (cache_addhst): Likewise.
17392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17393 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17394 * nscd/pwdcache.c (cache_addpw): Likewise.
17395 * nscd/servicescache.c (cache_addserv): Likewise.
17396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17397 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17398 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17399 Remove define.
17400
04958880
L
174012018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17402
17403 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17404 Include <string/strncat.c>.
17405 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17406 alias.
17407 (__GI___strncat): New hidden alias.
17408
c9992d13
JM
174092018-05-16 Joseph Myers <joseph@codesourcery.com>
17410
17411 * sysdeps/mips/mips32/libm-test-ulps: Update.
17412 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17413
2afece36
FW
174142018-05-16 Florian Weimer <fweimer@redhat.com>
17415
17416 * support/Makefile (libsupport-routines): Add support_quote_blob,
17417 support_test_compare_blob.
17418 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17419 * support/check.h (TEST_COMPARE_BLOB): Define.
17420 (support_test_compare_blob): Declare.
17421 * support/support.h (support_quote_blob): Declare.
17422 * support/support_quote_blob.c: New file.
17423 * support/support_test_compare_blob.c: Likewise.
17424 * support/tst-support_quote_blob.c: Likewise.
17425 * support/tst-test_compare_blob.c: Likewise.
17426
9761bf4d
FW
174272018-05-16 Florian Weimer <fweimer@redhat.com>
17428
17429 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17430 of <strtod_nan_double.h>.
17431 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17432 instead of SET_MANTISSA.
17433 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17434 of include <strtod_nan_float.h>.
17435 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17436 instead of <strtod_nan_ldouble.h>.
17437 * stdlib/strtod_nan_double.h: Move to ...
17438 * sysdeps/generic/math-nan-payload-double.h: ... here.
17439 (FLOAT): Remove definition.
17440 (SET_MANTISSA): Rename to ...
17441 (SET_NAN_PAYLOAD): ... this.
17442 * stdlib/strtod_nan_float.h: Move to ...
17443 * sysdeps/generic/math-nan-payload-float.h: ... here.
17444 (FLOAT): Remove definition.
17445 (SET_MANTISSA): Rename to ...
17446 (SET_NAN_PAYLOAD): ... this.
17447 * sysdeps/generic/math-type-macros-double.h: Include
17448 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17449 instead of <math-svid-compat.h>.
17450 * sysdeps/generic/math-type-macros-float.h: Include
17451 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17452 instead of <math-svid-compat.h>.
17453 * sysdeps/generic/math-type-macros-float128.h: Include
17454 <math-nan-payload-float128.h>.
17455 * sysdeps/generic/math-type-macros-ldouble.h: Include
17456 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17457 instead of <math-svid-compat.h>.
17458 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17459 check for definition.
17460 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17461 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17462 Include <ieee754_float128.h>.
17463 (FLOAT): Remove definition.
17464 (SET_MANTISSA): Rename to ...
17465 (SET_NAN_PAYLOAD): ... this.
17466 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17467 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17468 Do not include <float128_private.h>.
17469 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17471 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17472 (FLOAT): Remove definition.
17473 (SET_MANTISSA): Rename to ...
17474 (SET_NAN_PAYLOAD): ... this.
17475 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17476 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17477 (FLOAT): Remove definition.
17478 (SET_MANTISSA): Rename to ...
17479 (SET_NAN_PAYLOAD): ... this.
17480 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17481 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17482 (FLOAT): Remove definition.
17483 (SET_MANTISSA): Rename to ...
17484 (SET_NAN_PAYLOAD): ... this.
17485 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17486 of "../stdlib/strtod_nan_double.h".
17487 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17488 of "../stdlib/strtod_nan_float.h".
17489 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17490 instead of "../stdlib/strtod_nan_ldouble.h".
17491 * manual/arith.texi (Parsing of Floats): Adjust comment.
17492
69a01461
JM
174932018-05-16 Joseph Myers <joseph@codesourcery.com>
17494
17495 * math/Makefile (libm-narrow-fns): Add mul.
17496 (libm-test-funcs-narrow): Likewise.
17497 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17498 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17499 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17500 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17501 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17502 (NARROW_MUL_TRIVIAL): Likewise.
17503 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17504 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17505 macro.
17506 (__dmull): Likewise.
17507 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17508 dmul.
17509 (CFLAGS-nldbl-dmul.c): New variable.
17510 (CFLAGS-nldbl-fmul.c): Likewise.
17511 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17512 __nldbl_dmull.
17513 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17514 prototype.
17515 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17516 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17517 * math/auto-libm-test-in: Add tests of mul.
17518 * math/auto-libm-test-out-narrow-mul: New generated file.
17519 * math/libm-test-narrow-mul.inc: New file.
17520 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17523 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17524 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17525 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17531 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17533 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17534 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17535 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17536 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17537 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17539 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17564
a15529fd
L
175652018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17568 with *%eax in call.
17569
98ee36c7
L
175702018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 * sysdeps/i386/ldsodefs.h: Removed.
17573 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17574 * sysdeps/x86/ldsodefs.h: This.
17575 (La_i86_regs): New.
17576 (La_i86_retval): Likewise.
17577 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17578 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17579
e322ec32
L
175802018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17581
17582 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17583 unnecessary testl.
17584
0937e209
AM
175852018-05-13 Alan Modra <amodra@gmail.com>
17586
17587 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17588 R_PARISC_TLS_DTPOFF32 reloc addend.
17589
5db7d705
TMQMF
175902018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17591
17592 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17593 * math/math.h: Restrict the prototype definition for the functions
17594 issignaling(_Float128) and iszero(_Float128); and template
17595 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17596 __HAVE_FLOAT128_UNLIKE_LDBL.
17597 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17598 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17599 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17600 __f128() constants; define the type _Float128 as long double;
17601 and reuse long double in __CFLOAT128.
17602
b4d5b8b0
JM
176032018-05-11 Joseph Myers <joseph@codesourcery.com>
17604
17605 * sysdeps/generic/math_private.h: Do not include
17606 <math-barriers.h>.
17607 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17608 <math_private.h>.
17609 * math/fromfp.h: Include <math-barriers.h>.
17610 * math/math-narrow.h: Likewise.
17611 * math/s_nextafter.c: Likewise.
17612 * math/s_nexttowardf.c: Likewise.
17613 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17614 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17615 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17616 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17617 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17618 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17619 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17632 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17634 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17637 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17638 * sysdeps/ieee754/k_standardl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17654 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17655 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17656 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17657 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17658 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17659 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17660 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17661
fc79706a
FW
176622018-05-11 Florian Weimer <fweimer@redhat.com>
17663
17664 Use 64-bit epoch values in the time zone file parser.
17665 * include/time.h (internal_time_t): Define.
17666 (__tzfile_compute): Use it.
17667 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17668 member.
17669 (transitions): Switch to internal_time_t.
17670 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17671 types.
17672 (__tzfile_compute): Use internal_time_t for timer argument. Check
17673 for truncation before calling __offtime.
17674
89aacb51
FW
176752018-05-11 Florian Weimer <fweimer@redhat.com>
17676
17677 [BZ #23166]
17678 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17679 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17680 Likewise.
17681 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17682 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17683 export without --enable-obsolete-rpc.
17684 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17685 symbol. This should not have been exported, ever.
17686
ab74d59f 176872018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
bb066cb8
RL
17688
17689 [BZ #23152]
17690 * localedata/locales/gd_GB (abmon): Fix typo in May:
17691 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17692
70c97f84
SP
176932018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17694
db725a45
SP
17695 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17696 Use multiple registers to copy data in loop tail.
17697
70c97f84
SP
17698 * sysdeps/aarch64/multiarch/memmove_falkor.S
17699 (__memmove_falkor): Use multiple registers to move data in
17700 loop tail.
17701
8f5b00d3
JM
177022018-05-10 Joseph Myers <joseph@codesourcery.com>
17703
17704 * math/math-underflow.h: New file.
17705 * sysdeps/generic/math_private.h: Do not include <float.h>.
17706 (fabs_tg): Remove macro. Moved to math-underflow.h.
17707 (min_of_type_f): Likewise.
17708 (min_of_type_): Likewise.
17709 (min_of_type_l): Likewise.
17710 (min_of_type_f128): Likewise.
17711 (min_of_type): Likewise.
17712 (math_check_force_underflow): Likewise.
17713 (math_check_force_underflow_nonneg): Likewise.
17714 (math_check_force_underflow_complex): Likewise.
17715 * math/e_exp2_template.c: Include <math-underflow.h>.
17716 * math/k_casinh_template.c: Likewise.
17717 * math/s_catan_template.c: Likewise.
17718 * math/s_catanh_template.c: Likewise.
17719 * math/s_ccosh_template.c: Likewise.
17720 * math/s_cexp_template.c: Likewise.
17721 * math/s_clog10_template.c: Likewise.
17722 * math/s_clog_template.c: Likewise.
17723 * math/s_csin_template.c: Likewise.
17724 * math/s_csinh_template.c: Likewise.
17725 * math/s_csqrt_template.c: Likewise.
17726 * math/s_ctan_template.c: Likewise.
17727 * math/s_ctanh_template.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17733 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17734 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17737 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17746 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17747 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17748 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17749 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17750 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17754 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17756 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17757 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17758 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17759 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17796 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17805 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17806 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17808 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17812
9ed2e15f
JM
178132018-05-09 Joseph Myers <joseph@codesourcery.com>
17814
17815 * sysdeps/generic/math-barriers.h: New file.
17816 * sysdeps/generic/math_private.h [!math_opt_barrier]
17817 (math_opt_barrier): Move to math-barriers.h.
17818 [!math_opt_barrier] (math_force_eval): Likewise.
17819 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17820 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17821 math-barriers.h.
17822 (math_force_eval): Likewise.
17823 * sysdeps/alpha/fpu/math-barriers.h: New file.
17824 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17825 math-barriers.h.
17826 (math_force_eval): Likewise.
17827 * sysdeps/x86/fpu/math-barriers.h: New file.
17828 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17829 math-barriers.h.
17830 (math_force_eval): Likewise.
17831 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17832 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17833 multiple-include guard for rename.
17834 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17835 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17836 math-barriers.h.
17837 (math_force_eval): Likewise.
17838
5460617d
PP
178392018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17840
17841 [BZ #22786]
43d4f3d5 17842 CVE-2018-11236
5460617d
PP
17843 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17844 computation.
17845 * stdlib/Makefile (test-bz22786): New test.
17846 * stdlib/test-bz22786.c: New test.
17847
aaee3cd8
JM
178482018-05-09 Joseph Myers <joseph@codesourcery.com>
17849
17850 * include/math-narrow-eval.h: New file. Contents moved from ....
17851 * sysdeps/generic/math_private.h: ... here.
17852 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17853 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17854 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17855 * stdlib/strtod_l.c: Likewise.
17856 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17857 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17858 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17860 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17871 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17872 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17873 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17874 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17875 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17876 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17877 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17878 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17880 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17881 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17882 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17883 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17884 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17885
0555c477
AS
178862018-05-08 Andreas Schwab <schwab@suse.de>
17887
17888 * sysdeps/nptl/internaltypes.h: Fix comment.
17889
50d7d351
L
178902018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17891
17892 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17893 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17894 hidden.
17895
543477f7
SP
178962018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17897
17898 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17899 of I into loop header.
17900 * benchtests/bench-memmove-walk.c
17901 (test_main): Likewise.
17902
179032018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
17904
17905 Revert:
17906 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17907 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17908
0065aaaa
PP
179092018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17910
17911 [BZ #20419]
17912 * elf/dl-load.c (open_verify): Fix stack overflow.
17913 * elf/Makefile (tst-big-note): New test.
17914 * elf/tst-big-note-lib.S: New.
17915 * elf/tst-big-note.c: New.
17916
b289cd9d
JM
179172018-05-04 Joseph Myers <joseph@codesourcery.com>
17918
17919 * scripts/abilist.awk: Ignore absolute symbols.
17920 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17921 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17922 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17923 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17924 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17925 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17926 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17927 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17928 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17929 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17930 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17931 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18012 Likewise.
18013 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18026 Likewise.
18027 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18108 Likewise.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18114 Likewise.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18119 Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18122 Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18124 Likewise.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18128 Likewise.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18132 Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18137 Likewise.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18144 Likewise.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18151 Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18153 Likewise.
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18157 Likewise.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18159 Likewise.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18161 Likewise.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18165 Likewise.
18166 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18180 Likewise.
18181 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18193 Likewise.
18194 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18219 Likewise.
18220 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18233 Likewise.
18234 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18272
16609018
SL
182732018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18274
18275 [BZ #23137]
18276 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18277 Use atomic_load_acquire to load __tid.
18278
556f5c46
L
182792018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18280
18281 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18282 Restore the pointer into %rdx, after syscall and use %rdx,
18283 instead of %rsi, to restore context.
18284
8b8f32b2
L
182852018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18286
18287 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18288 Pop the pointer into %rdx after syscall and use %rdx, instead
18289 of %rsi, to restore context.
18290
d6cc1829
L
182912018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18292
18293 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18294 handlers after setjmp.
18295 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18296 defined.
18297 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18298 <libc-pointer-arith.h>.
18299 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18300 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18301 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18302 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18303 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18304 * sysdeps/x86/__longjmp_cancel.S: New file.
18305 * sysdeps/x86/longjmp.c: Likewise.
18306 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18307
cf2478d5
AZ
183082018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18309
18310 * NEWS: Add ustat.h deprecation entry.
18311 * bits/ustat.h: Remove file.
18312 * misc/sys/ustat.h: Likewise.
18313 * misc/ustat.h: Likewise.
18314 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18315 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18316 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18317 compatibility mode.
18318 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18319 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18320 generic Linux implementation.
18321
dc115e1c
TMQMF
183222018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18323
18324 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18325 * math/w_expl_compat.c: Likewise.
18326 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18327
6b5c8607 183282018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
18329
18330 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18331
c57bf7c1
AZ
183322018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18333
18334 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18335 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18336 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18337 Remove.
18338 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18341 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18342 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18343 and SYSCALL_LL64.
18344
06135c33
TMQMF
183452018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18346
33927914
TMQMF
18347 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18348
06135c33
TMQMF
18349 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18350 * math/w_asin_template.c: Likewise.
18351 * math/w_atanh_template.c: Likewise.
18352
3a33b069
GG
183532018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18354
18355 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18356 to powerpc/powerpc64/be for big-endian.
18357 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18358 little-endian.
18359
18360 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18361 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18366 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18370 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18371 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18372 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18373 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18374 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18375 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18376 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18377 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18380 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18383 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18391 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18392
18393 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18394 adjusted to imply powerpc64 and older processors on powerpc64/be.
18395 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18396 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18397 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18398 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18399 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18400 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18401 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18403 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18404 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18405 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18407 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18408 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18409 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18410 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18411 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18412 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18413 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18414 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18415 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18416 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18417 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18418 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18419 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18420 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18421 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18422 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18423 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18424 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18425 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18426
18427 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18428 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18429 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18430 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18431
18432 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18433 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18434 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18435 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18436
18437 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18438 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18439 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18440 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18441 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18442 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18443 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18444 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18445 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18446 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18447 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18448
18449 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18450 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18451 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18452 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18453 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18454 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18455 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18456 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18457 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18458 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18459 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18460
18461 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18462 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18463 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18464 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18465 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18466 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18467 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18468 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18469 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18470 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18471 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18472 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18473
18474 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18475 and adjusted to imply olders processors.
18476 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18477 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18478 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18479 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18480 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18481 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18482 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18483 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18484 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18485 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18486 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18487
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18489 powerpc64/le.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18492
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18494 powerpc64le.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18497
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18499 powerpc64/be.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18503
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18505 powerpc64 and adjusted.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18509 Likewise.
18510
a3fb6b6b
JM
185112018-04-27 Joseph Myers <joseph@codesourcery.com>
18512
18513 * sysdeps/tile: Remove.
18514 * sysdeps/unix/sysv/linux/tile: Likewise.
18515 * README (tilegx-*-linux-gnu): Remove from list of supported
18516 configurations.
18517 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18518 contribution of support for generic Linux kernel syscall
18519 interface.
18520 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18521 tilegx configurations.
18522 (Config.install_linux_headers): Do not handle tile.
18523 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18524 in comment.
18525 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18526 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18527 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18528 conditional undefine and redefine.
18529 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18530 in comment.
18531 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18532 conditional undefine and redefine.
18533
7a6f7478
AJ
185342018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18535
18536 * signal/tst-sigaction.c: New file to test BZ #23069.
18537 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18538
81b49e96
TMQMF
185392018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18540
18541 [BZ #22766]
18542 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18543 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18544 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18545 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18546
7d80f48e
AZ
185472018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18548
18549 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18550 _DIRENT_MATCHES_DIRENT64 is not defined.
18551 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18552 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18553 is defined.
18554 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18555 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18556
42a2bf58
JM
185572018-04-25 Joseph Myers <joseph@codesourcery.com>
18558
18559 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18560 version to GCC 8 branch.
18561
9320ca88
JM
185622018-04-24 Joseph Myers <joseph@codesourcery.com>
18563
5e14bb97
JM
18564 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18565 (check_no_hidden): Use type of original function when declaring
18566 alias.
18567
9320ca88
JM
18568 * sysdeps/unix/sysv/linux/sys/ptrace.h
18569 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18570 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18571 (struct __ptrace_seccomp_metadata): New type.
18572 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18573 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18574 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18575 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18576 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18577 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18579 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18581 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18583 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18584 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18585 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18586 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18587 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18588
af7e376b
AZ
185892018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18590
18591 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18592 defined.
18593 * dirent/versionsort.c (versionsort): Likewise.
18594 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18595 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18596 * dirent/versionsort64.c (versionsort64): Likewise.
18597 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18598 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18599 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18600 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18601 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18602 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18603 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18604 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18605 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18606 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18609 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18610 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18611
da5e0361
JM
186122018-04-23 Joseph Myers <joseph@codesourcery.com>
18613
18614 * elf/elf.h (NT_PPC_PKEY): New macro.
18615
6b5c8607 186162018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
18617
18618 [BZ #23094]
18619 * localedata/locales/hr_HR: fix thousands_sep and
18620 mon_thousands_sep
18621
573963e3
JM
186222018-04-20 Joseph Myers <joseph@codesourcery.com>
18623
18624 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18625 (XTABS): Define to TAB3.
18626
c0123b3b
AZ
186272018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18628
0900a849
AZ
18629 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18630
c0123b3b
AZ
18631 * dirent/scandir-tail-common.c: New file.
18632 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18633 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18634 * dirent/scandir.c: Use scandir-tail-common.c.
18635 * dirent/scandirat.c: Likewise.
18636 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18637 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18638 if _DIRENT_MATCHES_DIRENT64 is defined.
18639 * dirent/scandirat64.c (scandirat64): Likewise.
18640 * include/dirent.h (__scandir_tail): Only define iff
18641 _DIRENT_MATCHES_DIRENT64 is not defined.
18642 (__scandir64_tail): Define regardless.
18643 (__scandirat, scandirat64): Remove libc_hidden_proto.
18644 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18645 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18647 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18648 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18649 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18650 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18651
458b94f6
JM
186522018-04-20 Joseph Myers <joseph@codesourcery.com>
18653
18654 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18655 New macro.
18656 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18657 Increase to 24.
18658 (_dl_aarch64_cap_flags): Add asimdfhm.
18659
9f0437e8
CLT
186602018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18661
18662 * sysdeps/nios2/libm-test-ulps: Update.
18663
298d0e31
AZ
186642018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18665
50511ca4
AZ
18666 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18667 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18668
298d0e31
AZ
18669 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18670 requirements.
6b5c8607 18671 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
18672 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18673 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18674 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18675 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18676 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18677 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18678 use getdents64 syscalls as base.
18679 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18680 symbol if required.
18681 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18682 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18683 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18684 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18685 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18686 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18687 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18688 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18690 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18691 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18692
0085be14
SL
186932018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18694
18695 * scripts/test_printers_common.py (init_test): Disable lock elision.
18696
da796524
SL
186972018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18698
18699 * math/test-tgmath.c (count_double, count_float,
18700 count_ldouble, count_cdouble, count_cfloat,
18701 count_cldouble): Use volatile int.
18702
0dd25301
ST
187032018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18704
18705 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18706 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 18707 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
18708 i386-gnu.
18709 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18710 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18711 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18712 msqid_ds.msg_lrpid): Likewise.
18713 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18714 Likewise.
18715 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18716 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
18717 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18718 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18719 unsigned int.
18720 (struct statvfs64): Likewise.
f55a4fde
ST
18721 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18722 Likewise.
77b93390
ST
18723 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18724 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18725 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18726 instead of wait_queue.
18727 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18728 instead of vm_area_struct.
5cd2931a
ST
18729 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18730 struct sched_param definition to it.
e60c3f2b
ST
18731 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18732 * bits/types/struct_sched_param.h: New file.
18733 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18734 <bits/types/struct_sched_param.h> instead of <sched.h>.
18735 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
18736 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18737 generic version but include <bits/pthreadtypes.h> to make struct
18738 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
18739 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18740 non-compliant.
a564872d
ST
18741 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18742 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18743 [__USE_XOPEN] (OFDEL): New macro.
18744 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 18745 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
18746 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18747 prototypes.
18748 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18749 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
18750 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18751 non-compliant.
18752 * sysdeps/i386/sys/ucontext.h: Likewise.
18753 * sysdeps/m68k/sys/ucontext.h: Likewise.
18754 * sysdeps/mips/sys/ucontext.h: Likewise.
18755 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
18756 * sysdeps/mach/hurd/i386/Makefile
18757 (test-xfail-POSIX/fcntl.h/conform): Add.
18758 (test-xfail-POSIX/signal.h/conform): Add.
18759 (test-xfail-POSIX/semaphore.h/conform): Add.
18760 (test-xfail-POSIX/regex.h/conform): Add.
18761 (test-xfail-POSIX/aio.h/conform): Add.
18762 (test-xfail-POSIX/mqueue.h/conform): Add.
18763 (test-xfail-POSIX/sys/types.h/conform): Add.
18764 (test-xfail-UNIX98/fcntl.h/conform): Add.
18765 (test-xfail-UNIX98/netdb.h/conform): Add.
18766 (test-xfail-UNIX98/signal.h/conform): Add.
18767 (test-xfail-UNIX98/semaphore.h/conform): Add.
18768 (test-xfail-UNIX98/regex.h/conform): Add.
18769 (test-xfail-UNIX98/aio.h/conform): Add.
18770 (test-xfail-UNIX98/ftw.h/conform): Add.
18771 (test-xfail-UNIX98/mqueue.h/conform): Add.
18772 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18773 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18774 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18775 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18776 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18777 (test-xfail-UNIX98/sys/types.h/conform): Add.
18778 (test-xfail-UNIX98/stdlib.h/conform): Add.
18779 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18780 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18781 (test-xfail-POSIX2008/netdb.h/conform): Add.
18782 (test-xfail-POSIX2008/signal.h/conform): Add.
18783 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18784 (test-xfail-POSIX2008/regex.h/conform): Add.
18785 (test-xfail-POSIX2008/aio.h/conform): Add.
18786 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18787 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18788 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18789 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18790 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18791 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18792 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18793 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18794 (test-xfail-XOPEN2K/signal.h/conform): Add.
18795 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18796 (test-xfail-XOPEN2K/regex.h/conform): Add.
18797 (test-xfail-XOPEN2K/aio.h/conform): Add.
18798 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18799 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18800 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18801 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18802 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18803 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18804 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18805 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18806 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18807 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18808 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18809 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18810 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18811 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18812 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18813 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18814 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18815 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18816 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18817 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18818 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18819 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18820 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18821 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18822 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18823 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
18824 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18825 i386-gnu.
18826 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18827 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 18828
d6397de3
JM
188292018-04-18 Joseph Myers <joseph@codesourcery.com>
18830
18831 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18832 --enable-obsolete for powerpc-linux-gnuspe.
18833
8323a902
ST
188342018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18835
3dc0814c 18836 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 18837 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 18838 prototypes.
c5896a45
ST
18839 * sysdeps/mach/include/mach.h: Likewise.
18840 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18841 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 18842
743b9c2a
AZ
188432018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18844
18845 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18846 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18847 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18848 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18849
326e74e7
AS
188502018-04-16 Andreas Schwab <schwab@suse.de>
18851
18852 [BZ #19527]
18853 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18854
6b5c8607 188552018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
18856
18857 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18858 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18859
a700e7cb
DD
188602018-04-12 DJ Delorie <dj@redhat.com>
18861
18862 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18863 version to 4.16.
18864
d8abfab7
SL
188652018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18866
18867 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18868 (struct kernel_sigaction): Use the same definition on 31bit as is used
18869 on 64bit.
18870
583a27d5
FW
188712018-04-09 Florian Weimer <fweimer@redhat.com>
18872
18873 [BZ #23037]
18874 * resolv/res_send.c (send_dg): Use designated initializers instead
18875 of assignment to zero-initialize other fields of struct mmsghdr.
18876
243f59e5
AZ
188772018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18878
942de61a
AZ
18879 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18880 __READDIR_ALIAS): Undefine after usage.
18881 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18882 __READDIR_R_ALIAS): Likewise.
18883 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18884 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18885 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18886 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18887 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18888 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18889 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18890 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18891 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18892 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18893 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18894 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18895 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18896 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18897 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18898 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18899 * sysdeps/unix/sysv/linux/readdir.c: New file.
18900 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18901 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18902 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18903
243f59e5
AZ
18904 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18905
690c3475
AS
189062018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18907
18908 * manual/charset.texi (Converting a Character): Fix typo.
18909
6b5c8607 189102018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 18911
bbc2062a
AZ
18912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18913
fa7c6199
AZ
18914 * sysdeps/arm/libm-test-ulps: Update.
18915
b4a5d26d
AZ
18916 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18917 as base implementation.
18918 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18920 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18921 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18922 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18923 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18924 remove unrequired definitions and update comments.
18925 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18926 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18927 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18928 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18929 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18930 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18931 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18932 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18933 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18934 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18935 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18936 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18937 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18938 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18939 and RESET_SA_RESTORER hooks.
18940
db9e55ff
SL
189412018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18942
18943 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18944
cf138b0c
FW
189452018-04-05 Florian Weimer <fweimer@redhat.com>
18946
18947 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18948 integer overflow, memory leak on error, and indeterminate errno
18949 value. Add a null wide character to terminate the result string.
18950 * manual/charset.texi (Converting a Character): Mention embedded
18951 null bytes in the mbrtowc input string. Explain what happens in
18952 the -2 result case. Do not claim that mbrtowc is simple or
18953 obvious to use. Adjust the description of the code example. Use
18954 @code, not @var, for concrete variables.
18955
0f339252
FW
189562018-04-05 Florian Weimer <fweimer@redhat.com>
18957
18958 * manual/examples/mbstouwcs.c: New file.
18959 * manual/charset.texi (Converting a Character): Include it.
18960
e5f9508a
ST
189612018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18962
c120981d
ST
18963 * include/dirent.h (dirfd): Add hidden proto.
18964 * dirent/dirfd.c (dirfd): Add hidden def.
18965 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18966 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 18967
b2fd61ca
TMQMF
189682018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18969
18970 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18971 sin, cos and sincos to 1 ULP.
18972
10a446dd
MR
189732018-04-04 Maciej W. Rozycki <macro@mips.com>
18974
e7feec37
MR
18975 [BZ #19818]
18976 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18977 symbols.
18978 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18979 * elf/tst-absolute-sym.c: New file.
18980 * elf/tst-absolute-sym-lib.c: New file.
18981 * elf/tst-absolute-sym-lib.lds: New file.
18982 * elf/Makefile (tests): Add `tst-absolute-sym'.
18983 (modules-names): Add `tst-absolute-sym-lib'.
18984 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18985 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18986 ($(objpfx)tst-absolute-sym): New dependency.
18987
10a446dd
MR
18988 [BZ #19818]
18989 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18990 parameter.
18991 (SYMBOL_ADDRESS): New macro.
18992 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18993 SYMBOL_ADDRESS for symbol address calculation.
18994 * elf/dl-runtime.c (_dl_fixup): Likewise.
18995 (_dl_profile_fixup): Likewise.
18996 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18997 * elf/rtld.c (dl_main): Likewise.
18998 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18999 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19000 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19001 (elf_machine_rela): Likewise.
19002 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19003 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19005 (elf_machine_rela): Likewise.
19006 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19007 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19008 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19009 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19010 Likewise.
19011 (elf_machine_reloc): Likewise.
19012 (elf_machine_got_rel): Likewise.
19013 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19014 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19015 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19016 Likewise.
19017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19018 Likewise.
19019 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19021 Likewise.
19022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19023 Likewise.
19024 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19026 Likewise.
19027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19028 Likewise.
19029 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19031
9185f86d
ZW
190322018-04-04 Zack Weinberg <zackw@panix.com>
19033
19034 * sysdeps/generic/internal-signals.h: Include signal.h,
19035 sigsetops.h, and stdbool.h.
19036 (__libc_signal_block_all): Actually block all signals.
19037 (__libc_signal_block_app): Likewise.
19038 (__libc_signal_restore_set): Actually restore the signal mask.
19039
b07367bc
FW
190402018-04-04 Florian Weimer <fweimer@redhat.com>
19041
19042 inet: Actually build and run tst-deadline.
19043 * inet/Makefile (tests-internal): Add tst-deadline and do not
19044 overwrite the variable.
19045 (tests-static-internal): Remove variable.
19046
f2652643
L
190472018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 [BZ #22947]
19050 * bits/uio-ext.h (RWF_APPEND): New.
19051 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19052 * manual/llio.texi: Document RWF_APPEND.
19053 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19054 (RWF_SUPPORTED): Add RWF_APPEND.
19055
6b5c8607 190562018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
19057
19058 [BZ #22391]
19059 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19060 check for internal nptl signals.
19061 * nptl/sigaction.c (__sigaction): Likewise.
19062 * signal/sigaddset.c (sigaddset): Likewise.
19063 * signal/sigdelset.c (sigdelset): Likewise.
19064 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19065 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19066 value.
19067 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19068 to filter out internal nptl signals.
19069 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19070 also check realtime signals using standard macros.
19071 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19072 __is_internal_signal, __libc_signal_block_all,
19073 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19074 * sysdeps/nptl/sigfillset.c: Remove file.
19075 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19076 Change return to bool.
19077 (__clear_internal_signals): Remove SIGTIMER clean since it is
19078 equal to SIGCANEL on Linux.
19079 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19080 signal set was constructed using standard functions.
19081
511ed56f
ST
190822018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19083
92846492
ST
19084 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19085 ifname is too long.
e8ef51b1
ST
19086 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19087 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
19088 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19089 hidden def.
19090 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
19091 * signal/sigaddset.c: Include <sigsetopts.h>.
19092 * signal/sigdelset.c: Likewise.
511ed56f 19093
e88ecbbf
WD
190942018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19095
19096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19097 (__cos): Likewise.
19098 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19099 logic as sin and cos.
19100
aef3e255
WD
191012018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19102
19103 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19104 inputs. Return correct sign.
19105 (do_sincos): Remove small input check before do_sin, let do_sin set
19106 the sign.
19107 (__sin): Likewise.
19108 (__cos): Likewise.
19109
72f6e9a3
WD
191102018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19111
19112 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19113 (do_cos_slow): Likewise.
19114 (do_sin_slow): Likewise.
19115 (reduce_and_compute): Likewise.
19116 (slow): Likewise.
19117 (slow1): Likewise.
19118 (slow2): Likewise.
19119 (sloww): Likewise.
19120 (sloww1): Likewise.
19121 (sloww2): Likewise.
19122 (bslow): Likewise.
19123 (bslow1): Likewise.
19124 (bslow2): Likewise.
19125 (cslow2): Likewise.
19126
64909583
WD
191272018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19128
19129 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19130 (do_cos): Remove corp parameter and calculations.
19131 (do_sin): Likewise.
19132 (do_sincos): Remove cor variable.
19133 (__sin): Use do_sincos for huge inputs.
19134 (__cos): Likewise.
19135 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19136 (reduce_and_compute_sincos): Remove unused function.
19137
d9469deb
WD
191382018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19139
19140 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19141 reduce_sincos, improve accuracy to 136 bits.
19142 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19143 (__sin): Use improved reduction and simplified do_sincos calculation.
19144 (__cos): Likewise.
19145 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19146
7a5640f2
WD
191472018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19148
19149 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19150 (do_sincos_2): Likewise.
19151 (__sin): Remove middle range reduction case.
19152 (__cos): Likewise.
19153 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19154 reduction case.
19155
19a8b9a3
WD
191562018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19157
19158 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19160 inputs.
19161 (__cos): Likewise.
19162 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19163
f72aa11d
JM
191642018-04-03 Joseph Myers <joseph@codesourcery.com>
19165
19166 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 19167 version to 4.16
f72aa11d 19168
8e4754ed
AZ
191692018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19170
19171 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19172 Remove definitions.
19173 (opendir_oflags): Use O_DIRECTORY regardless.
19174 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19175 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19176
8e2666ea
ST
191772018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19178
19179 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19180 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19181 macros.
19182 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19183 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19184 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19185 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
19186 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19187 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 19188
ad2b41bf
ST
19189 * htl/Makefile: Bump licence to LGPL 2.1+.
19190 * htl/alloca_cutoff.c: Likewise.
19191 * htl/cthreads-compat.c: Likewise.
19192 * htl/lockfile.c: Likewise.
19193 * htl/pt-alloc.c: Likewise.
19194 * htl/pt-cancel.c: Likewise.
19195 * htl/pt-cleanup.c: Likewise.
19196 * htl/pt-create.c: Likewise.
19197 * htl/pt-dealloc.c: Likewise.
19198 * htl/pt-detach.c: Likewise.
19199 * htl/pt-exit.c: Likewise.
19200 * htl/pt-getattr.c: Likewise.
19201 * htl/pt-initialize.c: Likewise.
19202 * htl/pt-internal.h: Likewise.
19203 * htl/pt-join.c: Likewise.
19204 * htl/pt-self.c: Likewise.
19205 * htl/pt-setcancelstate.c: Likewise.
19206 * htl/pt-setcanceltype.c: Likewise.
19207 * htl/pt-sigmask.c: Likewise.
19208 * htl/pt-spin-inlines.c: Likewise.
19209 * htl/pt-testcancel.c: Likewise.
19210 * htl/pt-yield.c: Likewise.
19211 * htl/tests/test-1.c: Likewise.
19212 * htl/tests/test-10.c: Likewise.
19213 * htl/tests/test-11.c: Likewise.
19214 * htl/tests/test-12.c: Likewise.
19215 * htl/tests/test-13.c: Likewise.
19216 * htl/tests/test-14.c: Likewise.
19217 * htl/tests/test-15.c: Likewise.
19218 * htl/tests/test-16.c: Likewise.
19219 * htl/tests/test-17.c: Likewise.
19220 * htl/tests/test-2.c: Likewise.
19221 * htl/tests/test-3.c: Likewise.
19222 * htl/tests/test-4.c: Likewise.
19223 * htl/tests/test-5.c: Likewise.
19224 * htl/tests/test-6.c: Likewise.
19225 * htl/tests/test-7.c: Likewise.
19226 * htl/tests/test-8.c: Likewise.
19227 * htl/tests/test-9.c: Likewise.
19228 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19229 * sysdeps/htl/bits/cancelation.h: Likewise.
19230 * sysdeps/htl/bits/pthread-np.h: Likewise.
19231 * sysdeps/htl/bits/pthread.h: Likewise.
19232 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19233 * sysdeps/htl/bits/semaphore.h: Likewise.
19234 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19235 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19236 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19237 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19238 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19239 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19240 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19241 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19242 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19243 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19244 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19245 * sysdeps/htl/old_pt-atfork.c: Likewise.
19246 * sysdeps/htl/pt-atfork.c: Likewise.
19247 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19248 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19249 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19250 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19251 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19252 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19253 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19254 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19255 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19256 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19257 * sysdeps/htl/pt-attr-init.c: Likewise.
19258 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19259 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19260 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19261 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19262 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19263 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19264 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19265 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19266 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19267 * sysdeps/htl/pt-attr.c: Likewise.
19268 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19269 * sysdeps/htl/pt-barrier-init.c: Likewise.
19270 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19271 * sysdeps/htl/pt-barrier.c: Likewise.
19272 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19273 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19274 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19275 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19276 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19277 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19278 * sysdeps/htl/pt-cond-init.c: Likewise.
19279 * sysdeps/htl/pt-cond-signal.c: Likewise.
19280 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19281 * sysdeps/htl/pt-cond-wait.c: Likewise.
19282 * sysdeps/htl/pt-cond.c: Likewise.
19283 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19284 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19285 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19286 * sysdeps/htl/pt-condattr-init.c: Likewise.
19287 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19288 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19289 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19290 * sysdeps/htl/pt-equal.c: Likewise.
19291 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19292 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19293 * sysdeps/htl/pt-getschedparam.c: Likewise.
19294 * sysdeps/htl/pt-getspecific.c: Likewise.
19295 * sysdeps/htl/pt-init-specific.c: Likewise.
19296 * sysdeps/htl/pt-key-create.c: Likewise.
19297 * sysdeps/htl/pt-key-delete.c: Likewise.
19298 * sysdeps/htl/pt-key.h: Likewise.
19299 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19300 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19301 * sysdeps/htl/pt-mutex-init.c: Likewise.
19302 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19303 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19304 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19305 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19306 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19307 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19308 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19309 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19310 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19311 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19312 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19313 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19314 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19315 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19316 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19317 * sysdeps/htl/pt-mutexattr.c: Likewise.
19318 * sysdeps/htl/pt-once.c: Likewise.
19319 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19320 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19321 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19322 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19323 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19324 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19325 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19326 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19327 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19328 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19329 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19330 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19331 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19332 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19333 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19334 * sysdeps/htl/pt-setschedparam.c: Likewise.
19335 * sysdeps/htl/pt-setschedprio.c: Likewise.
19336 * sysdeps/htl/pt-setspecific.c: Likewise.
19337 * sysdeps/htl/pt-spin.c: Likewise.
19338 * sysdeps/htl/pt-startup.c: Likewise.
19339 * sysdeps/htl/pthread.h: Likewise.
19340 * sysdeps/htl/sem-close.c: Likewise.
19341 * sysdeps/htl/sem-destroy.c: Likewise.
19342 * sysdeps/htl/sem-getvalue.c: Likewise.
19343 * sysdeps/htl/sem-init.c: Likewise.
19344 * sysdeps/htl/sem-open.c: Likewise.
19345 * sysdeps/htl/sem-post.c: Likewise.
19346 * sysdeps/htl/sem-timedwait.c: Likewise.
19347 * sysdeps/htl/sem-trywait.c: Likewise.
19348 * sysdeps/htl/sem-unlink.c: Likewise.
19349 * sysdeps/htl/sem-wait.c: Likewise.
19350 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19351 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19352 * sysdeps/mach/htl/pt-block.c: Likewise.
19353 * sysdeps/mach/htl/pt-spin.c: Likewise.
19354 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19355 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19356 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19357 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19358 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19359 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19360 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19361 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19362 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19363 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19364 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19365 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19366 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19367 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19368 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19369 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19370 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19371 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19372 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19373 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19374 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19375 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19376 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19377 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19378 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19379 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19380 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19381 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19382 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19383 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19384 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19385 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19386 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19387 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19388 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19389 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19390 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19391 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19392 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19393 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19394 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19395 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19396 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19397
fb03b04b
ST
19398 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19399 * README: Remove the mention of out-of-tree patches needed for
19400 GNU/Hurd.
19401
fa9e1555
ST
19402 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19403 (UTIME_NOW, UTIME_OMIT): Define macros.
19404
f6fb29d2
ST
19405 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19406 instead of pthread_detach.
19407 (__cthread_fork): Call __pthread_create instead of pthread_create.
19408 (__cthread_keycreate): Call __pthread_key_create instead of
19409 pthread_key_create.
19410 (__cthread_getspecific): Call __pthread_getspecific instead of
19411 pthread_getspecific.
19412 (__cthread_setspecific): Call __pthread_setspecific instead of
19413 pthread_setspecific.
19414 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19415 __pthread_mutex_unlock instead of pthread_mutex_lock and
19416 pthread_mutex_unlock.
19417 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19418 ___pthread_get_cleanup_stack.
19419 (__pthread_get_cleanup_stack): New strong alias.
19420 * htl/pt-create.c: Include <pthreadP.h>.
19421 (entry_point): Call __pthread_exit instead of pthread_exit.
19422 (pthread_create): Rename to __pthread_create.
19423 (pthread_create): New strong alias.
19424 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19425 (pthread_detach): New strong alias.
19426 (__pthread_detach): Call __pthread_cond_broadcast instead of
19427 pthread_cond_broadcast.
fe9748cc
ST
19428 * htl/pt-exit.c: Include <pthreadP.h>.
19429 (__pthread_exit): Call __pthread_setcancelstate and
19430 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19431 __pthread_get_cleanup_stack.
f6fb29d2
ST
19432 * htl/pt-testcancel.c: Include <pthreadP.h>.
19433 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19434 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19435 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19436 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19437 pthread_attr_getstacksize.
19438 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19439 Rename to __pthread_attr_getstackaddr.
19440 (pthread_attr_getstackaddr): New strong alias.
19441 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19442 Rename to __pthread_attr_getstacksize.
19443 (pthread_attr_getstacksize): New strong alias.
19444 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19445 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19446 (pthread_attr_setstack): New strong alias.
19447 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19448 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19449 pthread_attr_getstacksize, pthread_attr_setstacksize and
19450 pthread_attr_setstackaddr.
19451 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19452 Rename to __pthread_attr_setstackaddr.
19453 (pthread_attr_setstackaddr): New strong alias.
19454 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19455 Rename to __pthread_attr_setstacksize.
19456 (pthread_attr_setstacksize): New strong alias.
19457 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19458 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19459 pthread_exit.
19460 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19461 (__pthread_key_create): New hidden def.
19462 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19463 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19464 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19465 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19466 __pthread_setspecific, __pthread_setcancelstate,
19467 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19468 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19469 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19470 declarations.
19471 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19472 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19473 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19474 (pthread_attr_setstackaddr): New strong alias.
19475 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19476 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19477 (pthread_attr_setstacksize): New strong alias.
19478 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19479 (call_exit): Call __pthread_exit instead of pthread_exit.
19480 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19481 (_pthread_mutex_init): New hidden definition.
19482 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19483 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19484 instead of pthread_attr_init and pthread_attr_setstack.
19485
dba2bdbe
ST
19486 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19487 __vm_deallocate instead of vm_allocate and vm_deallocate.
19488 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19489 setenv.
19490 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19491 of geteuid.
19492 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19493 strdup.
19494 * hurd/siginfo.c: Include <libioP.h>.
19495 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19496 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19497 munmap.
dba2bdbe
ST
19498 * mach/devstream.c: Include <libioP.h>.
19499 (dealloc_ref): Call __mach_port_deallocate instead of
19500 mach_port_deallocate.
19501 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19502 Call __mach_port_deallocate instead of mach_port_deallocate.
19503 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19504 pathconf.
19505 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19506 munmap.
19507 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19508 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19509 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19510 of munmap.
19511 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19512 of close.
19513 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19514 instead of sysconf.
19515 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19516 __clock_gettime instead of clock_gettime.
19517 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19518 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19519 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19520 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19521 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19522 tcgetattr.
19523 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19524 __clock_gettime and __nanosleep instead of clock_gettime and
19525 nanosleep.
7a8f45e3
ST
19526 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19527 __hurd_catch_signal.
19528 (hurd_catch_signal): New strong alias.
19529 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19530 __hurd_catch_signal instead of hurd_catch_signal.
19531 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19532 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19533 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19534 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19535 (_hurd_thread_sigstate): Add hidden def.
19536 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19537 mutex_unlock.
19538 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19539 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19540 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19541 __hurd_file_name_path_lookup.
19542 (hurd_file_name_path_lookup): New strong alias.
19543 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19544 hurd_file_name_path_lookup.
19545 * mach/errstring.c (mach_error_type): Add hidden def.
19546 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19547 * mach/mutex-init.c (__mutex_init): Add hidden def.
19548 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19549 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19550 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19551 * sysdeps/mach/hurd/getcwd.c
19552 (_hurd_canonicalize_directory_name_internal): Rename to
19553 __hurd_canonicalize_directory_name_internal.
19554 (_hurd_canonicalize_directory_name_internal): New strong alias.
19555 (__canonicalize_directory_name_internal, __getcwd): Call
19556 __hurd_canonicalize_directory_name_internal instead of
19557 _hurd_canonicalize_directory_name_internal.
19558 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19559 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19560 hidden defs.
19561 * sysdeps/hurd/include/hurd.h: New file.
19562 * sysdeps/hurd/include/hurd/fd.h: New file.
19563 * sysdeps/hurd/include/hurd/signal.h: New file.
19564 * sysdeps/mach/include/lock-intern.h: New file.
19565 * sysdeps/mach/include/mach.h: New file.
19566 * sysdeps/mach/include/mach/mig_support.h: New file.
19567 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
19568 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19569 prototype.
19570 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19571 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19572 _HEADER_H_HIDDEN_DEF macro.
19573 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19574 _hurd_fd_error_signal): Add hidden prototype.
19575 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19576 hidden def.
82dbf555
ST
19577 * libio/iolibio.h (_IO_puts): New hidden prototype.
19578 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
19579 * sysdeps/mach/hurd/localplt.data: New file.
19580
33574c17 195812018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
19582 Amos Jeffries <squid3@treenet.co.nz>
19583 David Michael <fedora.dm0@gmail.com>
19584 Marco Gerards <marco@gnu.org>
19585 Marcus Brinkmann <marcus@gnu.org>
19586 Neal H. Walfield <neal@gnu.org>
19587 Pino Toscano <toscano.pino@tiscali.it>
19588 Richard Braun <rbraun@sceen.net>
19589 Roland McGrath <roland@gnu.org>
19590 Samuel Thibault <samuel.thibault@ens-lyon.org>
19591 Thomas DiModica <ricinwich@yahoo.com>
19592 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
19593
19594 * htl: New directory.
19595 * sysdeps/htl: New directory.
19596 * sysdeps/hurd/htl: New directory.
19597 * sysdeps/i386/htl: New directory.
19598 * sysdeps/mach/htl: New directory.
19599 * sysdeps/mach/hurd/htl: New directory.
19600 * sysdeps/mach/hurd/i386/htl: New directory.
19601 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19602 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19603 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19604
03e2aa50
ST
196052018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19606
19607 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19608 signals in thread created for runing timers.
19609
1aa52ced
FW
196102018-04-01 Florian Weimer <fweimer@redhat.com>
19611
19612 * support/support_format_addrinfo.c (support_format_addrinfo):
19613 Include unknown error number in formatted result.
19614
4d76d3e5
FW
196152018-03-29 Florian Weimer <fweimer@redhat.com>
19616
19617 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19618 capture SIGBUS.
19619
d39c0a45
AZ
196202018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19621
19622 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19623 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19624 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19625 (__ASSUME_CLONE_BACKWARDS): Define.
19626
cc8a1620
JH
196272018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19628
57408435 19629 [BZ #23024]
cc8a1620
JH
19630 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19631 early when linux sentinel value is set.
19632
8bfd94d0
ST
196332018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19634
19635 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19636
f178e59f
AS
196372018-03-27 Andreas Schwab <schwab@suse.de>
19638
19639 [BZ #23005]
19640 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19641 allocation of private copy of nsaddr_list fails.
19642
5f45f96a
JM
196432018-03-26 Joseph Myers <joseph@codesourcery.com>
19644
19645 [BZ #16552]
19646 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19647 * sysdeps/unix/sysv/linux/umount.c: ... here.
19648 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19649 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19650 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19651 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19653 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19654 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19655
3dfd23eb
AS
196562018-03-26 Andreas Schwab <schwab@suse.de>
19657
19658 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19659 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19660 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19661 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19662 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19663 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19664 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19665 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19666 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19667 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19668 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19669 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19670 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19671 (R_RISCV_NUM): Define.
19672
fa97d2ab
ST
196732018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19674
19675 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19676 TLS declaration of errno.
37be82a0
ST
19677 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19678 __libc_setup_tls.
19679 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19680 (ARCH_SETUP_TLS): Likewise.
19681 * sysdeps/mach/hurd/libc-start.h: New file copied from
19682 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
19683 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19684 instead of __libc_setup_tls.
37be82a0 19685 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
19686 __libc_setup_tls before initializing libpthread and running _hurd_init
19687 which starts the signal thread.
19688 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19689 Declare function.
2d813d7b 19690 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 19691
b8114edd
L
196922018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19693
19694 [BZ #22998]
19695 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19696 after it is defined.
19697
cd66c0e5
AS
196982018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19699 Max Horn <max@quendi.de>
19700
19701 [BZ #22644]
43d4f3d5 19702 CVE-2017-18269
cd66c0e5
AS
19703 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19704 branch conditions.
19705 * string/test-memmove.c (do_test2): New testcase.
19706
a4406139
JM
197072018-03-22 Joseph Myers <joseph@codesourcery.com>
19708
19709 * sysdeps/generic/frame.h: Remove file.
19710 * sysdeps/arm/frame.h: Likewise.
19711 * sysdeps/hppa/frame.h: Likewise.
19712 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19713 macro.
19714 (GET_FRAME): Likewise.
19715 (GET_STACK): Likewise.
19716 (CALL_SIGHANDLER): Likewise.
19717 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19718 Likewise.
19719 (GET_FRAME): Likewise.
19720 (GET_STACK): Likewise.
19721 (CALL_SIGHANDLER): Likewise.
19722 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19723 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19724 (GET_FRAME): Likewise.
19725 (GET_STACK): Likewise.
19726 (CALL_SIGHANDLER): Likewise.
19727 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19728 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19729 (GET_FRAME): Likewise.
19730 (GET_STACK): Likewise.
19731 (ADVANCE_STACK_FRAME): Likewise.
19732 (CALL_SIGHANDLER): Likewise.
19733 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19734 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19735 (GET_FRAME): Likewise.
19736 (GET_STACK): Likewise.
19737 (CALL_SIGHANDLER): Likewise.
19738 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19739 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19740 (GET_FRAME): Likewise.
19741 (GET_STACK): Likewise.
19742 (CALL_SIGHANDLER): Likewise.
19743 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19745 (GET_FRAME): Likewise.
19746 (GET_STACK): Likewise.
19747 (CALL_SIGHANDLER): Likewise.
19748 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19749 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19750 (GET_FRAME): Likewise.
19751 (GET_STACK): Likewise.
19752 (CALL_SIGHANDLER): Likewise.
19753 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19754 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19755 (GET_FRAME): Likewise.
19756 (GET_STACK): Likewise.
19757 (CALL_SIGHANDLER): Likewise.
19758 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19759 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19760 (GET_FRAME): Likewise.
19761 (GET_STACK): Likewise.
19762 (CALL_SIGHANDLER): Likewise.
19763 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19764 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19765 (GET_FRAME): Likewise.
19766 (GET_STACK): Likewise.
19767 (CALL_SIGHANDLER): Likewise.
19768 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19769 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19770 (GET_FRAME): Likewise.
19771 (GET_STACK): Likewise.
19772 (CALL_SIGHANDLER): Likewise.
19773 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19774 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19775 (GET_FRAME): Likewise.
19776 (GET_STACK): Likewise.
19777 (CALL_SIGHANDLER): Likewise.
19778 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19779 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19780 (FIRST_FRAME_POINTER): Likewise.
19781 (ADVANCE_STACK_FRAME): Likewise.
19782 (GET_STACK): Likewise.
19783 (GET_FRAME): Likewise.
19784 (CALL_SIGHANDLER): Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19787 (ADVANCE_STACK_FRAME): Likewise.
19788 (GET_STACK): Likewise.
19789 (GET_FRAME): Likewise.
19790 (CALL_SIGHANDLER): Likewise.
19791 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19792 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19793 (GET_FRAME): Likewise.
19794 (GET_STACK): Likewise.
19795 (CALL_SIGHANDLER): Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19797 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19798 (GET_FRAME): Likewise.
19799 (GET_STACK): Likewise.
19800 (CALL_SIGHANDLER): Likewise.
19801
ffec7b27
JM
198022018-03-21 Joseph Myers <joseph@codesourcery.com>
19803
19804 * sysdeps/x86_64/backtrace.c: Move to ....
19805 * debug/backtrace.c: ... here.
19806 * sysdeps/aarch64/backtrace.c: Remove file.
19807 * sysdeps/alpha/backtrace.c: Likewise.
19808 * sysdeps/hppa/backtrace.c: Likewise.
19809 * sysdeps/ia64/backtrace.c: Likewise.
19810 * sysdeps/mips/backtrace.c: Likewise.
19811 * sysdeps/nios2/backtrace.c: Likewise.
19812 * sysdeps/riscv/backtrace.c: Likewise.
19813 * sysdeps/sh/backtrace.c: Likewise.
19814 * sysdeps/tile/backtrace.c: Likewise.
19815
8a07b0c4
JM
198162018-03-20 Joseph Myers <joseph@codesourcery.com>
19817
d0c5d731
JM
19818 [BZ #22987]
19819 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19820 function.
19821 (fdimf): Likewise.
19822 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19823
8a07b0c4
JM
19824 [BZ #17343]
19825 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19826 possibly overflowing computations.
19827
ceb54b9b
ST
198282018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19829
19830 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19831 values from Linux-specific section now that it is in the GNU section.
19832 * sysdeps/gnu/errlist.c: Regenerate.
19833
8d3f9e85
JM
198342018-03-20 Joseph Myers <joseph@codesourcery.com>
19835
19836 * math/Makefile (libm-narrow-fns): Add sub.
19837 (libm-test-funcs-narrow): Likewise.
19838 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19839 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19840 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19841 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19842 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19843 (NARROW_SUB_TRIVIAL): Likewise.
19844 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19845 macro.
19846 (__dsubl): Likewise.
19847 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19848 dsub.
19849 (CFLAGS-nldbl-dsub.c): New variable.
19850 (CFLAGS-nldbl-fsub.c): Likewise.
19851 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19852 __nldbl_dsubl.
19853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19854 prototype.
19855 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19856 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19857 * math/auto-libm-test-in: Add tests of sub.
19858 * math/auto-libm-test-out-narrow-sub: New generated file.
19859 * math/libm-test-narrow-sub.inc: New file.
19860 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19863 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19864 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19865 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19866 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19868 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19869 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19870 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19872 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19873 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19874 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19875 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19876 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19877 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19879 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19898 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19899 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19900 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19902 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19903 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19905 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19906
d473f015
JM
199072018-03-19 Joseph Myers <joseph@codesourcery.com>
19908
19909 [BZ #20079]
19910 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19911
fbce6f72
WD
199122018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19913
19914 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19915
72e7ffc3
RB
199162018-03-18 Richard Braun <rbraun@sceen.net>
19917
19918 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19919 thread reference.
19920
542c20a1
AA
199212018-03-18 Agustina Arzille <avarzille@riseup.net>
19922
19923 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19924 (__libc_cleanup_fct): Define function.
19925 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19926 __libc_cleanup_end): Rewrite implementation using
19927 __attribute__ ((__cleanup__)).
19928 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
19929 * hurd/Makefile (routines): Add hurdlock.
19930 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19931 interface.
19932 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19933 * hurd/hurdpid.c: Include <lowlevellock.h>
19934 (_S_msg_proc_newids): Use lll_wait to synchronize.
19935 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19936 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19937 * mach/Makefile (lock-headers): Remove machine-lock.h.
19938 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19939 <machine-lock.h>.
19940 (__spin_lock_t): New type.
19941 (__SPIN_LOCK_INITIALIZER): New macro.
19942 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19943 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19944 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19945 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19946 (__mutex_init): Initialize with lll.
19947 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19948 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19949 needing lll.
19950 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19951 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19952 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19953 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19954 (__setpgid): Use lll for synchronization.
19955 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19956 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19957 instead of <cthreads.h>.
19958 (_IO_lock_inexpensive): New macro
19959 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19960 (__libc_lock_self0): New declaration.
19961 (__libc_lock_owner_self): New macro.
19962 (__libc_key_t): Remove type.
19963 (_LIBC_LOCK_INITIALIZER): New macro.
19964 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19965 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19966 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19967 __libc_lock_define_initialized_recursive,
19968 __rtld_lock_define_initialized_recursive,
19969 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19970 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19971 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19972 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19973 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19974 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19975 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19976 New macros.
19977 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19978 * hurd/hurdlock.c: New file.
19979 * hurd/hurdlock.h: New file.
19980 * mach/lowlevellock.h: New file
542c20a1 19981
9a37922e
ST
199822018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19983
19984 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
19985 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19986 when opening a symlink with O_NOFOLLOW.
72103e73
ST
19987 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19988 path when flags contains O_NOFOLLOW.
19989 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19990 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
19991 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19992 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
19993 * sysdeps/mach/hurd/mlockall.c: New file.
19994 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 19995
34e6a869
ST
199962018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19997
19998 * hurd/hurdsig.c: Include <pthread.h>.
19999 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20000 get the signal thread stack layout.
dc33bef3
ST
20001 * hurd/Makefile (headers): Remove threadvar.h.
20002 (inline-headers): Remove threadvar.h.
20003 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20004 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20005 __hurd_threadvar_max, __hurd_errno_location.
20006 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20007 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20008 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20009 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20010 unless TLS is not initialized yet, in which case we do not need a
20011 critical section yet anyway.
20012 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20013 <machine-sp.h>.
20014 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20015 declarations.
20016 (__hurd_threadvar_index): Remove enum.
20017 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20018 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20019 inlines.
20020 (__hurd_reply_port0): New variable declaration.
20021 (__hurd_local_reply_port): New macro.
20022 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20023 (interrupted_reply_port_location): Add thread_t parameter. Use it
20024 with THREAD_TCB to access thread-local variables.
20025 (_hurdsig_abort_rpcs): Pass ss->thread to
20026 interrupted_reply_port_location.
20027 (_hurd_internal_post_signal): Likewise.
20028 (_hurdsig_init): Use presence of cthread_fork instead of
20029 __hurd_threadvar_stack_mask to start signal thread by hand.
20030 Remove signal thread threadvar initialization.
20031 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20032 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20033 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20034 of threadvar.
20035 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20036 __libc_lock_self0.
20037 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20038 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20039 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20040 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20041 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20042 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20043 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20044 define variables.
20045 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20046 <hurd/threadvar.h>.
20047 [IS_IN(rtld)] (rtld_errno): New variable.
20048 [IS_IN(rtld)] (__errno_location): New weak function.
20049 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20050 * sysdeps/mach/hurd/errno.c: Remove file.
20051 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20052 (__fork): Remove THREADVAR_SPACE macro and its use.
20053 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20054 variable.
20055 (init): Do not initialize threadvar.
20056 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20057 symbol.
20058 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20059 __hurd_local_reply_port instead of threadvar.
20060 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20061 _hurd_sigstate fields.
20062 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20063 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20064 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20065 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20066 instead of threadvar.
20067 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20068 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20069 (use_threadvar, global_reply_port): Remove variables.
20070 (__hurd_reply_port0): New variable.
20071 (__mig_get_reply_port): Use __hurd_local_reply_port and
20072 __hurd_reply_port0 instead of threadvar.
20073 (__mig_dealloc_reply_port): Likewise.
20074 (__mig_init): Do not initialize threadvar.
20075 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
20076 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20077 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20078 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20079 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20080 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20081 __cthread_setspecific.
20082 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20083 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20084 __cthread_t instead of cthread_fork, cthread_detach,
20085 pthread_getattr_np, pthread_attr_getstack.
20086 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20087 __cthread_keycreate.
20088 (cthread_getspecific): Rename to __cthread_getspecific.
20089 (cthread_setspecific): Rename to __cthread_setspecific.
20090 (__libc_getspecific): Use __cthread_getspecific instead of
20091 cthread_getspecific.
20092 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20093 __cthread_keycreate instead of cthread_keycreate.
20094 (__libc_setspecific): Use __cthread_setspecific instead of
20095 cthread_setspecific.
20096 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20097 Likewise.
dd28d4ba
ST
20098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20099 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20100 testing whether it is defined.
34e6a869 20101
f8baf2a2
ST
201022018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20103
20104 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20105 Define macro.
20106 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20107 * sysdeps/mach/i386/thread_state.h
20108 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20109 i386_THREAD_STATE.
20110 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20111 i386_THREAD_STATE.
20112 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20113
20114 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20115 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20116
20117 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20118 macros.
20119 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20120 descriptor instead of creating a new one.
20121 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20122
20123 * mach/setup-thread.c: Include <ldsodefs.h>.
20124 (__mach_setup_thread): Call _dl_allocate_tls, pass
20125 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20126 MACHINE_THREAD_STATE_FLAVOR, before getting
20127 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20128 MACHINE_THREAD_STATE_FLAVOR with the result.
20129 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20130 MACHINE_THREAD_STATE_FIX_NEW.
20131 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20132 too. Add original thread parameter.
20133
34ba96b8
JM
201342018-03-16 Joseph Myers <joseph@codesourcery.com>
20135
5d75b75f
JM
20136 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20137 Remove inline function.
20138
34ba96b8
JM
20139 * sysdeps/i386/fpu/libm-test-ulps: Update.
20140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20141
22679b2c
WD
201422018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20143
20144 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20145 commit.
20146
c429a8d8
JM
201472018-03-15 Joseph Myers <joseph@codesourcery.com>
20148
20149 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20150 (__sincos_code): Remove define and undefine.
20151 [__FAST_MATH__] (__sincos): Remove inline function.
20152 [__FAST_MATH__] (__sincosf): Remove inline function.
20153 [__FAST_MATH__] (__sincosl): Remove inline function.
20154 (__atan2l): Remove inline functions.
20155 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20156 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20157 function.
20158 (floor): Remove inline function.
20159 (ceil): Likewise.
20160 [__FAST_MATH__] (__ldexp_code): Remove macro.
20161 [__FAST_MATH__] (ldexp): Remove inline function.
20162 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20163 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20164 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20165 [__USE_ISOC99] (__lrint_code): Remove macro.
20166 [__USE_ISOC99] (__llrint_code): Likewise.
20167 [__USE_ISOC99] (lrintf): Remove inline function.
20168 [__USE_ISOC99] (lrint): Likewise.
20169 [__USE_ISOC99] (lrintl): Likewise.
20170 [__USE_ISOC99] (llrint): Likewise.
20171 [__USE_ISOC99] (llrintf): Likewise.
20172 [__USE_ISOC99] (llrintl): Likewise.
20173
700593fd
WD
201742018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20175
20176 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20177 (__ieee754_sqrtf): Remove.
20178 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20179 (__ieee754_sqrtf): Remove.
20180 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20181 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20182 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20183 (__ieee754_sqrtf): Remove.
20184 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20185 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20186 (sqrtf): Remove.
20187 (sqrtl): Remove.
20188 (__ieee754_sqrt): Remove.
20189 (__ieee754_sqrtf): Remove.
20190 (__ieee754_sqrtl): Remove.
20191 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20192 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20193 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20194 (__ieee754_sqrtf): Remove.
20195 (__ieee754_sqrtl): Remove.
20196
f67a8147
WD
201972018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20198
20199 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20200 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20201 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20202 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20203 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20204 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20205 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20206 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20207 Likewise.
20208 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20209 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20210 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20211 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20212 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20213 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20214 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20215 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20216 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20217 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20218 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20219 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20221 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20222 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20223 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20224 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20225 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20226 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20237 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20238 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20241 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20242 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20244 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20245 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20246 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20247 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20248
1294b189
WD
202492018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20250
20251 * include/math.h (sqrt): Declare with asm redirect.
20252 (sqrtf): Likewise.
20253 (sqrtl): Likewise.
20254 (sqrtf128): Likewise.
20255 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20256 nonlib and libnldbl with -fmath-errno.
20257 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20258 * math/w_sqrt_template.c: Likewise.
20259 * math/w_sqrtf_compat.c: Likewise.
20260 * math/w_sqrtl_compat.c: Likewise.
20261 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20262 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20263 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20264 complex.h.
20265
f1c8185d
WD
202662018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20267
20268 * benchtests/Makefile: Define _ISOMAC.
20269 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20270 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20271 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20272 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20273 * benchtests/bench-timing.h: Define attribute_hidden.
20274
b47c3e76
SP
202752018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20276
20277 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20278 mov + lsr.
20279
ab74d59f 202802018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
807fee29
RL
20281
20282 [BZ #22963]
20283 * localedata/locales/cs_CZ (mon): Rename to...
20284 (alt_mon): This.
20285 (mon): Import from CLDR (genitive case).
20286
ab74d59f 202872018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
e7155a28
RL
20288
20289 [BZ #22937]
20290 * localedata/locales/el_CY (abmon): Rename to...
20291 (ab_alt_mon): This.
20292 (abmon): Import from CLDR (abbreviated genitive case).
20293 * localedata/locales/el_GR (abmon): Rename to...
20294 (ab_alt_mon): This.
20295 (abmon): Import from CLDR (abbreviated genitive case).
20296
ab74d59f 202972018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
71d7b121
RL
20298
20299 [BZ #22932]
20300 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20301
a00bffe8
RB
203022018-03-15 Robert Buj <robert.buj@gmail.com>
20303
20304 [BZ #22848]
20305 * localedata/locales/ca_ES (abmon): Rename to...
20306 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20307 (mon): Rename to...
20308 (alt_mon): This.
20309 (abmon): Import from CLDR (genitive case, month names preceded by
20310 "de" or "d’").
20311 (mon): Likewise.
20312 (abday): Synchronize with CLDR.
20313 (d_t_fmt): Likewise.
20314 (d_fmt): Likewise.
20315 (am_pm): Likewise.
20316
20317 (LC_TIME): Improve indentation.
20318 (LC_TELEPHONE): Likewise.
20319 (LC_NAME): Likewise.
20320 (LC_ADDRESS): Likewise.
20321
f9555d73
JM
203222018-03-14 Joseph Myers <joseph@codesourcery.com>
20323
20324 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20325 (lrintf): Remove definitions used only with old GCC.
20326 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20327 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20328 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20329 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20330 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20331 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20332 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20333 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20334 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20335 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20336 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20337 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20338 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20339 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20340 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20341 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20342 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20343 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20344 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20345 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20346 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20347 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20348 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20349 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20350 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20351 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20352 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20353 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20354
d46f84de
SP
203552018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20356
20357 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20358 instruction to unbreak builds with binutils 2.26 and older.
20359
7108f1f9
SP
203602018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20361
20362 * sysdeps/aarch64/strncmp.S (count): New macro.
20363 (strncmp): Store misaligned length in SRC1 in COUNT.
20364 (mutual_align): Adjust.
20365 (misaligned8): Load dword at a time when it is safe.
20366
2cc7bad0
ZW
203672018-03-12 Zack Weinberg <zackw@panix.com>
20368
20369 [BZ #1190]
20370 [BZ #19476]
20371 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20372 if the _IO_EOF_SEEN bit is already set; update commentary.
20373 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20374 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20375
20376 * support/support_openpty.c, support/tty.h: New files.
20377 * support/Makefile (libsupport-routines): Add support_openpty.
20378
20379 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20380 New test cases.
20381 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20382 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20383
778f1974
DL
203842018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20385
20386 * po/pt_BR.po: Update translations.
20387
6b5c8607 203882018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
20389
20390 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20391 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20392 get a port to the startup server.
20393
d3da750d
ZW
203942018-03-11 Zack Weinberg <zackw@panix.com>
20395
20396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20397 before nldbl-compat.h.
20398
054b72cc
ZW
203992018-03-10 Zack Weinberg <zackw@panix.com>
20400
0d13dfa1
ZW
20401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20402 math.h or math_private.h.
20403
20404 * sysdeps/alpha/fpu/s_isnan.c
20405 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20406 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20407 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20408 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20409 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20410 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20411 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20412 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20416 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20418 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20419 Include math_private.h.
20420
20421 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20422 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20423 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20424 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20425 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20426 * sysdeps/powerpc/power7/fpu/s_logb.c:
20427 Include math.h and math_private.h.
20428
054b72cc
ZW
20429 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20430 uses of $at in .set noat / .set at.
20431
6253bacd
L
204322018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20433
20434 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20435 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20436 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20437 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20438 Likewise.
20439
229855e5
FW
204402018-03-09 Florian Weimer <fweimer@redhat.com>
20441
20442 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20443 in comment.
20444
9aa5c222
AJ
204452018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20446
20447 [BZ #22919]
20448 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20449 Add nop before __startcontext, add explaining comments.
20450
3dc21497
AZ
204512018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20452
e921c89e
AZ
20453 [BZ #22926]
20454 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20455 empty for __SPE__.
20456 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20457 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20458 Do not build hardware transactional code for __SPE__.
20459 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20460 (__lll_trylock_elision): Likewise.
20461 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20462 (__lll_unlock_elision): Likewise.
20463
d9f26dab 20464 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
20465 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20466 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20467 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20468 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20469 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20470 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20471 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20472 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20473 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20474 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20475 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20476 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20477 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20478 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20479 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20480 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20482 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20484 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20485 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20486 (__ASSUME_CLONE_BACKWARDS): Define.
20487 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20488 __clone2 if __NR_clone2 is defined.
20489 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20490 (__ASSUME_CLONE_BACKWARDS): Likewise.
20491 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20492 (__ASSUME_CLONE_BACKWARDS): Likewise.
20493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20494 (__ASSUME_CLONE2): Likewise.
20495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20496 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20497 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20498 variants and the define architecture can use.
20499 (__ASSUME_CLONE_DEFAULT): Define as default.
20500 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20501 (__ASSUME_CLONE_BACKWARDS): Likewise.
20502 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20503 (__ASSUME_CLONE_BACKWARDS): Likewise.
20504 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20505 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20506
adc95fb0
SP
205072018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20508
4e54d918
SP
20509 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20510
30a81dae
SP
20511 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20512 time.
20513
adc95fb0
SP
20514 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20515 (do_test_limit): Likewise.
20516
20517 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20518 for every implementation.
20519 (do_test): Likewise.
20520
20521 * benchtests/bench-strncmp.c: Convert output to json.
20522
4e9066bc
ST
205232018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20524
20525 * io/futimens.c: Add missing start-of-file descriptive comment.
20526 * io/utime.c: Likewise.
20527 * misc/futimesat.c: Likewise.
20528 * misc/utimes.c: Likewise.
20529 * sysdeps/mach/hurd/futimesat.c: Likewise.
20530 * sysdeps/mach/hurd/utimes.c: Likewise.
20531 * sysdeps/posix/utime.c: Likewise.
20532 * sysdeps/posix/utimes.c: Likewise.
20533 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20534 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20535 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20536 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20537
ec1300cf
ST
205382018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20539
20540 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20541 hurd_futimes.
20542 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20543 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20544 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20545 (__futimens): Move implementation to...
20546 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20547 utime_tvalue_from_tspec): ... new helper functions.
20548 (hurd_futimens): New function.
20549 * sysdeps/mach/hurd/futimesat.c: New file.
20550 * sysdeps/mach/hurd/utimensat.c: New file.
20551
bbe762d1
FC
205522018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20553
20554 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20555 UTIME_OMIT): New macros.
20556 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20557 before reverting to converting time spec to time value and calling
20558 __file_utimes.
20559 * sysdeps/mach/hurd/utime-helper.c: New file.
20560 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20561 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20562 reverting to utime_tvalue_from_tval and __file_utimes.
20563 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20564 (__lutimes): Just call hurd_futimens after lookup.
20565 * sysdeps/mach/hurd/utimes.c: Likewise.
20566
a1ede3a4
ST
205672018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20568
20569 * bits/sigaction.h: Add include guard.
20570 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20571 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20572 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20573 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20574 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20575 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20576 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20577 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20578 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20579
6900d2ca
JM
205802018-03-05 Joseph Myers <joseph@codesourcery.com>
20581
20582 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20583 -Wmaybe-uninitialized for -Os.
20584 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20585 this disabling.
20586
68448be2
AZ
205872018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20588
5226a81f
AZ
20589 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20590 __INO_T_MATCHES_INO64_T is defined.
20591 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20592 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20593 of definition.
20594 * dirent/alphasort64.c: Likewise.
20595 * dirent/scandir.c: Likewise.
20596 * dirent/scandir64-tail.c: Likewise.
20597 * dirent/scandir64.c: Likewise.
20598 * dirent/scandirat.c: Likewise.
20599 * dirent/scandirat64.c: Likewise.
20600 * dirent/versionsort.c: Likewise.
20601 * dirent/versionsort64.c: Likewise.
20602 * include/dirent.h: Likewise.
20603
fbd01e6c
AZ
20604 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20605 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20606 for socketpair endpoint.
20607 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20608 WRITE_BUFFER_SIZE as buffer size for sending socket.
20609 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20610 issue on system where send is implemented with sendto syscall.
20611 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20612 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20613 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20614 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20615
68448be2
AZ
20616 [BZ #21269]
20617 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20618 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20619 sa_restorer for vDSO case.
20620 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20621
eb1ca47e
ST
206222018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20623
20624 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
20625 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20626 * hurd/hurd/ioctl.h: Include <mach/port.h>
20627 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
20628 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20629 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
20630 (headers): Move mach/param.h to bits/mach/param.h.
20631 * sysdeps/mach/i386/mach/param.h: Move file to ...
20632 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20633 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20634 of <mach/param.h>.
3403cb7d
ST
20635 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20636 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20637 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
20638 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20639 trivial, for C++ conformity.
44c6376c 20640 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
20641 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20642 Process mig output through $(migheadersed).
20643 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
20644 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20645 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20646 headers.
ba89615d
ST
20647 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20648 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20649 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20650 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20651 <bits/types/sigset_t.h>.
20652 [!defined __USE_GNU]: Do not #error out.
20653 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20654 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20655 Include <stddef.h> and <bits/types/sigset_t.h>
20656 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20657 instead of sighandler_t.
974393ea
ST
20658 * stdlib/errno.h (error_t): Move definition to...
20659 * bits/types/error_t.h: ... new header.
20660 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20661 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20662 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20663 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20664 * hurd/hurd.h: Include <bits/types/error_t.h>
20665 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20666 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20667 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20668 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20669 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20670 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 20671 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 20672
eaf6753f
AS
206732018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20674
20675 [BZ #22918]
20676 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20677 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20678 * nscd/gai.c (__nss_hosts_database): Readd definition.
20679 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20680 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20681 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20682
4dc23804
JM
206832018-03-02 Joseph Myers <joseph@codesourcery.com>
20684
20685 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20686 (ifunc_one): Likewise.
20687
1c81d55f
DD
206882018-03-01 DJ Delorie <dj@delorie.com>
20689
20690 [BZ #22342]
20691 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20692 key value.
20693
b717c14f
MR
206942018-03-01 Maciej W. Rozycki <macro@mips.com>
20695
20696 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20697 `match_pid' parameter.
20698 (td_ta_thr_iter): Update accordingly.
20699
1efe1358
FW
207002018-03-01 Florian Weimer <fweimer@redhat.com>
20701
20702 * nptl/Makefile (install-lib-ldscripts): Remove.
20703 (install): Remove rule.
20704 ($(inst_libdir)/libpthread.so): Likewise.
20705
a527f09c
MF
207062018-03-01 Mike FABIAN <mfabian@redhat.com>
20707
20708 [BZ #22896]
20709 * localedata/locales/an_ES: update month and day names,
20710 improve d_fmt, improve postal_fmt, add country_post,
20711 add country_isbn
20712
35d660b0
MF
207132018-03-01 Mike FABIAN <mfabian@redhat.com>
20714
20715 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20716 Ukrainian instead of Bulgarian.
20717
1a2f44a8
FW
207182018-03-01 Florian Weimer <fweimer@redhat.com>
20719
20720 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20721 reference.
20722
bd60ce86
FW
207232018-03-01 Florian Weimer <fweimer@redhat.com>
20724
20725 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20726 * nptl/Makefile (routines): Add pthread_atfork.
20727 (static-only-routines): Set to pthread_atfork.
20728 (libpthread-routines): Remove pthread_atfork.
20729 (libpthread-static-only-routines): Remove.
20730 (install): Update comment.
20731 (libpthread.so): Do not install libpthread_nonshared.a.
20732 (tests): Do not link with libpthread_nonshared.a.
20733 (generated): Remove libpthread_nonshared.a.
20734 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20735 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20736 with libpthread_nonshared.a.
20737
000f290f
JM
207382018-02-28 Joseph Myers <joseph@codesourcery.com>
20739
e2bcf6a8
JM
20740 [BZ #22902]
20741 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20742 (libc_feholdexcept_setroundf128): New macro.
20743 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20744
000f290f
JM
20745 [BZ #15105]
20746 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20747 libc_hidden_def.
20748 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20749 * include/inttypes.h: New file.
20750
02f2fead
JM
207512018-02-27 Joseph Myers <joseph@codesourcery.com>
20752
20753 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20754 -Os in two more places.
20755
874c56d7
MF
207562018-02-27 Mike FABIAN <mfabian@redhat.com>
20757
20758 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20759 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20760 be sorted correctly at the moment because of a bug.
20761
15973854
MF
207622018-02-27 Mike FABIAN <mfabian@redhat.com>
20763
20764 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20765 treat ñ as a primary different character, sync the collation
20766 for Spanish with CLDR.
20767 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20768 * localedata/Makefile: Add new test files.
20769 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20770 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20771 collation order.
20772 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20773 * localedata/am_ET.UTF-8.in: New test file.
20774 * localedata/az_AZ.UTF-8.in: Likewise.
20775 * localedata/be_BY.UTF-8.in: Likewise.
20776 * localedata/ber_DZ.UTF-8.in: Likewise.
20777 * localedata/ber_MA.UTF-8.in: Likewise.
20778 * localedata/bg_BG.UTF-8.in: Likewise.
20779 * localedata/br_FR.UTF-8.in: Likewise.
20780 * localedata/cmn_TW.UTF-8.in: Likewise.
20781 * localedata/crh_UA.UTF-8.in: Likewise.
20782 * localedata/csb_PL.UTF-8.in: Likewise.
20783 * localedata/cv_RU.UTF-8.in: Likewise.
20784 * localedata/cy_GB.UTF-8.in: Likewise.
20785 * localedata/dz_BT.UTF-8.in: Likewise.
20786 * localedata/eo.UTF-8.in: Likewise.
20787 * localedata/es_ES.UTF-8.in: Likewise.
20788 * localedata/fa_IR.UTF-8.in: Likewise.
20789 * localedata/fi_FI.UTF-8.in: Likewise.
20790 * localedata/fil_PH.UTF-8.in: Likewise.
20791 * localedata/fur_IT.UTF-8.in: Likewise.
20792 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20793 * localedata/ha_NG.UTF-8.in: Likewise.
20794 * localedata/ig_NG.UTF-8.in: Likewise.
20795 * localedata/ik_CA.UTF-8.in: Likewise.
20796 * localedata/kk_KZ.UTF-8.in: Likewise.
20797 * localedata/ku_TR.UTF-8.in: Likewise.
20798 * localedata/ky_KG.UTF-8.in: Likewise.
20799 * localedata/ln_CD.UTF-8.in: Likewise.
20800 * localedata/mi_NZ.UTF-8.in: Likewise.
20801 * localedata/ml_IN.UTF-8.in: Likewise.
20802 * localedata/mn_MN.UTF-8.in: Likewise.
20803 * localedata/mr_IN.UTF-8.in: Likewise.
20804 * localedata/mt_MT.UTF-8.in: Likewise.
20805 * localedata/nb_NO.UTF-8.in: Likewise.
20806 * localedata/om_KE.UTF-8.in: Likewise.
20807 * localedata/os_RU.UTF-8.in: Likewise.
20808 * localedata/ps_AF.UTF-8.in: Likewise.
20809 * localedata/ro_RO.UTF-8.in: Likewise.
20810 * localedata/ru_RU.UTF-8.in: Likewise.
20811 * localedata/sc_IT.UTF-8.in: Likewise.
20812 * localedata/se_NO.UTF-8.in: Likewise.
20813 * localedata/sq_AL.UTF-8.in: Likewise.
20814 * localedata/sv_SE.UTF-8.in: Likewise.
20815 * localedata/szl_PL.UTF-8.in: Likewise.
20816 * localedata/tg_TJ.UTF-8.in: Likewise.
20817 * localedata/tk_TM.UTF-8.in: Likewise.
20818 * localedata/tt_RU.UTF-8.in: Likewise.
20819 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20820 * localedata/ug_CN.UTF-8.in: Likewise.
20821 * localedata/uz_UZ.UTF-8.in: Likewise.
20822 * localedata/vi_VN.UTF-8.in: Likewise.
20823 * localedata/yi_US.UTF-8.in: Likewise.
20824 * localedata/yo_NG.UTF-8.in: Likewise.
20825 * localedata/zh_CN.UTF-8.in: Likewise.
20826 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20827 file and fix bugs in the collation.
20828 * localedata/locales/az_AZ: Likewise.
20829 * localedata/locales/be_BY: Likewise.
20830 * localedata/locales/ber_DZ: Likewise.
20831 * localedata/locales/ber_MA: Likewise.
20832 * localedata/locales/bg_BG: Likewise.
20833 * localedata/locales/br_FR: Likewise.
20834 * localedata/locales/br_FR@euro: Likewise.
20835 * localedata/locales/ca_ES: Likewise.
20836 * localedata/locales/cns11643_stroke: Likewise.
20837 * localedata/locales/crh_UA: Likewise.
20838 * localedata/locales/cs_CZ: Likewise.
20839 * localedata/locales/csb_PL: Likewise.
20840 * localedata/locales/cv_RU: Likewise.
20841 * localedata/locales/cy_GB: Likewise.
20842 * localedata/locales/da_DK: Likewise.
20843 * localedata/locales/dz_BT: Likewise.
20844 * localedata/locales/en_CA: Likewise.
20845 * localedata/locales/eo: Likewise.
20846 * localedata/locales/es_CU: Likewise.
20847 * localedata/locales/es_EC: Likewise.
20848 * localedata/locales/es_ES: Likewise.
20849 * localedata/locales/es_US: Likewise.
20850 * localedata/locales/et_EE: Likewise.
20851 * localedata/locales/fa_IR: Likewise.
20852 * localedata/locales/fi_FI: Likewise.
20853 * localedata/locales/fil_PH: Likewise.
20854 * localedata/locales/fur_IT: Likewise.
20855 * localedata/locales/gez_ER@abegede: Likewise.
20856 * localedata/locales/ha_NG: Likewise.
20857 * localedata/locales/hr_HR: Likewise.
20858 * localedata/locales/hsb_DE: Likewise.
20859 * localedata/locales/hu_HU: Likewise.
20860 * localedata/locales/ig_NG: Likewise.
20861 * localedata/locales/ik_CA: Likewise.
20862 * localedata/locales/is_IS: Likewise.
20863 * localedata/locales/iso14651_t1_pinyin: Likewise.
20864 * localedata/locales/kk_KZ: Likewise.
20865 * localedata/locales/ku_TR: Likewise.
20866 * localedata/locales/ky_KG: Likewise.
20867 * localedata/locales/ln_CD: Likewise.
20868 * localedata/locales/lt_LT: Likewise.
20869 * localedata/locales/lv_LV: Likewise.
20870 * localedata/locales/mi_NZ: Likewise.
20871 * localedata/locales/ml_IN: Likewise.
20872 * localedata/locales/mn_MN: Likewise.
20873 * localedata/locales/mr_IN: Likewise.
20874 * localedata/locales/mt_MT: Likewise.
20875 * localedata/locales/nb_NO: Likewise.
20876 * localedata/locales/om_KE: Likewise.
20877 * localedata/locales/os_RU: Likewise.
20878 * localedata/locales/pl_PL: Likewise.
20879 * localedata/locales/ps_AF: Likewise.
20880 * localedata/locales/ro_RO: Likewise.
20881 * localedata/locales/ru_RU: Likewise.
20882 * localedata/locales/ru_UA: Likewise.
20883 * localedata/locales/sc_IT: Likewise.
20884 * localedata/locales/se_NO: Likewise.
20885 * localedata/locales/si_LK: Likewise.
20886 * localedata/locales/sq_AL: Likewise.
20887 * localedata/locales/sv_FI: Likewise.
20888 * localedata/locales/sv_FI@euro: Likewise.
20889 * localedata/locales/sv_SE: Likewise.
20890 * localedata/locales/szl_PL: Likewise.
20891 * localedata/locales/tg_TJ: Likewise.
20892 * localedata/locales/ti_ER: Likewise.
20893 * localedata/locales/tk_TM: Likewise.
20894 * localedata/locales/tl_PH: Likewise.
20895 * localedata/locales/tr_TR: Likewise.
20896 * localedata/locales/tt_RU: Likewise.
20897 * localedata/locales/tt_RU@iqtelif: Likewise.
20898 * localedata/locales/ug_CN: Likewise.
20899 * localedata/locales/uk_UA: Likewise.
20900 * localedata/locales/uz_UZ: Likewise.
20901 * localedata/locales/uz_UZ@cyrillic: Likewise.
20902 * localedata/locales/vi_VN: Likewise.
20903 * localedata/locales/yi_US: Likewise.
20904 * localedata/locales/yo_NG: Likewise.
20905
ce6636b0
MF
209062018-02-27 Mike FABIAN <mfabian@redhat.com>
20907
20908 * gen-locales.mk: Make test files which contain @ modifiers in their
20909 name work.
20910 * localedata/gen-locale.sh: Likewise.
20911
ac3a3b4b
MF
209122018-02-27 Mike FABIAN <mfabian@redhat.com>
20913
20914 * posix/tst-fnmatch.input: Fix results for range expressions
20915 for non C locales.
20916 * posix/tst-regexloc.c: Do not use a range expression for
20917 de_DE.ISO-8859-1 locale.
20918
770cbe14
MF
209192018-02-27 Mike FABIAN <mfabian@redhat.com>
20920
20921 * posix/bug-regex5.c: Fix test case because with the new
20922 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20923 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20924 file.
20925
0fc355d9
MF
209262018-02-27 Mike FABIAN <mfabian@redhat.com>
20927
20928 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20929 downloaded from ISO, the collation order of @-. and space has changed.
20930 Therefore, this test file needed to be adapted.
20931 * localedata/fr_CA.UTF-8.in: Likewise.
20932 * localedata/fr_FR.UTF-8.in: Likewise.
20933 * localedata/uk_UA.UTF-8.in: Likewise.
20934
43f3893f
MF
209352018-02-27 Mike FABIAN <mfabian@redhat.com>
20936
20937 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20938 order of ȥ in the new iso14651_t1_common file.
20939 * localedata/pl_PL.UTF-8.in: Likewise.
20940
df74ef78
MF
209412018-02-27 Mike FABIAN <mfabian@redhat.com>
20942
20943 * localedata/locales/iso14651_t1_common: Add sections for various
20944 scripts to the iso14651_t1_common file.
20945
d5adfbad
MF
209462018-02-27 Mike FABIAN <mfabian@redhat.com>
20947
20948 * localedata/locales/iso14651_t1_common: Use the code point of a
20949 character in the fourth collation level instead of IGNORE for all
20950 entries which have IGNORE on all 4 levels.
20951
5f5a9610
MF
209522018-02-27 Mike FABIAN <mfabian@redhat.com>
20953
20954 * localedata/locales/iso14651_t1_common: Add some convenient collation
20955 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20956 rules similar to those in CLDR.
20957
8a97e900
MF
209582018-02-27 Mike FABIAN <mfabian@redhat.com>
20959
20960 * localedata/locales/iso14651_t1_common: The new version of this
20961 file downloaded from ISO contained several syntax errors which
20962 are fixed by this patch.
20963
bbdd2fba
MF
209642018-02-27 Mike FABIAN <mfabian@redhat.com>
20965
20966 * localedata/locales/iso14651_t1_common: replace all <U.....>
20967 with <U000.....> because glibc understands only 4 digit or 8 digit
20968
1569e551
MF
209692018-02-27 Mike FABIAN <mfabian@redhat.com>
20970
20971 * localedata/locales/iso14651_t1_common: Necessary changes
20972 to make the file downloaded from ISO usable by glibc.
20973
9479b6d5
MF
209742018-02-27 Mike FABIAN <mfabian@redhat.com>
20975
20976 [BZ #14095]
20977 * localedata/locales/iso14651_t1_common: Update file to
20978 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20979
03b540b3
ST
209802018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20981
20982 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20983 of <nptl/pthreadP.h>
20984 (thread_attr_compare): Move function to...
eb937a52 20985 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 20986 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 20987 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 20988
20602c72
JM
209892018-02-26 Joseph Myers <joseph@codesourcery.com>
20990
f54d8f73
JM
20991 * string/strcoll_l.c: Include <libc-diag.h>.
20992 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20993 declarations of seq1 and seq2.
20994
20602c72
JM
20995 [BZ #15105]
20996 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20997 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20998
f5f473a9
DL
209992018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21000
21001 [BZ #22433]
21002 [BZ #22807]
21003 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21004 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21005 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21006 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21007 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21008 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21009
398c6fdd
TMQMF
210102018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21011
21012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21013 macros used in __ptrace_request.
21014
f5d1f629
L
210152018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21016
21017 [BZ #22792]
21018 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21019 to $(CC).
21020 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21021 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21022 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21023 <tcb-offsets.h>.
21024
54412d20
JM
210252018-02-23 Joseph Myers <joseph@codesourcery.com>
21026
21027 [BZ #15105]
21028 * ctype/ctype.c (tolower): Use libc_hidden_def.
21029 (toupper): Likewise.
21030 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21031 [!_ISOMAC] (toupper): Likewise.
21032
81be4b5e
MF
210332018-02-23 Mike FABIAN <mfabian@redhat.com>
21034
21035 * localedata/Makefile: Remove --quiet argument when
21036 installing locales
21037
9d5cfd8e
MF
210382018-02-23 Mike FABIAN <mfabian@redhat.com>
21039
21040 [BZ #17438]
21041 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21042 in d_fmt.
21043 * localedata/locales/pt_PT (LC_TIME): likewise
21044
6c7269f3
MF
210452018-02-23 Mike FABIAN <mfabian@redhat.com>
21046
21047 [BZ #22646]
21048 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21049 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21050 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21051
92aabad9
AZ
210522018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21053
4cdc25a4
AZ
21054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21055
27761a10
AZ
21056 * nptl/Makefile (routines): Remove unregister-atfork.
21057 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21058 (fork_handler_alloc): Remove function.
21059 (fork_handlers, fork_handler_init): New variables.
21060 (__fork_lock): Rename to atfork_lock.
21061 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21062 to use a dynamic array to add/remove atfork handlers.
21063 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21064 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21065 Remove declaration.
21066 (fork_handler): Remove next, refcntr, and need_signal member.
21067 (__run_fork_handler_type): New enum.
21068 (__run_fork_handlers): New prototype.
21069 * nptl/register-atfork.c: Remove file.
21070 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21071
92aabad9
AZ
21072 * sysdeps/nptl/nptl-signals.h: Move to ...
21073 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21074 comments.
21075 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21076 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21077 unnecessary check for SIGTIMER.
21078 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21079 remove unnecessary removal of SIGTIMER.
21080 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21081 include-signals.h rename.
21082 * nptl/pthreadP.h: Likewise.
21083 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21084 __is_internal_signal instead of __nptl_is_internal_signal.
21085
6b5c8607 210862018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 21087
7e04eb29 21088 [BZ # 22884]
fdcc6253
AW
21089 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21090 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21091 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21092 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21093
8090720a
DD
210942018-02-22 DJ Delorie <dj@delorie.com>
21095
21096 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21097
6ca24c43
SP
210982018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21099
21100 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21101 do_misaligned, not misaligned8.
21102
e9537ddd
SE
211032018-02-22 Steve Ellcey <sellcey@cavium.com>
21104
21105 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21106 Add memcpy_thunderx2.
21107 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21108 Increment to 4.
21109 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21110 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21111 and IS_THUNDERX2PA checks.
21112 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21113 Use macro to set name appropriately.
21114 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21115 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21116 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21117 New macro.
21118 (IS_THUNDERX2): New macro.
21119
6e336476
SL
211202018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21121
21122 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21123
34957904
ZW
211242018-02-21 Zack Weinberg <zackw@panix.com>
21125
30bfee26
ZW
21126 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21127 Define here, unconditionally.
21128 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21129 * libio/libioP.h: Remove #if 0 blocks.
21130 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21131 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21132 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21133
21134 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21135 Assume weak_alias is always defined.
21136
21137 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21138 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21139 Remove #if 0 and #ifdef TODO blocks.
21140 Assume text_set_element is always defined.
21141
21142 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21143 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21144 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21145
df6c012b
ZW
21146 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21147 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21148 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21149 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21150 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21151 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21152 Reformat bit flags for _flags field to make occupancy clearer.
21153 Update commentary.
21154 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21155 Keep definitions consistent with those in libio/libio.h.
21156
21157 * libio/libio.h (_IO_file_flags): Remove macro.
21158 All uses changed to _flags.
21159
177aad3f
ZW
21160 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21161 (__HAVE_COLUMN, _IO_BE): Don't define.
21162 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21163 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21164 * libio/libioP.h (EOF): Don't define.
21165 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21166 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21167 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21168 testing _IO_UNIFIED_JUMPTABLES.
21169
9964a145
ZW
21170 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21171 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21172 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21173 (_IO_size_t): Delete; all uses changed to size_t.
21174 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21175 (_IO_off_t): Delete; all uses changed to off_t.
21176 (_IO_off64_t): Delete; all uses changed to off64_t.
21177 (_IO_pid_t): Delete; all uses changed to pid_t.
21178 (_IO_uid_t): Delete; all uses changed to uid_t.
21179 (_IO_wint_t): Delete; all uses changed to wint_t.
21180 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21181 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21182 (_IO_cookie_io_functions_t): Delete; all uses changed to
21183 cookie_io_functions_t.
21184 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21185 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21186 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21187 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21188
21189 * libio/iofopncook.c: Remove unnecessary forward declarations.
21190 * libio/iolibio.h: Correct outdated commentary.
21191 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21192 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21193 Remove unnecessary casts.
21194 * stdio-common/getline.c: Use _IO_getdelim directly.
21195 Don't redefine ssize_t.
21196 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21197 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21198 Remove outdated comments.
21199 * stdio-common/vfscanf.c: Don't redefine va_list.
21200
34957904
ZW
21201 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21202 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21203 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21204 which are always true, and __cplusplus, which is always false.
21205
30ac923d
JM
212062018-02-21 Joseph Myers <joseph@codesourcery.com>
21207
039c721a
JM
21208 [BZ #15105]
21209 [BZ #19463]
21210 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21211 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21212 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21213 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21214 libc_hidden_proto.
21215 [!_ISOMAC] (putc_unlocked): Likewise.
21216 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21217 define inline if [__USE_EXTERN_INLINES].
21218 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21219 putc_unlocked.
21220
30ac923d
JM
21221 [BZ #15105]
21222 [BZ #19463]
21223 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21224 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21225 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21226 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21227 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21228 getc_unlocked.
21229 * time/tzfile.c (__tzfile_read): Likewise.
21230
7ec5f946
MF
212312018-02-21 Mike FABIAN <mfabian@redhat.com>
21232
21233 [BZ #22517]
21234 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21235
0d217f40
RJ
212362018-02-21 Rical Jasan <ricaljasan@pacific.net>
21237
21238 * io/fcntl.h: Fix a typo in a comment.
21239
862b4502
RJ
212402018-02-21 Rical Jasan <ricaljasan@pacific.net>
21241
21242 [BZ #22862]
21243 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21244 define _DEFAULT_SOURCE.
21245 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21246
999a6dab
FW
212472018-02-21 Florian Weimer <fweimer@redhat.com>
21248
21249 [BZ #20890]
21250 * elf/cache.c (save_cache): Call fsync on temporary file before
21251 renaming it.
21252 (save_aux_cache): Call fdatasync on temporary file before renaming
21253 it.
21254
52a01100
FW
212552018-02-21 Florian Weimer <fweimer@redhat.com>
21256
21257 [BZ #22787]
21258 * include/caller.h: Remove file.
21259 * elf/dl-caller.c: Likewise.
21260 * elf/Makefile (dl-routines): Remove dl-caller.
21261 (shared-only-routines): Do not add dl-caller.
21262 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21263 __check_caller.
21264 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21265 member.
21266 (dl_open_worker): Do not call __check_caller.
21267 (_dl_open): Do not set caller_dl_open member.
21268 * elf/rtld.c (_rtld_global_ro): Do not initialize
21269 _dl_check_caller member.
21270 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21271 _dl_check_caller member.
21272 (_dl_check_caller): Remove declaration.
21273 * sysdeps/unix/sysv/linux/dl-execstack.c
21274 (_dl_make_stack_executable): Do not call __check_caller.
21275
b5bf62e4
ST
212762018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21277
21278 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 21279 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 21280
e8d190b9
RJ
212812018-02-20 Rical Jasan <ricaljasan@pacific.net>
21282
21283 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21284 description.
21285
6a3962c4
RJ
212862018-02-20 Rical Jasan <ricaljasan@pacific.net>
21287
da81ae64 21288 [BZ #16335]
6a3962c4
RJ
21289 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21290 of 199606L, 200112L, and 200809L.
21291 (_XOPEN_SOURCE): Document special values of 600 and 700.
21292 (_ISOC11_SOURCE): Document macro.
21293 (_ATFILE_SOURCE): Likewise.
21294 (_FORTIFY_SOURCE): Likewise.
21295
ec481ad8
JM
212962018-02-19 Joseph Myers <joseph@codesourcery.com>
21297
21298 [BZ #15105]
21299 [BZ #19463]
21300 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21301 and define as weak alias of __ferror_unlocked. Use
21302 libc_hidden_weak.
21303 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21304 libc_hidden_proto.
21305 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21306 function if [__USE_EXTERN_INLINES].
21307 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21308 ferror_unlocked.
21309
7d15ef84
RJ
213102018-02-19 Rical Jasan <ricaljasan@pacific.net>
21311
21312 [BZ #6889]
21313 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21314
f8d79582
AJ
213152018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21316
21317 [BZ #22818]
21318 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21319 the GLIBC_2.1 version.
21320
56456a2a
AJ
213212018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21322
21323 [BZ #21508]
21324 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21325 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21326 intl/tst-gettext-de.po from po/de.po by removing the
21327 POT-Creation-Date line.
21328 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21329 ../po/de.po.
21330 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21331 ../po/de.po.
21332
13768813
ST
213332018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21334
21335 * mach/Makefile (headers): Add mach/param.h.
21336 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21337 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
21338 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21339 (__ptsname_r): Move implementation to...
21340 (__ptsname_internal): ... new function. Add filling the STP
21341 structure.
13768813 21342
6aca1b61
JDA
213432018-02-17 John David Anglin <danglin@gcc.gnu.org>
21344
21345 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21346 idouble to 1 ULP.
21347
16efad51
RJ
213482018-02-16 Rical Jasan <ricaljasan@pacific.net>
21349
21350 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21351 syntax.
21352
87245073
SL
213532018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21354
21355 * nptl/Makefile (tst-mutex8-ENV): Delete.
21356 * nptl/tst-mutex8.c (check_type):
21357 Add runtime check if mutex will be elided.
21358
7fc03cf3
JM
213592018-02-15 Joseph Myers <joseph@codesourcery.com>
21360
db9881ec
JM
21361 [BZ #20980]
21362 [BZ #21234]
21363 * manual/install.texi (Configuring and compiling): Describe
21364 passing CC and CFLAGS on configure command line, not as
21365 environment variables. Use @code markup on those variables.
21366 Specify what options go in CC and what go in CFLAGS. Note the
21367 requirement to compile with optimization.
21368 * INSTALL: Regenerated.
21369
3785b31c
JM
21370 [BZ #18124]
21371 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21372 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21373 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21374 __sigprocmask instead of sigprocmask.
21375 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21376 Likewise.
21377 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21378 __sigsetjmp and sigprocmask.
21379
055ac2a7
JM
21380 [BZ #15105]
21381 * include/argz.h (argz_next): Use libc_hidden_proto.
21382 (__argz_next): Likewise.
21383 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21384 (argz_next): Use libc_hidden_weak.
21385
e4452a2d
JM
21386 [BZ #15105]
21387 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21388 libc_hidden_proto.
21389 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21390 libc_hidden_def.
21391
499b3153
JM
21392 [BZ #15105]
21393 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21394 libc_hidden_proto.
21395 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21396
7fc03cf3
JM
21397 [BZ #15105]
21398 [BZ #19463]
21399 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21400 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21401 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21402 (__feof_unlocked): New declaration, and inline function if
21403 [__USE_EXTERN_INLINES].
21404 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21405 instead of feof_unlocked.
21406 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21407 * nss/nsswitch.c (nss_parse_file): Likewise.
21408 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21409 Likewise.
21410 * time/getdate.c (__getdate_r): Likewise.
21411 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21412 Define as macro to call __feof_unlocked.
21413
0c8a67a5
WD
214142018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21415
21416 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21417
610ee1fc
WD
214182018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21419
21420 * math/Makefile: Remove mpexp.c and mplog.c
21421 * sysdeps/i386/fpu/mpexp.c: Delete file.
21422 * sysdeps/i386/fpu/mplog.c: Likewise.
21423 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21424 * sysdeps/ia64/fpu/mplog.c: Likewise.
21425 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21426 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21427 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21428 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21429 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21430 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21431 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21432 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21433 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21435 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21436 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21437 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21438 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21439 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21440 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21441
8e7196c8
SL
214422018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21443
21444 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21445
4f55ad0b
AZ
214462018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21447
21448 * sysdeps/sh/libm-test-ulps: Update.
21449
261a851c
TMQMF
214502018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21451
21452 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21453 idouble to 1 ULP.
21454
e16deca6
ZW
214552018-02-12 Zack Weinberg <zackw@panix.com>
21456
21457 [BZ #19239]
21458 * posix/sys/types.h: Don't include sys/sysmacros.h.
21459 * misc/sys/sysmacros.h: Remove the conditional deprecation
21460 warnings for the macros defined by this header.
21461
de800d83
SN
214622018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21463
21464 * manual/probes.texi: Remove slowexp probes.
21465 * math/Makefile: Remove slowexp.
21466 * sysdeps/generic/math_private.h (__slowexp): Remove.
21467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21468 document error bounds.
21469 * sysdeps/i386/fpu/slowexp.c: Remove.
21470 * sysdeps/ia64/fpu/slowexp.c: Remove.
21471 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21472 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21473 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21474 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21475 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21476 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21477 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21478 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21479 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21481 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21482
c3d466cb
WD
214832018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21484
21485 [BZ #13932]
21486 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21487 * benchtests/pow-inputs: Update comment for slow path cases.
21488 * manual/probes.texi (slowpow_p10): Delete removed probe.
21489 (slowpow_p10): Likewise.
21490 * math/Makefile: Remove halfulp.c and slowpow.c.
21491 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21492 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21493 (__halfulp): Remove.
21494 (__slowpow): Remove.
21495 * sysdeps/i386/fpu/halfulp.c: Delete file.
21496 * sysdeps/i386/fpu/slowpow.c: Likewise.
21497 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21498 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21499 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21500 improve comments and add error analysis.
21501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21502 (power1): Remove function:
21503 (log1): Remove error argument, add error analysis.
21504 (my_log2): Remove function.
21505 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21506 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21507 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21508 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21509 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21510 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21511 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21512 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21513 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21514 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21517 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21518 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21519
7bb087bd
ST
215202018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21521
21522 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21523 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21524
2fd4bbaa
DL
215252018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21526
21527 [BZ #22433]
21528 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21529 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21530 and PTRACE_SETHBPREGS.
21531
402ecba4
ZW
215322018-02-10 Zack Weinberg <zackw@panix.com>
21533
21534 [BZ #22830]
21535 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21536 correctly.
21537 * malloc/tst-malloc-stats-cancellation.c: New test case.
21538 * malloc/Makefile: Add new test case.
21539
4f5b921e
WD
215402018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21541
21542 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21543
a85b70db
JM
215442018-02-10 Joseph Myers <joseph@codesourcery.com>
21545
d8742dd8
JM
21546 * math/Makefile (libm-narrow-fns): Add add.
21547 (libm-test-funcs-narrow): Likewise.
21548 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21549 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21550 * math/gen-auto-libm-tests.c (test_functions): Add add.
21551 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21552 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21553 (NARROW_ADD_TRIVIAL): Likewise.
21554 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21555 macro.
21556 (__daddl): Likewise.
21557 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21558 dadd.
21559 (CFLAGS-nldbl-dadd.c): New variable.
21560 (CFLAGS-nldbl-fadd.c): Likewise.
21561 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21562 __nldbl_daddl.
21563 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21564 prototype.
21565 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21566 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21567 * math/auto-libm-test-in: Add tests of add.
21568 * math/auto-libm-test-out-narrow-add: New generated file.
21569 * math/libm-test-narrow-add.inc: New file.
21570 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21573 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21574 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21575 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21584 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21585 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21586 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21587 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21589 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21590 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21591 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21592 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21593 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21594 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21598 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21599 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21600 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21601 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21606 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21607 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21608 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21609 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21610 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21611 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21612 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21613 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21614 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21615 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21616
a85b70db
JM
21617 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21618 (f128-pairs): New variable.
21619 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21620 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21621 to CFLAGS.
21622 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21623 Also make tests add $(f128-loader-link) to gnulib-tests.
21624
6a1ff640
DD
216252018-02-09 DJ Delorie <dj@redhat.com>
21626
21627 [BZ #22827]
21628 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21629 64-bit ELF type for 64-bit ELF objects.
21630
bfd47587
JM
216312018-02-09 Joseph Myers <joseph@codesourcery.com>
21632
31958338
JM
21633 * math/libm-test-driver.c (snan_tests_arg): New variable.
21634 * math/libm-test-support.h (snan_tests_arg): New declaration.
21635 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21636
8e554659
JM
21637 * math/Makefile (test-type-pairs): New variable.
21638 (test-type-pairs-f64xf128-yes): Likewise.
21639 (tests): Add test-narrow-macros.
21640 (libm-test-funcs-narrow): New variable.
21641 (libm-test-c-narrow): Likewise.
21642 (generated): Add $(libm-test-c-narrow).
21643 (libm-tests-base-narrow): New variable.
21644 (libm-tests-narrow): Likewise.
21645 (libm-tests): Add $(libm-tests-narrow).
21646 (libm-tests-for-type): Handle $(libm-tests-narrow).
21647 (libm-test-c-narrow-obj): New variable.
21648 ($(libm-test-c-narrow-obj)): New rule.
21649 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21650 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21651 $(o-iterator) to set dependencies and CFLAGS.
21652 * math/gen-auto-libm-tests.c: Document use for narrowing
21653 functions.
21654 (output_for_one_input_case): Take argument NARROW.
21655 (generate_output): Likewise. Update call to
21656 output_for_one_input_case.
21657 (main): Take --narrow option. Update call to generate_output.
21658 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21659 (apply_lit): Update call to _apply_lit.
21660 (apply_arglit): New function.
21661 (parse_args): Handle "a" arguments.
21662 (parse_auto_input): Handle format names using ":".
21663 * math/README.libm-test: Document "a" parameter type.
21664 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21665 (ARG_TYPE_TRUE_MIN): Likewise.
21666 (ARG_TYPE_MAX): Likwise.
21667 (ARG_MIN_EXP): Likewise.
21668 (ARG_MAX_EXP): Likewise.
21669 (ARG_MANT_DIG): Likewise.
21670 (TEST_COND_arg_ibm128): Likewise.
21671 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21672 (TEST_COND_arg_fmt): New macro.
21673 (init_max_error): Update prototype.
21674 * math/libm-test-support.c (test_ibm128): New variable.
21675 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21676 instead of using [TEST_COND_ibm128] conditional.
21677 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21678 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21679 [TEST_NARROW] (TEST_MSG): New definition.
21680 (arg_plus_zero): New macro.
21681 (arg_minus_zero): Likewise.
21682 (arg_plus_infty): Likewise.
21683 (arg_minus_infty): Likewise.
21684 (arg_qnan_value_pl): Likewise.
21685 (arg_qnan_value): Likewise.
21686 (arg_snan_value_pl): Likewise.
21687 (arg_snan_value): Likewise.
21688 (arg_max_value): Likewise.
21689 (arg_min_value): Likewise.
21690 (arg_min_subnorm_value): Likewise.
21691 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21692 (RUN_TEST_LOOP_aa_f): New macro.
21693 (TEST_SUFF): New macro.
21694 (TEST_SUFF_STR): Likewise.
21695 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21696 (TEST_COND_any_ibm128): New macro.
21697 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21698 this_func. Update call to init_max_error.
21699 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21700 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21701 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21702 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21703 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21704 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21705 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21706 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21707 * math/test-math-vector.h (TEST_NARROW): Likewise.
21708 * math/test-arg-double.h: New file.
21709 * math/test-arg-float128.h: Likewise.
21710 * math/test-arg-float32x.h: Likewise.
21711 * math/test-arg-float64.h: Likewise.
21712 * math/test-arg-float64x.h: Likewise.
21713 * math/test-arg-ldouble.h: Likewise.
21714 * math/test-math-narrow.h: Likewise.
21715 * math/test-narrow-macros.c: Likewise.
21716 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21717 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21718 test-narrow-macros-ldbl-64.
21719 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21720
63716ab2
JM
21721 * math/bits/mathcalls-narrow.h: New file.
21722 * include/bits/mathcalls-narrow.h: Likewise.
21723 * math/math-narrow.h: Likewise.
21724 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21725 (__MATHCALL_NARROW_ARGS_2): Likewise.
21726 (__MATHCALL_NARROW_ARGS_3): Likewise.
21727 (__MATHCALL_NARROW_NORMAL): Likewise.
21728 (__MATHCALL_NARROW_REDIR): Likewise.
21729 (__MATHCALL_NARROW): Likewise.
21730 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21731 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21732 defined.
21733 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21734 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21735 (libm-narrow-fns): New variable.
21736 (libm-narrow-types-basic): Likewise.
21737 (libm-narrow-types-ldouble-yes): Likewise.
21738 (libm-narrow-types-float128-yes): Likewise.
21739 (libm-narrow-types-float128-alias-yes): Likewise.
21740 (libm-narrow-types): Likewise.
21741 (libm-routines): Add narrowing functions.
21742 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21743 (libc_feholdexcept_setroundf128): New macro.
21744 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21745 * sysdeps/ieee754/float128/float128_private.h: Include
21746 <math/math-narrow.h>.
21747 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21748 Undefine and redefine.
21749 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21750 (libm_alias_float_ldouble): Undefine and redefine.
21751 (libm_alias_double_ldouble): Likewise.
21752
bfd47587
JM
21753 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21754
3f8d9d58
WD
217552018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21756
21757 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21758 FPCR/FPSR.
21759
1f6676d7
RJ
217602018-02-09 Rical Jasan <ricaljasan@pacific.net>
21761
21762 * manual/creature.texi: Convert references to gcc.info to gcc.
21763 * manual/stdio.texi: Likewise.
21764 * manual/string.texi: Likewise.
21765
d80441dd
JM
217662018-02-07 Joseph Myers <joseph@codesourcery.com>
21767
15081be9
JM
21768 [BZ #17979]
21769 * posix/bits/types.h (__int_least8_t): New typedef.
21770 (__uint_least8_t): Likewise.
21771 (__int_least16_t): Likewise.
21772 (__uint_least16_t): Likewise.
21773 (__int_least32_t): Likewise.
21774 (__uint_least32_t): Likewise.
21775 (__int_least64_t): Likewise.
21776 (__uint_least64_t): Likewise.
21777 * sysdeps/generic/stdint.h (int_least8_t): Define using
21778 __int_least8_t.
21779 (int_least16_t): Define using __int_least16_t.
21780 (int_least32_t): Define using __int_least32_t.
21781 (int_least64_t): Define using __int_least64_t.
21782 (uint_least8_t): Define using __uint_least8_t.
21783 (uint_least16_t): Define using __uint_least16_t.
21784 (uint_least32_t): Define using __uint_least32_t.
21785 (uint_least64_t): Define using __uint_least64_t.
21786 * wcsmbs/uchar.h: Include <bits/types.h>.
21787 (char16_t): Define using __uint_least16_t conditional only on
21788 [!__USE_ISOCXX11].
21789 (char32_t): Define using __uint_least32_t conditional only on
21790 [!__USE_ISOCXX11].
21791 * wcsmbs/test-char-types.c: New file.
21792 * wcsmbs/Makefile (tests): Add test-char-types.
21793
d80441dd
JM
21794 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21795 version to 4.0.1.
21796
6c6c962a
ZW
217972018-02-07 Zack Weinberg <zackw@panix.com>
21798
63fb8f9a
ZW
21799 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21800 Delete all contents except for definitions of _G_HAVE_MMAP and
21801 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21802 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21803 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21804 change as above.
21805
21806 * libio/libio.h: Don't include bits/_G_config.h here.
21807 Include stddef.h with __need_wchar_t defined. Include
21808 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21809 Define _IO_iconv_t here, directly.
21810 Don't define _IO_HAVE_ST_BLKSIZE.
21811 * libio/libioP.h: Include _G_config.h here. Move include of
21812 shlib-compat.h up with rest of includes. Simplify conditionals
21813 controlling definition of _IO_JUMPS_OFFSET.
21814
21815 * csu/init.c: Remove always-true #if around entire file.
21816 Don't include stdio.h. Set _IO_stdin_used to hardwired
21817 constant 0x20001, and update commentary.
21818 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21819 Replace all uses of _G_va_list with __gnuc_va_list.
21820 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21821 instead of #if _IO_HAVE_ST_BLKSIZE.
21822 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21823 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21824 not #ifdef.
21825
6c6c962a
ZW
21826 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21827 multiple-include guard to match.
21828 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21829 into this file.
21830 Remove preprocessor conditionals that are always true and/or
21831 redundant to other preprocessor conditionals in the same nest.
21832 Include shlib-compat.h unconditionally.
21833 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21834 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21835 defined after including stdio.h.
21836 Use __BEGIN_DECLS/__END_DECLS.
21837
21838 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21839 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21840 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21841
a4fea3f2
ZW
218422018-02-07 Zack Weinberg <zackw@panix.com>
21843
21844 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21845 New single-type headers split from _G_config.h.
21846 * libio/bits/types/cookie_io_functions_t.h
21847 * libio/bits/types/struct_FILE.h
21848 New single-type headers split from libio.h.
21849
21850 * libio/Makefile: Install the above new headers. Don't install
21851 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21852 bits/libio-ldbl.h.
21853 * libio/_G_config.h, libio/libio.h: Delete file.
21854
21855 * libio/bits/libio.h: Remove improper-inclusion guard.
21856 Include stdio.h and don't repeat anything that it does.
21857 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21858 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21859 __io_read_fn as cookie_read_function_t,
21860 __io_write_fn as cookie_write_function_t,
21861 __io_seek_fn as cookie_seek_function_t,
21862 __io_close_fn as cookie_close_function_t,
21863 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21864 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21865 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 21866 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
21867 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21868 and _IO_ferror_unlocked.
21869 Move prototypes of __uflow and __overflow...
21870
21871 * libio/stdio.h: ...here. Don't include bits/libio.h.
21872 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 21873 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
21874 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21875 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21876 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21877 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21878 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21879 __ssize_t, not _IO_ssize_t. Unconditionally define
21880 BUFSIZ as 8192 and EOF as (-1).
21881
21882 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21883 macros from bits/types/struct_FILE.h instead of _IO_* macros
21884 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21885 instead of _IO_ssize_t.
21886 * libio/bits/stdio2.h: Similarly.
21887
21888 * libio/iolibio.h: Add multiple-include guard.
21889 Include bits/libio.h after stdio.h.
21890 * libio/libioP.h: Add multiple-include guard.
21891 Include stdio.h and bits/libio.h before iolibio.h.
21892
6c6c962a 21893 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
21894 * include/bits/types/cookie_io_functions_t.h
21895 * include/bits/types/struct_FILE.h: New wrappers.
21896
21897 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
21898 Get definitions of _G_fpos_t and _G_fpos64_t from
21899 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21900 respectively. Remove improper-inclusion guards.
a4fea3f2 21901
6c6c962a 21902 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 21903 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 21904 libio.h and _G_config.h.
a4fea3f2 21905
ce999220
JM
219062018-02-07 Joseph Myers <joseph@codesourcery.com>
21907
8b4a1182
JM
21908 [BZ #15105]
21909 [BZ #19463]
21910 * include/sys/sysmacros.h [!_ISOMAC]
21911 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21912 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21913 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21914 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21915 libc_hidden_proto.
21916 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21917 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21918 Likewise.
21919 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21920 Undefine and redefine to add use __gnu_dev_ prefix.
21921 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21922 Likewise.
21923 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21924 and define as hidden inline function.
21925 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21926 Likewise.
21927 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21928 Likewise.
21929 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21930 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21931 (gnu_dev_minor): Likewise.
21932 (gnu_dev_makedev): Likewise.
21933 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21934 makedev.
21935 * posix/wordexp.c (exec_comm_child): Likewise.
21936 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21937 instead of minor and __gnu_dev_major instead of major.
21938 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21939 __gnu_dev_major instead of major.
21940 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21941 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21942 instead of gnu_dev_minor.
21943 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21944 (SLAVE_P): Likewise.
21945 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21946 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21947 instead of major.
21948
ce999220
JM
21949 [BZ #21313]
21950 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21951 in another place.
21952 * locale/weightwc.h (findidx): Likewise.
21953
b7c83ca3
WD
219542018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21955
21956 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21957 (slowlog_inexact): Likewise
21958 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21959 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21960
388ff7bd
IG
219612018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21962
21963 [BZ #22797]
21964 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21965 missing second underscore to parameter name.
21966
663e7d78
JM
219672018-02-06 Joseph Myers <joseph@codesourcery.com>
21968
0d40d0ec
JM
21969 [BZ #14508]
21970 [BZ #15512]
21971 [BZ #17082]
21972 [BZ #20530]
21973 * bits/byteswap.h: Update file comment. Do not include
21974 <bits/byteswap-16.h>.
21975 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21976 constant.
21977 (__bswap_16): Define as inline function.
21978 (__bswap_constant_32): Reformat definition.
21979 (__bswap_32): Always define as inline function, not macro, using
21980 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21981 otherwise __bswap_constant_32.
21982 (__bswap_constant_64): Reformat definition. Do not use
21983 __extension__ here.
21984 (__bswap_64): Always define as inline function, not macro. Use
21985 __extension__ on function definition. Use __builtin_bswap64 if
21986 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21987 * string/test-endian-file-scope.c: New file.
21988 * string/test-endian-sign-conversion.c: Likewise.
21989 * string/Makefile (headers): Remove bits/byteswap-16.h.
21990 (tests): Add test-endian-file-scope and
21991 test-endian-sign-conversion.
21992 (CFLAGS-test-endian-sign-conversion.c): New variable.
21993 * bits/byteswap-16.h: Remove file.
21994 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21995 * sysdeps/ia64/bits/byteswap.h: Likewise.
21996 * sysdeps/m68k/bits/byteswap.h: Likewise.
21997 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21998 * sysdeps/s390/bits/byteswap.h: Likewise.
21999 * sysdeps/tile/bits/byteswap.h: Likewise.
22000 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22001 * sysdeps/x86/bits/byteswap.h: Likewise.
22002
383e87c9
JM
22003 [BZ #17721]
22004 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22005 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22006 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22007 199901L] (__restrict): Define to restrict.
22008
d92c2759
JM
22009 [BZ #19667]
22010 * string/testcopy.c: Include <support/support.h>. Do not include
22011 <malloc.h>. Use <support/test-driver.c>.
22012 (main): Rename to do_test. Make static. Use xmalloc instead of
22013 malloc.
22014
625fb764
JM
22015 [BZ #13575]
22016 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22017 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22018 (SSIZE_MAX): Define to INT_MAX.
22019 * posix/test-ssize-max.c: New file.
22020 * posix/Makefile (tests): Add test-ssize-max.
22021
02325d6c
JM
22022 [BZ #19668]
22023 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22024 <support/support.h>. Do not include <malloc.h>.
22025 (query_auxv): Use xmalloc instead of malloc.
22026
663e7d78
JM
22027 [BZ #14553]
22028 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22029 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22030 instead of loff_t.
22031
6b5c8607 220322018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
22033
22034 [BZ #18023]
22035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22036 Use scratch_buffer instead of extend_alloca.
22037
de6da571
ZW
220382018-02-06 Zack Weinberg <zackw@panix.com>
22039
26c07172
ZW
22040 * libio/stdio.h: Don't define getc or putc as macros.
22041 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22042 not _IO_getc and _IO_putc.
22043
de6da571
ZW
22044 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22045 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22046
92669d6e
JM
220472018-02-06 Joseph Myers <joseph@codesourcery.com>
22048
c2b84df9
JM
22049 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22050 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22051
41376f8c
JM
22052 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22053
d28bf648
JM
22054 [BZ #14890]
22055 * elf/elf.h (NT_PRFPREG): New macro.
22056 (NT_S390_VXRS_LOW): Likewise.
22057 (NT_S390_VXRS_HIGH): Likewise.
22058 (NT_S390_GS_CB): Likewise.
22059 (NT_S390_GS_BC): Likewise.
22060 (NT_S390_RI_CB): Likewise.
22061
e76def72
JM
22062 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22063 (MAP_SYNC): New macro.
22064 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22065 Likewise.
22066 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22067 (MAP_SYNC): Likewise.
22068 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22069 (MAP_SYNC): Likewise.
22070 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22071 (MAP_SYNC): Likewise.
22072 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22073 (MAP_SYNC): Likewise.
22074 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22075 (MAP_SYNC): Likewise.
22076 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22077 (MAP_SYNC): Likewise.
22078 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22079 Likewise.
22080 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22081 Likewise.
22082
92669d6e
JM
22083 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22084 (MAP_SHARED_VALIDATE): New macro.
22085 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22086 (MAP_SHARED_VALIDATE): Likewise.
22087
6a5cac49
L
220882018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22089
22090 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22091 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22092 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22093
b44e0dfb
L
220942018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22095
22096 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22097 (DT_NUM): Updated to 35.
22098
f886c16c
L
220992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22100
22101 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22102 __builtin_expect with __glibc_likely and __glibc_unlikely.
22103 (elf_machine_rela): Likewise.
22104 (elf_machine_lazy_rel): Likewise.
22105
06fbebff
L
221062018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22107
22108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 22109 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
22110 (elf_machine_lazy_rel): Likewise.
22111
371b220f
L
221122018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22113
22114 [BZ #22638]
22115 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22116 SHARED.
65805016 22117 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 22118
f649a1b8
AS
221192018-02-05 Andreas Schwab <schwab@suse.de>
22120
22121 [BZ #22761]
22122 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22123 string.
22124
9fdb340e
ST
221252018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22126
22127 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22128 not check against PTHREAD_STACK_MIN.
22129
09e56b9e
SM
221302018-02-02 Sean McKean <smckean83@gmail.com>
22131
22132 [BZ #22735]
22133 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22134
d4b4a00a
FW
221352018-02-02 Florian Weimer <fweimer@redhat.com>
22136
22137 [BZ #22753]
22138 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22139 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22140 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22141 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22142 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22143 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22144 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22145 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22146 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22147 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22148 * misc/tst-preadvwritev2.c (do_test): Call it.
22149 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22150
3dfcbfa1
SP
221512018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22152
84c94d2f
SP
22153 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22154
96e6a716
SP
22155 * benchtests/bench-memcmp.c: Print json instead of plain text.
22156
3dfcbfa1
SP
22157 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22158 every test run.
22159
049375e2
JM
221602018-02-01 Joseph Myers <joseph@codesourcery.com>
22161
39f898c6
JM
22162 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22163 version to 4.15.
22164 (s390_sthyi): New syscall.
22165
6f9a3dd8
JM
22166 * sysdeps/generic/ldbl-classify-compat.h: New file.
22167 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22168 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22169 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22170 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22171 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22172 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22173 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22174 <ldbl-classify-compat.h>.
22175 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22176 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22177 <ldbl-classify-compat.h>.
22178 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22179 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22180 <ldbl-classify-compat.h>.
22181 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22182 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22183 <ldbl-classify-compat.h>.
22184 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22186 <ldbl-classify-compat.h>.
22187 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22189 <ldbl-classify-compat.h>.
22190 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22191 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22192 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22193 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22194 * sysdeps/microblaze/math_private.h: Likewise.
22195 * sysdeps/nios2/math_private.h: Likewise.
22196 * sysdeps/sh/math_private.h: Likewise.
22197
eb65a3d5
JM
22198 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22199 * sysdeps/m68k/coldfire/math_private.h: ... here.
22200 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22201 * sysdeps/tile/math_private.h: Likewise.
22202 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22203 Remove macro.
22204 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22205 Likewise.
22206
8a6bb1d0
JM
22207 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22208 Remove macro.
22209 (libc_fetestexcept): Likewise.
22210 (libc_feupdateenv_test): Likewise.
22211 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22212 (libc_fetestexcept): Likewise.
22213 (libc_feupdateenv_test): Likewise.
22214 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22215 (libc_fetestexcept): Likewise.
22216 (libc_feupdateenv_test): Likewise.
22217 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22218 (libc_fetestexcept): Likewise.
22219 (libc_feupdateenv_test): Likewise.
22220
ae1fcb7b
JM
22221 * sysdeps/generic/math_private.h
22222 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22223 New inline function.
22224 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22225 Likewise.
22226
b1c347e2
JM
22227 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22228 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22229 * sysdeps/generic/math_private.h
22230 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22231 inline function.
22232 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22233 Likewise.
22234 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22235 Likewise.
22236 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22237 Likewise.
22238 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22239 Likewise.
22240 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22241 Likewise.
22242 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22243 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22244 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22245 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22246 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22247 (__fegetenv): Likewise.
22248 (fesetenv): Likewise.
22249 (__fesetenv): Likewise.
22250 (feupdateenv): Likewise.
22251 (__feupdateenv): Likewise.
22252 (fegetround): Likewise.
22253 (__fegetround): Likewise.
22254 (fesetround): Likewise.
22255 (__fesetround): Likewise.
22256
d23a4962
JM
22257 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22258 (feraiseexcept): New macro.
22259 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22260 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22261 Remove macro.
22262 (__feraiseexcept): Likewise.
22263 (feclearexcept): Likewise.
22264 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22265 (__feraiseexcept): Likewise.
22266 (feclearexcept): Likewise.
22267 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22268 (__feraiseexcept): Likewise.
22269 (feclearexcept): Likewise.
22270 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22271 (__feraiseexcept): Likewise.
22272 (feclearexcept): Likewise.
22273 (fetestexcept): Likewise.
22274
5f167950
JM
22275 * sysdeps/m68k/coldfire/math-tests.h: New file.
22276
ccc9035a
JM
22277 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22278 * sysdeps/m68k/bits/fenv.h: ... here.
22279 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22280 not define.
22281 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22282 Likewise.
22283 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22284 Likewise.
22285 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22286 Likewise.
22287 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22288 Likewise.
22289 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22290 Define to 0.
22291 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22292 (__FE_UNDEFINED): New enum constant.
22293 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22294 Do not define.
22295 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22296 Likewise.
22297 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22298 Likewise.
22299 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22300 to match generic bits/fenv.h.
22301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22302 Do not define.
22303
049375e2
JM
22304 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22305 packed on bits.
22306 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22307 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22308 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22309 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22310
f1d73681
CD
223112018-02-01 Carlos O'Donell <carlos@redhat.com>
22312 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22313 Joseph Myers <joseph@codesourcery.com>
22314
22315 [BZ #21314]
22316 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22317 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22318 computation using c.
22319 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22320 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22321 computation using c.
22322
242cbc90
DL
223232018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22324
086ee48e
DL
22325 * version.h (RELEASE): Set to "development".
22326 (VERSION): Set to "2.27.9000".
22327 * NEWS (2.28): New section.
22328
23158b08
DL
22329 * version.h (RELEASE): Set to "stable".
22330 (VERSION): Set to "2.27".
22331 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22332
242cbc90
DL
22333 * NEWS: Add the list of bugs fixed in 2.27.
22334
673e2305
AZ
223352018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22336
22337 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22338 against PTHREAD_STACK_MIN.
22339
ced64e01
DL
223402018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22341
22342 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22343 New entries.
ab74d59f 22344 (Rafał Lużyński, Andreas Schwab): Update.
ced64e01 22345
ab74d59f 223462018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
c10c9a5e
RL
22347
22348 [BZ #10871]
22349 * NEWS: List the languages which actually use the alternative
22350 months feature in this release. Also explain that "alt_mon" and
22351 "ab_alt_mon" are optional.
22352
650ba77a
IM
223532018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22354
22355 [BZ #22765]
22356 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22357
93493119
DL
223582018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22359
22360 * manual/install.texi (Tools for Compilation): Update the newest
22361 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22362 * INSTALL: Regenerated.
22363
363e4519 223642018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
22365
22366 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22367 instead of __builtin_expect.
22368
d7536874
FW
223692018-01-30 Florian Weimer <fweimer@redhat.com>
22370
22371 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22372 data.
22373 * nss/tst-nss-getpwent.c (do_test): Likewise.
22374
ab74d59f 223752018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
9a1b267d
RL
22376
22377 [BZ #10871]
22378 * localedata/locales/hr_HR (mon): Rename to...
22379 (alt_mon): This.
22380 (mon): Import from CLDR (genitive case).
22381 (d_t_fmt): Update the comment.
22382
9a179328
AS
223832018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22384
22385 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22386 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22387 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22388
e01e0ddc
ST
223892018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22390
22391 * mach/Versions: Fix version when __mach_host_self_ was added.
22392 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22393 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22394 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22395 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22396 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22397 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22398 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22399 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22400 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22401 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22402 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22403 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
22404 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22405 || to respect codestyle.
2aadb705
ST
22406 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22407 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
22408 * malloc/malloc.c: Include <assert.h>.
22409 (assert): Do not define.
22410 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
22411 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22412 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 22413 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 22414 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 22415
521877e1
PD
224162018-01-29 Darius Rad <darius@bluespec.com>
22417
22418 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22419
532cf290
PD
224202018-01-29 Palmer Dabbelt <palmer@sifive.com>
22421
22422 * sysdeps/init_array/crti.S (.section .init_array): Add
22423 PREINIT_FUNCTION when defined.
40ca951b 22424 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 22425 * config.h.in: Regenerate.
ba9e25a6
PD
22426 * manual/platform.texi: Add RISC-V documenation for
22427 __riscv_flush_icache.
c776fa11
PD
22428 * sysdeps/riscv/__longjmp.S: New file.
22429 * sysdeps/riscv/backtrace.c: Likewise.
22430 * sysdeps/riscv/bits/endian.h: Likewise.
22431 * sysdeps/riscv/bits/setjmp.h: Likewise.
22432 * sysdeps/riscv/bits/wordsize.h: Likewise.
22433 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22434 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22435 * sysdeps/riscv/dl-trampoline.S: Likewise.
22436 * sysdeps/riscv/gccframe.h: Likewise.
22437 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22438 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22439 * sysdeps/riscv/machine-gmon.h: Likewise.
22440 * sysdeps/riscv/memusage.h: Likewise.
22441 * sysdeps/riscv/setjmp.S: Likewise.
22442 * sysdeps/riscv/sys/asm.h: Likewise.
22443 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
22444 * sysdeps/riscv/dl-tls.h: New file.
22445 * sysdeps/riscv/libc-tls.c: Likewise.
22446 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22447 * sysdeps/riscv/nptl/tls.h: Likewise.
22448 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
22449 * sysdeps/riscv/bits/fenv.h: New file.
22450 * sysdeps/riscv/e_sqrtl.c: Likewise.
22451 * sysdeps/riscv/fpu_control.h: Likewise.
22452 * sysdeps/riscv/math-tests.h: Likewise.
22453 * sysdeps/riscv/nofpu/Implies: Likewise.
22454 * sysdeps/riscv/sfp-machine.h: Likewise.
22455 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
22456 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22457 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22458 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22459 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22460 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22461 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22462 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22463 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22464 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22465 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22466 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22467 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22468 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22469 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22470 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22471 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22472 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22473 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22474 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22475 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22476 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22477 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22478 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22479 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22480 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22481 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22482 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22483 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22484 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22485 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22486 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22487 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22488 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22489 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22490 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22491 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22492 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22493 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22494 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22495 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22496 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22497 * sysdeps/riscv/rvf/math_private.h: Likewise.
22498 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22499 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22500 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22501 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22502 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22503 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22504 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22505 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22506 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22507 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22508 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22509 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22510 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22511 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22512 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22513 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
22514 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22515 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22516 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22517 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
22518 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22519 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22520 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22521 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22522 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22523 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22524 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22525 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22526 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
22527 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22528 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22529 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22530 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22531 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22532 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22533 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22534 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22535 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22536 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22537 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22538 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22539 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22540 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22541 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22542 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22543 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22544 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22545 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22546 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22547 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22548 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
22549 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22550 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22551 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
22552 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22553 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22554 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22555 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22556 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22557 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22558 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22559 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22560 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22561 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22562 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22563 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22564 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22565 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
22566 * sysdeps/riscv/Implies: New file.
22567 * sysdeps/riscv/Makefile: Likewise.
22568 * sysdeps/riscv/configure: Likewise.
22569 * sysdeps/riscv/configure.ac: Likewise.
22570 * sysdeps/riscv/nptl/Makefile: Likewise.
22571 * sysdeps/riscv/preconfigure: Likewise.
22572 * sysdeps/riscv/rv64/Implies-after: Likewise.
22573 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22574 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22575 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22576 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22577 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22578 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22579 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22580 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22581 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22582 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22583 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
22584 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22585 (Config): Likewise.
532cf290 22586
cdd14619
FW
225872018-01-29 Florian Weimer <fweimer@redhat.com>
22588
22589 [BZ #22701]
22590 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22591 libnsl_hidden_proto.
22592 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22593 libnsl_hidden_proto.
22594 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22595 * nis/Makefile (libnsl-routines): Add nss-default only for
22596 build-obsolete-nsl.
22597 * nis/nis_defaults.c (__nis_default_ttl): Add
22598 libnsl_hidden_nolink_def.
22599 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22600 declaration.
22601 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22602 * nis/ypclnt.c (yp_maplist): Likewise.
22603
b7ccb5de
RN
226042018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22605
22606 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22607 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22608
522623e4
JM
226092018-01-29 Joseph Myers <joseph@codesourcery.com>
22610
e3aa6999
JM
22611 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22612 clean -dxfq for git updates when replacing sources.
22613
088de7d0
JM
22614 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22615 --disable-libcilkrts unconditionally, not just for the final GCC
22616 build for Hurd.
22617
522623e4
JM
22618 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22619 version to 4.15.
22620
ab74d59f 226212018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
8b406f87
RL
22622
22623 [BZ #10871]
22624 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22625 case).
22626
ab74d59f 226272018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
105e90bd
RL
22628
22629 [BZ #10871]
22630 * localedata/locales/be_BY (mon): Rename to...
22631 (alt_mon): This, then synchronize with CLDR (nominative case).
22632 (abmon): Rename to...
22633 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22634 (mon): Import from CLDR (genitive case).
22635 (abmon): Likewise.
22636 * localedata/locales/be_BY@latin (mon): Rename to...
22637 (alt_mon): This.
22638 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22639
22640 * localedata/locales/be_BY@latin (lang_name): Reworded to
22641 "biełaruskaja mova".
22642
ab74d59f 226432018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
561cb414
RL
22644
22645 [BZ #10871]
22646 * localedata/locales/el_CY (mon): Renamed to...
22647 (alt_mon): This.
22648 (mon): Import from CLDR (genitive case).
22649 * localedata/locales/el_GR: Likewise.
22650
ab74d59f 226512018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
f7bdf30d
RL
22652
22653 [BZ #10871]
22654 * localedata/locales/ru_RU (mon): Rename to...
22655 (alt_mon): This.
22656 (abmon): Rename to...
22657 (ab_alt_mon): This.
22658 (mon): Import from CLDR (genitive case).
22659 (abmon): Copy from the old content except the 5th month which is
22660 now in the genitive case, even when abbreviated.
22661 * localedata/locales/ru_UA: Likewise.
22662 * time/tst-strptime.c (day_tests): Add an actual example of
22663 a difference between %b and %Ob in Russian.
22664
85285a0c
ST
226652018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22666
22667 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
22668 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22669 a `c' variable.
3538a4b6 22670 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
22671 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22672 <sys/wait.h>, <time.h>, <sys/uio.h>.
22673 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 22674 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
22675 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22676 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22677 return 0.
05ebfe87
ST
22678 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22679 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
22680 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22681 instead of void *.
22682 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22683 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
22684 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22685 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
22686 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22687 and make them the default for now.
903d3633
ST
22688 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22689 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
22690 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22691 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22692 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22693 MACH_IPC_COMPAT.
06fac9f5
ST
22694 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22695 __task_terminate would ever return successfully.
f8177753
ST
22696 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22697 to global scope.
41cdb1eb
ST
22698 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22699 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
22700 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22701 critical section to make code simpler and avoid warning.
22702 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22703 critical section to make code simpler and avoid warning.
844bf921
ST
22704 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22705 const char * instead of char *.
f8bee46c
ST
22706 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22707 __hurd_file_name_split, hurd_file_name_split,
22708 __hurd_directory_name_split, hurd_directory_name_split,
22709 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22710 hurd_file_name_path_lookup): Make lookup function parameter take a
22711 const char *name instead of char *name.
22712 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22713 __hurd_directory_name_split): Likewise.
22714 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22715 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
22716 * sysdeps/mach/hurd/check_native.c: New file.
22717 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
22718 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22719 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
22720 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22721 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
22722 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22723 (do_test_bz20181): Rename accordingly.
22724 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
22725 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22726 <sys/mount.h>.
28f6186f
ST
22727 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22728 version only if __USE_EXTERN_INLINES is defined.
22729 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22730 __hurd_sockfail): Likewise.
22731 (_hurd_fd_get): Always declare functions, and provide inline versions
22732 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22733 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22734 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22735 _hurd_port_set): Always declare functions, and provide inline versions
22736 only if __USE_EXTERN_INLINES and _LIBC are defined and
22737 IS_IN(libc).
22738 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22739 _hurd_critical_section_unlock): Likewise.
22740 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22741 * __hurd_threadvar_location): Likewise.
22742 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22743 _hurd_userlink_clear): Likewise.
22744 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22745 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22746 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22747 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22748 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22749 __spin_lock_locked): Likewise.
22750 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22751 __spin_lock_locked): Likewise.
22752 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22753 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22754 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22755 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22756 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
22757 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22758 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
22759 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22760 check size against PTHREAD_STACK_MIN.
625ba81e
ST
22761 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22762 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
22763 * mach/Makefile (user-interfaces): Add mach/gnumach.
22764 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22765 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
22766 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22767 instead of invalid -1.
1f89ac71
ST
22768 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22769 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22770 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22771 <net/ppp_defs.h>.
85285a0c 22772
1fd1e27c 227732018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
22774
22775 * hurd/fcntl-internal.h: New file.
22776
3854c5a8
JC
227772018-01-27 James Clarke <jrtc27@jrtc27.com>
22778
7e23a7dd
JC
22779 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22780
3854c5a8
JC
22781 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22782
5503f413
AS
227832018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22784
22785 [BZ #22701]
22786 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22787 Build only shared objects.
22788
caaf7804
CD
227892018-01-26 Carlos O'Donell <carlos@redhat.com>
22790
22791 * README: Update for hppa.
22792
1cbf818d
PM
227932018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22794
caaf7804
CD
22795 * sysdeps/sparc/fpu/libm-test-ulps: Update
22796 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 22797
caaf7804 227982018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
22799
22800 Revert:
22801
22802 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22803
22804 [BZ #22563]
22805 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22806 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22807 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22808 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22809 to feature_1.
22810
22811 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22812
22813 [BZ #22563]
22814 * bits/types/__cancel_jmp_buf_tag.h: New file.
22815 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22816 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22817 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22818 * nptl/Makefile (headers): Add
22819 bits/types/__cancel_jmp_buf_tag.h.
22820 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22821 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22822 * sysdeps/nptl/pthread.h: Include
22823 <bits/types/__cancel_jmp_buf_tag.h>.
22824 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22825 __cancel_jmp_buf.
22826 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22827
ab74d59f 228282018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
65f6c94e
RL
22829
22830 [BZ #10871]
22831 * localedata/locales/uk_UA (mon): Renamed to...
22832 (alt_mon): This.
22833 (alt_digits): "0" removed and then renamed to...
22834 (mon): This.
22835 (date_fmt): Definition changed not to use the alternative
22836 digits hack.
22837
fb58aac5
PD
228382018-01-25 Palmer Dabbelt <palmer@sifive.com>
22839
22840 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22841 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22842 * elf/elf.h (EF_RISCV_RVC): New define.
22843 (EF_RISCV_FLOAT_ABI): Likewise.
22844 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22845 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22846 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22847 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22848 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22849 define.
22850 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22851
128c43a2
AS
228522018-01-25 Andreas Schwab <schwab@suse.de>
22853
22854 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22855 single quotes.
22856 * sysdeps/gnu/configure: Regenerate.
22857 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22858 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22860 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22861 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22862 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22863 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22864 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22865
f9015003
ST
228662018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22867
48130690 22868 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 22869 URL, and run autoconf, make it the default for now.
f9015003 22870
91b2cffa
JM
228712018-01-24 Joseph Myers <joseph@codesourcery.com>
22872
3005b705
JM
22873 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22874 soft-float ColdFire configuration.
22875
69231fab
JM
22876 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22877 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22878 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22879
d4c7e1d0
JM
22880 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22881 MicroBlaze file.
22882
0cfe5be5
JM
22883 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22884 ....
22885 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22886 ... here.
22887 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22888 New file.
22889
91b2cffa
JM
22890 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22891 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22892 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22893 file.
22894
c739e191
SN
228952018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22896
22897 [BZ #22742]
22898 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22899 Rename to __reserved and add comment.
22900 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22901 Rename to __reserved.
22902
394b5bac
JM
229032018-01-24 Joseph Myers <joseph@codesourcery.com>
22904
22905 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22906 i686-gnu configurations.
22907 (Context.run_builds): Include mig, gnumach and hurd in components
22908 considered.
22909 (Context.checkout): Add mig, gnumach and hurd to components.
22910 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22911 hurd.
22912 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22913 (Config.build): Install gnumach headers, build mig and install
22914 hurd headers for 'gnu' OS.
22915 (Config.install_gnumach_headers): New function.
22916 (Config.install_hurd_headers): Likewise.
22917 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22918 when building for 'gnu' OS.
22919
28c3f14f
TK
229202018-01-23 Tobias Klauser <tklauser@distanz.ch>
22921
22922 * manual/tunables.texi (Hardware Capability Tunables): Fix
22923 spelling.
22924
0f5e2da1
RJ
229252018-01-22 Rical Jasan <ricaljasan@pacific.net>
22926
22927 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22928 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22929 (ALTMON_11, ALTMON_12): Improve documentation.
22930 * manual/time.texi (strftime): Likewise.
22931
ab74d59f 229322018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
7817b14a
RL
22933
22934 [BZ #10871]
22935 * localedata/locales/pl_PL: Alternative month names added,
22936 primary month names are genitive now.
22937 * time/tst-strptime.c (day_tests): Actually use a genitive case
22938 of a month name in Polish language.
22939
ab74d59f 229402018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22390764
RL
22941
22942 [BZ #10871]
22943 * manual/locale.texi: Document ALTMON_1..12 constants for
22944 nl_langinfo. Specify when to use ALTMON instead of MON.
22945 * manual/time.texi (strftime, strptime): Document GNU extension
22946 permitting O modifier with %B and %b. Specify when to use
22947 %OB instead of %B.
22948
ab74d59f 229492018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
761a585c
RL
22950
22951 [BZ #10871]
22952 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22953 names, define them as the same as abbreviated month names explicitly.
22954 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22955 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22956 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22957 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22958 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22959 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22960 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22961 _NL_WABALTMON_12): New enum constants.
22962 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22963 wab_alt_mon, and ab_alt_mon_defined members.
22964 (time_output): Output ab_alt_mon and wab_alt_mon members.
22965 (time_read): Read them, initialize them as copies of abmon and wabmon
22966 respectively if they are missing, initialize ab_alt_mon_defined.
22967 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22968 * locale/programs/locfile-kw.h: Regenerate.
22969 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22970 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22971 and ru_RU.UTF-8.
22972 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22973 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22974 (__strftime_internal): Handle %Ob and %Oh formats.
22975 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22976 (__strptime_internal): Handle %Ob and %Oh formats.
22977 * time/tst-strptime.c (day_tests): Add more tests to parse different
22978 forms of month names including the new %Ob format specifier.
22979
ab74d59f 229802018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
95cb863a
RL
22981
22982 [BZ #10871]
22983 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22984 define them as the same as primary full month names explicitly.
22985 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22986 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22987 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22988 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22989 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22990 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22991 _NL_WALTMON_12): New enum constants.
22992 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22993 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22994 macros.
22995 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22996 walt_mon, and alt_mon_defined members.
22997 (time_output): Output alt_mon and walt_mon members.
22998 (time_read): Read them, initialize them as copies of mon and wmon
22999 respectively if they are missing, initialize alt_mon_defined.
23000 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23001 * locale/programs/locfile-kw.h: Regenerate.
23002 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23003 * localedata/tst-langinfo.c (map): Add tests for the new constants
23004 ALTMON_1 .. ALTMON_12.
23005 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23006 and pl_PL.UTF-8.
23007 * time/strftime_l.c (f_altmonth): New macro.
23008 (__strftime_internal): Handle %OB format.
23009 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23010 (__strptime_internal): Handle %OB format.
23011 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23012 of month names including the new %OB format specifier.
23013
4612268a
TMQMF
230142018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23015
23016 [BZ #22685]
23017 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23018 from ABORT_TRANSACTION.
23019 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23020 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23021 ABORT_TRANSACTION_IMPL): Likewise.
23022 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23023 Linux code, but remove the code that aborts transactions.
23024
64f63cb4
ST
230252018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23026
23027 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23028
ab74d59f 230292018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
32ac6e92
RL
23030
23031 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23032 in date: "2004-14-09" should be "2004-09-14".
23033 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23034 "2003-15-09" should be "2003-09-15".
23035
8e448310
AS
230362018-01-18 Arjun Shankar <arjun@redhat.com>
23037
23038 [BZ #22343]
71aa429b 23039 [BZ #22774]
4590634f 23040 CVE-2018-6485
71aa429b 23041 CVE-2018-6551
8e448310
AS
23042 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23043 after padding.
23044 (_int_memalign): check for integer overflow before calling
23045 _int_malloc.
23046 * malloc/tst-malloc-too-large.c: New test.
23047 * malloc/Makefile: Add tst-malloc-too-large.
23048
ab74d59f 230492018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
e234d7cb
RL
23050
23051 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23052 in date: "2017-24-07" should be "2017-07-24".
23053 * localedata/locales/mai_IN: Likewise.
23054 * localedata/locales/mai_NP: Likewise.
23055
48b66019
DL
230562018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23057
23058 * po/ru.po: Update translations.
23059
1eeddc58
JM
230602018-01-17 Joseph Myers <joseph@codesourcery.com>
23061
23062 [BZ #22719]
23063 * sysdeps/hppa/backtrace.c: New file.
23064
207a72e2
L
230652018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 [BZ #22715]
23068 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23069 align La_x86_64_retval to VEC_SIZE.
23070
4942c4ea
JM
230712018-01-16 Joseph Myers <joseph@codesourcery.com>
23072
23073 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23074 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23075
10d200db
FW
230762018-01-16 Florian Weimer <fweimer@redhat.com>
23077
23078 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23079 Move tst-thread-exit-clobber ...
23080 [$(CXX)] (tests-unsupported): ... to here.
23081
953c49cc
SN
230822018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23083
23084 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23085 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23086 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23087 (_dl_aarch64_cap_flags): Update.
23088 (_DL_HWCAP_COUNT): Update.
23089
afce1991
SN
230902018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23091
23092 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23093 (_DL_HWCAP_LAST): Remove.
23094 (_DL_HWCAP_COUNT): Move to ...
23095 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23096 (_DL_HWCAP_COUNT): ... here.
23097
b725132d
FW
230982018-01-16 Florian Weimer <fweimer@redhat.com>
23099
23100 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23101 mode with GNU extensions.
23102
c9e613a7
AH
231032018-01-15 Alan Hayward <alan.hayward@arm.com>
23104
23105 * elf/elf.h (NT_ARM_SVE): Define.
23106
860b0240
FW
231072018-01-15 Florian Weimer <fweimer@redhat.com>
23108
23109 [BZ #22636]
23110 * nptl/tst-minstack-throw.cc: New file.
23111 * nptl/Makefile (tests): Add tst-minstack-throw.
23112 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23113 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23114
16d0f6ac
JM
231152018-01-15 Joseph Myers <joseph@codesourcery.com>
23116
23117 * scripts/build-many-glibcs.py (Context.checkout): Default
23118 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23119 version to 1.1.0.
23120
505d3910
CD
231212018-01-13 Carlos O'Donell <carlos@redhat.com>
23122
23123 [BZ #22707]
23124 * elf/elf.h (DF_1_STUB): Define.
23125 (DF_1_PIE): Define.
23126
af1e6be4
TMQMF
231272018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23128
23129 [BZ #22697]
23130 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23131 Do not add 0.5 to integer or out-of-range arguments.
23132
98d13ce0
DL
231332018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23134
23135 * po/bg.po: Update translations.
23136 * po/cs.po: Likewise.
23137 * po/de.po: Likewise.
23138 * po/ko.po: Likewise.
23139 * po/pl.po: Likewise.
23140 * po/sv.po: Likewise.
23141 * po/uk.po: Likewise.
23142 * po/vi.po: Likewise.
23143
3d1d7928
SN
231442018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23145
23146 * aarch64/start.S (_start): Use __wrap_main.
23147 (__wrap_main): New local symbol.
23148
52a713fd
DL
231492018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23150
23151 [BZ #22679]
23152 CVE-2018-1000001
23153 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23154 generic_getcwd if the path returned by getcwd syscall is not absolute.
23155 * io/tst-getcwd-abspath.c: New test.
23156 * io/Makefile (tests): Add tst-getcwd-abspath.
23157
249a5895
IK
231582018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23159
23160 * malloc/malloc.c (malloc_consolidate): Add size check.
23161
1a51e46e
FW
231622018-01-12 Florian Weimer <fweimer@redhat.com>
23163
23164 * support/write_message.c (write_message): Preserve errno.
23165 * support/check.c (print_failure): Likewise.
23166 * support/support_test_verify_impl.c (support_test_verify_impl):
23167 Likewise.
23168 * support/support_test_compare_failure.c
23169 (support_test_compare_failure): Likewise.
23170
9a08a366
FW
231712018-01-12 Florian Weimer <fweimer@redhat.com>
23172
23173 [BZ #22701]
23174 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23175 Prevent installation of libnsl.so.
23176 (libnsl-inhibit-o): Do not build (or install) static libraries.
23177
80647883 231782018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
23179
23180 [BZ #22657]
23181 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23182 before the day number which may produce a double space.
23183 (date_fmt): Likewise.
23184
c8924f1f
JM
231852018-01-12 Joseph Myers <joseph@codesourcery.com>
23186
23187 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23188 instead of fegetenv.
23189
da09e6fa
JM
231902018-01-11 Joseph Myers <joseph@codesourcery.com>
23191
23192 [BZ #22702]
23193 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23194 comment to say exceptions are discarded.
23195 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23196 __fegetenv.
23197 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23198 be enabled.
23199
08c6e952
FW
232002018-01-11 Florian Weimer <fweimer@redhat.com>
23201
23202 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23203 and error message.
23204
d8b77890
FW
232052018-01-11 Florian Weimer <fweimer@redhat.com>
23206
23207 [BZ #22636]
23208 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23209 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23210
b303185d
JM
232112018-01-10 Joseph Myers <joseph@codesourcery.com>
23212
23213 [BZ #22693]
23214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23215 negative arguments in test for NaN or infinity argument.
23216
ee61d028
DL
232172018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23218
23219 * po/libc.pot: Regenerate.
23220
f993b875
FW
232212018-01-10 Florian Weimer <fweimer@redhat.com>
23222
23223 [BZ #22636]
23224 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23225 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23226
09085ede
ST
232272018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23228
23229 * hurd/hurd/fd.h: Include <fcntl.h>
23230 (__hurd_at_flags): New function.
23231 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23232 with call to __hurd_at_flags.
23233 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23234 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23235 __faccessat
23236 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23237 (__access_noerrno): Use __faccessat_common instead of access_common.
23238 (__access): Likewise.
23239 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23240 with a call to __faccessat.
23241 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23242 (__faccessat_common): ... this. Move implementation of __access into it when
23243 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23244 reauthenticate_cwdir_at helper to implement AT mechanism.
23245 (__faccessat_noerrno): New function, just calls __faccessat_common.
23246 (__faccessat): New function, just calls __faccessat_common.
23247 (faccessat): Define weak alias.
23248
12727488
JM
232492018-01-10 Joseph Myers <joseph@codesourcery.com>
23250
87faac55
JM
23251 [BZ #22691]
23252 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23253 (CFLAGS-s_fmaxmagl.c): New variable.
23254 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23255
12727488
JM
23256 [BZ #22690]
23257 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23258 long int for arguments of possibly overflowing addition or
23259 subtraction.
23260 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23261
e134ca17
JM
232622018-01-09 Joseph Myers <joseph@codesourcery.com>
23263
b2584ac2
JM
23264 [BZ #22688]
23265 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23266 (CFLAGS-e_remainderl.c): New variable.
23267
e134ca17
JM
23268 [BZ #22687]
23269 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23270 variable.
23271 (CFLAGS-s_cacoshl.c): Likewise.
23272 (CFLAGS-s_casinhl.c): Likewise.
23273 (CFLAGS-s_catanl.c): Likewise.
23274 (CFLAGS-s_catanhl.c): Likewise.
23275 (CFLAGS-s_cexpl.c): Likewise.
23276 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23277 (CFLAGS-s_csinhl.c): Likewise.
23278 (CFLAGS-s_clogl.c): Likewise.
23279 (CFLAGS-s_clog10l.c): Likewise.
23280 (CFLAGS-s_csinl.c): Likewise.
23281 (CFLAGS-s_csqrtl.c): Likewise.
23282
d31a4a48
ST
232832017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
232842017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
23285
23286 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23287 (_hurd_exec_paths): New function.
23288 * hurd/hurd.h (_hurd_exec): Deprecate function.
23289 (_hurd_exec_paths): Declare function.
23290 * hurd/Versions: Export _hurd_exec_paths.
23291 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23292 (__execve): Use __getcwd to build absolute path, and use
23293 _hurd_exec_paths instead of _hurd_exec.
23294 * sysdeps/mach/hurd/spawni.c: Likewise.
23295 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23296 _hurd_exec.
23297
d7ff3f11
DL
232982018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23299
23300 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23301 test instead of failing in case of ENOENT returned by posix_openpt.
23302
401311cf
FW
233032018-01-08 Florian Weimer <fweimer@redhat.com>
23304
23305 resolv: Support binary labels in test framework.
23306 * support/resolv_test.c (struct to_be_freed): Remove.
23307 (struct compressed_name): New.
23308 (allocate_compressed_name, ascii_tolower)
23309 (compare_compressed_name): New functions.
23310 (struct resolv_response_builder): Update type of
23311 compression_offsets for use with tsearch. Rempve to_be_freed.
23312 (response_push_pointer_to_free): Remove function.
23313 (resolv_response_add_name): Rewrite using struct compressed_name
23314 and tsearch instead of hsearch_r.
23315 (response_builder_allocate): Remove initialization of
23316 compression_offsets.
23317 (response_builder_free): Update for removal of to_be_freed. Use
23318 tdestroy instead of hdestroy_r.
23319 * resolv/Makefile (tests): Add tst-resolv-binary.
23320 (tst-resolv-binary): Link with -lresolv -lpthread.
23321
2b3aa446
FW
233222018-01-08 Florian Weimer <fweimer@redhat.com>
23323
23324 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23325 time. Pass positive flag instead of negative flag to
23326 support_test_compare_failure.
23327 (support_test_compare_failure): Change negative parameter to
23328 positive.
23329 * support/support_test_compare_failure.c (report)
23330 (support_test_compare_failure): Likewise.
23331 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23332 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23333
630f4cc3
SN
233342018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23335
23336 [BZ #22637]
23337 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23338 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23339 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23340 stacksize.
23341 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23342
c70e4e9c
L
233432018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23344
23345 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23346 Add s_sincosf-sse2 and s_sincosf-fma.
23347 (CFLAGS-s_sincosf-fma.c): New.
23348 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23349 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23350 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23351 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23352 __sincosf is defined.
23353
579396ee
FW
233542018-01-08 Florian Weimer <fweimer@redhat.com>
23355
23356 * nptl/tst-thread-exit-clobber.cc: New file.
23357 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23358 C++11 mode.
23359 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23360 (tests): Add tst-thread-exit-clobber.
23361 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23362
dabd75b6
FW
233632018-01-08 Florian Weimer <fweimer@redhat.com>
23364
23365 * support/check.h (support_static_assert): Define.
23366 (TEST_COMPARE): Use it.
23367
c2e014cc
AJ
233682018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23369
23370 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23371 [!__RLIM_T_MATCHES_RLIM64_T]
23372 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23373 __getrlimit64. Add libc_hidden_weak.
23374
31a98837
PD
233752018-01-06 Palmer Dabbelt <palmer@sifive.com>
23376
23377 * elf/elf.h (R_RISCV_NONE): New define.
23378 (R_RISCV_32): Likewise.
23379 (R_RISCV_64): Likewise.
23380 (R_RISCV_RELATIVE): Likewise.
23381 (R_RISCV_COPY): Likewise.
23382 (R_RISCV_JUMP_SLOT): Likewise.
23383 (R_RISCV_TLS_DTPMOD32): Likewise.
23384 (R_RISCV_TLS_DTPMOD64): Likewise.
23385 (R_RISCV_TLS_DTPREL32): Likewise.
23386 (R_RISCV_TLS_DTPREL64): Likewise.
23387 (R_RISCV_TLS_TPREL32): Likewise.
23388 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
23389 * Makerules (make-link-multidir): Make directories before linking into
23390 them.
150bbac1
PD
23391 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23392 define.
23393 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
23394 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23395 in subdirectories of lib.
8e13c51b
PD
23396 * nptl/Makefile (/librt.so): Always depend on
23397 "$(shared-thread-library)".
31a98837 23398
fad7d57e
ST
233992018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23400
23401 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
23402 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23403 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23404 (___tls_get_addr).
23405 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
23406 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23407 "-O2 -march=i686".
01c7e549 23408 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
23409 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23410 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23411 * sysdeps/gnu/glob-lstat-compat.c: New file.
23412 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 23413 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 23414
3a32b716
TMQMF
234152018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23416
23417 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23418 Reserve 16 chars to reloc_addr before calling _itoa_word.
23419
24731685
AJ
234202018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23421
23422 [BZ #22678]
23423 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23424 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23425
19be56d8
AJ
23426 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23427 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23428
a6d0afb5
AJ
23429 * resource/tst-getrlimit.c: Add copyright header.
23430
8e900969
AJ
234312018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23432 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23433
23434 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23435 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23436 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23437 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23438 instead.
23439 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23440 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23441 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23442 RLIM64_INFINITY): Fix values to match the kernel ones.
23443 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23444 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23445 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23446 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23447 getrlimit64@@GLIBC_2_27.
23448 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23449 and setrlimit64.
23450 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23451 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23452 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23453 setrlimit, getrlimit64 and setrlimit64.
23454
0d0bc784
AJ
234552018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23456
23457 [BZ #22648]
23458 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23459 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23460
ba374b6d
JM
234612018-01-04 Joseph Myers <joseph@codesourcery.com>
23462
23463 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23464 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23465 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23466
4854ddd8
AZ
234672018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23468
b0a4eca2
AZ
23469 [BZ #15479]
23470 [BZ #22666]
23471 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23472 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23473
4854ddd8
AZ
23474 [BZ #15479]
23475 [BZ #22665]
23476 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23477 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23478 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23479 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23480
8a5df95f
FW
234812018-01-04 Florian Weimer <fweimer@redhat.com>
23482
23483 [BZ #22667]
23484 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23485 Align the stack before calling exit.
23486 * stdlib/tst-makecontext-align.c: New file.
23487 * stdlib/Makefile (tests): Add tst-makecontext-align.
23488
82eef55f
FW
234892018-01-04 Florian Weimer <fweimer@redhat.com>
23490
23491 Add support for calling dlvsym from libc.so.
23492 * include/dlfcn.h (__libc_dlvsym): Declare.
23493 * elf/Makefile (tests-static-internal): Add
23494 tst-libc_dlvsym-static.
23495 (tests-internal): Add tst-libc_dlvsym.
23496 (modules-names): Add tst-libc_dlvsym-dso.
23497 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23498 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23499 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23500 object tst-libc_dlvsym-dso.so needs to be built before running
23501 these tests.
23502 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23503 * elf/Versions: Export __libc_dlvsym.
23504 * elf/dl-libc.c (struct do_dlvsym_args): New.
23505 (do_dlvsym, __libc_dlvsym): New functions.
23506 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23507 (_dl_open_hook2): New variable.
23508 (__libc_register_dl_open_hook): Set it.
23509 * elf/tst-libc_dlvsym-dso.c: New file.
23510 * elf/tst-libc_dlvsym-static.c: Likewise.
23511 * elf/tst-libc_dlvsym.c: Likewise.
23512 * elf/tst-libc_dlvsym.h: Likewise.
23513
1714fc06
ST
235142018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23515
23516 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23517 include <sys/mount.h>.
23518
3c7d0312
WD
235192018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23520
23521 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23522 Add __NO_MATH_ERRNO__ check.
23523
7eff0954
JM
235242018-01-02 Joseph Myers <joseph@codesourcery.com>
23525
23526 * sysdeps/mips/mips32/libm-test-ulps: Update.
23527 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23528
77f49956
FW
235292018-01-02 Florian Weimer <fweimer@redhat.com>
23530
23531 * misc/tst-pselect.c: Add copyright header.
23532
363e4519 235332018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
23534
23535 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23536 comment.
23537 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23538 comment.
23539 (settrlimit): Rename into setrlimit.
23540 (__sttrlimit): Rename into __setrlimit.
23541
3e4226ff
AJ
23542 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23543 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23544 never defined in that case.
23545
b9256ab6
JM
235462018-01-02 Joseph Myers <joseph@codesourcery.com>
23547
28fd6a44
JM
23548 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23549
a4933a15
JM
23550 * sysdeps/arm/libm-test-ulps: Update.
23551
b9256ab6
JM
23552 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23553 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23554
4cf82d23
RS
235552018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23556
23557 * NEWS: Add cosf and sincosf to list of optimized functions.
23558
6a9dd7a7
AJ
235592018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23560
23561 [BZ #22660]
23562 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23563 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23564 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23565 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23566
dbba87d5
DL
235672018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23568
b05cb613
DL
23569 [BZ #22433]
23570 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23571
dbba87d5
DL
23572 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23573 making a copy of it.
23574
688903eb
JM
235752018-01-01 Joseph Myers <joseph@codesourcery.com>
23576
66ac23de
JM
23577 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23578 trailing whitespace removed.
23579 * scripts/config.guess: Update to version 2018-01-01.
23580 * scripts/config.sub: Update to version 2018-01-01.
23581 * scripts/move-if-change: Update from gnulib.
23582
09533208
JM
23583 * NEWS: Update copyright dates.
23584 * catgets/gencat.c (print_version): Likewise.
23585 * csu/version.c (banner): Likewise.
23586 * debug/catchsegv.sh: Likewise.
23587 * debug/pcprofiledump.c (print_version): Likewise.
23588 * debug/xtrace.sh (do_version): Likewise.
23589 * elf/ldconfig.c (print_version): Likewise.
23590 * elf/ldd.bash.in: Likewise.
23591 * elf/pldd.c (print_version): Likewise.
23592 * elf/sotruss.sh: Likewise.
23593 * elf/sprof.c (print_version): Likewise.
23594 * iconv/iconv_prog.c (print_version): Likewise.
23595 * iconv/iconvconfig.c (print_version): Likewise.
23596 * locale/programs/locale.c (print_version): Likewise.
23597 * locale/programs/localedef.c (print_version): Likewise.
23598 * login/programs/pt_chown.c (print_version): Likewise.
23599 * malloc/memusage.sh (do_version): Likewise.
23600 * malloc/memusagestat.c (print_version): Likewise.
23601 * malloc/mtrace.pl: Likewise.
23602 * manual/libc.texinfo: Likewise.
23603 * nptl/version.c (banner): Likewise.
23604 * nscd/nscd.c (print_version): Likewise.
23605 * nss/getent.c (print_version): Likewise.
23606 * nss/makedb.c (print_version): Likewise.
23607 * posix/getconf.c (main): Likewise.
23608 * scripts/test-installation.pl: Likewise.
23609 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23610
688903eb
JM
23611 * All files with FSF copyright notices: Update copyright dates
23612 using scripts/update-copyrights.
23613 * locale/programs/charmap-kw.h: Regenerated.
23614 * locale/programs/locfile-kw.h: Likewise.
23615
4f820792
ZW
236162017-12-31 Zack Weinberg <zackw@panix.com>
23617
23618 * libio/bits/libio-ldbl.h: Correct check for improper
23619 inclusion. Add own multiple include guard.
23620
3e3c904d
AJ
236212017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23622 Dmitry V. Levin <ldv@altlinux.org>
23623
23624 [BZ #22625]
31f96325 23625 CVE-2017-16997
3e3c904d
AJ
23626 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23627 string token expansion. Check for NULL pointer or empty string possibly
23628 returned by expand_dynamic_string_token.
23629 (decompose_rpath): Check for empty path after dynamic string
23630 token expansion.
23631
7e21972b
DL
236322017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23633
c48831d0
DL
23634 [BZ #22433]
23635 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23636
ac583f50
DL
23637 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23638 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23639 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23640 and PTRACE_SYSCALL.
23641 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23642 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23644 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23645 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23646 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23647
7e21972b
DL
23648 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23649 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23650 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23651 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23653 bits/ptrace-shared.h.
23654 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23655 <bits/ptrace-shared.h>.
23656 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23657 __ptrace_peeksiginfo_flags, ptrace): Remove.
23658 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23662 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23663
72f29e3a
AJ
236642017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23665
23666 [BZ #17804]
23667 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23668 end of the loop. Improve comments.
23669
54e4efc2
AJ
236702017-12-29 Zack Weinberg <zackw@panix.com>
23671
23672 [BZ #22615]
23673 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23674 might be set on success.
23675
f8aa69be
AJ
236762017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23677
23678 [BZ #22611]
23679 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23680 is unchanged on success.
23681
97f13188
DL
236822017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23683
2bd86632
DL
23684 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23685 updated.
23686 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23687 expand_dynamic_string_token): Likewise.
23688 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23689 is_path argument.
23690
1c36e1e6
DL
23691 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23692 contains ':'.
23693
97f13188
DL
23694 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23695 is set and name contains ':', and all code depending on these checks.
23696
48a8f832
ZW
236972017-12-24 Zack Weinberg <zackw@panix.com>
23698
23699 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23700 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23701 respectively.
23702 * libio/libio.h: Rename the original version of this file to
23703 libio/bits/libio.h. Error out if not included by stdio.h or the
23704 stub libio.h.
23705 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23706 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23707 if not included by bits/libio.h or the stub _G_config.h.
23708 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23709 sysdeps/unix/sysv/linux/bits. Error out if not included by
23710 bits/libio.h or the stub _G_config.h.
23711 * libio/stdio.h: Include bits/libio.h, not libio.h.
23712 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23713 well as libio.h and _G_config.h.
23714
23715 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23716 * libio/strfile.h, stdio-common/vfscanf.c
23717 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23718 Include stdio.h, not _G_config.h nor libio.h.
23719 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23720 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23721
23722 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23723
a47ad79a
DL
237242017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23725
23726 [BZ #22347]
23727 * stdlib/getrandom.c (getrandom): Fix comment.
23728 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23729
363e4519 237302017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 23731
f5c558f3
AJ
23732 [BZ #21161]
23733 * manual/arith.texi (strtoul): Fix a typo.
23734
e65a5644
AJ
23735 [BZ #22596]
23736 * manual/arith.texi (finite): Fix the description of the return
23737 value.
23738
ed8ae46b
EB
237392017-12-22 Eric Blake <ebb9@byu.net>
23740
23741 Avoid gcc warnings on cygwin
23742 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23743 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23744 Avoid unused variable.
23745
bad7a0c8
FW
237462017-12-22 Florian Weimer <fweimer@redhat.com>
23747
23748 * io/Makefile (routines): Add copy_file_range.
23749 (tests): Add tst-copy_file_range.
23750 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23751 * io/Versions (GLIBC_2.27): Export copy_file_range.
23752 * io/copy_file_range-compat.c: New file.
23753 * io/copy_file_range.c: Likewise.
23754 * io/tst-copy_file_range-compat.c: Likewise.
23755 * io/tst-copy_file_range.c: Likewise.
23756 * manual/llio.texi (Copying File Data): New section.
23757 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23758 * support/Makefile (libsupport-routines): Add support-xfstat,
23759 xftruncate, xlseek.
23760 * support/support-xfstat.c: New file.
23761 * support/xftruncate.c: Likewise.
23762 * support/xlseek.c: Likewise.
23763 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23764 * sysdeps/unix/sysv/linux/**.abilist: Update.
23765 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23766
6cb86fd2
SN
237672017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23768
23769 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23770 disable-multi-arch variant to aarch64-linux-gnu.
23771
41d11b15
JM
237722017-12-20 Joseph Myers <joseph@codesourcery.com>
23773
23774 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23775 trailing whitespace removed.
23776 * scripts/config.guess: Update to version 2017-12-17.
23777 * scripts/config.sub: Update to version 2017-11-23.
23778 * scripts/install-sh: Update to version 2017-09-23.17.
23779 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23780
4735850f
AZ
237812017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23782
8d2d239c
AZ
23783 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23784 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23785 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23786 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23787 * sysdeps/tile/crtn.S: Likewise.
23788 * sysdeps/tile/dl-start.S (_start): Likewise.
23789 * sysdeps/tile/dl-trampoline.S: Likewise.
23790 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23791 * sysdeps/tile/start.S (_start): Likewise.
23792 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23793 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23794 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23795 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23796 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23797 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23798 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23799
24d1d8ec
AZ
23800 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23801 comment.
23802 * sysdeps/tile/preconfigure: Remove tilegx folder.
23803 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23804 * sysdeps/tile/Implies: ... here.
23805 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23806 * sysdeps/tile/Makefile: ... here.
23807 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23808 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23809 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23810 * sysdeps/tile/bits/wordsize.h: ... here.
23811 * sysdeps/tile/tilegx/*: Move to ...
23812 * sysdeps/tile/*: ... here.
23813 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23814 * sysdeps/tile/tilegx32/Implies: ... here.
23815 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23816 * sysdeps/tile/tilegx64/Implies: ... here.
23817 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23818 to ...
23819 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23820 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23821 * sysdeps/unix/sysv/linux/tile/*: ... here.
23822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23823 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23825 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23826
ed95f611
AZ
23827 * README: Remove tilepro-*-linux-gnu from supported architecture.
23828 * scripts/build-many-glibcs.py: Likewise.
23829 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23830 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23831 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23832 elf_machine_matches_host, elf_machine_dynamic,
23833 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23834 howto, elf_machine_rela): Likewise.
23835 * sysdeps/tile/dl-start.S (_start): Likewise.
23836 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23837 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23838 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23839 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23840 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23841 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23842 Likewise.
23843 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23844 * sysdeps/tile/preconfigure: Likewise.
23845 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23846 POINTER_CHK_GUARD): Likewise.
23847 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23848 * sysdeps/tile/start.S (_start): Likewise.
23849 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23850 Likewise.
23851 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23852 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23853 CMOVNEZ): Remove.
23854 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23855 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23856 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23857 Likewise.
23858 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23859 * sysdeps/tile/tilepro/Implies: Remove file.
23860 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23861 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23862 * sysdeps/tile/tilepro/memchr.c: Likewise.
23863 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23864 * sysdeps/tile/tilepro/memset.c: Likewise.
23865 * sysdeps/tile/tilepro/memusage.h: Likewise.
23866 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23867 * sysdeps/tile/tilepro/strchr.c: Likewise.
23868 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23869 * sysdeps/tile/tilepro/strlen.c: Likewise.
23870 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23871 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23872 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23873 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23874 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23875 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23876 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23877 Likewise.
23878 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23879 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23880 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23881 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23882 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23883 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23884 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23885 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23886 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23887 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23888 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23889 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23890 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23891 tilepro mention in comment.
23892
4735850f
AZ
23893 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23894 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23895 * nptl/pthread_join_common.c: New file: common function used on
23896 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23897 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23898 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23899 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23900 (cleanup): Move definition to pthread_join_common.c.
23901 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23902 Remove superflous checks.
23903 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23904 Likewise.
23905
8bfb461e
SN
239062017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23907
23908 * sysdeps/aarch64/libm-test-ulps: Update.
23909
4e001969
AZ
239102017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23911
23912 * sysdeps/aarch64/memset.S (MEMSET): Define.
23913
8a26ad2a
FW
239142017-12-20 Florian Weimer <fweimer@redhat.com>
23915
23916 [BZ #22635]
23917 nptl: Provide full implementation of pthread_self in libc.so.
23918 * nptl/Makefile (routines): Add pthread_self.
23919 (libpthread-routines): Replace pthread_self with
23920 compat-pthread_self.
23921 * nptl/forward.c (pthread_self): Remove.
23922 * nptl/nptl-init.c (pthread_functions): Do not initialize
23923 ptr_pthread_self.
23924 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23925 * nptl/compat-pthread_self.c: New file.
23926 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23927 Remove ptr_pthread_self.
23928
5069ff32
AR
239292017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23930
23931 * posix/regcomp.c: Fix spelling in comments.
23932 * posix/regex.h: Likewise.
23933 * posix/regex_internal.c: Likewise.
23934 * posix/regexec.c: Likewise.
23935
c85e54ac
GG
239362017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23937
23938 [BZ #22377]
23939 * math/Makefile [C++] (tests): Add test for iseqsig.
23940 * math/math.h [C++] (iseqsig): New implementation, which does
23941 not rely on __MATH_TG/__builtin_types_compatible_p.
23942 * math/test-math-iseqsig.cc: New file.
23943 * sysdeps/powerpc/powerpc64le/Makefile
23944 (CFLAGS-test-math-iseqsig.cc): New variable.
23945
10e93d96
DL
239462017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23947
23948 * elf/dl-load.c (is_trusted_path): Remove.
23949 (fillin_rpath): Remove check_trusted argument and its use,
23950 all callers changed.
23951
ce16eb52
L
239522017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 [BZ #22630]
23955 * Makeconfig (link-pie-before-libc): Replace -pie with
23956 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23957 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23958 (tst-dlopen-aout-no-pie): New.
23959 (LDFLAGS-tst-prelink): Removed.
23960 (tst-prelink-no-pie): New.
23961 (LDFLAGS-tst-main1): Removed.
23962 (tst-main1-no-pie): New.
23963 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23964 (tst-gmon-no-pie): New.
23965
126adc89
L
239662017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23967
23968 * manual/install.texi: Document that --enable-static-pie
23969 implies PIE.
23970 * INSTALL: Regenerated.
23971
648615e1
BE
239722017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23973
23974 [BZ #21309]
23975 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23976 unsigned.
23977
f1e00502
JM
239782017-12-19 Joseph Myers <joseph@codesourcery.com>
23979
23980 Revert:
23981
23982 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23983
23984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23985
23986 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23987
23988 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23989 <errno.h>. Include "eexp.tbl".
23990 (half): New constant.
23991 (one): Likewise.
23992 (__ieee754_exp): Rewrite.
23993 (__slowexp): Remove prototype.
23994 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23995 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23996 * sysdeps/i386/fpu/slowexp.c: Likewise.
23997 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23998 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24000 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24001 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24002 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24003 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24004 comment.
24005 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24006 (CPPFLAGS-slowexp.c): Remove variable.
24007 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24008 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24009 (CFLAGS-slowexp-fma.c): Remove variable.
24010 (CFLAGS-slowexp-fma4.c): Likewise.
24011 (CFLAGS-slowexp-avx.c): Likewise.
24012 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24013 define as macro.
24014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24015 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24016 * math/Makefile (type-double-routines): Remove slowexp.
24017 * manual/probes.texi (slowexp_p6): Remove.
24018 (slowexp_p32): Likewise.
24019
d711a00f
AZ
240202017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24021
e184ac3a
AZ
24022 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24023 arithmetic.
24024
d711a00f
AZ
24025 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24026
6f58c10d
JM
240272017-12-19 Joseph Myers <joseph@codesourcery.com>
24028
24029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24030
6fd0a3c6
PM
240312017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24032
24033 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24034 <errno.h>. Include "eexp.tbl".
24035 (half): New constant.
24036 (one): Likewise.
24037 (__ieee754_exp): Rewrite.
24038 (__slowexp): Remove prototype.
24039 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24040 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24041 * sysdeps/i386/fpu/slowexp.c: Likewise.
24042 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24043 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24044 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24046 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24047 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24048 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24049 comment.
24050 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24051 (CPPFLAGS-slowexp.c): Remove variable.
24052 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24053 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24054 (CFLAGS-slowexp-fma.c): Remove variable.
24055 (CFLAGS-slowexp-fma4.c): Likewise.
24056 (CFLAGS-slowexp-avx.c): Likewise.
24057 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24058 define as macro.
24059 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24060 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24061 * math/Makefile (type-double-routines): Remove slowexp.
24062 * manual/probes.texi (slowexp_p6): Remove.
24063 (slowexp_p32): Likewise.
24064
3bb1ef58 240652017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 24066 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
24067
24068 [BZ #22603]
24069 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24070 addition.
24071
554e3d51
AZ
240722017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24073
24074 [BZ #22605]
24075 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24076 code.
24077
cba595c3
L
240782017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24079
24080 [BZ #22563]
24081 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24082 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24083 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24084 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24085 to feature_1.
24086
f81ddabf
L
240872017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24088
24089 [BZ #22563]
24090 * bits/types/__cancel_jmp_buf_tag.h: New file.
24091 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24092 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24093 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24094 * nptl/Makefile (headers): Add
24095 bits/types/__cancel_jmp_buf_tag.h.
24096 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24097 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24098 * sysdeps/nptl/pthread.h: Include
24099 <bits/types/__cancel_jmp_buf_tag.h>.
24100 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24101 __cancel_jmp_buf.
24102 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24103
1a49fc59
L
241042017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24105
24106 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24107 --enable-static-pie variants to x86_64, x32 and i686.
24108
8e52f573
JM
241092017-12-19 Joseph Myers <joseph@codesourcery.com>
24110
66425185
JM
24111 [BZ #22631]
24112 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24113 argument for attrubutes. All callers changed.
24114 (__inline_mathop1): Likewise. All callers changed.
24115 (__inline_mathop): Likewise. All callers changed.
24116 [__USE_MISC] (scalbn): Use __inline_forward instead of
24117 __inline_forward_c.
24118 [__USE_ISOC99] (scalbln): Likewise.
24119 [__USE_ISOC99] (nearbyint): Likewise.
24120 [__USE_ISOC99] (lrint): Likewise.
24121 [__USE_MISC] (scalbnf): Likewise.
24122 [__USE_ISOC99] (scalblnf): Likewise.
24123 [__USE_ISOC99] (nearbyintf): Likewise.
24124 [__USE_ISOC99] (lrintf): Likewise.
24125 [__USE_MISC] (scalbnl): Likewise.
24126 [__USE_ISOC99] (scalblnl): Likewise.
24127 [__USE_ISOC99] (nearbyintl): Likewise.
24128 [__USE_ISOC99] (lrintl): Likewise.
24129 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24130 __inline_mathop and __m81_defun changed.
24131
8e52f573
JM
24132 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24133 CPU or FPU for ARM hard-float configurations.
24134
1421f39b
JM
241352017-12-18 Joseph Myers <joseph@codesourcery.com>
24136
40c4162d
JM
24137 * nptl/tst-attr3.c: Include <libc-diag.h>.
24138 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24139
5983df32
JM
24140 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24141
1421f39b
JM
24142 * string/tester.c (test_strncat): Also disable -Warray-bounds
24143 warnings for two tests.
24144
00c714df
L
241452017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24146
24147 [BZ #22614]
24148 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24149 $(cc-pie-default) == yes.
24150 * config.make.in (cc-pie-default): New.
24151 * configure.ac (libc_cv_pie_default): Renamed to ...
24152 (libc_cv_cc_pie_default): This.
24153 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24154 * configure: Regenerated.
24155
8e1472d2
FW
241562017-12-18 Florian Weimer <fweimer@redhat.com>
24157
24158 [BZ #20204]
24159 ld.so: Harden dl-libc/libdl hooks.
24160 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24161 (rtld_active): New function.
24162 * dlfcn/dladdr.c (__dladdr): Call it.
24163 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24164 * dlfcn/dlclose.c (__dlcose): Likewise.
24165 * dlfcn/dlerror.c (__dlerror): Likewise.
24166 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24167 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24168 * dlfcn/dlopen.c (__dlopen): Likewise.
24169 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24170 * dlfcn/dlsym.c (__dlsym): Likewise.
24171 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24172 * libio/vtables.c (_IO_vtable_check): Likewise.
24173 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24174 (__libc_dlclose): Likewise.
24175 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24176 assignment.
24177
49b036bc
JM
241782017-12-18 Joseph Myers <joseph@codesourcery.com>
24179
24180 [BZ #22446]
24181 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24182 buffers for readlink input and output.
24183
368b6c8d
ST
241842017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24185
c85c564d
ST
24186 [BZ #22624]
24187 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24188 inhibit_stack_protector.
24189
368b6c8d
ST
24190 [BZ #22624]
24191 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24192 inhibit_stack_protector.
24193
bb195224
DL
241942017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24195
24196 [BZ #22627]
24197 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24198 code and invocation.
24199
14d886ed
SN
242002017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24201
24202 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24203
7d38eb38
AJ
242042017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24205
24206 [BZ #22505]
24207 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24208
2e77deef
RS
242092017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24210
24211 * sysdeps/s390/fpu/libm-test-ulps: Update.
24212
0b9bef6d
RS
242132017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24214
24215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24216
984ae996
RS
242172017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24218
24219 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24220 constants to s_sincosf.h file.
24221 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24222 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24223 implementation.
24224 * sysdeps/ieee754/flt-32/s_sincosf.h:
24225 New file.
24226
363e4519 242272017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
24228
24229 [BZ #14681]
24230 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24231 before mtrace.
24232
9d7a3741
L
242332017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24234
24235 [BZ #19574]
24236 * INSTALL: Regenerated.
24237 * Makeconfig (real-static-start-installed-name): New.
24238 (pic-default): Updated for --enable-static-pie.
24239 (pie-default): New for --enable-static-pie.
24240 (default-pie-ldflag): Likewise.
24241 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24242 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24243 Replace $(static-start-installed-name) with
24244 $(real-static-start-installed-name).
24245 (+prectorT): Updated for --enable-static-pie.
24246 (+postctorT): Likewise.
24247 (CFLAGS-.o): Add $(pie-default).
24248 (CFLAGS-.op): Likewise.
24249 * NEWS: Mention --enable-static-pie.
24250 * config.h.in (ENABLE_STATIC_PIE): New.
24251 * configure.ac (--enable-static-pie): New configure option.
24252 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24253 (have-static-pie): Likewise.
24254 Enable static PIE if linker supports --no-dynamic-linker.
24255 (ENABLE_STATIC_PIE): New AC_DEFINE.
24256 (enable-static-pie): New LIBC_CONFIG_VAR.
24257 * configure: Regenerated.
24258 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24259 gr$(start-installed-name) for --enable-static-pie.
24260 (extra-objs): Likewise.
24261 (install-lib): Likewise.
24262 (extra-objs): Add static-reloc.o and static-reloc.os
24263 ($(objpfx)$(start-installed-name)): Also depend on
24264 $(objpfx)static-reloc.o.
24265 ($(objpfx)r$(start-installed-name)): New.
24266 ($(objpfx)g$(start-installed-name)): Also depend on
24267 $(objpfx)static-reloc.os.
24268 ($(objpfx)gr$(start-installed-name)): New.
24269 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24270 in libc.a.
24271 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24272 initimage.
24273 * csu/static-reloc.c: New file.
24274 * elf/Makefile (routines): Add dl-reloc-static-pie.
24275 (elide-routines.os): Likewise.
24276 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24277 (tst-tls1-static-non-pie-no-pie): New.
24278 * elf/dl-reloc-static-pie.c: New file.
24279 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24280 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24281 STATIC_PIE_BOOTSTRAP.
24282 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24283 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24284 (tests-static): Likewise.
24285 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24286 (tst-gmon-static-no-pie): New.
24287 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24288 (CRT-tst-gmon-static-pie): Likewise.
24289 (tst-gmon-static-pie-ENV): Likewise.
24290 (tests-special): Likewise.
24291 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24292 (clean-tst-gmon-static-pie-data): Likewise.
24293 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24294 * gmon/tst-gmon-static-pie.c: New file.
24295 * manual/install.texi: Document --enable-static-pie.
24296 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24297 (_dl_get_dl_main_map): Likewise.
24298 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24299 * sysdeps/x86_64/configure.ac: Likewise.
24300 * sysdeps/i386/configure: Regenerated.
24301 * sysdeps/x86_64/configure: Likewise.
24302 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24303 (ASFLAGS-.op): Likewise.
24304
95511aab
JM
243052017-12-15 Joseph Myers <joseph@codesourcery.com>
24306
24307 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24308 * posix/tst-mmap-offset.c (fname): Use /tmp.
24309 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24310
a7e3edf4
SE
243112017-12-15 Steve Ellcey <sellcey@cavium.com>
24312
24313 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24314
d232f2e1
TS
243152017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24316
24317 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24318 errno.
24319
174edbde
JM
243202017-12-15 Joseph Myers <joseph@codesourcery.com>
24321
5170fa49
JM
24322 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24323 --with-float=hard for arm-linux-gnueabihf configurations.
24324
f2da2fd8
JM
24325 [BZ #14121]
24326 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24327 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24328 ($(mo-installed)): Use $(objpfx)%.mo.
24329 (realclean): Remove rule.
24330
0c4fe28d
JM
24331 * po/Makefile (linguas): Remove rule and dependencies.
24332 (linguas.mo): Likewise.
24333 (.PHONY): Do not depend on linguas and linguas.mo.
24334 (podir): Remove variable.
24335 (pofiles): Likewise.
24336 [$(pofiles)] (%.po): Remove rule.
24337
174edbde
JM
24338 * sysdeps/sparc/sparc32/Makefile
24339 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24340 start-of-line whitespace in argument of echo.
24341 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24342 with whitespace. Generate __wrap_.udiv alias.
24343 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24344 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24345 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24346 * sysdeps/sparc/sparc32/urem.S: Likewise.
24347
1e36806f
RS
243482017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24349
24350 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24351 for aligned inputs.
24352
aa6932aa
SP
243532017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24354
5f1603c3
SP
24355 * benchtests/bench-strcmp.c: Print output in JSON format.
24356
aa6932aa
SP
24357 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24358
3ff3dfa5
FW
243592017-12-14 Florian Weimer <fweimer@redhat.com>
24360
24361 [BZ #22607]
24362 CVE-2017-1000409
24363 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24364 the expanded path string.
24365
8a0b17e4
FW
243662017-12-14 Florian Weimer <fweimer@redhat.com>
24367
24368 [BZ #22606]
24369 CVE-2017-1000408
24370 * elf/dl-load.c (system_dirs): Update comment.
24371 (nsystem_dirs_len): Use array_length.
24372 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24373
f58bd7f0
FW
243742017-12-14 Florian Weimer <fweimer@redhat.com>
24375
24376 Simplify compiling most of support/ outside of glibc.
24377 * support/check_addrinfo.c: Include <string.h>.
24378 * support/check_dns_packet.c: Likewise.
24379 * support/check_hostent.c: Likewise.
24380 * support/support_can_chroot.c: Include <support/xunistd.h>.
24381 * support/support_format_addrinfo.c: Include <stdlib.h>
24382 * support/support_format_dns_packet.c: Include <stdbool.h>.
24383 * support/support_format_hostent.c: Include <stdlib.h>.
24384 * support/support_format_netent.c: Likewise.
24385 * support/support_write_string.c: Include <support/xunistd.h>.
24386 * support/xdlfcn.c: Include <stddef.h>.
24387
4ca945e9
L
243882017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24389
24390 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24391
1b6e07f8
PM
243922017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24393 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24394
e6a1c5dc
PM
24395 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24396 (sysdeps_routines): Add memset-niagara7.
24397 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24398 Likewise.
24399 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24400 file.
24401 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24402 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24403 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24404 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24405 Add niagara7 option.
24406 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24407 memset.
24408
1b6e07f8
PM
24409 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24410 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24411 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24412 Likewise.
24413 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24414 New file.
24415 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24417 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24418 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24419 and __memmove_niagara7.
24420 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24421 Add niagara7 option.
24422 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24423 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24424 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24425 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24426 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24427
bfb7bf22
JM
244282017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24429
767a26d6
JM
24430 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24431 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24432 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24433 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24434
bfb7bf22
JM
24435 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24436 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24437 _dl_sparc_cap_flags array.
24438 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24439
2bce01eb
SP
244402017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24441
24442 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24443 time whenever possible.
24444
363e4519 244452017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
24446
24447 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24448 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24449
6f7c0092
JM
244502017-12-12 Joseph Myers <joseph@codesourcery.com>
24451
24452 * soft-fp/fmadf4.c: Move to ....
24453 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24454 * soft-fp/fmasf4.c: Move to ....
24455 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24456 * soft-fp/fmatf4.c: Move to ....
24457 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24458 * sysdeps/ieee754/soft-fp/Makefile: New file.
24459 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24460 * sysdeps/arm/preconfigure: Regenerated.
24461 * sysdeps/arm/nofpu/Implies: New file.
24462 * sysdeps/arm/s_fma.c: Remove file.
24463 * sysdeps/arm/s_fmaf.c: Likewise.
24464 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24465 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24466 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24467 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24468 * sysdeps/microblaze/s_fma.c: Remove file.
24469 * sysdeps/microblaze/s_fmaf.c: Likewise.
24470 * sysdeps/mips/mips32/nofpu/Implies: New file.
24471 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24472 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24473 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24474 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24475 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24476 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24477 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24478 implementation.
24479 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24480 * sysdeps/nios2/s_fma.c: Remove file.
24481 * sysdeps/nios2/s_fmaf.c: Likewise.
24482 * sysdeps/sh/nofpu/Implies: New file.
24483 * sysdeps/sh/s_fma.c: Remove file.
24484 * sysdeps/sh/s_fmaf.c: Likewise.
24485 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24486 * sysdeps/tile/s_fma.c: Remove file.
24487 * sysdeps/tile/s_fmaf.c: Likewise.
24488
ac817e08
L
244892017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24492 Add s_cosf-sse2 and s_cosf-fma.
24493 (CFLAGS-s_cosf-fma.c): New.
24494 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24495 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24496 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24497
eb428576
SE
244982017-12-12 Steve Ellcey <sellcey@cavium.com>
24499
24500 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24501
c80acdc3
AZ
245022017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24503
cc683f7e
AZ
24504 * libio/Makefile (tests): Add tst-bz22415.
24505 (tst-bz22415-ENV): New rule.
24506 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24507 (tests-special): Add tst-bz22415-mem.out.
24508 ($(objpfx)tst-bz22415-mem.out): New rule.
24509 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24510 in case of a successful seek operation.
24511 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24512 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24513 buffer is required.
24514 * libio/tst-bz22415.c: New test.
24515
c80acdc3
AZ
24516 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24517
363e4519 245182017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
24519
24520 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24521 __IPC_64 to 0 to avoid IPC_64 being set.
24522
4e0dca54
SN
245232017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24524
24525 [BZ #22593]
24526 * math/bits/mathcalls.h (nextafter): Remove const.
24527 (nexttoward): Likewise.
24528
8df5d347
JM
245292017-12-12 Joseph Myers <joseph@codesourcery.com>
24530
24531 * configure.ac (--with-fp): Remove configure option.
24532 (with_fp_cond): New variable.
24533 (libc_cv_with_fp): New configure test. Use this variable instead
24534 of with_fp.
24535 * configure: Regenerated.
24536 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24537 * manual/install.texi (Configuring and compiling): Remove
24538 --without-fp.
24539 * INSTALL: Regenerated.
24540 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24541 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24542 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24543 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24544 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24545 use --without-fp to configure glibc.
24546
0cee1257
RJ
245472017-12-12 Rical Jasan <ricaljasan@pacific.net>
24548
24549 * manual/locale.texi (nl_langinfo): Fix a typo.
24550
363e4519 245512017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
24552
24553 [BZ #22588]
24554 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24555
36975e8e
L
245562017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24557
24558 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24559 (CFLAGS-argp-parse.c): Likewise.
24560 (CFLAGS-argp-fmtstream.c): Likewise.
24561 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24562 (CPPFLAGS-sha512-crypt.c): Likewise.
24563 (CPPFLAGS-md5-crypt.c): Likewise.
24564 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24565 (CFLAGS-stack_chk_fail_local.c): Likewise.
24566 (CFLAGS-backtrace.c): Likewise.
24567 (CFLAGS-sprintf_chk.c): Likewise.
24568 (CFLAGS-snprintf_chk.c): Likewise.
24569 (CFLAGS-vsprintf_chk.c): Likewise.
24570 (CFLAGS-vsnprintf_chk.c): Likewise.
24571 (CFLAGS-asprintf_chk.c): Likewise.
24572 (CFLAGS-vasprintf_chk.c): Likewise.
24573 (CFLAGS-obprintf_chk.c): Likewise.
24574 (CFLAGS-dprintf_chk.c): Likewise.
24575 (CFLAGS-vdprintf_chk.c): Likewise.
24576 (CFLAGS-printf_chk.c): Likewise.
24577 (CFLAGS-fprintf_chk.c): Likewise.
24578 (CFLAGS-vprintf_chk.c): Likewise.
24579 (CFLAGS-vfprintf_chk.c): Likewise.
24580 (CFLAGS-gets_chk.c): Likewise.
24581 (CFLAGS-fgets_chk.c): Likewise.
24582 (CFLAGS-fgets_u_chk.c): Likewise.
24583 (CFLAGS-fread_chk.c): Likewise.
24584 (CFLAGS-fread_u_chk.c): Likewise.
24585 (CFLAGS-swprintf_chk.c): Likewise.
24586 (CFLAGS-vswprintf_chk.c): Likewise.
24587 (CFLAGS-wprintf_chk.c): Likewise.
24588 (CFLAGS-fwprintf_chk.c): Likewise.
24589 (CFLAGS-vwprintf_chk.c): Likewise.
24590 (CFLAGS-vfwprintf_chk.c): Likewise.
24591 (CFLAGS-fgetws_chk.c): Likewise.
24592 (CFLAGS-fgetws_u_chk.c): Likewise.
24593 (CFLAGS-read_chk.c): Likewise.
24594 (CFLAGS-pread_chk.c): Likewise.
24595 (CFLAGS-pread64_chk.c): Likewise.
24596 (CFLAGS-recv_chk.c): Likewise.
24597 (CFLAGS-recvfrom_chk.c): Likewise.
24598 (CFLAGS-tst-longjmp_chk.c): Likewise.
24599 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24600 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24601 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24602 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24603 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24604 (CFLAGS-tst-chk1.c): Likewise.
24605 (CFLAGS-tst-chk2.c): Likewise.
24606 (CFLAGS-tst-chk3.c): Likewise.
24607 (CFLAGS-tst-chk4.cc): Likewise.
24608 (CFLAGS-tst-chk5.cc): Likewise.
24609 (CFLAGS-tst-chk6.cc): Likewise.
24610 (CFLAGS-tst-lfschk1.c): Likewise.
24611 (CFLAGS-tst-lfschk2.c): Likewise.
24612 (CFLAGS-tst-lfschk3.c): Likewise.
24613 (CFLAGS-tst-lfschk4.cc): Likewise.
24614 (CFLAGS-tst-lfschk5.cc): Likewise.
24615 (CFLAGS-tst-lfschk6.cc): Likewise.
24616 (CFLAGS-tst-ssp-1.c): Likewise.
24617 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24618 (CFLAGS-scandir64.c): Likewise.
24619 (CFLAGS-scandir-tail.c): Likewise.
24620 (CFLAGS-scandir64-tail.c): Likewise.
24621 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24622 (CFLAGS-dl-tunables.c): Likewise.
24623 (CFLAGS-dl-runtime.c): Likewise.
24624 (CFLAGS-dl-lookup.c): Likewise.
24625 (CFLAGS-dl-iterate-phdr.c): Likewise.
24626 (CFLAGS-vismain.c): Likewise.
24627 (CFLAGS-tst-linkall-static.c): Likewise.
24628 (CFLAGS-tst-linkall-static.c): Likewise.
24629 (CPPFLAGS-dl-load.c): Likewise.
24630 (CFLAGS-ldconfig.c): Likewise.
24631 (CFLAGS-dl-cache.c): Likewise.
24632 (CFLAGS-cache.c): Likewise.
24633 (CFLAGS-rtld.c): Likewise.
24634 (CFLAGS-multiload.c): Likewise.
24635 (CFLAGS-filtmod1.c): Likewise.
24636 (CFLAGS-tst-align.c): Likewise.
24637 (CFLAGS-tst-align2.c): Likewise.
24638 (CFLAGS-tst-alignmod.c): Likewise.
24639 (CFLAGS-tst-alignmod2.c): Likewise.
24640 (CPPFLAGS-tst-execstack.c): Likewise.
24641 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24642 (CFLAGS-tst-latepthreadmod.c): Likewise.
24643 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24644 (CFLAGS-getgrnam_r.c): Likewise.
24645 (CFLAGS-getgrent_r.c): Likewise.
24646 (CFLAGS-getgrent.c): Likewise.
24647 (CFLAGS-fgetgrent.c): Likewise.
24648 (CFLAGS-fgetgrent_r.c): Likewise.
24649 (CFLAGS-putgrent.c): Likewise.
24650 (CFLAGS-initgroups.c): Likewise.
24651 (CFLAGS-getgrgid.c): Likewise.
24652 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24653 (CFLAGS-getsgent.c): Likewise.
24654 (CFLAGS-fgetsgent.c): Likewise.
24655 (CFLAGS-fgetsgent_r.c): Likewise.
24656 (CFLAGS-putsgent.c): Likewise.
24657 (CFLAGS-getsgnam.c): Likewise.
24658 (CFLAGS-getsgnam_r.c): Likewise.
24659 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24660 (CFLAGS-iconv_charmap.c): Likewise.
24661 (CFLAGS-dummy-repertoire.c): Likewise.
24662 (CFLAGS-charmap.c): Likewise.
24663 (CFLAGS-linereader.c): Likewise.
24664 (CFLAGS-simple-hash.c): Likewise.
24665 (CFLAGS-gconv_conf.c): Likewise.
24666 (CFLAGS-iconvconfig.c): Likewise.
24667 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24668 (CFLAGS-gethstbyad.c): Likewise.
24669 (CFLAGS-gethstbynm_r.c): Likewise.
24670 (CFLAGS-gethstbynm.c): Likewise.
24671 (CFLAGS-gethstbynm2_r.c): Likewise.
24672 (CFLAGS-gethstbynm2.c): Likewise.
24673 (CFLAGS-gethstent_r.c): Likewise.
24674 (CFLAGS-gethstent.c): Likewise.
24675 (CFLAGS-rcmd.c): Likewise.
24676 (CFLAGS-getnetbynm_r.c): Likewise.
24677 (CFLAGS-getnetbynm.c): Likewise.
24678 (CFLAGS-getnetbyad_r.c): Likewise.
24679 (CFLAGS-getnetbyad.c): Likewise.
24680 (CFLAGS-getnetent_r.c): Likewise.
24681 (CFLAGS-getnetent.c): Likewise.
24682 (CFLAGS-getaliasent_r.c): Likewise.
24683 (CFLAGS-getaliasent.c): Likewise.
24684 (CFLAGS-getrpcent_r.c): Likewise.
24685 (CFLAGS-getrpcent.c): Likewise.
24686 (CFLAGS-getservent_r.c): Likewise.
24687 (CFLAGS-getservent.c): Likewise.
24688 (CFLAGS-getprtent_r.c): Likewise.
24689 (CFLAGS-getprtent.c): Likewise.
24690 (CFLAGS-either_ntoh.c): Likewise.
24691 (CFLAGS-either_hton.c): Likewise.
24692 (CFLAGS-getnetgrent.c): Likewise.
24693 (CFLAGS-getnetgrent_r.c): Likewise.
24694 (CFLAGS-tst-checks-posix.c): Likewise.
24695 (CFLAGS-tst-sockaddr.c): Likewise.
24696 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24697 (CFLAGS-tst-translit.c): Likewise.
24698 (CFLAGS-tst-gettext2.c): Likewise.
24699 (CFLAGS-tst-codeset.c): Likewise.
24700 (CFLAGS-tst-gettext3.c): Likewise.
24701 (CFLAGS-tst-gettext4.c): Likewise.
24702 (CFLAGS-tst-gettext5.c): Likewise.
24703 (CFLAGS-tst-gettext6.c): Likewise.
24704 * io/Makefile (CFLAGS-open.c): Likewise.
24705 (CFLAGS-open64.c): Likewise.
24706 (CFLAGS-creat.c): Likewise.
24707 (CFLAGS-creat64.c): Likewise.
24708 (CFLAGS-fcntl.c): Likewise.
24709 (CFLAGS-poll.c): Likewise.
24710 (CFLAGS-ppoll.c): Likewise.
24711 (CFLAGS-lockf.c): Likewise.
24712 (CFLAGS-statfs.c): Likewise.
24713 (CFLAGS-fstatfs.c): Likewise.
24714 (CFLAGS-statvfs.c): Likewise.
24715 (CFLAGS-fstatvfs.c): Likewise.
24716 (CFLAGS-fts.c): Likewise.
24717 (CFLAGS-fts64.c): Likewise.
24718 (CFLAGS-ftw.c): Likewise.
24719 (CFLAGS-ftw64.c): Likewise.
24720 (CFLAGS-lockf.c): Likewise.
24721 (CFLAGS-posix_fallocate.c): Likewise.
24722 (CFLAGS-posix_fallocate64.c): Likewise.
24723 (CFLAGS-fallocate.c): Likewise.
24724 (CFLAGS-fallocate64.c): Likewise.
24725 (CFLAGS-read.c): Likewise.
24726 (CFLAGS-write.c): Likewise.
24727 (CFLAGS-test-stat.c): Likewise.
24728 (CFLAGS-test-lfs.c): Likewise.
24729 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24730 (CFLAGS-fputc.c): Likewise.
24731 (CFLAGS-fputwc.c): Likewise.
24732 (CFLAGS-freopen64.c): Likewise.
24733 (CFLAGS-freopen.c): Likewise.
24734 (CFLAGS-fseek.c): Likewise.
24735 (CFLAGS-fseeko64.c): Likewise.
24736 (CFLAGS-fseeko.c): Likewise.
24737 (CFLAGS-ftello64.c): Likewise.
24738 (CFLAGS-ftello.c): Likewise.
24739 (CFLAGS-fwide.c): Likewise.
24740 (CFLAGS-genops.c): Likewise.
24741 (CFLAGS-getc.c): Likewise.
24742 (CFLAGS-getchar.c): Likewise.
24743 (CFLAGS-getwc.c): Likewise.
24744 (CFLAGS-getwchar.c): Likewise.
24745 (CFLAGS-iofclose.c): Likewise.
24746 (CFLAGS-iofflush.c): Likewise.
24747 (CFLAGS-iofgetpos64.c): Likewise.
24748 (CFLAGS-iofgetpos.c): Likewise.
24749 (CFLAGS-iofgets.c): Likewise.
24750 (CFLAGS-iofgetws.c): Likewise.
24751 (CFLAGS-iofputs.c): Likewise.
24752 (CFLAGS-iofputws.c): Likewise.
24753 (CFLAGS-iofread.c): Likewise.
24754 (CFLAGS-iofsetpos64.c): Likewise.
24755 (CFLAGS-iofsetpos.c): Likewise.
24756 (CFLAGS-ioftell.c): Likewise.
24757 (CFLAGS-iofwrite.c): Likewise.
24758 (CFLAGS-iogetdelim.c): Likewise.
24759 (CFLAGS-iogetline.c): Likewise.
24760 (CFLAGS-iogets.c): Likewise.
24761 (CFLAGS-iogetwline.c): Likewise.
24762 (CFLAGS-ioputs.c): Likewise.
24763 (CFLAGS-ioseekoff.c): Likewise.
24764 (CFLAGS-ioseekpos.c): Likewise.
24765 (CFLAGS-iosetbuffer.c): Likewise.
24766 (CFLAGS-iosetvbuf.c): Likewise.
24767 (CFLAGS-ioungetc.c): Likewise.
24768 (CFLAGS-ioungetwc.c): Likewise.
24769 (CFLAGS-oldfileops.c): Likewise.
24770 (CFLAGS-oldiofclose.c): Likewise.
24771 (CFLAGS-oldiofgetpos64.c): Likewise.
24772 (CFLAGS-oldiofgetpos.c): Likewise.
24773 (CFLAGS-oldiofsetpos64.c): Likewise.
24774 (CFLAGS-oldiofsetpos.c): Likewise.
24775 (CFLAGS-peekc.c): Likewise.
24776 (CFLAGS-putc.c): Likewise.
24777 (CFLAGS-putchar.c): Likewise.
24778 (CFLAGS-putwc.c): Likewise.
24779 (CFLAGS-putwchar.c): Likewise.
24780 (CFLAGS-rewind.c): Likewise.
24781 (CFLAGS-wfileops.c): Likewise.
24782 (CFLAGS-wgenops.c): Likewise.
24783 (CFLAGS-oldiofopen.c): Likewise.
24784 (CFLAGS-iofopen.c): Likewise.
24785 (CFLAGS-iofopen64.c): Likewise.
24786 (CFLAGS-oldtmpfile.c): Likewise.
24787 (CFLAGS-tst_putwc.c): Likewise.
24788 * locale/Makefile (CFLAGS-md5.c): Likewise.
24789 (CFLAGS-charmap.c): Likewise.
24790 (CFLAGS-locfile.c): Likewise.
24791 (CFLAGS-charmap-dir.c): Likewise.
24792 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24793 (CFLAGS-getpt.c): Likewise.
24794 (CFLAGS-pt_chown.c): Likewise.
24795 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24796 (CFLAGS-obstack.c): Likewise.
24797 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24798 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24799 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24800 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24801 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24802 (CFLAGS-test-tgmath.c): Likewise.
24803 (CFLAGS-test-tgmath2.c): Likewise.
24804 (CFLAGS-test-tgmath-ret.c): Likewise.
24805 (CFLAGS-test-powl.c): Likewise.
24806 (CFLAGS-test-snan.c): Likewise.
24807 (CFLAGS-test-signgam-finite.c): Likewise.
24808 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24809 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24810 (CFLAGS-test-signgam-uchar.c): Likewise.
24811 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24812 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24813 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24814 (CFLAGS-test-signgam-uint.c): Likewise.
24815 (CFLAGS-test-signgam-uint-init.c): Likewise.
24816 (CFLAGS-test-signgam-uint-static.c): Likewise.
24817 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24818 (CFLAGS-test-signgam-ullong.c): Likewise.
24819 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24820 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24821 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24822 (CFLAGS-test-math-cxx11.cc): Likewise.
24823 (CFLAGS-test-math-isinff.cc): Likewise.
24824 (CFLAGS-test-math-iszero.cc): Likewise.
24825 (CFLAGS-test-math-issignaling.cc): Likewise.
24826 (CFLAGS-test-math-iscanonical.cc): Likewise.
24827 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24828 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24829 (CFLAGS-test-flt-eval-method.c): Likewise.
24830 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24831 (CFLAGS-test-finite-macros.c): Likewise.
24832 * misc/Makefile (CFLAGS-select.c): Likewise.
24833 (CFLAGS-tsearch.c): Likewise.
24834 (CFLAGS-lsearch.c): Likewise.
24835 (CFLAGS-pselect.c): Likewise.
24836 (CFLAGS-readv.c): Likewise.
24837 (CFLAGS-writev.c): Likewise.
24838 (CFLAGS-preadv.c): Likewise.
24839 (CFLAGS-preadv64.c): Likewise.
24840 (CFLAGS-pwritev.c): Likewise.
24841 (CFLAGS-pwritev64.c): Likewise.
24842 (CFLAGS-preadv2.c): Likewise.
24843 (CFLAGS-preadv64v2.c): Likewise.
24844 (CFLAGS-pwritev2.c): Likewise.
24845 (CFLAGS-pwritev64v2.c): Likewise.
24846 (CFLAGS-usleep.c): Likewise.
24847 (CFLAGS-syslog.c): Likewise.
24848 (CFLAGS-error.c): Likewise.
24849 (CFLAGS-getpass.c): Likewise.
24850 (CFLAGS-mkstemp.c): Likewise.
24851 (CFLAGS-mkstemp64.c): Likewise.
24852 (CFLAGS-getsysstats.c): Likewise.
24853 (CFLAGS-getusershell.c): Likewise.
24854 (CFLAGS-err.c): Likewise.
24855 (CFLAGS-tst-tsearch.c): Likewise.
24856 (CFLAGS-msync.c): Likewise.
24857 (CFLAGS-fdatasync.c): Likewise.
24858 (CFLAGS-fsync.c): Likewise.
24859 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24860 (CFLAGS-unwind.c): Likewise.
24861 (CFLAGS-unwind-forcedunwind.c): Likewise.
24862 (CFLAGS-pthread_cancel.c): Likewise.
24863 (CFLAGS-pthread_setcancelstate.c): Likewise.
24864 (CFLAGS-pthread_setcanceltype.c): Likewise.
24865 (CFLAGS-cancellation.c): Likewise.
24866 (CFLAGS-libc-cancellation.c): Likewise.
24867 (CFLAGS-pthread_exit.c): Likewise.
24868 (CFLAGS-forward.c): Likewise.
24869 (CFLAGS-pthread_testcancel.c): Likewise.
24870 (CFLAGS-pthread_join.c): Likewise.
24871 (CFLAGS-pthread_timedjoin.c): Likewise.
24872 (CFLAGS-pthread_once.c): Likewise.
24873 (CFLAGS-pthread_cond_wait.c): Likewise.
24874 (CFLAGS-sem_wait.c): Likewise.
24875 (CFLAGS-sem_timedwait.c): Likewise.
24876 (CFLAGS-fcntl.c): Likewise.
24877 (CFLAGS-lockf.c): Likewise.
24878 (CFLAGS-pread.c): Likewise.
24879 (CFLAGS-pread64.c): Likewise.
24880 (CFLAGS-pwrite.c): Likewise.
24881 (CFLAGS-pwrite64.c): Likewise.
24882 (CFLAGS-wait.c): Likewise.
24883 (CFLAGS-waitpid.c): Likewise.
24884 (CFLAGS-sigwait.c): Likewise.
24885 (CFLAGS-msgrcv.c): Likewise.
24886 (CFLAGS-msgsnd.c): Likewise.
24887 (CFLAGS-tcdrain.c): Likewise.
24888 (CFLAGS-open.c): Likewise.
24889 (CFLAGS-open64.c): Likewise.
24890 (CFLAGS-pause.c): Likewise.
24891 (CFLAGS-recv.c): Likewise.
24892 (CFLAGS-send.c): Likewise.
24893 (CFLAGS-accept.c): Likewise.
24894 (CFLAGS-sendto.c): Likewise.
24895 (CFLAGS-connect.c): Likewise.
24896 (CFLAGS-recvfrom.c): Likewise.
24897 (CFLAGS-recvmsg.c): Likewise.
24898 (CFLAGS-sendmsg.c): Likewise.
24899 (CFLAGS-close.c): Likewise.
24900 (CFLAGS-read.c): Likewise.
24901 (CFLAGS-write.c): Likewise.
24902 (CFLAGS-nanosleep.c): Likewise.
24903 (CFLAGS-sigsuspend.c): Likewise.
24904 (CFLAGS-msync.c): Likewise.
24905 (CFLAGS-fdatasync.c): Likewise.
24906 (CFLAGS-fsync.c): Likewise.
24907 (CFLAGS-pt-system.c): Likewise.
24908 (CFLAGS-tst-cleanup2.c): Likewise.
24909 (CFLAGS-tst-cleanupx2.c): Likewise.
24910 (CFLAGS-flockfile.c): Likewise.
24911 (CFLAGS-ftrylockfile.c): Likewise.
24912 (CFLAGS-funlockfile.c): Likewise.
24913 (CFLAGS-tst-initializers1.c): Likewise.
24914 (CFLAGS-tst-initializers1-c89.c): Likewise.
24915 (CFLAGS-tst-initializers1-c99.c): Likewise.
24916 (CFLAGS-tst-initializers1-c11.c): Likewise.
24917 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24918 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24919 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24920 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24921 (CFLAGS-nscd_getgr_r.c): Likewise.
24922 (CFLAGS-nscd_gethst_r.c): Likewise.
24923 (CFLAGS-nscd_getai.c): Likewise.
24924 (CFLAGS-nscd_initgroups.c): Likewise.
24925 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24926 (CFLAGS-pause.c): Likewise.
24927 (CFLAGS-pread.c): Likewise.
24928 (CFLAGS-pread64.c): Likewise.
24929 (CFLAGS-pwrite.c): Likewise.
24930 (CFLAGS-pwrite64.c): Likewise.
24931 (CFLAGS-sleep.c): Likewise.
24932 (CFLAGS-wait.c): Likewise.
24933 (CFLAGS-waitid.c): Likewise.
24934 (CFLAGS-waitpid.c): Likewise.
24935 (CFLAGS-getopt.c): Likewise.
24936 (CFLAGS-wordexp.c): Likewise.
24937 (CFLAGS-sysconf.c): Likewise.
24938 (CFLAGS-pathconf.c): Likewise.
24939 (CFLAGS-fpathconf.c): Likewise.
24940 (CFLAGS-spawn.c): Likewise.
24941 (CFLAGS-spawnp.c): Likewise.
24942 (CFLAGS-spawni.c): Likewise.
24943 (CFLAGS-glob.c): Likewise.
24944 (CFLAGS-glob64.c): Likewise.
24945 (CFLAGS-getconf.c): Likewise.
24946 (CFLAGS-nanosleep.c): Likewise.
24947 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24948 (CFLAGS-getpwent.c): Likewise.
24949 (CFLAGS-getpw.c): Likewise.
24950 (CFLAGS-fgetpwent_r.c): Likewise.
24951 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24952 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24953 (CFLAGS-mq_timedreceive.c): Likewise.
24954 (CFLAGS-mq_timedsend.c): Likewise.
24955 (CFLAGS-clock_nanosleep.c): Likewise.
24956 (CFLAGS-librt-cancellation.c): Likewise.
24957 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24958 (CFLAGS-getspent.c): Likewise.
24959 (CFLAGS-fgetspent.c): Likewise.
24960 (CFLAGS-fgetspent_r.c): Likewise.
24961 (CFLAGS-putspent.c): Likewise.
24962 (CFLAGS-getspnam.c): Likewise.
24963 (CFLAGS-getspnam_r.c): Likewise.
24964 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24965 (CFLAGS-sigsuspend.c): Likewise.
24966 (CFLAGS-sigtimedwait.c): Likewise.
24967 (CFLAGS-sigwait.c): Likewise.
24968 (CFLAGS-sigwaitinfo.c): Likewise.
24969 (CFLAGS-sigreturn.c): Likewise.
24970 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24971 (CFLAGS-vfwprintf.c): Likewise.
24972 (CFLAGS-tmpfile.c): Likewise.
24973 (CFLAGS-tmpfile64.c): Likewise.
24974 (CFLAGS-tempname.c): Likewise.
24975 (CFLAGS-psignal.c): Likewise.
24976 (CFLAGS-vprintf.c): Likewise.
24977 (CFLAGS-cuserid.c): Likewise.
24978 (CFLAGS-errlist.c): Likewise.
24979 (CFLAGS-siglist.c): Likewise.
24980 (CFLAGS-scanf15.c): Likewise.
24981 (CFLAGS-scanf17.c): Likewise.
24982 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24983 (CFLAGS-msort.c): Likewise.
24984 (CFLAGS-qsort.c): Likewise.
24985 (CFLAGS-system.c): Likewise.
24986 (CFLAGS-fmtmsg.c): Likewise.
24987 (CFLAGS-strfmon.c): Likewise.
24988 (CFLAGS-strfmon_l.c): Likewise.
24989 (CFLAGS-strfromd.c): Likewise.
24990 (CFLAGS-strfromf.c): Likewise.
24991 (CFLAGS-strfroml.c): Likewise.
24992 (CFLAGS-tst-bsearch.c): Likewise.
24993 (CFLAGS-tst-qsort.c): Likewise.
24994 (CFLAGS-tst-makecontext2.c): Likewise.
24995 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24996 (CFLAGS-xnlm_prot.c): Likewise.
24997 (CFLAGS-xrstat.c): Likewise.
24998 (CFLAGS-xyppasswd.c): Likewise.
24999 (CFLAGS-xklm_prot.c): Likewise.
25000 (CFLAGS-xrex.c): Likewise.
25001 (CFLAGS-xsm_inter.c): Likewise.
25002 (CFLAGS-xmount.c): Likewise.
25003 (CFLAGS-xrusers.c): Likewise.
25004 (CFLAGS-xspray.c): Likewise.
25005 (CFLAGS-xnfs_prot.c): Likewise.
25006 (CFLAGS-xrquota.c): Likewise.
25007 (CFLAGS-xkey_prot.c): Likewise.
25008 (CFLAGS-auth_unix.c): Likewise.
25009 (CFLAGS-key_call.c): Likewise.
25010 (CFLAGS-pmap_rmt.c): Likewise.
25011 (CFLAGS-clnt_perr.c): Likewise.
25012 (CFLAGS-openchild.c): Likewise.
25013 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25014 (CFLAGS-msgsnd.c): Likewise.
25015 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25016 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25017 (CFLAGS-tzset.c): Likewise.
25018 (CFLAGS-getdate.c): Likewise.
25019 (CFLAGS-test_time.c): Likewise.
25020 (CPPFLAGS-tst-tzname.c): Likewise.
25021 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25022 (CFLAGS-zic.c): Likewise.
25023 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25024 (CFLAGS-wcswidth.c): Likewise.
25025 (CFLAGS-wcstol.c): Likewise.
25026 (CFLAGS-wcstoul.c): Likewise.
25027 (CFLAGS-wcstoll.c): Likewise.
25028 (CFLAGS-wcstoull.c): Likewise.
25029 (CFLAGS-wcstod.c): Likewise.
25030 (CFLAGS-wcstold.c): Likewise.
25031 (CFLAGS-wcstof128.c): Likewise.
25032 (CFLAGS-wcstof.c): Likewise.
25033 (CFLAGS-wcstol_l.c): Likewise.
25034 (CFLAGS-wcstoul_l.c): Likewise.
25035 (CFLAGS-wcstoll_l.c): Likewise.
25036 (CFLAGS-wcstoull_l.c): Likewise.
25037 (CFLAGS-wcstod_l.c): Likewise.
25038 (CFLAGS-wcstold_l.c): Likewise.
25039 (CFLAGS-wcstof128_l.c): Likewise.
25040 (CFLAGS-wcstof_l.c): Likewise.
25041 (CPPFLAGS-tst-wchar-h.c): Likewise.
25042 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 25043
f4b2aea6
PC
250442017-12-11 Paul A. Clarke <pc@us.ibm.com>
25045
25046 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25047
c9cd7b0c
AZ
250482017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25049 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25050
25051 * manual/tunables.texi (Hardware Capability Tunables): Document
25052 glibc.tune.cached_memopt.
25053 * sysdeps/powerpc/cpu-features.c: New file.
25054 * sysdeps/powerpc/cpu-features.h: New file.
25055 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25056 _dl_powerpc_cpu_features.
25057 * sysdeps/powerpc/dl-tunables.list: New file.
25058 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25059 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25060 (INIT_ARCH): Initialize use_aligned_memopt.
25061 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25062 IS_IN(rtld))]: Restrict dl_platform_init availability and
25063 initialize CPU features used by tunables.
25064 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25065 Add memcpy-power8-cached.
25066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25067 __memcpy_power8_cached.
25068 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25069 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25070 New file.
25071
e70c6fee
L
250722017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25073
25074 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25075 (CFLAGS-noinl-tester.c): Likewise.
25076 (CFLAGS-tst-strlen.c): Likewise.
25077 (CFLAGS-stratcliff.c): Likewise.
25078 (CFLAGS-test-ffs.c): Likewise.
25079 (CFLAGS-tst-inlcall.c): Likewise.
25080 (CFLAGS-tst-xbzero-opt.c): Likewise.
25081 (CFLAGS-memcpy.c): Likewise.
25082 (CFLAGS-wordcopy.c): Likewise.
25083
dee94366
SL
250842017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25085
25086 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25087 Store r15 on stack and add cfi rule.
25088 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25089 Likewise.
25090
363e4519 250912017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
25092
25093 [BZ #22577]
25094 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25095 call.
25096
9d0ffa60
L
250972017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25098
25099 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25100 Add s_sinf-sse2 and s_sinf-fma.
25101 (CFLAGS-s_sinf-fma.c): New.
25102 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25103 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25104 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25105
9574c7b6
L
251062017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25107
25108 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25109
d15e83c5
JM
251102017-12-07 Joseph Myers <joseph@codesourcery.com>
25111
25112 [BZ #22568]
25113 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25114 part of result to imaginary part of argument if it is zero and the
25115 real part of the argument is not finite.
25116 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25117 of result to real part of argument if it is zero and the imaginary
25118 part of the argument is not finite.
25119
d89756eb
MF
251202017-12-07 Mike FABIAN <mfabian@redhat.com>
25121
25122 [BZ #22524]
25123 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25124 and to the list of locales to be built for testing.
25125 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25126 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25127 and build the collation rules upon that.
25128
1f9055ce
JM
251292017-12-07 Joseph Myers <joseph@codesourcery.com>
25130
25131 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25132 * manual/math.texi (Mathematics): Document support for _Float32.
25133 * math/Makefile (test-types): Add float32.
25134 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25135 * stdlib/Versions (GLIBC_2.27): Likewise.
25136 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25137 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25139 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25140 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25141 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25142 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25143 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25144 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25151 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25152 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25153 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25154 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25155 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25156 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25157 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25158 Likewise.
25159 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25160 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25161 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25162 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25163 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25165 Likewise.
25166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25167 Likewise.
25168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25169 Likewise.
25170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25171 Likewise.
25172
25173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25174 Likewise.
25175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25176 Likewise.
25177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25178 Likewise.
25179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25180 Likewise.
25181 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25182 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25183 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25184 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25185 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25186 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25187 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25192 Likewise.
25193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25194 Likewise.
25195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25196 Likewise.
25197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25198 Likewise.
25199 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25202 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25203 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25204 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25205 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25206 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25207
5244527d
JM
252082017-12-06 Joseph Myers <joseph@codesourcery.com>
25209
fb1ca2aa
JM
25210 * stdlib/strtof.c: Include <bits/floatn.h>
25211 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25212 and later undefine as macro. Define as weak alias if
25213 [!USE_WIDE_CHAR].
25214 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25215 and later undefine as macro. Define as weak alias if
25216 [USE_WIDE_CHAR].
25217 * stdlib/strtof_l.c: Include <bits/floatn.h>
25218 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25219 and later undefine as macro. Define as weak alias if
25220 [!USE_WIDE_CHAR].
25221 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25222 and later undefine as macro. Define as weak alias if
25223 [USE_WIDE_CHAR].
25224
fc10cc3f
JM
25225 * stdlib/strfromf.c: Include <bits/floatn.h>.
25226 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25227 and later undefine as macro and define as weak alias.
25228
e420d228
JM
25229 * math/test-float32.h: New file.
25230
26007a2f
JM
25231 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25232 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25233 (libm_alias_float_other_r): Create f32 alias.
25234 (libm_alias_float_r): Use semicolon before call to
25235 libm_alias_float_other_r.
25236
c191f64c
JM
25237 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25238 second argument to libm_alias_float_other.
25239 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25240 second argument to libm_alias_float_other.
25241 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25242 argument to libm_alias_float_other.
25243
5244527d
JM
25244 [BZ #22561]
25245 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25246 real part of result for argument 0 + i * NaN.
25247 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25248 results for tests of 0 + i * NaN.
25249
d73fac82
AZ
252502017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25251
25252 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25253
7ec094e8
DM
252542017-12-06 David S. Miller <davem@davemloft.net>
25255
25256 * sysdeps/sparc/fpu/libm-test-ulps: Update
25257 exp_{downward,towardzero,upward} ulps.
25258
53994f12
JM
252592017-12-06 Joseph Myers <joseph@codesourcery.com>
25260
1dbe6f64
JM
25261 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25262 variables static.
25263
53994f12
JM
25264 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25265 (Y0_2D): Likewise.
25266 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25267 (Y0_2D): Likewise.
25268 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25269 (Y0_2D): Likewise.
25270 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25271 (Y0_2D): Likewise.
25272
62ea2193
MF
252732017-12-06 Mike FABIAN <mfabian@redhat.com>
25274
25275 [BZ #22515]
25276 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25277 and to the list of locales to be built for testing.
25278 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25279 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25280 and build the collation rules upon that.
25281
87235d70
RS
252822017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25283
25284 * NEWS: Add sinf to list of optimized functions.
25285
0d93b7fd
JM
252862017-12-06 Joseph Myers <joseph@codesourcery.com>
25287
25288 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25289 (__HAVE_FLOAT32X): Likewise.
25290 * manual/math.texi (Mathematics): Document support for _Float64
25291 and _Float32x.
25292 * math/Makefile (test-types): Add float64 and float32x.
25293 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25294 functions.
25295 * stdlib/Versions (GLIBC_2.27): Likewise.
25296 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25297 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25298 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25300 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25301 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25314 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25318 Likewise.
25319 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25325 Likewise.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25327 Likewise.
25328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25329 Likewise.
25330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25331 Likewise.
25332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25333 Likewise.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25335 Likewise.
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25337 Likewise.
25338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25339 Likewise.
25340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25343 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25344 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25345 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25346 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25348 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25349 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25351 Likewise.
25352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25353 Likewise.
25354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25355 Likewise.
25356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25357 Likewise.
25358 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25359 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25360 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25361 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25362 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25364 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25365 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25366
f7787234
JM
253672017-12-05 Joseph Myers <joseph@codesourcery.com>
25368
25369 * bits/floatn-common.h: Include <bits/long-double.h>.
25370 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25371 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25372 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25373 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25374 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25375 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25376 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25377 (__builtin_huge_valf64): Use __builtin_huge_vall.
25378 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25379 (__builtin_inff64): Use __builtin_infl.
25380 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25381 (__builtin_nanf64): Use __builtin_nanl.
25382 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25383 (__builtin_nansf64): Use __builtin_nansl.
25384
363e4519
DL
253852017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25386 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
e6855a3b 25387 Carlos O'Donell <carlos@redhat.com>
07ed18d2
RA
25388
25389 * elf/dl-tunables.list: Add elision parameters.
25390 * manual/tunables.texi: Add entries about elision tunable.
25391 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25392 Add callback functions to dynamically enable/disable elision.
25393 Add multiple callbacks functions to set elision parameters.
25394 Deleted __libc_enable_secure check.
25395 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25396 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25397 * configure: Regenerated.
25398 * configure.ac: Option enable_lock_elision was deleted.
25399 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25400 * config.make.in: Remove references to enable_lock_elision.
25401 * manual/install.texi: Elision configure option was removed.
25402 * INSTALL: Regenerated to remove enable_lock_elision.
25403 * nptl/Makefile:
25404 Disable elision so it can verify error case for destroying a mutex.
25405 * sysdeps/powerpc/nptl/elide.h:
25406 Cleanup ENABLE_LOCK_ELISION check.
25407 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25408 * sysdeps/s390/configure: Regenerated.
25409 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25410 * nptl/tst-mutex8.c:
25411 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25412 * sysdeps/powerpc/powerpc32/sysdep.h:
25413 Deleted all ENABLE_LOCK_ELISION checks.
25414 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25415 * sysdeps/powerpc/sysdep.h: Likewise.
25416 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25417 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25418 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25419 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25420 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25421 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25422 enable-lock-elision.
25423
a5a2a76b
JM
254242017-12-05 Joseph Myers <joseph@codesourcery.com>
25425
25426 * stdlib/strtod.c: Include <bits/floatn.h>.
25427 (BUILD_DOUBLE): New macro.
25428 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25429 (strtof64): Define and later undefine as macro. Define as weak
25430 alias if [!USE_WIDE_CHAR].
25431 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25432 (wcstof64): Define and later undefine as macro. Define as weak
25433 alias if [USE_WIDE_CHAR].
25434 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25435 (strtof32x): Define and later undefine as macro. Define as weak
25436 alias if [!USE_WIDE_CHAR].
25437 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25438 (wcstof32x): Define and later undefine as macro. Define as weak
25439 alias if [USE_WIDE_CHAR].
25440 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25441 (BUILD_DOUBLE): New macro.
25442 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25443 (strtof64_l): Define and later undefine as macro. Define as weak
25444 alias if [!USE_WIDE_CHAR].
25445 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25446 (wcstof64_l): Define and later undefine as macro. Define as weak
25447 alias if [USE_WIDE_CHAR].
25448 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25449 (strtof32x_l): Define and later undefine as macro. Define as weak
25450 alias if [!USE_WIDE_CHAR].
25451 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25452 (wcstof32x_l): Define and later undefine as macro. Define as weak
25453 alias if [USE_WIDE_CHAR].
25454
94d80dfc
AZ
254552017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25456
25457 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25458 (reduced): Use ones as double instead of integer.
25459
00d54af7
SN
254602017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25461
25462 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25463
f2d64d62
JM
254642017-12-05 Joseph Myers <joseph@codesourcery.com>
25465
1f70eae4
JM
25466 * stdlib/strfromd.c: Include <bits/floatn.h>.
25467 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25468 and later undefine as macro and define as weak alias.
25469 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25470 Likewise.
25471
e2c4dce5
JM
25472 * math/test-float32x.h: New file.
25473 * math/test-float64.h: Likewise.
25474
f2d64d62
JM
25475 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25476 (libm_alias_double_other_r_f64): New macro.
25477 (libm_alias_double_other_r_f32x): Likewise.
25478 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25479 libm_alias_double_other_r_f32x.
25480 (libm_alias_double_r): Use semicolon before call to
25481 libm_alias_double_other_r.
25482 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25483 <bits/floatn.h>.
25484 (libm_alias_double_other_r_f64): New macro.
25485 (libm_alias_double_other_r_f32x): Likewise.
25486 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25487 libm_alias_double_other_r_f32x.
25488
91c318e7
L
254892017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25490
25491 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25492 int.
25493 (SINF_FUNC): Likewise. Replace floor with simple casts.
25494
de9661d6
MF
254952017-12-05 Mike FABIAN <mfabian@redhat.com>
25496
25497 [BZ #22517]
25498 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25499 and to the list of locales to be built for testing.
25500 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25501 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25502 and build the collation rules upon that.
25503
f18b8dc7
CM
255042017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25505
25506 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25507 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25508 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25509 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25510 instead of __insn__xxx.
25511 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25512 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25513 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25514 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25515 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25516 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25517
446d22e9
FW
255182017-12-05 Florian Weimer <fweimer@redhat.com>
25519
25520 Linux: Implement interfaces for memory protection keys
25521 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25522 xsignal, xsysconf.
25523 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25524 * support/xunistd.h (xsysconf): Declare.
25525 * support/xraise.c: New file.
25526 * support/xsigaction.c: Likewise.
25527 * support/xsignal.c: Likewise.
25528 * support/xsysconf.c: Likewise.
25529 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25530 pkey_set, pkey_get, pkey_mprotect.
25531 [misc] (tests): Add tst-pkey.
25532 (tst-pkey): Link with -lpthread.
25533 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25534 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25535 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25536 (PKEY_DISABLE_WRITE): Define.
25537 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25538 Declare.
25539 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25540 (SEGV_PKUERR): Add.
25541 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25542 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25543 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25544 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25545 Add.
25546 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25547 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25548 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25549 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25550 * sysdeps/unix/sysv/linux/**.abilist: Update.
25551
da616c14
FW
255522017-12-05 Florian Weimer <fweimer@redhat.com>
25553
25554 * support/tst-test_compare.c (subprocess): Use long long instead
25555 of long argument for consistent type width across 32-bit and
25556 64-bit architectures.
25557 (do_test): Adjust expected output.
25558
216933b2
JM
255592017-12-05 Joseph Myers <joseph@codesourcery.com>
25560
25561 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25562 (cosf): Define using libm_alias_float.
25563 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25564 (fabsf): Define using libm_alias_float.
25565 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25566 (fmaf): Define using libm_alias_float.
25567 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25568 (rintf): Define using libm_alias_float.
25569 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25570 (sinf): Define using libm_alias_float.
25571 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25572 <libm-alias-float.h>.
25573 (modff): Define using libm_alias_float.
25574 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25575 <libm-alias-float.h>.
25576 (logbf): Define using libm_alias_float.
25577 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25578 <libm-alias-float.h>.
25579 (ceilf): Define using libm_alias_float.
25580 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25581 <libm-alias-float.h>.
25582 (copysignf): Define using libm_alias_float.
25583 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25584 <libm-alias-float.h>.
25585 (floorf): Define using libm_alias_float.
25586 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25587 <libm-alias-float.h>.
25588 (llrintf): Define using libm_alias_float.
25589 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25590 <libm-alias-float.h>.
25591 (llroundf): Define using libm_alias_float.
25592 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25593 <libm-alias-float.h>.
25594 (lrintf): Define using libm_alias_float.
25595 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25596 <libm-alias-float.h>.
25597 (lroundf): Define using libm_alias_float.
25598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25599 <libm-alias-float.h>.
25600 (nearbyintf): Define using libm_alias_float.
25601 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25602 <libm-alias-float.h>.
25603 (rintf): Define using libm_alias_float.
25604 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25605 <libm-alias-float.h>.
25606 (roundf): Define using libm_alias_float.
25607 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25608 <libm-alias-float.h>.
25609 (truncf): Define using libm_alias_float.
25610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25611 Include <libm-alias-float.h>.
25612 (ceilf): Define using libm_alias_float.
25613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25614 Include <libm-alias-float.h>.
25615 (copysignf): Define using libm_alias_float.
25616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25617 Include <libm-alias-float.h>.
25618 (floorf): Define using libm_alias_float.
25619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25620 Include <libm-alias-float.h>.
25621 (llrintf): Define using libm_alias_float.
25622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25623 Include <libm-alias-float.h>.
25624 (llroundf): Define using libm_alias_float.
25625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25626 Include <libm-alias-float.h>.
25627 (logbf): Define using libm_alias_float.
25628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25629 Include <libm-alias-float.h>.
25630 (lrintf): Define using libm_alias_float.
25631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25632 Include <libm-alias-float.h>.
25633 (lroundf): Define using libm_alias_float.
25634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25635 Include <libm-alias-float.h>.
25636 (modff): Define using libm_alias_float.
25637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25638 Include <libm-alias-float.h>.
25639 (roundf): Define using libm_alias_float.
25640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25641 Include <libm-alias-float.h>.
25642 (truncf): Define using libm_alias_float.
25643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25644 <libm-alias-float.h>.
25645 (llrintf): Define using libm_alias_float.
25646 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25647 <libm-alias-float.h>.
25648 (llroundf): Define using libm_alias_float.
25649 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25650 <libm-alias-float.h>.
25651 (ceilf): Define using libm_alias_float.
25652 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25653 <libm-alias-float.h>.
25654 (floorf): Define using libm_alias_float.
25655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25656 <libm-alias-float.h>.
25657 (llroundf): Define using libm_alias_float.
25658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25659 <libm-alias-float.h>.
25660 (lroundf): Define using libm_alias_float.
25661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25662 <libm-alias-float.h>.
25663 (roundf): Define using libm_alias_float.
25664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25665 <libm-alias-float.h>.
25666 (truncf): Define using libm_alias_float.
25667 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25668 <libm-alias-float.h>.
25669 (copysignf): Define using libm_alias_float.
25670 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25671 <libm-alias-float.h>.
25672 (llrintf): Define using libm_alias_float.
25673 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25674 <libm-alias-float.h>.
25675 (llroundf): Define using libm_alias_float.
25676 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25677 <libm-alias-float.h>.
25678 (lrintf): Define using libm_alias_float.
25679 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25680 <libm-alias-float.h>.
25681 (lroundf): Define using libm_alias_float.
25682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25683 <libm-alias-float.h>.
25684 (ceilf): Define using libm_alias_float.
25685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25686 <libm-alias-float.h>.
25687 (copysignf): Define using libm_alias_float.
25688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25689 <libm-alias-float.h>.
25690 (cosf): Define using libm_alias_float.
25691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25692 <libm-alias-float.h>.
25693 (floorf): Define using libm_alias_float.
25694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25695 <libm-alias-float.h>.
25696 (llrintf): Define using libm_alias_float.
25697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25698 <libm-alias-float.h>.
25699 (llroundf): Define using libm_alias_float.
25700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25701 <libm-alias-float.h>.
25702 (logbf): Define using libm_alias_float.
25703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25704 <libm-alias-float.h>.
25705 (modff): Define using libm_alias_float.
25706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25707 <libm-alias-float.h>.
25708 (roundf): Define using libm_alias_float.
25709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25710 <libm-alias-float.h>.
25711 (sinf): Define using libm_alias_float.
25712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25713 <libm-alias-float.h>.
25714 (truncf): Define using libm_alias_float.
25715 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25716 <libm-alias-float.h>.
25717 (ceilf): Define using libm_alias_float.
25718 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25719 <libm-alias-float.h>.
25720 (copysignf): Define using libm_alias_float.
25721 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25722 <libm-alias-float.h>.
25723 (floorf): Define using libm_alias_float.
25724 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25725 <libm-alias-float.h>.
25726 (llrintf): Define using libm_alias_float.
25727 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25728 <libm-alias-float.h>.
25729 (llroundf): Define using libm_alias_float.
25730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25731 <libm-alias-float.h>.
25732 (nearbyintf): Define using libm_alias_float.
25733 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25734 <libm-alias-float.h>.
25735 (rintf): Define using libm_alias_float.
25736 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25737 <libm-alias-float.h>.
25738 (roundf): Define using libm_alias_float.
25739 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25740 <libm-alias-float.h>.
25741 (truncf): Define using libm_alias_float.
25742 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25743 <libm-alias-float.h>.
25744 (ceilf): Define using libm_alias_float.
25745 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25746 <libm-alias-float.h>.
25747 (floorf): Define using libm_alias_float.
25748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25749 <libm-alias-float.h>.
25750 (llroundf): Define using libm_alias_float.
25751 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25752 <libm-alias-float.h>.
25753 (roundf): Define using libm_alias_float.
25754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25755 <libm-alias-float.h>.
25756 (truncf): Define using libm_alias_float.
25757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25758 <libm-alias-float.h>.
25759 (copysignf): Define using libm_alias_float.
25760 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25761 <libm-alias-float.h>.
25762 (llrintf): Define using libm_alias_float.
25763 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25764 <libm-alias-float.h>.
25765 (llroundf): Define using libm_alias_float.
25766 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25767 <libm-alias-float.h>.
25768 (cosf): Define using libm_alias_float.
25769 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25770 <libm-alias-float.h>.
25771 (llrintf): Define using libm_alias_float.
25772 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25773 <libm-alias-float.h>.
25774 (llroundf): Define using libm_alias_float.
25775 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25776 <libm-alias-float.h>.
25777 (sinf): Define using libm_alias_float.
25778
93485524
FW
257792017-12-04 Florian Weimer <fweimer@redhat.com>
25780
25781 * support/check.h (TEST_COMPARE): Define.
25782 (support_test_compare_failure): Declare.
25783 * support/Makefile (libsupport-routines): Add
25784 support_test_compare_failure.
25785 (tests): Add tst-test_compare.
25786 * support /support_test_compare_failure.c: New file.
25787 * support/tst-test_compare.c: Likewise.
25788
96b06a19
MF
257892017-12-04 Mike FABIAN <mfabian@redhat.com>
25790
25791 [BZ #22527]
25792 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25793 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25794 available, this rewrite of the collation rules does reproduce
25795 the test file in the same order.
25796
1f6d91f3
MF
257972017-12-04 Mike FABIAN <mfabian@redhat.com>
25798
25799 [BZ #10580]
25800 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25801 digraphs in the month and day names. Using single code points for
25802 digraphs is deprecated. While there are dedicated Unicode
25803 codepoints, for the digraphs, these are included for backwards
25804 compatibility and modern texts use a sequence of Basic Latin
25805 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25806 This makes the month and day names agree exactly with CLDR now,
25807 CLDR does not use the single code points for the digraphs either.
25808
2e49fed8
CM
258092017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25810
25811 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25812
73895b49
JM
258132017-12-04 Joseph Myers <joseph@codesourcery.com>
25814
25815 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25816 of floor.
25817
4c1d801a
SP
258182017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25819
25820 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25821 Define only for libc.so.
25822
478593e6
SL
258232017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25824
25825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25826 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 25827 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
25828 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25830
7863a711
RS
258312017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25832
25833 [BZ #5997]
25834 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25835
800a496a
JDA
258362017-12-02 John David Anglin <danglin@gcc.gnu.org>
25837
b3f7fb12
JDA
25838 [BZ libc/19170]
25839 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25840 PREINIT_FUNCTION_WEAK is nonzero.
25841 (gmon_initializer): New function. Put procedure label for it in
25842 .init_array section.
25843 (_init): Don't call PREINIT_FUNCTION.
25844 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25845 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25846 value when map argument is null.
25847
800a496a
JDA
25848 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25849 depi instruction from PIC pc-relative sequence.
25850 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25851 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25852 (elf_machine_load_address): Likewise.
25853 (elf_machine_runtime_setup): Likewise.
25854
d17542d2
JM
258552017-12-02 Joseph Myers <joseph@codesourcery.com>
25856
25857 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25858 <libm-alias-double.h>.
25859 (logb): Define using libm_alias_double.
25860 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25861 <libm-alias-double.h>.
25862 (copysign): Define using libm_alias_double.
25863 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25864 <libm-alias-double.h>.
25865 (llrint): Define using libm_alias_double.
25866 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25867 <libm-alias-double.h>.
25868 (llround): Define using libm_alias_double.
25869 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25870 <libm-alias-double.h>.
25871 (lrint): Define using libm_alias_double.
25872 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25873 <libm-alias-double.h>.
25874 (lround): Define using libm_alias_double.
25875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25876 Include <libm-alias-double.h>.
25877 (copysign): Define using libm_alias_double.
25878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25879 Include <libm-alias-double.h>.
25880 (llrint): Define using libm_alias_double.
25881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25882 Include <libm-alias-double.h>.
25883 (llround): Define using libm_alias_double.
25884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25885 <libm-alias-double.h>.
25886 (logb): Define using libm_alias_double.
25887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25888 Include <libm-alias-double.h>.
25889 (lrint): Define using libm_alias_double.
25890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25891 Include <libm-alias-double.h>.
25892 (lround): Define using libm_alias_double.
25893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25894 <libm-alias-double.h>.
25895 (llrint): Define using libm_alias_double.
25896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25897 <libm-alias-double.h>.
25898 (llround): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25900 <libm-alias-double.h>.
25901 (llround): Define using libm_alias_double.
25902 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25903 <libm-alias-double.h>.
25904 (lround): Define using libm_alias_double.
25905 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25906 <libm-alias-double.h>.
25907 (copysign): Define using libm_alias_double.
25908 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25909 <libm-alias-double.h>.
25910 (llrint): Define using libm_alias_double.
25911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25912 <libm-alias-double.h>.
25913 (llround): Define using libm_alias_double.
25914 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25915 <libm-alias-double.h>.
25916 (lrint): Define using libm_alias_double.
25917 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25918 <libm-alias-double.h>.
25919 (lround): Define using libm_alias_double.
25920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25921 <libm-alias-double.h>.
25922 (copysign): Define using libm_alias_double.
25923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25924 <libm-alias-double.h>.
25925 (llrint): Define using libm_alias_double.
25926 (lrint): Likewise.
25927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25928 <libm-alias-double.h>.
25929 (llround): Define using libm_alias_double.
25930 (lround): Likewise.
25931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25932 <libm-alias-double.h>.
25933 (logb): Define using libm_alias_double.
25934 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25935 <libm-alias-double.h>.
25936 (copysign): Define using libm_alias_double.
25937 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25938 <libm-alias-double.h>.
25939 (llrint): Define using libm_alias_double.
25940 (lrint): Likewise.
25941 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25942 <libm-alias-double.h>.
25943 (llround): Define using libm_alias_double.
25944 (lround): Likewise.
25945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25946 <libm-alias-double.h>.
25947 (llround): Define using libm_alias_double.
25948 (lround): Likewise.
25949 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25950 <libm-alias-double.h>.
25951 (copysign): Define using libm_alias_double.
25952 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25953 <libm-alias-double.h>.
25954 (llrint): Define using libm_alias_double.
25955 (lrint): Likewise.
25956 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25957 <libm-alias-double.h>.
25958 (llround): Define using libm_alias_double.
25959 (lround): Likewise.
25960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25961 <libm-alias-double.h>.
25962 (llrint): Define using libm_alias_double.
25963 (lrint): Likewise.
25964 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25965 <libm-alias-double.h>.
25966 (llround): Define using libm_alias_double.
25967 (lround): Likewise.
25968
ec2cf3f4
JM
259692017-12-01 Joseph Myers <joseph@codesourcery.com>
25970
0ddde474
JM
25971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25972 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25973 compat symbol based on llround.
25974
0d5ba561
JM
25975 * sysdeps/powerpc/power7/fpu/s_logb.c
25976 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25977 symbol based on __logb, not on logb.
25978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25979 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25981 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25982
51ea3b20
JM
25983 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25984 (rint): Define using libm_alias_double.
25985 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25986 <libm-alias-double.h>.
25987 (modf): Define using libm_alias_double.
25988 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25989 <libm-alias-double.h>.
25990 (ceil): Define using libm_alias_double.
25991 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25992 <libm-alias-double.h>.
25993 (floor): Define using libm_alias_double.
25994 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25995 <libm-alias-double.h>.
25996 (nearbyint): Define using libm_alias_double.
25997 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25998 <libm-alias-double.h>.
25999 (rint): Define using libm_alias_double.
26000 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26001 <libm-alias-double.h>.
26002 (round): Define using libm_alias_double.
26003 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26004 <libm-alias-double.h>.
26005 (trunc): Define using libm_alias_double.
26006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26007 <libm-alias-double.h>.
26008 (ceil): Define using libm_alias_double.
26009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26010 Include <libm-alias-double.h>.
26011 (floor): Define using libm_alias_double.
26012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26013 <libm-alias-double.h>.
26014 (modf): Define using libm_alias_double.
26015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26016 Include <libm-alias-double.h>.
26017 (round): Define using libm_alias_double.
26018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26019 Include <libm-alias-double.h>.
26020 (trunc): Define using libm_alias_double.
26021 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26022 <libm-alias-double.h>.
26023 (ceil): Define using libm_alias_double.
26024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26025 <libm-alias-double.h>.
26026 (floor): Define using libm_alias_double.
26027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26028 <libm-alias-double.h>.
26029 (round): Define using libm_alias_double.
26030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26031 <libm-alias-double.h>.
26032 (trunc): Define using libm_alias_double.
26033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26034 <libm-alias-double.h>.
26035 (ceil): Define using libm_alias_double.
26036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26037 <libm-alias-double.h>.
26038 (floor): Define using libm_alias_double.
26039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26040 <libm-alias-double.h>.
26041 (modf): Define using libm_alias_double.
26042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26043 <libm-alias-double.h>.
26044 (round): Define using libm_alias_double.
26045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26046 <libm-alias-double.h>.
26047 (trunc): Define using libm_alias_double.
26048 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26049 <libm-alias-double.h>.
26050 (ceil): Define using libm_alias_double.
26051 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26052 <libm-alias-double.h>.
26053 (floor): Define using libm_alias_double.
26054 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26055 <libm-alias-double.h>.
26056 (nearbyint): Define using libm_alias_double.
26057 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26058 <libm-alias-double.h>.
26059 (rint): Define using libm_alias_double.
26060 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26061 <libm-alias-double.h>.
26062 (round): Define using libm_alias_double.
26063 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26064 <libm-alias-double.h>.
26065 (trunc): Define using libm_alias_double.
26066 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26067 <libm-alias-double.h>.
26068 (ceil): Define using libm_alias_double.
26069 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26070 <libm-alias-double.h>.
26071 (floor): Define using libm_alias_double.
26072 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26073 <libm-alias-double.h>.
26074 (round): Define using libm_alias_double.
26075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26076 <libm-alias-double.h>.
26077 (trunc): Define using libm_alias_double.
26078
ec2cf3f4
JM
26079 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26080 (fabs): Define using libm_alias_double.
26081 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26082 (fma): Define using libm_alias_double.
26083 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26084 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26085 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26086 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26087
5b7bd975
AZ
260882017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26089
0594b13f
AZ
26090 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26091
dbdfcf3b
AZ
26092 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26093 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26094 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26095
5b7bd975
AZ
26096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26097 due redirect macro.
26098
ef9ecfa6
AS
260992017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26100
26101 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26102
5b4e5e78
AZ
261032017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26104
2a14526b
AZ
26105 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26106 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26107 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26108 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26109
dbeb74ef 26110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
26111 (libm-sysdep_routines): Add s_nearbyintf-generic and
26112 s_nearbyint-generic.
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26114 New file.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26117 Likewise.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26119 Likewise.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26121 file.
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26123 Likewise.
26124
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
26126 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26128 file.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26131 Likewise.
26132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26135
fa7ded96
AZ
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26137 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26139 file.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26142 Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26146
e240cf0e
AZ
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26148 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26150 file.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26153 Likewise.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26157
5b4e5e78
AZ
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26159 (sysdep_calls): New rule.
26160 (sysdep_routines): Use sysdep_calls as base.
26161 (libm-sysdep_routines): Add generic rule for symbols shared with
26162 libc. Add s_copysign-generic and s_copysign-generic objects.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26164 New file.
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26167 Likewise.
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26171
d985adae
MF
261722017-12-01 Mike FABIAN <mfabian@redhat.com>
26173
26174 [BZ #22519]
26175 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26176 the list of locales to be built for testing.
26177 * localedata/is_IS.UTF-8.in: New file.
26178 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26179 on iso14651_t1.
26180
ff84a0e0
JM
261812017-12-01 Joseph Myers <joseph@codesourcery.com>
26182
26183 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26184 <libm-alias-float.h>.
26185 (fabsf): Define using libm_alias_float.
26186
ef5d8b43
L
261872017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26188
26189 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26190
c0535adf
JM
261912017-11-30 Joseph Myers <joseph@codesourcery.com>
26192
f938b397
JM
26193 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26194 <libm-alias-float.h>.
26195 (fabsf): Define using libm_alias_float.
26196 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26197 <libm-alias-float.h>.
26198 (lrintf): Define using libm_alias_float.
26199 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26200 <libm-alias-float.h>.
26201 (rintf): Define using libm_alias_float.
26202
2251fad0
JM
26203 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26204 <libm-alias-double.h>.
26205 (fabs): Define using libm_alias_double.
26206 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26207 <libm-alias-double.h>.
26208 (lrint): Define using libm_alias_double.
26209 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26210 <libm-alias-double.h>.
26211 (rint): Define using libm_alias_double.
26212
e53df1de
JM
26213 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26214 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26215 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26216 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26217 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26218 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26219 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26220 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26221 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26222 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26223 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26224 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26225 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26226 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26227 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26228 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26229 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26230 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26231 s_atan_template.c.
26232 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26233 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26234 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26235 s_ceil_template.c.
26236 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26237 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26238 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26239 s_cos_template.c.
26240 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26241 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26242 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26243 s_expm1_template.c.
26244 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26245 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26246 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26247 s_fabs_template.c.
26248 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26249 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26250 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26251 s_floor_template.c.
26252 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26253 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26254 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26255 s_frexp_template.c.
26256 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26257 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26258 s_lrint_template.c.
26259 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26260 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26261 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26262 s_modf_template.c.
26263 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26264 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26265 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26266 s_nearbyint_template.c.
26267 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26268 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26269 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26270 s_remquo_template.c.
26271 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26272 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26273 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26274 s_rint_template.c.
26275 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26276 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26277 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26278 s_sin_template.c.
26279 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26280 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26281 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26282 s_sincos_template.c.
26283 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26284 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26285 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26286 s_tan_template.c.
26287 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26288 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26289 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26290 s_tanh_template.c.
26291 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26292 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26293 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26294 s_trunc_template.c.
26295 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26296 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26297 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26298 s_atan.c instead of including s_atan.c.
26299 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26300 s_atanf.c instead of including s_atanf.c.
26301 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26302 s_atanl.c instead of including s_atanl.c.
26303 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26304 instead of s_atan.c.
26305 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26306 instead of s_atanf.c.
26307 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26308 instead of s_atanl.c.
26309
c0535adf
JM
26310 * scripts/update-copyrights: Do not handle intl/plural.c
26311 specially.
26312
1faaf703
JB
263132017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26314
26315 [BZ #22432]
26316 * configure.ac (BISON): Require to be present.
26317 * configure: Regenerated.
26318 * intl/Makefile (generated): Add plural.c.
26319 [$(BISON) != no]: Make code unconditional.
26320 (plural.c): Change rule to $(objpfx)plural.c.
26321 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26322 * intl/plural.c: Remove.
26323 * manual/install.texi (Tools for Compilation): Document bison as
26324 required.
26325 * INSTALL: Regenerated.
26326
faec6323
JM
263272017-11-30 Joseph Myers <joseph@codesourcery.com>
26328
bd6ea9ed
JM
26329 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26330 <libm-alias-double.h>.
26331 (llrint): Define using libm_alias_double.
26332 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26333 <libm-alias-float.h>.
26334 (llrintf): Define using libm_alias_float.
26335 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26336 <libm-alias-ldouble.h>.
26337 (llrintl): Define using libm_alias_ldouble.
26338
faec6323
JM
26339 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26340 declare_mgen_alias instead of weak_alias.
26341 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26342 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26343 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26344
023cade3
AZ
263452017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26346
9e2279a0
AZ
26347 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26348 Add add_n-generic.
26349 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26350 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26351 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26352
75f37c71
AZ
26353 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26354 Add submul_1-generic.
26355 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26356 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26357 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26358
b70cbbfc 26359 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
26360 Add addmul_1-generic.
26361 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26362 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26363 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26364
26365 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
26366 Add sub_n-generic.
26367 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26368 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26369 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26370
023cade3
AZ
26371 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26372 Add mul_1-generic.
26373 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26374 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26375 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26376
fbb5fd03
MF
263772017-11-30 Mike FABIAN <mfabian@redhat.com>
26378
26379 According to CLDR, collation rules for Serbian and Bosnian
26380 should be the same as for Croatian.
26381
26382 [BZ #22534]
26383 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26384 and to the list of locales to be built for testing.
26385 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26386 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26387 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26388 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26389
5e56e937
MF
263902017-11-30 Mike FABIAN <mfabian@redhat.com>
26391
26392 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26393 to make test case pass.
26394 * localedata/hr_HR.UTF-8.in: Add more test strings.
26395
cf4341ca
MF
263962017-11-30 Mike FABIAN <mfabian@redhat.com>
26397
26398 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26399
363e4519 264002017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
26401
26402 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26403 the list of locales to built for testing.
26404 * localedata/hr_HR.UTF-8.in: New file.
26405
363e4519 264062017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
26407
26408 [BZ #10580]
26409 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26410 iso14651_t1.
26411 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26412 CLDR (except use ligatures for the digraphs, CLDR does not use
26413 the ligatures), add first_workday, some fixes in the date and time
26414 formats.
26415 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26416 for Đ and đ.
26417 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26418 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26419 Add int_p_cs_precedes and int_n_cs_precedes.
26420 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26421 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26422 LC_MONETARY now).
26423 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26424 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26425 name_miss.
26426 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26427 and lang_lib. Change postal_fmt.
26428
f33632cc
L
264292017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26430
26431 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26432 <setjmp.h>.
26433 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26434 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26435 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26436 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26437 * sysdeps/generic/setjmpP.h: New file.
26438 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26439 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26440 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26441 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26442 Add jmp_buf-ssp.sym.
26443 (tests): Add tst-saved_mask-1.
26444
34697694
AS
264452017-11-30 Arjun Shankar <arjun@redhat.com>
26446
26447 [BZ #22375]
37ac8e63 26448 CVE-2017-17426
34697694
AS
26449 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26450 instead of request2size.
26451
3e5efdbd
JM
264522017-11-30 Joseph Myers <joseph@codesourcery.com>
26453
18305fba
JM
26454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26455 (__lllrint): Remove alias.
26456 (lllrint): Likewise.
26457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26458 (__lllrintf): Likewise.
26459 (lllrintf): Likewise.
26460
3e5efdbd
JM
26461 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26462 <libm-alias-float.h>.
26463 (copysignf): Define using libm_alias_float.
26464 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26465 <libm-alias-float.h>.
26466 (fabsf): Define using libm_alias_float.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26468 Include <libm-alias-float.h>.
26469 (copysignf): Define using libm_alias_float.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26471 <libm-alias-float.h>.
26472 (fabsf): Define using libm_alias_float.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26474 <libm-alias-float.h>.
26475 (fdimf): Define using libm_alias_float.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26477 <libm-alias-float.h>.
26478 (fmaf): Define using libm_alias_float.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26480 <libm-alias-float.h>.
26481 (llrintf): Define using libm_alias_float.
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26483 Include <libm-alias-float.h>.
26484 (nearbyintf): Define using libm_alias_float.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26486 <libm-alias-float.h>.
26487 (rintf): Define using libm_alias_float.
26488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26489 <libm-alias-float.h>.
26490 (llrintf): Define using libm_alias_float.
26491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26492 <libm-alias-float.h>.
26493 (lrintf): Define using libm_alias_float.
26494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26495 <libm-alias-float.h>.
26496 (nearbyintf): Define using libm_alias_float.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26498 <libm-alias-float.h>.
26499 (rintf): Define using libm_alias_float.
26500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26501 <libm-alias-float.h>.
26502 (ceilf): Define using libm_alias_float.
26503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26504 <libm-alias-float.h>.
26505 (floorf): Define using libm_alias_float.
26506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26507 <libm-alias-float.h>.
26508 (fmaf): Define using libm_alias_float.
26509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26510 <libm-alias-float.h>.
26511 (lrintf): Define using libm_alias_float.
26512 (llrintf): Likewise.
26513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26514 <libm-alias-float.h>.
26515 (nearbyintf): Define using libm_alias_float.
26516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26517 <libm-alias-float.h>.
26518 (rintf): Define using libm_alias_float.
26519 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26520 <libm-alias-float.h>.
26521 (truncf): Define using libm_alias_float.
26522 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26523 <libm-alias-float.h>.
26524 (copysignf): Define using libm_alias_float.
26525 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26526 <libm-alias-float.h>.
26527 (fabsf): Define using libm_alias_float.
26528 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26529 <libm-alias-float.h>.
26530 (lrintf): Define using libm_alias_float.
26531 (llrintf): Likewise.
26532 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26533 <libm-alias-float.h>.
26534 (nearbyintf): Define using libm_alias_float.
26535 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26536 <libm-alias-float.h>.
26537 (rintf): Define using libm_alias_float.
26538
011fba7e
JM
265392017-11-29 Joseph Myers <joseph@codesourcery.com>
26540
875cd548
JM
26541 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26542 <libm-alias-double.h>.
26543 (copysign): Define using libm_alias_double.
26544 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26545 <libm-alias-double.h>.
26546 (fabs): Define using libm_alias_double.
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26548 Include <libm-alias-double.h>.
26549 (copysign): Define using libm_alias_double.
26550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26551 <libm-alias-double.h>.
26552 (fabs): Define using libm_alias_double.
26553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26554 <libm-alias-double.h>.
26555 (fdim): Define using libm_alias_double.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26557 <libm-alias-double.h>.
26558 (fma): Define using libm_alias_double.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26560 <libm-alias-double.h>.
26561 (llrint): Define using libm_alias_double.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26563 Include <libm-alias-double.h>.
26564 (nearbyint): Define using libm_alias_double.
26565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26566 <libm-alias-double.h>.
26567 (rint): Define using libm_alias_double.
26568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26569 <libm-alias-double.h>.
26570 (fabs): Define using libm_alias_double.
26571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26572 <libm-alias-double.h>.
26573 (llrint): Define using libm_alias_double.
26574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26575 <libm-alias-double.h>.
26576 (nearbyint): Define using libm_alias_double.
26577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26578 <libm-alias-double.h>.
26579 (rint): Define using libm_alias_double.
26580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26581 <libm-alias-double.h>.
26582 (ceil): Define using libm_alias_double.
26583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26584 <libm-alias-double.h>.
26585 (floor): Define using libm_alias_double.
26586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26587 <libm-alias-double.h>.
26588 (fma): Define using libm_alias_double.
26589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26590 <libm-alias-double.h>.
26591 (lrint): Define using libm_alias_double.
26592 (llrint): Likewise.
26593 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26594 <libm-alias-double.h>.
26595 (nearbyint): Define using libm_alias_double.
26596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26597 <libm-alias-double.h>.
26598 (rint): Define using libm_alias_double.
26599 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26600 <libm-alias-double.h>.
26601 (trunc): Define using libm_alias_double.
26602 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26603 <libm-alias-double.h>.
26604 (copysign): Define using libm_alias_double.
26605 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26606 <libm-alias-double.h>.
26607 (fabs): Define using libm_alias_double.
26608 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26609 <libm-alias-double.h>.
26610 (lrint): Define using libm_alias_double.
26611 (llrint): Likewise.
26612 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26613 <libm-alias-double.h>.
26614 (nearbyint): Define using libm_alias_double.
26615 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26616 <libm-alias-double.h>.
26617 (rint): Define using libm_alias_double.
26618
cf4ebc27
JM
26619 [BZ #22229]
26620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26621 <math_ldbl_opt.h>.
26622 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26623
0c097378
JM
26624 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26625 SPARC --disable-multi-arch glibc variants.
26626
34bb10aa
JM
26627 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26628 <libm-alias-float.h>.
26629 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26630 if [SHARED].
26631 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26632 <libm-alias-float.h>.
26633 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26634 if [SHARED].
26635 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26636 <libm-alias-float.h>.
26637 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26638 if [SHARED].
26639 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26640 <libm-alias-float.h>.
26641 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26642 if [SHARED].
26643 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26644 <libm-alias-float.h>.
26645 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26646 if [SHARED].
26647 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26648 <libm-alias-float.h>.
26649 (ceilf): Define using libm_alias_float.
26650 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26651 <libm-alias-float.h>.
26652 (floorf): Define using libm_alias_float.
26653 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26654 <libm-alias-float.h>.
26655 (fmaf): Define using libm_alias_float.
26656 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26657 <libm-alias-float.h>.
26658 (nearbyintf): Define using libm_alias_float.
26659 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26660 <libm-alias-float.h>.
26661 (rintf): Define using libm_alias_float.
26662 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26663 <libm-alias-float.h>.
26664 (truncf): Define using libm_alias_float.
26665 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26666 (copysignf): Define using libm_alias_float.
26667 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26668 (cosf): Define using libm_alias_float.
26669 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26670 (fabsf): Define using libm_alias_float.
26671 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26672 (fmaxf): Define using libm_alias_float.
26673 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26674 (fminf): Define using libm_alias_float.
26675 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26676 (llrintf): Define using libm_alias_float.
26677 [!__ILP32__] (lrintf): Likewise.
26678 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26679 (sincosf): Define using libm_alias_float.
26680 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26681 (sinf): Define using libm_alias_float.
26682 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26683 (lrintf): Define using libm_alias_float.
26684
011fba7e
JM
26685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26686 <libm-alias-double.h>.
26687 (atan): Define using libm_alias_double.
26688 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26689 <libm-alias-double.h>.
26690 (ceil): Define using libm_alias_double.
26691 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26692 <libm-alias-double.h>.
26693 (floor): Define using libm_alias_double.
26694 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26695 <libm-alias-double.h>.
26696 (fma): Define using libm_alias_double.
26697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26698 <libm-alias-double.h>.
26699 (nearbyint): Define using libm_alias_double.
26700 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26701 <libm-alias-double.h>.
26702 (rint): Define using libm_alias_double.
26703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26704 <libm-alias-double.h>.
26705 (sin): Define using libm_alias_double.
26706 (cos): Likewise.
26707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26708 <libm-alias-double.h>.
26709 (tan): Define using libm_alias_double.
26710 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26711 <libm-alias-double.h>.
26712 (trunc): Define using libm_alias_double.
26713 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26714 (copysign): Define using libm_alias_double.
26715 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26716 (fabs): Define using libm_alias_double.
26717 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26718 (fmax): Define using libm_alias_double.
26719 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26720 (fmin): Define using libm_alias_double.
26721 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26722 (llrint): Define using libm_alias_double.
26723 [!__ILP32__] (lrint): Likewise.
26724 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26725 (lrint): Define using libm_alias_double.
26726
1cbd7bfe
AZ
267272017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26728
21bfcc3d
AZ
26729 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26730 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26731 objects.
26732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26738
522228dd
AZ
26739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26740 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26741 objects.
26742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26746 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26748
2a6f4fab
AZ
26749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26750 (libm-sysdep_routines): Add s_nearbyint-generic and
26751 s_nearbyintf-generic objects.
26752 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26754 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26755 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26757 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26758
712b5b83
AZ
26759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26760 Add s_finitef-generic and s_finite-generic objects.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26767
c96d3335
AZ
26768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26769 Add s_isinff-generic and s_isinf-generic objects.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26776
c6862a23
AZ
26777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26778 Add s_isnanf-generic and s_isnan-generic objects.
26779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26785
1cbd7bfe
AZ
26786 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26787 macro.
26788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26789 rule.
26790 (sysdep_routines): Use sysdep_calls as base.
26791 (libm-sysdep_routines): Add generic rule for symbols shared with
26792 libc. Add s_signbit-generic and s_signbitf-generic objects.
26793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26799
aa1142c5
JM
268002017-11-29 Joseph Myers <joseph@codesourcery.com>
26801
26802 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26803 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26804 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26805 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26806 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26807 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26808 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26809 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26810 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26811 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26812 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26813 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26814 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26815 libm_alias_float_r.
26816 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26817 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26818 (logf): Likewise.
26819 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26820 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26821 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26822 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26823 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26824 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26825 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26826 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26827 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26828 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26829 libm_alias_float.
26830 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26831 (cosf): Likewise.
26832 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26833 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26834 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26835 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26836 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26837 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26838 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26839 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26840 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26841 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26842 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26843 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26844 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26845 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26846 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26847 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26848 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26849 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26850 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26851 libm_alias_float.
26852 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26853 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26854 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26855 * sysdeps/ia64/fpu/w_lgammaf_main.c
26856 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26857 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26858
363e4519
DL
268592017-11-28 Mike FABIAN <mfabian@redhat.com>
26860 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
26861
26862 [BZ #17750]
26863 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26864 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26865 accents sorting.
26866 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26867 sorting.
26868 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26869 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26870 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26871 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26872 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26873 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26874 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26875 instead of “ifdef DIACRIT_BACKWARD”.
26876
a55430cb
AZ
268772017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26878
26879 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26880 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26881 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26882 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26883 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26884 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26892 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26893 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26894 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26895 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26896 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26898 ($(have-as-vis3) == yes): Remove conditional.
26899 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26900 Likewise.
26901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26902 file.
26903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26904 file.
26905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26906 file.
26907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26908 file.
26909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26915 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26916 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26917
0609ec0a
JM
269182017-11-29 Joseph Myers <joseph@codesourcery.com>
26919
26920 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26921 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26922 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26923 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26924 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26925 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26926 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26927 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26928 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26929 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26930 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26931 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26932 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26933 libm_alias_double_r.
26934 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26935 (log): Likewise.
26936 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26937 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26938 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26939 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26940 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26941 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26942 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26943 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26944 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26945 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26946 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26947 libm_alias_double.
26948 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26949 (cos): Likewise.
26950 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26951 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26952 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26953 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26954 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26955 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26956 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26957 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26958 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26959 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26960 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26961 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26962 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26963 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26964 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26965 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26966 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26967 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26968 libm_alias_double.
26969 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26970 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26971 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26972 * sysdeps/ia64/fpu/w_lgamma_main.c
26973 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26974 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26975
d5bfa34a
JDA
269762017-11-28 John David Anglin <danglin@gcc.gnu.org>
26977
26978 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26979 address of $global$ into %dp register earlier. Use pc-relative
26980 instruction sequence for PIC case.
26981
bc4e8f9b
JM
269822017-11-28 Joseph Myers <joseph@codesourcery.com>
26983
e4602cba
JM
26984 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26985 (asinhf): Define using libm_alias_float.
26986 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26987 (atanf): Define using libm_alias_float.
26988 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26989 (cbrtf): Define using libm_alias_float.
26990 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26991 (ceilf): Define using libm_alias_float.
26992 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26993 (copysignf): Define using libm_alias_float.
26994 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26995 (expm1f): Define using libm_alias_float.
26996 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26997 (fabsf): Define using libm_alias_float.
26998 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26999 (floorf): Define using libm_alias_float.
27000 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27001 (fmaxf): Define using libm_alias_float.
27002 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27003 (fminf): Define using libm_alias_float.
27004 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27005 (frexpf): Define using libm_alias_float.
27006 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27007 (llrintf): Define using libm_alias_float.
27008 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27009 (logbf): Define using libm_alias_float.
27010 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27011 (lrintf): Define using libm_alias_float.
27012 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27013 (nearbyintf): Define using libm_alias_float.
27014 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27015 (remquof): Define using libm_alias_float.
27016 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27017 (rintf): Define using libm_alias_float.
27018 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27019 (truncf): Define using libm_alias_float.
27020 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27021 <libm-alias-float.h>.
27022 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27023 if [SHARED].
27024 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27025 <libm-alias-float.h>.
27026 (expf): Define using libm_alias_float, or libm_alias_float_other
27027 if [SHARED].
27028 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27029 <libm-alias-float.h>.
27030 (log2f): Define using libm_alias_float, or libm_alias_float_other
27031 if [SHARED].
27032 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27033 <libm-alias-float.h>.
27034 (logf): Define using libm_alias_float, or libm_alias_float_other
27035 if [SHARED].
27036 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27037 <libm-alias-float.h>.
27038 (powf): Define using libm_alias_float, or libm_alias_float_other
27039 if [SHARED].
27040 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27041 <libm-alias-float.h>.
27042 (cosf): Define using libm_alias_float.
27043 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27044 <libm-alias-float.h>.
27045 (sincosf): Define using libm_alias_float.
27046 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27047 <libm-alias-float.h>.
27048 (sinf): Define using libm_alias_float.
27049 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27050 (fmaxf): Define using libm_alias_float.
27051 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27052 (fminf): Define using libm_alias_float.
27053 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27054 <libm-alias-float.h>.
27055 (fmaf): Define using libm_alias_float.
27056
bc4e8f9b
JM
27057 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27058 (asinh): Define using libm_alias_double.
27059 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27060 (atan): Define using libm_alias_double.
27061 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27062 (cbrt): Define using libm_alias_double.
27063 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27064 (ceil): Define using libm_alias_double.
27065 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27066 (copysign): Define using libm_alias_double.
27067 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27068 (expm1): Define using libm_alias_double.
27069 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27070 (fabs): Define using libm_alias_double.
27071 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27072 (fdim): Define using libm_alias_double.
27073 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27074 (floor): Define using libm_alias_double.
27075 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27076 (fmax): Define using libm_alias_double.
27077 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27078 (fmin): Define using libm_alias_double.
27079 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27080 (frexp): Define using libm_alias_double.
27081 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27082 (llrint): Define using libm_alias_double.
27083 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27084 (logb): Define using libm_alias_double.
27085 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27086 (lrint): Define using libm_alias_double.
27087 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27088 (nearbyint): Define using libm_alias_double.
27089 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27090 (remquo): Define using libm_alias_double.
27091 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27092 (rint): Define using libm_alias_double.
27093 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27094 (trunc): Define using libm_alias_double.
27095 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27096 (fmax): Define using libm_alias_double.
27097 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27098 (fmin): Define using libm_alias_double.
27099 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27100 (fma): Define using libm_alias_double.
27101
8d81ce0c
L
271022017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27103
27104 [BZ #22370]
27105 * elf/dl-hwcaps.c (ROUND): Removed.
27106 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27107 and ELF_NOTE_NEXT_OFFSET.
27108 * elf/dl-load.c (ROUND): Removed.
27109 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27110 * elf/readelflib.c (ROUND): Removed.
27111 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27112 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27113 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27114 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27115
6940bd96
JM
271162017-11-28 Joseph Myers <joseph@codesourcery.com>
27117
313ba463
JM
27118 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27119 [!__fmaf] (fmaf): Define using libm_alias_float.
27120
6940bd96
JM
27121 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27122 [!__fma] (fma): Define using libm_alias_double.
27123 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27124
22c69b6a
MF
271252017-11-28 Mike FABIAN <mfabian@redhat.com>
27126
27127 [BZ #22336]
27128 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27129 and implement the collation rules for cs from CLDR on top of that.
27130 * Makefile: Add cs_CZ.UTF-8 to test-input.
27131 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27132
8d7d3ba8
SP
271332017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27134
27135 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27136
0422ed1e
VR
271372017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27138 Icarus Sparry <icarus.w.sparry@intel.com>
27139
27140 * benchtests/Makefile:Add BENCHSET to allow subsets of
27141 benchmarks to be run.
27142 * benchtests/README: Add documentation for: Running subsets of
27143 benchmarks.
27144
0595e360
VR
271452017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27146
d5090db3
VR
27147 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27148 range of tests names.
27149
0595e360
VR
27150 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27151 result from property and remove "max", min" and "mean" from
27152 required properties based on benchtests/bench-skeleton.c.
27153
b4c645c2
FW
271542017-11-28 Florian Weimer <fweimer@redhat.com>
27155
27156 [BZ #20826]
27157 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27158 due to Internet requirement.
27159 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27160 tst-getaddrinfo5.
27161 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27162
88684de7
AZ
271632017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27164
69056564
AZ
27165 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27166 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27167 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27168 (sysdep_routines): Add memset-ultra1.
27169 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27170 file.
27171 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27172 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27173 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27174 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27175 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27176 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27179
88684de7
AZ
27180 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27181 file.
27182 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27183 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27184 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27185 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27186 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27187 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27188 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27189 macro.
27190 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27191 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27192 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27193 (sysdep_routines): Add memcpy-ultra1.
27194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27195 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27196
d8124864
JM
271972017-11-28 Joseph Myers <joseph@codesourcery.com>
27198
f433d0b3
JM
27199 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27200 (cfloat_versions): Take function argument without trailing 'f'.
27201 Call libm_alias_float_other.
27202 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27203 * sysdeps/alpha/fpu/cargf.c: Likewise.
27204 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27205 * sysdeps/alpha/fpu/conjf.c: Likewise.
27206 * sysdeps/alpha/fpu/crealf.c: Likewise.
27207 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27208 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27209 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27210 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27211 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27212 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27213 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27214 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27215 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27216 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27217 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27218 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27219 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27220 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27221 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27222 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27223 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27224 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27225 (clog10f): Use libm_alias_float_other.
27226 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27227 (ceilf): Define using libm_alias_float.
27228 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27229 (copysignf): Define using libm_alias_float.
27230 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27231 (fabsf): Define using libm_alias_float.
27232 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27233 (floorf): Define using libm_alias_float.
27234 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27235 (fmaxf): Define using libm_alias_float.
27236 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27237 (fminf): Define using libm_alias_float.
27238 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27239 (lrintf): Define using libm_alias_float.
27240 (llrintf): Likewise.
27241 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27242 (lroundf): Define using libm_alias_float.
27243 (llroundf): Likewise.
27244 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27245 (rintf): Define using libm_alias_float.
27246 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27247 (truncf): Define using libm_alias_float.
27248
15ff4900
JM
27249 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27250 (ceilf): Define using libm_alias_float.
27251 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27252 (floorf): Define using libm_alias_float.
27253 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27254 (fmaf): Define using libm_alias_float.
27255 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27256 (fmaxf): Define using libm_alias_float.
27257 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27258 (fminf): Define using libm_alias_float.
27259 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27260 (llrintf): Define using libm_alias_float.
27261 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27262 (llroundf): Define using libm_alias_float.
27263 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27264 (lrintf): Define using libm_alias_float.
27265 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27266 (lroundf): Define using libm_alias_float.
27267 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27268 <libm-alias-float.h>.
27269 (nearbyintf): Define using libm_alias_float.
27270 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27271 (rintf): Define using libm_alias_float.
27272 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27273 (roundf): Define using libm_alias_float.
27274 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27275 (truncf): Define using libm_alias_float.
27276
5de60638
JM
27277 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27278 (ceil): Define using libm_alias_double.
27279 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27280 (copysign): Define using libm_alias_double.
27281 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27282 (fabs): Define using libm_alias_double.
27283 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27284 (floor): Define using libm_alias_double.
27285 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27286 (fmax): Define using libm_alias_double.
27287 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27288 (fmin): Define using libm_alias_double.
27289 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27290 (lrint): Define using libm_alias_double.
27291 (llrint): Likewise.
27292 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27293 (lround): Define using libm_alias_double.
27294 (llround): Likewise.
27295 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27296 (rint): Define using libm_alias_double.
27297 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27298 (trunc): Define using libm_alias_double.
27299
d8124864
JM
27300 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27301 (libm_alias_double_r): Add semicolon after weak_alias call.
27302
f07d2ec8
JM
273032017-11-27 Joseph Myers <joseph@codesourcery.com>
27304
27305 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27306 (ceil): Define using libm_alias_double.
27307 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27308 (floor): Define using libm_alias_double.
27309 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27310 (fma): Define using libm_alias_double.
27311 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27312 (fmax): Define using libm_alias_double.
27313 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27314 (fmin): Define using libm_alias_double.
27315 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27316 (llrint): Define using libm_alias_double.
27317 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27318 (llround): Define using libm_alias_double.
27319 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27320 (lrint): Define using libm_alias_double.
27321 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27322 (lround): Define using libm_alias_double.
27323 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27324 (nearbyint): Define using libm_alias_double.
27325 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27326 (rint): Define using libm_alias_double.
27327 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27328 (round): Define using libm_alias_double.
27329 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27330 (trunc): Define using libm_alias_double.
27331
4bab0224
FW
273322017-11-27 Florian Weimer <fweimer@redhat.com>
27333
27334 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27335 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27336 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27337 (tests): Add tst-mlock2.
27338 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27340 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27341 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27342 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27343 for mlock. Document mlock2.
27344
a23aa5b7
JM
273452017-11-27 Joseph Myers <joseph@codesourcery.com>
27346
27347 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27348 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27349 Likewise.
27350 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27351 Likewise.
27352 * sysdeps/x86/Makeconfig: New file.
27353 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27354 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27355 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27356 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27357 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27358 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27359 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27360 Likewise.
27361 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27362 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27363 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27364 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27365 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27366 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27367 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27368 * manual/math.texi (Mathematics): Document support for _Float64x.
27369 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27370 * stdlib/Versions (GLIBC_2.27): Likewise.
27371 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27372 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27373 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27377 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27378 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27381 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27382 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27384 Likewise.
27385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27386 Likewise.
27387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27389 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27390 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27391 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27392 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27393 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27396 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27397 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27398 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27399 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27400 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27401
c2c299fd
AS
274022017-11-27 Andreas Schwab <schwab@suse.de>
27403
27404 * elf/Makefile (dl-routines): Add dl-sort-maps.
27405 * elf/dl-sort-maps.c: New file.
27406 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27407 (_dl_sort_maps): Declare.
27408 * elf/dl-fini.c (_dl_sort_fini): Remove.
27409 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27410 * elf/dl-close.c (_dl_close_worker): Likewise.
27411 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27412 open-coding it.
27413 * elf/dl-open.c (dl_open_worker): Likewise.
27414
9d4b0117
JM
274152017-11-24 Joseph Myers <joseph@codesourcery.com>
27416
de61465c
JM
27417 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27418 using libm_alias_float128.
27419 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27420 Likewise.
27421 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27422 Likewise.
27423 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27424 (setpayloadsigf128): Likewise.
27425 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27426 Likewise.
27427 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27428 Likewise.
27429
9ae6d171
JM
27430 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27431 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27432 -mfloat128 to CFLAGS.
27433 ($(foreach
27434 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27435 Likewise.
27436 (CFLAGS-libm-test-support-float64x.c): New variable.
27437 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27438 $(f128-loader-link) to gnulib-tests.
27439
6e70d156
JM
27440 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27441 (libm_alias_float128_other_r): If
27442 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27443 alias.
27444 (libm_alias_float128_r): Add semicolon after weak_alias call.
27445 * sysdeps/generic/libm-alias-ldouble.h
27446 (libm_alias_ldouble_other_r_f128): New macro.
27447 (libm_alias_ldouble_other_r_f64x): Likewise.
27448 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27449 and libm_alias_ldouble_other_r_f64x.
27450 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27451 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27452 (libm_alias_ldouble_other_r_f128): New macro.
27453 (libm_alias_ldouble_other_r_f64x): Likewise.
27454 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27455 and libm_alias_ldouble_other_r_f64x.
27456
df2806cd
JM
27457 * stdlib/strfroml.c: Always include <stdlib.h>.
27458 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27459 undefine as macro and define as weak alias.
27460 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27461 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27462 <stdlib.h>.
27463 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27464 Define and later undefine as macro and define as weak alias.
27465
0df4fe35
JM
27466 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27467 Define and later undefine as macro. Define as weak alias if
27468 [!USE_WIDE_CHAR].
27469 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27470 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27471 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27472 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27473 Define and later undefine as macro. Define as weak alias if
27474 [!USE_WIDE_CHAR].
27475 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27476 Define and later undefine as macro. Define as weak alias if
27477 [USE_WIDE_CHAR].
27478 * sysdeps/ieee754/float128/strtof128_l.c
27479 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27480 Define and later undefine as macro. Define as weak alias if
27481 [!USE_WIDE_CHAR].
27482 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27483 Define and later undefine as macro. Define as weak alias if
27484 [USE_WIDE_CHAR].
27485 * sysdeps/ieee754/ldbl-128/strtold_l.c
27486 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27487 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27488 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27489 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27490 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27491 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27492 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27493 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27494 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27495 * sysdeps/ieee754/ldbl-96/strtold_l.c
27496 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27497 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27498 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27499 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27500
ae7207d0
JM
27501 * math/test-float64x.h: New file.
27502 * math/Makefile (type-float64x-yes): New variable.
27503 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27504
9596fc69
JM
27505 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27506 function-like macro.
27507 (min_of_type_): Likewise.
27508 (min_of_type_l): Likewise.
27509 (min_of_type_f128): Likewise.
27510 (min_of_type): Pass () as last argument of __MATH_TG.
27511
46453c3c
JM
27512 * stdlib/tst-strtod-round-skeleton.c
27513 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27514 headers.
27515
01e659e7
JM
27516 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27517 for combinations of long double with _Float64 and _Float64x.
27518
5c60afdd
JM
27519 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27520 (__DECL_SIMD_cosf32): Likewise.
27521 (__DECL_SIMD_cosf64): Likewise.
27522 (__DECL_SIMD_cosf32x): Likewise.
27523 (__DECL_SIMD_cosf64x): Likewise.
27524 (__DECL_SIMD_cosf128x): Likewise.
27525 (__DECL_SIMD_sinf16): Likewise.
27526 (__DECL_SIMD_sinf32): Likewise.
27527 (__DECL_SIMD_sinf64): Likewise.
27528 (__DECL_SIMD_sinf32x): Likewise.
27529 (__DECL_SIMD_sinf64x): Likewise.
27530 (__DECL_SIMD_sinf128x): Likewise.
27531 (__DECL_SIMD_sincosf16): Likewise.
27532 (__DECL_SIMD_sincosf32): Likewise.
27533 (__DECL_SIMD_sincosf64): Likewise.
27534 (__DECL_SIMD_sincosf32x): Likewise.
27535 (__DECL_SIMD_sincosf64x): Likewise.
27536 (__DECL_SIMD_sincosf128x): Likewise.
27537 (__DECL_SIMD_logf16): Likewise.
27538 (__DECL_SIMD_logf32): Likewise.
27539 (__DECL_SIMD_logf64): Likewise.
27540 (__DECL_SIMD_logf32x): Likewise.
27541 (__DECL_SIMD_logf64x): Likewise.
27542 (__DECL_SIMD_logf128x): Likewise.
27543 (__DECL_SIMD_expf16): Likewise.
27544 (__DECL_SIMD_expf32): Likewise.
27545 (__DECL_SIMD_expf64): Likewise.
27546 (__DECL_SIMD_expf32x): Likewise.
27547 (__DECL_SIMD_expf64x): Likewise.
27548 (__DECL_SIMD_expf128x): Likewise.
27549 (__DECL_SIMD_powf16): Likewise.
27550 (__DECL_SIMD_powf32): Likewise.
27551 (__DECL_SIMD_powf64): Likewise.
27552 (__DECL_SIMD_powf32x): Likewise.
27553 (__DECL_SIMD_powf64x): Likewise.
27554 (__DECL_SIMD_powf128x): Likewise.
27555
9d4b0117
JM
27556 * stdlib/Versions (libc): Move entries for wcstof128 and
27557 wcstof128_l to ....
27558 * wcsmbs/Versions (libc): ... here.
27559 Include <float128-abi.h>.
27560
7911dd47
FW
275612017-11-24 Florian Weimer <fweimer@redhat.com>
27562
27563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27564 bits/mman-shared.h.
27565 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27566 <bits/mman-shared.h>.
27567 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27568 to ...
27569 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27570 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27571 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27572 <bits/mman-shared.h>.
27573
c45d78aa
AZ
275742017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27575
27576 [BZ #22457]
27577 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27578 posix_memalign/free.
27579 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27580
3ffc4cc1
MF
275812017-11-22 Mike FABIAN <mfabian@redhat.com>
27582
27583 [BZ #22469]
27584 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27585 and implement the collation rules for pl from CLDR on top of that.
27586 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27587 of locales to be built for testing.
27588 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27589
3a327316
JM
275902017-11-23 Joseph Myers <joseph@codesourcery.com>
27591
27592 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27593 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27594 libm_alias_ldouble_other.
27595 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27596 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27597 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27598 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27599 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27600 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27601 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27602 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27603 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27604 libm_alias_ldouble_r.
27605 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27606 libm_alias_ldouble_other.
27607 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27608 (log10l): Likewise.
27609 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27610 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27611 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27612 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27613 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27614 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27615 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27616 (atan2l): Likewise.
27617 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27618 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27619 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27620 libm_alias_ldouble.
27621 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27622 (cosl): Likewise.
27623 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27624 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27625 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27626 (expl): Likewise.
27627 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27628 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27629 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27630 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27631 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27632 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27633 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27634 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27635 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27636 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27637 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27638 libm_alias_ldouble.
27639 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27640 libm_alias_ldouble_other.
27641 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27642 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27643 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27644 libm_alias_ldouble.
27645 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27646 libm_alias_ldouble_other.
27647 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27648 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27649 * sysdeps/ia64/fpu/w_lgammal_main.c
27650 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27651 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27652
0a947e06
FW
276532017-11-23 Florian Weimer <fweimer@redhat.com>
27654
27655 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27656 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27657 alike. Remove freeres marker.
27658 * malloc/arena.c (arena_thread_freeres): Call
27659 tcache_thread_shutdown.
27660
67f36c79
FW
276612017-11-23 Florian Weimer <fweimer@redhat.com>
27662
27663 [BZ #22459]
27664 Export nscd hash function as __nss_hash.
27665 * include/nss.h (__nss_hash): Declare.
27666 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27667 symbol.
27668 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27669 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27670 of __nscd_hash.
27671 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27672 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27673 * nss/Makefiles (routines): Add nss_hash.
27674 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27675 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27676 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27677 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27678
cccb6d4e
FW
276792017-11-23 Florian Weimer <fweimer@redhat.com>
27680
27681 [BZ #22478]
27682 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27683 Return error code, not -1.
27684 * signal/tst-sigwait-eintr.c: New file.
27685 * signal/Makefile (tests): Add tst-sigwait-eintr.
27686
59d2cbb1
FW
276872017-11-23 Florian Weimer <fweimer@redhat.com>
27688
27689 Linux: Add memfd_create system call wrapper
27690 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27691 tst-memfd_create.
27692 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27693 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27694 [__USE_GNU] (memfd_create): Declare.
27695 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27696 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27697 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27698 * sysdeps/unix/sysv/linux/**.abilist: Update.
27699 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27700
a90d1ac2
JM
277012017-11-22 Joseph Myers <joseph@codesourcery.com>
27702
0a9d1d62
JM
27703 * localedata/gen-locale.sh: Fix typo in variable name.
27704
754034c4
JM
27705 * resolv/res_debug.c (p_secstodate): Condition definition on
27706 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27707 directly as __p_secstodate, and as a compat symbol. Do not use
27708 libresolv_hidden_def.
27709 * resolv/resolv.h (p_secstodate): Remove macro and function
27710 declaration.
27711 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27712 using p_secstodate.
27713 * include/resolv.h (__p_secstodate): Do not use
27714 libresolv_hidden_proto.
27715 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27716 (tests-internal): ... here.
27717 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27718 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27719 and declare and use __p_secstodate and use compat_symbol_reference
27720 in that case.
27721 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27722 implementation returning 77.
27723
f120cda6
JM
27724 [BZ #22463]
27725 * resolv/res_debug.c: Include <libc-diag.h>.
27726 (p_secstodate): Assert time_t at least as wide as u_long. On
27727 overflow, use integer seconds since the epoch as output, or use
27728 "<overflow>" as output and set errno to EOVERFLOW if integer
27729 seconds since the epoch would be 14 or more characters.
27730 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27731 for sprintf call.
27732 * resolv/tst-p_secstodate.c: New file.
27733 * resolv/Makefile (tests): Add tst-p_secstodate.
27734 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27735
a90d1ac2
JM
27736 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27737 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27738 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27739
0285e6bd
PE
277402017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27741
27742 * posix/regcomp.c (init_word_char): Add comments.
27743
4bae6150
JM
277442017-11-22 Joseph Myers <joseph@codesourcery.com>
27745
27746 [BZ #22447]
27747 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27748 strlen to compute length of ut_user and set trailing NUL byte of
27749 result explicitly.
27750
4b7af5fc
MF
277512017-11-21 Mike FABIAN <mfabian@redhat.com>
27752
27753 [BZ #15537]
27754 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27755 using “copy "iso14651_t1"” and then implementing the
27756 collation rules for lv from CLDR on top of that.
27757 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27758 of locales to be built for testing.
27759 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27760 sorting.
27761
922bb78c
JM
277622017-11-21 Joseph Myers <joseph@codesourcery.com>
27763
27764 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27765 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27766 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27767 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27768 [__USE_MISC] (MADV_HWPOISON): New macro.
27769 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27770
a3aaa598
AZ
277712017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27772
27773 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27774 -Wmissing-braces on GCC 4.9.
27775
8beba15d
SL
277762017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27777
27778 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27779 * sysdeps/s390/s390-32/start.S (_start): Likewise
27780 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27781 (thread_start): Likewise.
27782 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27783 (thread_start): Likewise.
27784 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27785 (__makecontext_ret): Likewise.
27786 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27787 (__makecontext_ret): Likewise.
27788
80eb52e3
SL
277892017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27790
27791 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27792 __wcschrnul): Remove attribute_hidden.
27793
567d8c1f
PE
277942017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27795
27796 regex: don't assume uint64_t or uint32_t
27797 This avoids -Werror=overflow errors for 32-bit systems in
27798 the 64-bit case. Problem reported by Joseph Myers in:
27799 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27800 Also, when this code is used in Gnulib it ports to platforms
27801 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27802 them, and on some 32-bit compilers there is no uint64_t.
27803 Problem reported by Gianluigi Tiesi in:
27804 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27805 * posix/regcomp.c (init_word_char): Don't assume that the types
27806 uint64_t and uint32_t exist. Adapted from Gnulib patch
27807 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27808 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27809
4d7632ff
SP
278102017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27811
5a67c4fa
SP
27812 * sysdeps/aarch64/memset-reg.h: New file.
27813 * sysdeps/aarch64/memset.S: Use it.
27814 (__memset): Rename to MEMSET macro.
27815 [ZVA_MACRO]: Use zva_macro.
27816 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27817 Add memset_generic and memset_falkor.
27818 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27819 (__libc_ifunc_impl_list): Add memset ifuncs.
27820 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27821 local variable zva_size.
27822 * sysdeps/aarch64/multiarch/memset.c: New file.
27823 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27824 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27825 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27826 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27827 (DCZID_DZP_MASK): New macro.
27828 (DCZID_BS_MASK): Likewise.
27829 (init_cpu_features): Read and set zva_size.
27830 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27831 (struct cpu_features): New member zva_size.
27832
eb332f9f
SP
27833 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27834 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27835 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27836
4d7632ff
SP
27837 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27838 backwards. Fix timing computation.
27839 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27840 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27841 on memset by N at a time. Fix timing computation.
27842
a465b89e
FW
278432017-11-20 Florian Weimer <fweimer@redhat.com>
27844
27845 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27846 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27847
0f74bbf5
FW
278482017-11-19 Florian Weimer <fweimer@redhat.com>
27849
27850 manual: Document mprotect
27851 * manual/memory.texi (Memory Protection): New section.
27852 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27853 documentation of PROT_* flags and reference the Memory Protection
27854 section instead.
27855
f6e965ee
FW
278562017-11-19 Florian Weimer <fweimer@redhat.com>
27857
27858 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27859 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27860 (Scatter-Gather): ... to here. Remove misleading comment.
27861
363e4519 278622017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 27863
5f9d1949
CB
27864 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27865 style.
27866
ea69a5c8
CB
27867 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27868 when /proc/<pid>/setgroups does not exist.
27869
8db7f48c
FW
278702017-11-18 Florian Weimer <fweimer@redhat.com>
27871
27872 * sysdeps/unix/sysv/linux/tst-ttyname.c
27873 (become_root_in_mount_ns): Remove.
27874 (do_in_chroot_1): Call support_enter_mount_namespace.
27875 (do_in_chroot_2): Likewise.
27876 (do_test): Call support_become_root early.
27877
273a0c49
FW
278782017-11-18 Florian Weimer <fweimer@redhat.com>
27879
27880 * support/namespace.h (support_enter_mount_namespace): Declare.
27881 * support/support_enter_mount_namespace.c: New file.
27882 * support/Makefile (libsupport-routines): Add
27883 support_enter_mount_namespace.
27884
8adfb0ee
FW
278852017-11-18 Florian Weimer <fweimer@redhat.com>
27886
27887 * support/temp_file.c (support_create_temp_directory): Use
27888 test_dir and do not rely on the presence of the XXXXXX suffix.
27889 * support/temp_file.h (support_create_temp_directory): Update
27890 comment.
27891 * support/tst-xreadlink.c (do_test): Adjust.
27892 * support/support_chroot.c (support_chroot_create): Likewise.
27893
df0c40ee
TMQMF
278942017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27895
27896 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27897 macro.
27898 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27899 htm-no-suspend.
27900
015c6dc2
JM
279012017-11-17 Joseph Myers <joseph@codesourcery.com>
27902
f58e5f48
JM
27903 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27904 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27905 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27906 (ceill): Define using libm_alias_ldouble.
27907 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27908 <libm-alias-ldouble.h>.
27909 (copysignl): Define using libm_alias_ldouble.
27910 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27911 (fabsl): Define using libm_alias_ldouble.
27912 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27913 (floorl): Define using libm_alias_ldouble.
27914 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27915 (fmaxl): Define using libm_alias_ldouble.
27916 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27917 (fminl): Define using libm_alias_ldouble.
27918 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27919 (llrintl): Define using libm_alias_ldouble.
27920 (lrintl): Likewise.
27921 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27922 <libm-alias-ldouble.h>.
27923 (nearbyintl): Define using libm_alias_ldouble.
27924 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27925 (truncl): Define using libm_alias_ldouble.
27926 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27927 <libm-alias-ldouble.h>.
27928 (lrintl): Define using libm_alias_ldouble.
27929
2ce30701
JM
27930 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27931 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27932 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27933 (asinhl): Define using libm_alias_ldouble.
27934 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27935 (atanl): Define using libm_alias_ldouble.
27936 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27937 (cbrtl): Define using libm_alias_ldouble.
27938 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27939 (ceill): Define using libm_alias_ldouble.
27940 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27941 (copysignl): Define using libm_alias_ldouble.
27942 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27943 (fabsl): Define using libm_alias_ldouble.
27944 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27945 (floorl): Define using libm_alias_ldouble.
27946 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27947 (fmaxl): Define using libm_alias_ldouble.
27948 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27949 (fminl): Define using libm_alias_ldouble.
27950 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27951 (frexpl): Define using libm_alias_ldouble.
27952 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27953 (llrintl): Define using libm_alias_ldouble.
27954 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27955 (logbl): Define using libm_alias_ldouble.
27956 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27957 (lrintl): Define using libm_alias_ldouble.
27958 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27959 (nearbyintl): Define using libm_alias_ldouble.
27960 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27961 (nextafterl): Define using libm_alias_ldouble.
27962 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27963 (remquol): Define using libm_alias_ldouble.
27964 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27965 (rintl): Define using libm_alias_ldouble.
27966 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27967 (truncl): Define using libm_alias_ldouble.
27968 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27969 (fmaxl): Define using libm_alias_ldouble.
27970 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27971 (fminl): Define using libm_alias_ldouble.
27972
015c6dc2
JM
27973 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27974 to C syntax instead of availability and properties of types.
27975 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27976 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27977 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27978 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27979 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27980 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27981
ce003e5d
FW
279822017-11-17 Florian Weimer <fweimer@redhat.com>
27983
27984 support_become_root: Enable file creation in namespaces.
27985 * support/support_become_root.c (setup_mapping): New function.
27986 (support_become_root): Call it.
27987
e7df6c5c
JM
279882017-11-17 Joseph Myers <joseph@codesourcery.com>
27989
27990 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27991 macro.
27992
58a813bf
AZ
279932017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27994
27995 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27996 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27997
f97773d1
JM
279982017-11-16 Joseph Myers <joseph@codesourcery.com>
27999
6a6aa1f3
JM
28000 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28001
f97773d1
JM
28002 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28003 version to 4.14.
28004
a306c790
SP
280052017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28006
7b0fb870
SP
28007 * INSTALL: Fix botched up regeneration.
28008
28009 * NEWS: Update sourceare link to https.
a306c790
SP
28010 * configure.ac: Likewise.
28011 * crypt/md5test-giant.c: Likewise.
28012 * dlfcn/bug-atexit1.c: Likewise.
28013 * dlfcn/bug-atexit2.c: Likewise.
28014 * localedata/README: Likewise.
28015 * malloc/tst-mallocfork.c: Likewise.
28016 * manual/install.texi: Likewise.
28017 * nptl/tst-pthread-getattr.c: Likewise.
28018 * stdio-common/tst-fgets.c: Likewise.
28019 * stdio-common/tst-fwrite.c: Likewise.
28020 * sunrpc/Makefile: Likewise.
28021 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28022 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
28023 * configure: Regenerate.
28024 * INSTALL: Regenerate.
a306c790 28025
7532837d
MS
280262017-11-15 Martin Sebor <msebor@redhat.com>
28027
28028 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28029 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28030 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28031
495a56fd
LS
280322017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28033
d9611e30
LS
28034 [BZ #22145]
28035 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28036 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28037
a09dfc19
LS
28038 [BZ #22145]
28039 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28040 Defer is_pty check until end of the function.
28041 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28042
2fbce9c2
LS
28043 [BZ #22145]
28044 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28045 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28046 (ttyname): Likewise.
28047 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28048 (__ttyname_r): Likewise.
28049
d10d6cab
LS
28050 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28051 int to bool.
28052
9b5a8750
LS
28053 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28054
495a56fd
LS
28055 * manual/terminal.texi (Is It a Terminal):
28056 Mention ENODEV for ttyname and ttyname_r.
28057
fa680dc6
JM
280582017-11-15 Joseph Myers <joseph@codesourcery.com>
28059
78cde19f
JM
28060 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28061 constant and macro.
28062
fa680dc6
JM
28063 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28064 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28065 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28066 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28067 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28068 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28069
ad4f43a2
AZ
280702017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28071
1ba1d8a4
AZ
28072 * signal/sigrelse.c (sigrelse): Optimize implementation.
28073
ad4f43a2
AZ
28074 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28075 (__sigpause): Rely on __sigsuspend to implement single thread
28076 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28077
d0212d42
JM
280782017-11-15 Joseph Myers <joseph@codesourcery.com>
28079
28080 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28081 kernel version to 4.14.
28082
2180fee1
SE
280832017-11-15 Steve Ellcey <sellcey@cavium.com>
28084
28085 [BZ #22442]
28086 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28087 Check if ifname is too long.
28088
cad7ca39
LS
280892017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28090
28091 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28092
58c9f659
MF
280932017-11-15 Mike FABIAN <mfabian@redhat.com>
28094
28095 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28096 was accidentally lost.
28097
0fa87c01
MF
280982017-11-15 Mike FABIAN <mfabian@redhat.com>
28099
28100 * localedata/locales/az_IR: Add standard copyright header.
28101
34eb4157
FW
281022017-11-15 Florian Weimer <fweimer@redhat.com>
28103
28104 [BZ #22439]
28105 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28106 not just the top one. Output a new "subheaps" statistic.
28107
7a9368a1
FW
281082017-11-15 Florian Weimer <fweimer@redhat.com>
28109
28110 [BZ #22408]
28111 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28112 under the per-arena lock.
28113 * malloc/Makefile (tests): Add tst-malloc_info.
28114 (tst-malloc_info): Link with libpthread.
28115 * malloc/tst-malloc_info.c: New file.
28116
be3a79a3
JM
281172017-11-15 Joseph Myers <joseph@codesourcery.com>
28118
28119 [BZ #21660]
28120 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28121 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28122 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28123 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28124 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28125 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28126 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28127 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28128 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28129 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28130 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28131 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28132 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28133 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28134 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28135 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28136 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28137 (__floating_type): Likewise.
28138 (__real_integer_type): Likewise.
28139 (__complex_integer_type): Likewise.
28140 (__expr_is_real): Likewise.
28141 (__tgmath_real_type_sub): Likewise.
28142 (__tgmath_real_type): Likewise.
28143 (__tgmath_complex_type_sub): Likewise.
28144 (__tgmath_complex_type): Likewise.
28145 (__TGMATH_F128): Likewise.
28146 (__TGMATH_CF128): Likewise.
28147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28148 new macros.
28149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28151 Likewise.
28152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28153 Likewise.
28154 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28157 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28158 Likewise.
28159 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28160 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28161 Likewise.
28162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28164 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28165 Likewise.
28166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28167 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28168 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28169 (cimag): Likewise.
28170 (creal): Likewise.
28171
ec72135e
JM
281722017-11-14 Joseph Myers <joseph@codesourcery.com>
28173
2e64ec9c
JM
28174 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28175 for stpncpy calls for GCC 8.
28176 (test_strncat): Disable -Wstringop-truncation warning for strncat
28177 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28178 strncat call for GCC 7.
28179 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28180 calls for GCC 8.
28181 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28182 trailing NUL.
28183
ec72135e
JM
28184 * string/bug-strncat1.c: Include <libc-diag.h>.
28185 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28186
363e4519 281872017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
28188
28189 [BZ #22387]
28190 * localedata/locales/aa_DJ: Improved readibility by replacing
28191 <Uxxxx> sequences in the ASCII printable range by their ASCII
28192 character equivalents.
28193 * localedata/locales/aa_ER: Likewise.
28194 * localedata/locales/aa_ER@saaho: Likewise.
28195 * localedata/locales/aa_ET: Likewise.
28196 * localedata/locales/af_ZA: Likewise.
28197 * localedata/locales/agr_PE: Likewise.
28198 * localedata/locales/ak_GH: Likewise.
28199 * localedata/locales/am_ET: Likewise.
28200 * localedata/locales/anp_IN: Likewise.
28201 * localedata/locales/ar_AE: Likewise.
28202 * localedata/locales/ar_BH: Likewise.
28203 * localedata/locales/ar_DZ: Likewise.
28204 * localedata/locales/ar_EG: Likewise.
28205 * localedata/locales/ar_IN: Likewise.
28206 * localedata/locales/ar_IQ: Likewise.
28207 * localedata/locales/ar_JO: Likewise.
28208 * localedata/locales/ar_KW: Likewise.
28209 * localedata/locales/ar_LB: Likewise.
28210 * localedata/locales/ar_LY: Likewise.
28211 * localedata/locales/ar_MA: Likewise.
28212 * localedata/locales/ar_OM: Likewise.
28213 * localedata/locales/ar_QA: Likewise.
28214 * localedata/locales/ar_SA: Likewise.
28215 * localedata/locales/ar_SD: Likewise.
28216 * localedata/locales/ar_SS: Likewise.
28217 * localedata/locales/ar_SY: Likewise.
28218 * localedata/locales/ar_TN: Likewise.
28219 * localedata/locales/ar_YE: Likewise.
28220 * localedata/locales/as_IN: Likewise.
28221 * localedata/locales/ast_ES: Likewise.
28222 * localedata/locales/ayc_PE: Likewise.
28223 * localedata/locales/az_AZ: Likewise.
28224 * localedata/locales/az_IR: Likewise.
28225 * localedata/locales/be_BY: Likewise.
28226 * localedata/locales/be_BY@latin: Likewise.
28227 * localedata/locales/bem_ZM: Likewise.
28228 * localedata/locales/ber_DZ: Likewise.
28229 * localedata/locales/ber_MA: Likewise.
28230 * localedata/locales/bg_BG: Likewise.
28231 * localedata/locales/bhb_IN: Likewise.
28232 * localedata/locales/bho_IN: Likewise.
28233 * localedata/locales/bi_VU: Likewise.
28234 * localedata/locales/bn_BD: Likewise.
28235 * localedata/locales/bn_IN: Likewise.
28236 * localedata/locales/bo_CN: Likewise.
28237 * localedata/locales/bo_IN: Likewise.
28238 * localedata/locales/br_FR: Likewise.
28239 * localedata/locales/brx_IN: Likewise.
28240 * localedata/locales/bs_BA: Likewise.
28241 * localedata/locales/byn_ER: Likewise.
28242 * localedata/locales/ca_AD: Likewise.
28243 * localedata/locales/ca_ES: Likewise.
28244 * localedata/locales/ca_FR: Likewise.
28245 * localedata/locales/ca_IT: Likewise.
28246 * localedata/locales/ce_RU: Likewise.
28247 * localedata/locales/chr_US: Likewise.
28248 * localedata/locales/cmn_TW: Likewise.
28249 * localedata/locales/crh_UA: Likewise.
28250 * localedata/locales/cs_CZ: Likewise.
28251 * localedata/locales/csb_PL: Likewise.
28252 * localedata/locales/cv_RU: Likewise.
28253 * localedata/locales/cy_GB: Likewise.
28254 * localedata/locales/da_DK: Likewise.
28255 * localedata/locales/de_AT: Likewise.
28256 * localedata/locales/de_BE: Likewise.
28257 * localedata/locales/de_CH: Likewise.
28258 * localedata/locales/de_DE: Likewise.
28259 * localedata/locales/de_IT: Likewise.
28260 * localedata/locales/de_LI: Likewise.
28261 * localedata/locales/de_LU: Likewise.
28262 * localedata/locales/doi_IN: Likewise.
28263 * localedata/locales/dv_MV: Likewise.
28264 * localedata/locales/dz_BT: Likewise.
28265 * localedata/locales/el_CY: Likewise.
28266 * localedata/locales/el_GR: Likewise.
28267 * localedata/locales/en_AG: Likewise.
28268 * localedata/locales/en_AU: Likewise.
28269 * localedata/locales/en_BW: Likewise.
28270 * localedata/locales/en_CA: Likewise.
28271 * localedata/locales/en_DK: Likewise.
28272 * localedata/locales/en_GB: Likewise.
28273 * localedata/locales/en_HK: Likewise.
28274 * localedata/locales/en_IE: Likewise.
28275 * localedata/locales/en_IL: Likewise.
28276 * localedata/locales/en_IN: Likewise.
28277 * localedata/locales/en_NG: Likewise.
28278 * localedata/locales/en_NZ: Likewise.
28279 * localedata/locales/en_PH: Likewise.
28280 * localedata/locales/en_SG: Likewise.
28281 * localedata/locales/en_US: Likewise.
28282 * localedata/locales/en_ZA: Likewise.
28283 * localedata/locales/en_ZM: Likewise.
28284 * localedata/locales/en_ZW: Likewise.
28285 * localedata/locales/eo: Likewise.
28286 * localedata/locales/es_AR: Likewise.
28287 * localedata/locales/es_BO: Likewise.
28288 * localedata/locales/es_CL: Likewise.
28289 * localedata/locales/es_CO: Likewise.
28290 * localedata/locales/es_CR: Likewise.
28291 * localedata/locales/es_CU: Likewise.
28292 * localedata/locales/es_DO: Likewise.
28293 * localedata/locales/es_EC: Likewise.
28294 * localedata/locales/es_ES: Likewise.
28295 * localedata/locales/es_GT: Likewise.
28296 * localedata/locales/es_HN: Likewise.
28297 * localedata/locales/es_MX: Likewise.
28298 * localedata/locales/es_NI: Likewise.
28299 * localedata/locales/es_PA: Likewise.
28300 * localedata/locales/es_PE: Likewise.
28301 * localedata/locales/es_PR: Likewise.
28302 * localedata/locales/es_PY: Likewise.
28303 * localedata/locales/es_SV: Likewise.
28304 * localedata/locales/es_US: Likewise.
28305 * localedata/locales/es_UY: Likewise.
28306 * localedata/locales/es_VE: Likewise.
28307 * localedata/locales/et_EE: Likewise.
28308 * localedata/locales/eu_ES: Likewise.
28309 * localedata/locales/eu_ES@euro: Likewise.
28310 * localedata/locales/fa_IR: Likewise.
28311 * localedata/locales/ff_SN: Likewise.
28312 * localedata/locales/fi_FI: Likewise.
28313 * localedata/locales/fil_PH: Likewise.
28314 * localedata/locales/fo_FO: Likewise.
28315 * localedata/locales/fr_BE: Likewise.
28316 * localedata/locales/fr_CA: Likewise.
28317 * localedata/locales/fr_CH: Likewise.
28318 * localedata/locales/fr_FR: Likewise.
28319 * localedata/locales/fr_LU: Likewise.
28320 * localedata/locales/fur_IT: Likewise.
28321 * localedata/locales/fy_DE: Likewise.
28322 * localedata/locales/fy_NL: Likewise.
28323 * localedata/locales/ga_IE: Likewise.
28324 * localedata/locales/gd_GB: Likewise.
28325 * localedata/locales/gez_ER: Likewise.
28326 * localedata/locales/gez_ET: Likewise.
28327 * localedata/locales/gl_ES: Likewise.
28328 * localedata/locales/gu_IN: Likewise.
28329 * localedata/locales/gv_GB: Likewise.
28330 * localedata/locales/ha_NG: Likewise.
28331 * localedata/locales/hak_TW: Likewise.
28332 * localedata/locales/he_IL: Likewise.
28333 * localedata/locales/hi_IN: Likewise.
28334 * localedata/locales/hif_FJ: Likewise.
28335 * localedata/locales/hne_IN: Likewise.
28336 * localedata/locales/hr_HR: Likewise.
28337 * localedata/locales/hsb_DE: Likewise.
28338 * localedata/locales/ht_HT: Likewise.
28339 * localedata/locales/hu_HU: Likewise.
28340 * localedata/locales/hy_AM: Likewise.
28341 * localedata/locales/i18n: Likewise.
28342 * localedata/locales/ia_FR: Likewise.
28343 * localedata/locales/id_ID: Likewise.
28344 * localedata/locales/ig_NG: Likewise.
28345 * localedata/locales/ik_CA: Likewise.
28346 * localedata/locales/is_IS: Likewise.
28347 * localedata/locales/it_CH: Likewise.
28348 * localedata/locales/it_IT: Likewise.
28349 * localedata/locales/iu_CA: Likewise.
28350 * localedata/locales/ja_JP: Likewise.
28351 * localedata/locales/ka_GE: Likewise.
28352 * localedata/locales/kk_KZ: Likewise.
28353 * localedata/locales/kl_GL: Likewise.
28354 * localedata/locales/kn_IN: Likewise.
28355 * localedata/locales/ko_KR: Likewise.
28356 * localedata/locales/kok_IN: Likewise.
28357 * localedata/locales/ks_IN: Likewise.
28358 * localedata/locales/ks_IN@devanagari: Likewise.
28359 * localedata/locales/ku_TR: Likewise.
28360 * localedata/locales/kw_GB: Likewise.
28361 * localedata/locales/ky_KG: Likewise.
28362 * localedata/locales/lb_LU: Likewise.
28363 * localedata/locales/lg_UG: Likewise.
28364 * localedata/locales/li_BE: Likewise.
28365 * localedata/locales/li_NL: Likewise.
28366 * localedata/locales/lij_IT: Likewise.
28367 * localedata/locales/ln_CD: Likewise.
28368 * localedata/locales/lo_LA: Likewise.
28369 * localedata/locales/lt_LT: Likewise.
28370 * localedata/locales/lv_LV: Likewise.
28371 * localedata/locales/lzh_TW: Likewise.
28372 * localedata/locales/mag_IN: Likewise.
28373 * localedata/locales/mai_IN: Likewise.
28374 * localedata/locales/mg_MG: Likewise.
28375 * localedata/locales/mhr_RU: Likewise.
28376 * localedata/locales/mi_NZ: Likewise.
28377 * localedata/locales/mk_MK: Likewise.
28378 * localedata/locales/ml_IN: Likewise.
28379 * localedata/locales/mn_MN: Likewise.
28380 * localedata/locales/mni_IN: Likewise.
28381 * localedata/locales/mr_IN: Likewise.
28382 * localedata/locales/ms_MY: Likewise.
28383 * localedata/locales/mt_MT: Likewise.
28384 * localedata/locales/my_MM: Likewise.
28385 * localedata/locales/nan_TW: Likewise.
28386 * localedata/locales/nan_TW@latin: Likewise.
28387 * localedata/locales/nb_NO: Likewise.
28388 * localedata/locales/nds_DE: Likewise.
28389 * localedata/locales/nds_NL: Likewise.
28390 * localedata/locales/ne_NP: Likewise.
28391 * localedata/locales/nhn_MX: Likewise.
28392 * localedata/locales/niu_NU: Likewise.
28393 * localedata/locales/niu_NZ: Likewise.
28394 * localedata/locales/nl_AW: Likewise.
28395 * localedata/locales/nl_BE: Likewise.
28396 * localedata/locales/nl_NL: Likewise.
28397 * localedata/locales/nn_NO: Likewise.
28398 * localedata/locales/nr_ZA: Likewise.
28399 * localedata/locales/nso_ZA: Likewise.
28400 * localedata/locales/oc_FR: Likewise.
28401 * localedata/locales/om_ET: Likewise.
28402 * localedata/locales/om_KE: Likewise.
28403 * localedata/locales/or_IN: Likewise.
28404 * localedata/locales/os_RU: Likewise.
28405 * localedata/locales/pa_IN: Likewise.
28406 * localedata/locales/pa_PK: Likewise.
28407 * localedata/locales/pap_AW: Likewise.
28408 * localedata/locales/pap_CW: Likewise.
28409 * localedata/locales/pl_PL: Likewise.
28410 * localedata/locales/ps_AF: Likewise.
28411 * localedata/locales/pt_BR: Likewise.
28412 * localedata/locales/pt_PT: Likewise.
28413 * localedata/locales/quz_PE: Likewise.
28414 * localedata/locales/raj_IN: Likewise.
28415 * localedata/locales/ro_RO: Likewise.
28416 * localedata/locales/ru_RU: Likewise.
28417 * localedata/locales/ru_UA: Likewise.
28418 * localedata/locales/rw_RW: Likewise.
28419 * localedata/locales/sa_IN: Likewise.
28420 * localedata/locales/sat_IN: Likewise.
28421 * localedata/locales/sc_IT: Likewise.
28422 * localedata/locales/sd_IN: Likewise.
28423 * localedata/locales/sd_IN@devanagari: Likewise.
28424 * localedata/locales/se_NO: Likewise.
28425 * localedata/locales/sgs_LT: Likewise.
28426 * localedata/locales/shs_CA: Likewise.
28427 * localedata/locales/si_LK: Likewise.
28428 * localedata/locales/sid_ET: Likewise.
28429 * localedata/locales/sk_SK: Likewise.
28430 * localedata/locales/sl_SI: Likewise.
28431 * localedata/locales/sm_WS: Likewise.
28432 * localedata/locales/so_DJ: Likewise.
28433 * localedata/locales/so_ET: Likewise.
28434 * localedata/locales/so_KE: Likewise.
28435 * localedata/locales/so_SO: Likewise.
28436 * localedata/locales/sq_AL: Likewise.
28437 * localedata/locales/sq_MK: Likewise.
28438 * localedata/locales/sr_ME: Likewise.
28439 * localedata/locales/sr_RS: Likewise.
28440 * localedata/locales/sr_RS@latin: Likewise.
28441 * localedata/locales/ss_ZA: Likewise.
28442 * localedata/locales/st_ZA: Likewise.
28443 * localedata/locales/sv_FI: Likewise.
28444 * localedata/locales/sv_SE: Likewise.
28445 * localedata/locales/sw_KE: Likewise.
28446 * localedata/locales/sw_TZ: Likewise.
28447 * localedata/locales/szl_PL: Likewise.
28448 * localedata/locales/ta_IN: Likewise.
28449 * localedata/locales/ta_LK: Likewise.
28450 * localedata/locales/tcy_IN: Likewise.
28451 * localedata/locales/te_IN: Likewise.
28452 * localedata/locales/tg_TJ: Likewise.
28453 * localedata/locales/th_TH: Likewise.
28454 * localedata/locales/the_NP: Likewise.
28455 * localedata/locales/ti_ER: Likewise.
28456 * localedata/locales/ti_ET: Likewise.
28457 * localedata/locales/tig_ER: Likewise.
28458 * localedata/locales/tk_TM: Likewise.
28459 * localedata/locales/tl_PH: Likewise.
28460 * localedata/locales/tn_ZA: Likewise.
28461 * localedata/locales/to_TO: Likewise.
28462 * localedata/locales/tpi_PG: Likewise.
28463 * localedata/locales/tr_CY: Likewise.
28464 * localedata/locales/tr_TR: Likewise.
28465 * localedata/locales/ts_ZA: Likewise.
28466 * localedata/locales/tt_RU: Likewise.
28467 * localedata/locales/tt_RU@iqtelif: Likewise.
28468 * localedata/locales/ug_CN: Likewise.
28469 * localedata/locales/uk_UA: Likewise.
28470 * localedata/locales/unm_US: Likewise.
28471 * localedata/locales/ur_IN: Likewise.
28472 * localedata/locales/ur_PK: Likewise.
28473 * localedata/locales/uz_UZ: Likewise.
28474 * localedata/locales/uz_UZ@cyrillic: Likewise.
28475 * localedata/locales/ve_ZA: Likewise.
28476 * localedata/locales/vi_VN: Likewise.
28477 * localedata/locales/wa_BE: Likewise.
28478 * localedata/locales/wae_CH: Likewise.
28479 * localedata/locales/wal_ET: Likewise.
28480 * localedata/locales/wo_SN: Likewise.
28481 * localedata/locales/xh_ZA: Likewise.
28482 * localedata/locales/yi_US: Likewise.
28483 * localedata/locales/yo_NG: Likewise.
28484 * localedata/locales/yue_HK: Likewise.
28485 * localedata/locales/yuw_PG: Likewise.
28486 * localedata/locales/zh_CN: Likewise.
28487 * localedata/locales/zh_HK: Likewise.
28488 * localedata/locales/zh_SG: Likewise.
28489 * localedata/locales/zh_TW: Likewise.
28490 * localedata/locales/zu_ZA: Likewise.
28491
cae87e64
FW
284922017-11-13 Florian Weimer <fweimer@redhat.com>
28493
28494 * support/next_to_fault.h, support/next_to_fault.c: New files.
28495 * support/Makefile (libsupport-routines): Add next_to_fault.
28496 * resolv/tst-inet_pton.c (struct next_to_fault)
28497 (next_to_fault_allocate, next_to_fault_free): Remove.
28498 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28499
4a306ef1
L
285002017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 * elf/dl-support.c: Include <dl-procruntime.c>.
28503 * include/link.h: Include <link_map.h>.
28504 * sysdeps/generic/dl-procruntime.c: New file.
28505 * sysdeps/generic/link_map.h: Likewise.
28506 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28507 the writable ld.so namespace.
28508
e69897bf
PE
285092017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28510
28511 timezone: pacify GCC -Wstringop-truncation
28512 Problem reported by Martin Sebor in:
28513 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28514 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28515
1ffe1ccb
FW
285162017-11-12 Florian Weimer <fweimer@redhat.com>
28517
eceed671
FW
28518 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28519 tst-xreadlink.
28520 (tests): Add tst-xreadlink.
1ffe1ccb
FW
28521 * support/support.h (xstrndup): Declare.
28522 * support/xunistd.h (xunlink, xreadlink): Declare.
28523 * support/temp_file.h (support_create_temp_directory): Declare.
28524 * support/temp_file.c (support_create_temp_directory): New function.
28525 * support/support_chroot.c (support_chroot_create): Use it.
28526 * support/xreadlink.c: New file.
28527 * support/xstrndup.c: Likewise.
28528 * support/xunlink.c: Likewise.
28529 * support/tst-xreadlink.c: Likewise.
28530
456b40a9
JDA
285312017-11-11 John David Anglin <danglin@gcc.gnu.org>
28532
28533 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28534
c0a25aa9
FW
285352017-11-11 Florian Weimer <fweimer@redhat.com>
28536
28537 [BZ #22409]
28538 [BZ #22412]
28539 * resolv/res_comp.c (printable_string, binary_hnok)
28540 (binary_leading_dash): New functions.
28541 (res_hnok): Reimplement using these functions and ns_name_pton.
28542 (res_ownok): Likewise.
28543 (res_mailok): Reimplement using printable_string, ns_name_pton and
28544 binary_hnok.
28545 (res_dnok): Reimplement using printable_string and ns_name_pton.
28546 * resolv/tst-res_hnok.c (tests): Add additional tests.
28547 (LETTERDIGITS, PRINTABLE): Define.
28548 (do_test): Adjust one_char results.
28549
9e0ad304
FW
285502017-11-11 Florian Weimer <fweimer@redhat.com>
28551
28552 [BZ #22413]
28553 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28554 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28555
e2a9fca8
FW
285562017-11-11 Florian Weimer <fweimer@redhat.com>
28557
28558 * resolv/tst-ns_name_pton.c: New file.
28559 * resolv/Makefile (tests): Add tst-ns_name_pton.
28560 (tst-ns_name_pton): Link against libresolv.
28561
5c1a6923
FW
285622017-11-11 Florian Weimer <fweimer@redhat.com>
28563
28564 * resolv/tst-res_hnok.c: New file.
28565 * resolv/Makefile (tests): Add tst-res_hnok.
28566 (tst-res_hnok): Link against libresolv.
28567
a19c0a1d
FW
285682017-11-11 Florian Weimer <fweimer@redhat.com>
28569
28570 * resolv/tst-resolv-network.c: Use test framework instead explicit
28571 main function.
28572
8cb5295d
L
285732017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28574
28575 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28576 <jmp_buf-macros.h>.
28577 [!_ISOMAC] (STR_HELPER): New.
28578 [!_ISOMAC] (STR): Likewise.
28579 [!_ISOMAC] (TEST_SIZE): Likewise.
28580 [!_ISOMAC] (TEST_ALIGN): Likewise.
28581 [!_ISOMAC] (TEST_OFFSET): Likewise.
28582 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28583 field offsets of jmp_buf as well as sigjmp_buf.
28584 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28585 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28586 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28587 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28588 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28589 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28590 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28591 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28592 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28593 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28594 Likewise.
28595 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28596 Likewise.
28597 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28599 Likewise.
28600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28601 Likewise.
28602 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28603 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28604 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28605 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28606 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28608 Likewise.
28609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28610 Likewise.
28611 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28612 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28613 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28614
58c4a161
JM
286152017-11-07 Joseph Myers <joseph@codesourcery.com>
28616
3683b423
JM
28617 * include/float.h
28618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28619 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28621 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28623 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28625 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28627 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28629 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28631 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28633 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28635 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28637 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28639 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28641 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28643 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28645 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28647 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28649 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28651 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28653 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28655 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28657 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28659 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28661 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28663 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28665 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28667 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28669 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28671 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28673 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28675 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28677 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28679 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28681 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28683 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28685 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28687 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28689 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28691 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28693 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28695 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28697 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28699 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28701 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28703 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28705 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28706
58c4a161
JM
28707 * stdlib/tst-strtod.h (F16): New macro.
28708 (F32): Likewise.
28709 (F64): Likewise.
28710 (F32X): Likewise.
28711 (F64X): Likewise.
28712 (F128X): Likewise.
28713 (IF_FLOAT16): Likewise.
28714 (IF_FLOAT32): Likewise.
28715 (IF_FLOAT64): Likewise.
28716 (IF_FLOAT32X): Likewise.
28717 (IF_FLOAT64X): Likewise.
28718 (IF_FLOAT128X): Likewise.
28719 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28720 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28721 (STRTOD_TEST_FOREACH): Likewise.
28722 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28723 (CHOOSE_f64): Likewise.
28724 (CHOOSE_f32x): Likewise.
28725 (CHOOSE_f64x): Likewise.
28726
feda96a1
AS
287272017-11-07 Andreas Schwab <schwab@suse.de>
28728
28729 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28730
1bd0cbb8
MF
287312017-11-07 Mike FABIAN <mfabian@redhat.com>
28732
28733 [BZ #22403]
28734 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28735 to be escaped.
28736 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28737 to be escaped.
28738
363e4519 287392017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
28740
28741 [BZ #22403]
28742 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28743 to be escaped.
28744 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28745 to be escaped.
28746 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28747 to be escaped.
28748
dff91cd4
AZ
287492017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28750
06be6368
AZ
28751 [BZ #22298]
28752 * nptl/allocatestack.c (allocate_stack): Check if
28753 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28754 __PTHREAD_MUTEX_HAVE_PREV is defined.
28755 * nptl/descr.h (pthread): Likewise.
28756 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28757 Likewise.
28758 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28759 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28760 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28761 * sysdeps/nptl/bits/thread-shared-types.h
28762 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28763 defines.
28764 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28765 of __WORDSIZE for internal layout.
28766 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28767 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28768 instead of __WORDSIZE whether to use an union for __spins and __list
28769 fields.
28770 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28771 case.
28772 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28773 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28774 defines.
28775 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28776 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28777 Likewise.
28778 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28779 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28780 Likewise.
28781 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28783 Likewise.
28784 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28786 Likewise.
28787 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28789 Likewise.
28790 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28792 Likewise.
28793 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28795 Likewise.
28796 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28798 Likewise.
28799 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28801 Likewise.
28802 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28804 Likewise.
28805 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28807 Likewise.
28808 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28810 Likewise.
28811 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28813 Likewise.
28814 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28816 Likewise.
28817
72b3c6ee
AZ
28818 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28819 New macros.
28820 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28821 checks for expected input type size.
28822 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28823 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28824 Likewise.
28825 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28826 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28827 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28828 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28829 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28830 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28831 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28832 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28833 superflous runtime assert check.
28834 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28835 Likewise.
28836 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28837 Likewise.
28838 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28839 Likewise.
28840 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28841 Likewise.
28842 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28843 Likewise.
28844 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28845 Likewise.
28846 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28847 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28848 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28849 Likewise.
28850 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28851 Likewise.
28852 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28853 Likewise.
28854 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28855 Likewise.
28856 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28857 Likewise.
28858 * nptl/pthread_attr_setinheritsched.c
28859 (__pthread_attr_setinheritsched): Likewise.
28860 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28861 Likewise.
28862 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28863 Likewise.
28864 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28865 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28866 __old_pthread_attr_setstack): Likewise.
28867 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28868 Likewise.
28869 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28870 Likewise.
28871 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28872 Likewise.
28873 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28874 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28875 Likewise.
28876 * nptl/tst-typesizes.c: Remove file.
28877
dff91cd4
AZ
28878 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28879 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28880 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28881 checks for internal pthread_mutex_t offsets.
28882 * sysdeps/aarch64/nptl/pthread-offsets.h
28883 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28884 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28885 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28886 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28887 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28888 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28889 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28890 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28891 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28892 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28893 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28894 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28895 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28896 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28897 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28898 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28899 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28900 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28901
b7fc95f8
FW
289022017-11-07 Florian Weimer <fweimer@redhat.com>
28903
28904 * bits/mman-linux.h: Move ...
28905 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28906 comment.
28907 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28908 outdated comment.
28909
6b860364
RS
289102017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28911
28912 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28913 Redefine STRNLEN as __strnlen_power8.
28914
802c1f16
AZ
289152017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28916
d83da3a4
AZ
28917 * signal/sighold.c (sighold): Optimize implementation.
28918
6a4235f1
AZ
28919 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28920 __NR_rt_sigqueueinfo.
28921
8b0e795a
AZ
28922 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28923 __sigtimedwait.
28924 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28925 assume __NR_rt_sigtimedwait.
28926 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28927 and add LIBC_CANCEL_HANDLED for cancellation marking.
28928 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28929
a1a638dd
AZ
28930 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28931 (sysdeps_routines): Add memchr_noneon.
28932 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28933 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28934 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28935 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28936 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28937 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28938 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28939
802c1f16
AZ
28940 * sysdeps/arm/arm-ifunc.h: New file.
28941 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28942 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28943 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28944 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28945 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28946 (__memcpy_neon): Avoid create hidden alias.
28947 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28948 (__memcpy_vfp): Likewise.
28949 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28950 (sysdep_routines): Add memcpy_arm.
28951 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28952
abcb584d
L
289532017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 [BZ #22362]
28956 * Makerules (make-link-multidir): New.
28957 * config.make.in (multidir): New.
28958 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28959 * configure: Regenerated.
28960 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28961 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28962 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28963 New target.
28964
4e2dff67
JM
289652017-11-06 Joseph Myers <joseph@codesourcery.com>
28966
28967 [BZ #22402]
28968 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28969 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28970
a1c7cd3c
MF
289712017-11-04 Mike FABIAN <mfabian@redhat.com>
28972
28973 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28974 to be escaped.
28975
b9af29c0
FW
289762017-11-04 Florian Weimer <fweimer@redhat.com>
28977
28978 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28979
4ca70e1a
JM
289802017-11-03 Joseph Myers <joseph@codesourcery.com>
28981
28982 * math/math.h [__HAVE_DISTINCT_FLOAT16
28983 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28984 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28985 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28986 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28987 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28988 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28989 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28990 (__MATH_TG_F32): New macro.
28991 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28992 (__MATH_TG_F64X): Likewise.
28993 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28994 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28995
ba0e6668
DL
289962017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28997
28998 * po/de.po: Update translations.
28999 * po/ru.po: Likewise.
29000
bc18a6d3
FW
290012017-11-03 Florian Weimer <fweimer@redhat.com>
29002
29003 * manual/filesys.texi (Hard Links): Document linkat.
29004
97255170
JM
290052017-11-03 Joseph Myers <joseph@codesourcery.com>
29006
86ec4865
JM
29007 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29008 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29009 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29010 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29011 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29012 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29013 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29014 the same as _Float128.
29015 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29016 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29017 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29018
97255170
JM
29019 * stdlib/stdlib.h
29020 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29021 Declare.
29022 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29023 Likewise.
29024 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29025 Likewise.
29026 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29027 (strtof32x): Likewise.
29028 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29029 (strtof64x): Likewise.
29030 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29031 (strtof128x): Likewise.
29032 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29033 (strfromf16): Likewise.
29034 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29035 (strfromf32): Likewise.
29036 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29037 (strfromf64): Likewise.
29038 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29039 (strfromf32x): Likewise.
29040 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29041 (strfromf64x): Likewise.
29042 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29043 (strfromf128x): Likewise.
29044 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29045 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29046 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29047 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29048 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29049 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29050
6d58ce5e
RH
290512017-11-03 Richard Henderson <rth@twiddle.net>
29052
29053 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29054
659ca267
SN
290552017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29056
29057 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29058
94d2f0af
SN
290592017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29060
29061 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29062 DT_TLSDESC_GOT initialization.
29063 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29064 (_dl_tlsdesc_resolve_hold): Likewise.
29065 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29066 (_dl_tlsdesc_resolve_hold): Likewise.
29067 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29068 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29069
28e1ddf3
SN
290702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29071
29072 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29073
0ca3d1d6
SN
290742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29075
29076 [BZ #18572]
29077 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29078 non-lazily for R_ARM_TLS_DESC.
29079
2c1d4e5f
SN
290802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29081
29082 [BZ #17078]
29083 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29084 R_ARM_TLS_DESC case.
29085 (elf_machine_lazy_rel): Remove the prelink check.
29086
91c5a366
SN
290872017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29088
29089 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29090 DT_TLSDESC_GOT initialization.
29091 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29092 (_dl_tlsdesc_resolve_rela): Likewise.
29093 (_dl_tlsdesc_resolve_hold): Likewise.
29094 (_dl_tlsdesc_undefweak): Remove ldar.
29095 (_dl_tlsdesc_dynamic): Likewise.
29096 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29097 (_dl_tlsdesc_resolve_rela): Likewise.
29098 (_dl_tlsdesc_resolve_hold): Likewise.
29099 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29100 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29101 (_dl_tlsdesc_resolve_rela): Likewise.
29102 (_dl_tlsdesc_resolve_hold): Likewise.
29103
b7cf203b
SN
291042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29105
29106 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29107 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29108
0cc5b022
SN
291092017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29110
29111 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29112 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29113
43ddff2e
JM
291142017-11-02 Joseph Myers <joseph@codesourcery.com>
29115
29116 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29117 Declare.
29118 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29119 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29120 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29121 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29122 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29123 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29124 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29125 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29126 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29127 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29128 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29129
5baac970
MF
291302017-11-02 Mike FABIAN <mfabian@redhat.com>
29131
29132 [BZ #22382]
29133 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29134 * localedata/locales/tpi_PG: Add standard header.
29135
ef11081f
FW
291362017-11-02 Florian Weimer <fweimer@redhat.com>
29137
29138 test-errno-linux: quotactl can fail with EPERM in containers.
29139 * sysdeps/unix/sysv/linux/test-errno-linux.c
29140 (LIST, LIST_FORWARD): New macros.
29141 (check_error_in_list): New function.
29142 (test_wrp_rv): Accept list of permitted error codes.
29143 (test_wrp_rv2): Remove.
29144 (test_wrp): Call test_wrp_rv with list of error codes.
29145 (test_wrp2): Accept list of error codes.
29146 (do_test): Adjust. Allow EPERM for quotactl.
29147
d10b132b
FW
291482017-11-02 Florian Weimer <fweimer@redhat.com>
29149
29150 * stdio-common/bug16.c (do_test): Use array_length.
29151 * stdio-common/errlist.c (_sys_nerr): Likewise.
29152 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29153 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29154 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29155 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29156 (do_test): Use array_length.
29157 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29158 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29159 * stdio-common/tst-printf-round.c (do_test): Likewise.
29160 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29161 (CHECK): Use array_length.
29162 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29163 * stdio-common/tstscanf.c (main): Likewise.
29164 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29165
c94a5688
FW
291662017-11-02 Florian Weimer <fweimer@redhat.com>
29167
29168 Add array_length and array_end macros.
29169 * include/array_length.h: New file.
29170
2fac6a6c
FW
291712017-11-02 Florian Weimer <fweimer@redhat.com>
29172
29173 [BZ #22332]
29174 * posix/tst-glob-tilde.c (do_noescape): New variable.
29175 (one_test): Process it.
29176 (do_test): Set do_noescape. Add unescaping test case.
29177
2f1b212e
JM
291782017-11-01 Joseph Myers <joseph@codesourcery.com>
29179
260fbd0a
JM
29180 * math/complex.h
29181 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29182 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29183 with appropriate macros defined and undefined.
29184 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29185 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29186 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29187 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29188 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29189 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29190 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29191 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29192 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29193 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29194
2f1b212e
JM
29195 * math/complex.h
29196 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29197 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29198 that for long double. Do not condition define and undefine of
29199 _Mdouble_complex_ on [__CFLOAT128].
29200
95b93c6e
L
292012017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29202
29203 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29204 of <sysdeps/generic/sysdep.h>.
29205 (ALIGNARG): Removed.
29206 (ASM_SIZE_DIRECTIVE): Likewise.
29207 (ENTRY): Likewise.
29208 (END): Likewise.
29209 (ENTRY_CHK): Likewise.
29210 (END_CHK): Likewise.
29211 (syscall_error): Likewise.
29212 (mcount): Likewise.
29213 (PSEUDO_END): Likewise.
29214 (L): Likewise.
29215 (atom_text_section): Likewise.
29216 * sysdeps/x86/sysdep.h: New file.
29217 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29218 of <sysdeps/generic/sysdep.h>.
29219 (ALIGNARG): Removed.
29220 (ASM_SIZE_DIRECTIVE): Likewise.
29221 (ENTRY): Likewise.
29222 (END): Likewise.
29223 (ENTRY_CHK): Likewise.
29224 (END_CHK): Likewise.
29225 (syscall_error): Likewise.
29226 (mcount): Likewise.
29227 (PSEUDO_END): Likewise.
29228 (L): Likewise.
29229 (atom_text_section): Likewise.
29230
ab74d59f 292312017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
1bb36539
RL
29232
29233 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29234 category of LC_CTYPE set to "i18n:2012".
29235 * localedata/locales/i18n_ctype: Regenerate.
29236
067f5d97 292372017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 29238
87bbc4cf
YN
29239 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29240 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29241 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29242 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29243
e8681faa
YN
29244 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29245 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29247 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29248
540af6e2
JM
292492017-10-31 Joseph Myers <joseph@codesourcery.com>
29250
43e66283
JM
29251 * math/complex.h
29252 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29253 New macro.
29254 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29255 Likewise.
29256 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29257 Likewise.
29258 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29259 (CMPLXF32X): Likewise.
29260 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29261 (CMPLXF64X): Likewise.
29262 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29263 (CMPLXF128X): Likewise.
29264
540af6e2
JM
29265 * math/math.h
29266 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29267 (__MATH_EVAL_FMT2): Define to add 0.0f.
29268
58af72b4
AM
292692017-10-31 Alan Modra <amodra@gmail.com>
29270
29271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29272 include sysdep.h.
29273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29287 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29289 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29320 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29321 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29322 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29323 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29325 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29326 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29327 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29328 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29329 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29330 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29331 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29332 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29335 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29336 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29337 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29340 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29342
29343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29344 include sysdep.h and math_ldbl_opt.h.
29345
29346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29347 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29372
112f30b3
AM
293732017-10-31 Alan Modra <amodra@gmail.com>
29374
29375 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29376 string/strncase_l.c, not string/strncase.c.
29377 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29378 (libc_hidden_def): Redefine.
29379
e9e7eced
AM
293802017-10-31 Alan Modra <amodra@gmail.com>
29381
29382 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29383 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29384 (__strcasecmp): Don't define.
29385
f7b465cf
AM
293862017-10-31 Alan Modra <amodra@gmail.com>
29387
29388 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29389 IS_IN (libc).
29390 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29391 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29392 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29393
d46b09f9
AM
293942017-10-31 Alan Modra <amodra@gmail.com>
29395
29396 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29397 USE_AS_STPNCPY.
29398
e9b8e194
AM
293992017-10-31 Alan Modra <amodra@gmail.com>
29400
29401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29402 Redefine only when SHARED.
29403
eda162dd
JM
294042017-10-30 Joseph Myers <joseph@codesourcery.com>
29405
b61afe8c
JM
29406 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29407 Include <bits/math-finite.h> with appropriate macros defined and
29408 undefined.
29409 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29410 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29411 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29412 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29413 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29414
eda162dd
JM
29415 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29416 [!_Mlong_double_] (_Mlong_double_): Likewise.
29417 [!_Mfloat16_] (_Mfloat16_): Likewise.
29418 [!_Mfloat32_] (_Mfloat32_): Likewise.
29419 [!_Mfloat64_] (_Mfloat64_): Likewise.
29420 [!_Mfloat128_] (_Mfloat128_): Likewise.
29421 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29422 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29423 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29424 (_Mdouble_): Define without indirection through those macros.
29425 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29426 [!_Mfloat128_] (_Mfloat128_): Likewise.
29427 [_Mlong_double_] (_Mlong_double_): Likewise.
29428 (_Mdouble_): Define without indirection through those macros.
29429 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29430 not add -D_Mlong_double_=double.
29431 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29432 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29433
4ad5106e
L
294342017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29435
29436 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29437
fe326df7
L
294382017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29439
29440 * sysdeps/x86/libc-start.c: Reformat.
29441
c5cc4514
L
294422017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29443
29444 [BZ #22353]
29445 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29446 (1): Renamed to ...
29447 (L(Src0)): This.
29448 (L(Src1)): New.
29449 (L(Src2)): Likewise.
29450 (L(1)): Renamed to ...
29451 (L(Src3)): This.
29452
ce12269f
JM
294532017-10-30 Joseph Myers <joseph@codesourcery.com>
29454
29455 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29456 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29457 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29458 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29459 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29460 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29461 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29462 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29463 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29464 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29465 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29466 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29467 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29468 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29469 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29470 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29471 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29472 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29473 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29474 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29475 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29476 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29477 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29478 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29479 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29480 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29481 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29482 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29483 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29484 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29485 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29486 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29487 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29488 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29489 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29490 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29491 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29492 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29493 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29494 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29495 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29496 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29497 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29498 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29499 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29500 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29501 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29502 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29503 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29504 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29505 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29506 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29507 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29508 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29509 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29510 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29511 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29512 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29513 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29514 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29515 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29516 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29517 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29518 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29519 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29520 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29521
4484b9e2
FW
295222017-10-30 Florian Weimer <fweimer@redhat.com>
29523
29524 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29525 always defined.
29526 * io/tst-mkdirat.c (do_test): Likewise.
29527 * io/tst-mkfifoat.c (do_test): Likewise.
29528 * io/tst-mknodat.c (do_test): Likewise.
29529 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29530 * locale/programs/locale.c (select_dirs): Likewise.
29531 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29532 * posix/bug-glob2.c (my_readdir): Likewise.
29533 * posix/tst-dir.c (main): Likewise.
29534 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29535 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29536
68fe16dd
FW
295372017-10-30 Florian Weimer <fweimer@redhat.com>
29538
29539 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29540 just __USE_GNU.
29541
dadf23f0
FW
295422017-10-30 Florian Weimer <fweimer@redhat.com>
29543
29544 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29545 Convert to support/test-driver.c.
29546 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29547 New macro parameters.
29548 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29549 * posix/tst-gnuglob.c: New file.
29550 * posix/tst-gnuglob64.c: Likewise.
29551 * posix/Makefile (tests): Add tst-gnuglob64.
29552
363e4519 295532017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
29554
29555 [BZ #19485]
29556 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29557 and use a better translation for March in “mon”.
29558 * localedata/locales/csb_PL: Use more ASCII to improve the
29559 readability of the source.
29560
b110af82
MF
295612017-10-30 Mike FABIAN <mfabian@redhat.com>
29562
29563 [BZ #13953]
29564 * localedata/locales/km_KH: Use ASCII as much
29565 as possible for better readability of the source and
29566 remove useless comments.
29567 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29568 was commented out and apparently wrong anyway because it was
29569 using Lao characters. If Buddhist era should be used
29570 for km_KH, a native speaker should write the correct formaat
29571 for Khmer.
29572 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29573 (According to CLDR, the first weekday for Cambodia is Sunday).
29574 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29575 (These were using Lao characters which must be wrong. If we get
29576 the correct data from a native speaker, we could add it back, until
29577 then it is better not to have name_mr and name_mrs at all than
29578 having it wrong).
29579
ab74d59f 295802017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
f301e533
RL
29581
29582 * locale/loadlocale.c: Correct size of
29583 _nl_value_type_LC_<category> arrays.
29584
7e9d7073
JM
295852017-10-27 Joseph Myers <joseph@codesourcery.com>
29586
29587 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29588 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29589 with appropriate macros defined and undefined.
29590 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29591 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29592 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29593 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29594 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29595
63d3b468
L
295962017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29597
29598 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29599 "-O2 -march=i586".
29600
a4cc02c7
MF
296012017-10-27 Mike FABIAN <mfabian@redhat.com>
29602
29603 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29604 with lowercase letters to make it agree with CLDR.
29605
1e5971ec
MF
296062017-10-27 Mike FABIAN <mfabian@redhat.com>
29607
29608 [BZ #15260]
29609 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29610 first letters of yesstr and nostr in yesexpr and noexpr,
29611 not for the full words.
29612 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29613 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29614 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29615 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29616 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29617 first letters of yesstr and nostr in yesexpr and noexpr,
29618 until now only English was matched in yesexpr and noexpr.
29619 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29620 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29621 fil but not for tl. As tl and fil are very similar, using fil
29622 is probably better than using English.
29623
363e4519 296242017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
29625
29626 [BZ #21706]
29627 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29628 in yesstr and nostr.
29629
5d220788
JM
296302017-10-26 Joseph Myers <joseph@codesourcery.com>
29631
ecc7da5b
JM
29632 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29633 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29634 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29635 Likewise.
29636 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29637 Likewise.
29638 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29639 Likewise.
29640 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29641 Likewise.
29642 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29643 (SNANF128X): Likewise.
29644
5d220788
JM
29645 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29646 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29647 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29648 (HUGE_VAL_F32): Likewise.
29649 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29650 (HUGE_VAL_F64): Likewise.
29651 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29652 (HUGE_VAL_F32X): Likewise.
29653 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29654 (HUGE_VAL_F64X): Likewise.
29655 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29656 (HUGE_VAL_F128X): Likewise.
29657
363e4519 296582017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
29659
29660 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29661 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29662 for the br_FR locale.
29663
363e4519 296642017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
29665
29666 [BZ #21706]
29667 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29668
337ff3c5
CD
296692017-10-25 Carlos O'Donell <carlos@redhat.com>
29670
02eec681
CD
29671 * locale/programs/record-status.h: Define globals, and function
29672 prototypes. Move function bodies...
29673 * locale/programs/record-status.c: ... to here. New file.
29674 * iconv/Makefile (iconv_prog-modules): Add record-status.
29675 * locale/Makefile (lib-modules): Likewise.
29676 * iconv/iconv_prog.c: Remove verbose.
29677 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29678 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29679 record a warning about ASCII compatibility.
29680 * locale/programs/ld-monetary.c (monetary_finish): If
29681 warn_int_curr_symbol is true then record a warning about the symbol
29682 not being in our ISO 4217 list.
29683 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29684 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29685 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29686 (OPT_NO_WARN): Define.
29687 (OPT_WARN): Define.
29688 (options): Add entry for --no-warnings, and --warnings.
29689 (set_warnings): New function to enable/disable warnings.
29690 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29691 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29692 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29693 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29694 Pass flags to generate_locale.
29695 (generate_locale): Accept new flag argument and pass it to localedef
29696 invocation.
29697 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29698 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29699
56fa555a
CD
29700 * localedata/Makefile (test-input-data): Use full file name.
29701 * localedata/da_DK.in: Rename to...
29702 * localedata/da_DK.ISO-8859-1.in: ...this.
29703 * localedata/de_DE.in: Rename to...
29704 * localedata/de_DE.ISO-8859-1.in: ...this.
29705 * localedata/en_US.in: Rename to...
29706 * localedata/en_US.ISO-8859-1.in: ...this.
29707 * localedata/fr_FR.in: Rename to...
29708 * localedata/fr_FR.UTF-8.in: ... this.
29709 * localedata/hr_HR.in: Rename to...
29710 * localedata/hr_HR.ISO-8859-2.in: ...this.
29711 * localedata/hu_HU.in: Rename to...
29712 * localedata/hu_HU.UTF-8.in: ...this.
29713 * localedata/si_LK.in: Rename to...
29714 * localedata/si_LK.UTF-8.in: ...this.
29715 * localedata/sv_SE.in: Rename to...
29716 * localedata/sv_SE.ISO-8859-1.in: ...this.
29717 * localedata/tr_TR.in: Rename to...
29718 * localedata/tr_TR.UTF-8.in: ...this.
29719 * localedata/uk_UA.in: Rename to...
29720 * localedata/uk_UA.UTF-8.in: ...this.
29721 * localedata/sort-test.sh: Test file is locale name with the
29722 suffix.
29723
337ff3c5
CD
29724 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29725 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29726 file.
29727 * localedata/locales/i18n_ctype: Regenerate.
29728 * localedata/locales/tr_TR: Likewise.
29729 * localedata/locales/translit_circle: Likewise.
29730 * localedata/locales/translit_cjk_compat: Likewise.
29731 * localedata/locales/translit_combining: Likewise.
29732 * localedata/locales/translit_compat: Likewise.
29733 * localedata/locales/translit_font: Likewise.
29734 * localedata/locales/translit_fraction: Likewise.
29735
63da5cd4
RS
297362017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29737
29738 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29739 lxvd2x/stxvd2x with lvx/stvx.
29740 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29741
a122dbfb
L
297422017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * include/alloc_buffer.h: Replace "if if " with "if " in
29745 comments.
29746 * sysdeps/mips/memcpy.S: Likkewise.
29747 * sysdeps/mips/memset.S: Likewise.
29748 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29749 Likewise.
29750 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29751 Likewise.
29752 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29753 Likewise.
29754
9be7530c
MF
297552017-10-25 Mike FABIAN <mfabian@redhat.com>
29756
29757 [BZ #15261]
29758 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29759 yesexpr and noexpr.
29760 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29761 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29762 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29763 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29764 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29765 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29766 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29767
6ccbf6ff
MF
297682017-10-25 Mike FABIAN <mfabian@redhat.com>
29769
29770 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29771 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29772 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29773 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29774 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29775 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29776 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29777 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29778 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29779 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29780 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29781 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29782
58b1a7ea
MF
297832017-10-25 Mike FABIAN <mfabian@redhat.com>
29784
29785 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29786 as possible for better readability of the source.
29787 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29788 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29789 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29790 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29791 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29792 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29793 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29794 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29795 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29796 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29797 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29798 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29799 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29800 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29801 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29802 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29803 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29804 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29805 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29806 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29807 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29808 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29809 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29810 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29811 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29812 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29813 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29814 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29815 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29816 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29817 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29818 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29819 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29820 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29821 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29822 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29823 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29824 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29825 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29826 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29827 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29828 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29829 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29830 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29831 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29832 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29833 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29834 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29835 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29836 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29837 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29838 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29839 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29840 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29841 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29842 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29843 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29844 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29845 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29846 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29847 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29848 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29849 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29850 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29851 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29852 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29853 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29854 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29855 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29856 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29857 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29858 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29859 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29860 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29861 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29862 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29863 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29864 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29865 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29866 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29867 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29868 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29869 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29870 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29871 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29872 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29873 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29874 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29875 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29876 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29877 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29878 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29879 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29880 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29881 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29882 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29883 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29884 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29885 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29886 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29887 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29888 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29889 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29890 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29891 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29892 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29893 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29894 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29895 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29896 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29897 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29898 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29899 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29900 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29901 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29902 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29903 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29904 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29905 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29906 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29907 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29908 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29909 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29910 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29911 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29912 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29913 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29914 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29915 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29916 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29917 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29918 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29919 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29920 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29921 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29922 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29923 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29924 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29925 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29926 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29927 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29928 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29929 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29930 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29931 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29932 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29933 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29934 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29935 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29936 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29937 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29938 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29939 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29940 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29941 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29942 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29943 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29944 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29945 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29946 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29947 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29948 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29949 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29950 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29951 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29952 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29953 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29954 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29955 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29956 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29957 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29958 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29959 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29960 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29961
17e78edb
MF
299622017-10-25 Mike FABIAN <mfabian@redhat.com>
29963
29964 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29965 (Use first letters of yesstr and nostr correctly instead of using
29966 full words).
29967
74e7284f
MF
299682017-10-25 Mike FABIAN <mfabian@redhat.com>
29969
29970 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29971 (Use first letters of yesstr and nostr correctly).
29972
b41a0ff1
MF
299732017-10-25 Mike FABIAN <mfabian@redhat.com>
29974
29975 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29976 also check for the first characters of yesstr and nostr.
29977 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29978 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29979
d971f380
MF
299802017-10-25 Mike FABIAN <mfabian@redhat.com>
29981
29982 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29983 also check for Chinese characters.
29984
effc9e1d
MF
299852017-10-25 Mike FABIAN <mfabian@redhat.com>
29986
29987 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29988 match also for the contents of yesstr and nostr. As the first letter
29989 of yesstr and nostr is equal, checking only for the first letter
29990 is not enough.
29991
10320881
MF
299922017-10-25 Mike FABIAN <mfabian@redhat.com>
29993
29994 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29995 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29996
d8682a15
MF
299972017-10-25 Mike FABIAN <mfabian@redhat.com>
29998
29999 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30000 of main contributor.
30001
1bfb86ae
MF
300022017-10-25 Mike FABIAN <mfabian@redhat.com>
30003
30004 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30005 instead of using English.
30006
da33d60b
MF
300072017-10-25 Mike FABIAN <mfabian@redhat.com>
30008
30009 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30010 by including the first letters of nostr and yesexpr in the regexp.
30011 Also make it more readable by using ASCII where possible.
30012
725bbb3e
MF
300132017-10-25 Mike FABIAN <mfabian@redhat.com>
30014
30015 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30016 the first letter of nostr in the regexp. It agrees with CLDR now.
30017 Also make it more readable by using ASCII where possible.
30018
fe043d8a
MF
300192017-10-24 Mike FABIAN <mfabian@redhat.com>
30020
30021 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30022 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30023 these strings contain a U+17D6 (which somewhat looks like a colon)
30024 instead of a real colon to separate the full words for “yes”
30025 and “no” from the single letter responses.
30026
360a8df3
MF
300272017-10-24 Mike FABIAN <mfabian@redhat.com>
30028
30029 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30030 it agree with CLDR (include the first letter of yesstr).
30031 Also make it more readable by using ASCII where possible.
30032
bab7b6b0
MF
300332017-10-24 Mike FABIAN <mfabian@redhat.com>
30034
30035 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30036 and improve yesexpr and noexpr. The yesstr and nostr apparently
30037 came from CLDR. And CLDR has a bug there: these strings contain
30038 a U+0903 (which looks like a colon) instead of a real colon
30039 to separate the full words for “yes” and “no” from the single
30040 letter responses.
30041
3e79f758
MF
300422017-10-24 Mike FABIAN <mfabian@redhat.com>
30043
30044 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30045 letters of the full yesstr and nostr in yesexpr and noexpr.
30046
4960c879
MF
300472017-10-24 Mike FABIAN <mfabian@redhat.com>
30048
30049 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30050 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30051 * localedata/locales/an_ES: Make source more readable by using ASCII
30052 where possible.
30053
b06a054f
MF
300542017-10-24 Mike FABIAN <mfabian@redhat.com>
30055
30056 [BZ #20952]
30057 * localedata/locales/yuw_PG: New file.
30058 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30059 * locale/iso-639.def: Add Yau (Uruwa).
30060
905a7725
WD
300612017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30062
30063 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30064
3f6bb8a3
WD
300652017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30066
30067 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30068 (__libc_realloc): Likewise.
30069 (_mid_memalign): Likewise.
30070 (__libc_calloc): Likewise.
30071
1d479c8c
MF
300722017-10-23 Mike FABIAN <mfabian@redhat.com>
30073
30074 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30075 by adding the generic +1 and -0 as in all other locales.
30076 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30077 day names and make it more readable by using ASCII where possible.
30078
91c3985c
JM
300792017-10-24 Joseph Myers <joseph@codesourcery.com>
30080
30081 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30082 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30083
aa95a241
AZ
300842017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30085
30086 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30087 WNOHANG in waitpid call.
30088
db9bab09
SP
300892017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30090
a2e0a7f1
SP
30091 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30092 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30093
db9bab09
SP
30094 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30095 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30096 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30097 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30098 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30099 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30100 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30101 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30102 variables.
30103
5062680c
MC
301042017-10-23 Michael Collison <michael.collison@arm.com>
30105
30106 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30107 with __builtin_sqrt.
30108 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30109 with __builtin_sqrtf.
30110 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30111 with __builtin_ceil.
30112 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30113 with __builtin_ceilf.
30114 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30115 with __builtin_floor.
30116 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30117 with __builtin_floorf.
30118 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30119 with __builtin_fma.
30120 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30121 with __builtin_fmaf.
30122 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30123 with __builtin_fmax.
30124 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30125 with __builtin_fmaxf.
30126 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30127 with __builtin_fmin.
30128 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30129 with __builtin_fminf.
30130 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30131 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30132 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30133 with builtin_rint and conversion to int.
30134 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30135 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30136 with builtin_llround.
30137 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30138 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30139 with builtin_rint and conversion to long int.
30140 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30141 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30142 with builtin_lround.
30143 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30144 with builtin_lroundf.
30145 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30146 statements with __builtin_nearbyint.
30147 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30148 statements with __builtin_nearbyintf.
30149 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30150 with __builtin_rint.
30151 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30152 with __builtin_rintf.
30153 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30154 with __builtin_round.
30155 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30156 with __builtin_roundf.
30157 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30158 with __builtin_trunc.
30159 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30160 with __builtin_truncf.
be080b6c
SN
30161 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30162 and s_l[l]round[f].c too.
5062680c 30163
174935af
AM
301642017-10-23 Alan Modra <amodra@gmail.com>
30165
30166 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30167 Adjust stack after restoring regs. Add missing LR cfi_restore.
30168
750a0e49
AM
301692017-10-23 Alan Modra <amodra@gmail.com>
30170
30171 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30172 Move LR save and frame setup/teardown and LR restore to
30173 immediately around memset call. Provide cfi.
30174
5313581c
L
301752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30176
30177 * sysdeps/i386/fpu/e_powf.S: Removed.
30178 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30179 * sysdeps/i386/fpu/w_powf.c: Likewise.
30180 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30181 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30182 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30183 Add e_powf-sse2.
30184 (CFLAGS-e_powf-sse2.c): New.
30185 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30186 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30187
6089a3ee
L
301882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30189
30190 * sysdeps/i386/fpu/e_log2f.S: Removed.
30191 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30192 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30193 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30194 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30195 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30196 Add e_log2f-sse2.
30197 (CFLAGS-e_log2f-sse2.c): New.
30198 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30199 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30200
80bb5935
L
302012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30204 Add e_powf-fma.
30205 (CFLAGS-e_powf-fma.c): New.
30206 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30207 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30208
5c7adbd8
L
302092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30210
30211 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30212 Add e_log2f-fma.
30213 (CFLAGS-e_log2f-fma.c): New.
30214 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30215 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30216
0ccc7153
L
302172017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30218
30219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30220 Add e_logf-fma.
30221 (CFLAGS-e_logf-fma.c): New.
30222 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30223 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30224
fe596486
L
302252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30226
30227 * sysdeps/i386/fpu/e_logf.S: Removed.
30228 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30229 * sysdeps/i386/fpu/w_logf.c: Likewise.
30230 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30231 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30232 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30233 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30234 Add e_logf-sse2.
30235 (CFLAGS-e_logf-sse2.c): New.
30236 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30237 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30238
7eda65f6
L
302392017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30242 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30243 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30244 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30245 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30246 Add e_exp2f-sse2.
30247 (CFLAGS-e_exp2f-sse2.c): New.
30248 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30249 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30250
5d15c969
L
302512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30252
30253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30254 Add e_exp2f-fma.
30255 (CFLAGS-e_exp2f-fma.c): New.
30256 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30257 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30258
b2f6137e
L
302592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30260
30261 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30262 * sysdeps/i386/fpu/e_expf.S: Likewise.
30263 * sysdeps/i386/fpu/math_errf.c: Likewise.
30264 * sysdeps/i386/fpu/w_expf.c: Likewise.
30265 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30267 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30268 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30269 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30270 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30271 Remove e_expf-ia32.
30272 (CFLAGS-e_expf-sse2.c): New.
30273 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30274 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30275
e1f59beb
L
302762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30277
30278 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30279 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30280 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30281 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30282 e_expf.c.
30283 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30284 New.
30285 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30286 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30287 Renamed to ...
30288 (__redirect_expf): This.
30289 (SYMBOL_NAME): Changed to expf.
30290 (__ieee754_expf): Renamed to ...
30291 (__expf): This.
30292 (__GI___expf): This.
30293 (__ieee754_expf): Add strong_alias.
30294 (__expf_finite): Likewise.
30295 (__expf): New.
30296 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30297
363e4519 302982017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
30299
30300 [BZ #22332]
30301 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30302 unescaping.
30303
e80fc1fc
FW
303042017-10-21 Florian Weimer <fweimer@redhat.com>
30305
30306 * posix/Makefile (tests): Add tst-glob-tilde.
30307 (tests-special): Add tst-glob-tilde-mem.out
30308 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30309 (tst-glob-tilde-mem.out): Add mtrace check.
30310 * posix/tst-glob-tilde.c: New file.
30311
797ba44b
JM
303122017-10-20 Joseph Myers <joseph@codesourcery.com>
30313
30314 * bits/floatn-common.h: New file.
30315 * math/Makefile (headers): Add bits/floatn-common.h.
30316 * bits/floatn.h: Include <bits/floatn-common.h>.
30317 * sysdeps/ia64/bits/floatn.h: Likewise.
30318 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30319 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30320 * sysdeps/powerpc/bits/floatn.h: Likewise.
30321 * sysdeps/x86/bits/floatn.h: Likewise.
30322
fe05e1cb
AZ
303232017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30324
8f6f5362
AZ
30325 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30326 indicates whether compiler emits an warning for alias for
30327 functions with incompatible types.
30328
fe05e1cb
AZ
30329 [BZ #22273]
30330 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30331 the auxiliary process is terminated by a signal before calling _exit
30332 or execve.
30333
b52b0d79
L
303342017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30335
30336 [BZ #21265]
30337 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30338 New.
30339 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30340 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30341 and bit_arch_XSAVEC_Usable if needed.
30342 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30343 and bit_arch_Use_dl_runtime_resolve_opt.
30344 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30345 Removed.
30346 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30347 (bit_arch_Prefer_No_AVX512): Updated.
30348 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30349 (bit_arch_XSAVEC_Usable): New.
30350 (STATE_SAVE_OFFSET): Likewise.
30351 (STATE_SAVE_MASK): Likewise.
30352 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30353 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30354 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30355 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30356 (index_arch_XSAVEC_Usable): New.
30357 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30358 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30359 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30360 is enabled.
30361 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30362 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30363 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30364 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30365 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30366 _dl_runtime_resolve_xsavec.
30367 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30368 Removed.
30369 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30370 instead of VEC_SIZE.
30371 (REGISTER_SAVE_BND0): Removed.
30372 (REGISTER_SAVE_BND1): Likewise.
30373 (REGISTER_SAVE_BND3): Likewise.
30374 (REGISTER_SAVE_RAX): Always defined to 0.
30375 (VMOV): Removed.
30376 (_dl_runtime_resolve_avx): Likewise.
30377 (_dl_runtime_resolve_avx_slow): Likewise.
30378 (_dl_runtime_resolve_avx_opt): Likewise.
30379 (_dl_runtime_resolve_avx512): Likewise.
30380 (_dl_runtime_resolve_avx512_opt): Likewise.
30381 (_dl_runtime_resolve_sse): Likewise.
30382 (_dl_runtime_resolve_sse_vex): Likewise.
30383 (USE_FXSAVE): New.
30384 (_dl_runtime_resolve_fxsave): Likewise.
30385 (USE_XSAVE): Likewise.
30386 (_dl_runtime_resolve_xsave): Likewise.
30387 (USE_XSAVEC): Likewise.
30388 (_dl_runtime_resolve_xsavec): Likewise.
30389 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30390 Removed.
30391 (_dl_runtime_resolve_avx512_opt): Likewise.
30392 (_dl_runtime_resolve_avx): Likewise.
30393 (_dl_runtime_resolve_avx_opt): Likewise.
30394 (_dl_runtime_resolve_sse): Likewise.
30395 (_dl_runtime_resolve_sse_vex): Likewise.
30396 (_dl_runtime_resolve_fxsave): New.
30397 (_dl_runtime_resolve_xsave): Likewise.
30398 (_dl_runtime_resolve_xsavec): Likewise.
30399
363e4519 304002017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
30401
30402 [BZ #22320]
30403 CVE-2017-15670
30404 * posix/glob.c (__glob): Fix one-byte overflow.
30405
6d43de4b
WD
304062017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30407
30408 * malloc/malloc.c (sysdep-cancel.h): Add include.
30409
a15d53e2
WD
304102017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30411
30412 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30413
b9a558e7
WH
304142017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30415
30416 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30417 (tests): Remove $(objpfx)ga_test depdendency.
30418 * resolv/ga_test.c: Remove file.
30419
b6b08b8e
MF
304202017-10-20 Mike FABIAN <mfabian@redhat.com>
30421
30422 [BZ #18812]
30423 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30424 * localedata/locales/kab_DZ: New file.
30425
9ba7e810
L
304262017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30427
30428 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30429 _dl_relocate_static_pie instead of _dl_start to compute load
30430 address in static PIE.
30431
4027a4fd
L
304322017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30435
2f9314b4
MF
304362017-10-20 Mike FABIAN <mfabian@redhat.com>
30437
30438 [BZ #13605]
30439 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30440 * localedata/locales/shn_MM: New file.
30441
63b4baa4
FW
304422017-10-20 Florian Weimer <fweimer@redhat.com>
30443
30444 [BZ #22321]
30445 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30446 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30447 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30448 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30449 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30450 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30451
95ccb619
L
304522017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30453
30454 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30455
37bb78cb
JM
304562017-10-19 Joseph Myers <joseph@codesourcery.com>
30457
76f2ed92
JM
30458 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30459
37bb78cb
JM
30460 [BZ #22322]
30461 * sysdeps/mips/bits/long-double.h: Move to ....
30462 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30463
d74e6f6c
WD
304642017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30465
30466 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30467
363e4519 304682017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
30469 H.J. Lu <hongjiu.lu@intel.com>
30470
30471 [BZ #22299]
30472 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30473 GLRO(dl_platform) to NULL.
30474 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30475 (modules-names): Add tst-platformmod-1 and
30476 x86_64/tst-platformmod-2.
30477 (CFLAGS-tst-platform-1.c): New.
30478 (CFLAGS-tst-platformmod-1.c): Likewise.
30479 (CFLAGS-tst-platformmod-2.c): Likewise.
30480 (LDFLAGS-tst-platformmod-2.so): Likewise.
30481 ($(objpfx)tst-platform-1): Likewise.
30482 ($(objpfx)tst-platform-1.out): Likewise.
30483 (tst-platform-1-ENV): Likewise.
30484 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30485 * sysdeps/x86_64/tst-platform-1.c: New file.
30486 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30487 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30488
4b0fa403
MF
304892017-10-19 Mike FABIAN <mfabian@redhat.com>
30490
30491 [BZ #13994]
30492 * locale/iso-639.def: Add Karbi.
30493 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30494 * localedata/locales/mjw_IN: New file.
30495
81325b12
JM
304962017-10-18 Joseph Myers <joseph@codesourcery.com>
30497
30498 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30499 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30500 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30501 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30502 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30503 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30504 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30505 <bits/floatn.h>.
30506 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30507 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30508 * manual/math.texi (Mathematics): Document additional architecture
30509 support for _Float128.
30510 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30511 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30512 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30513 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30514 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30515 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30516 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30517 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30518 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30519 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30520 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30521 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30522 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30523 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30524 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30525
a68ba2f3
SN
305262017-10-18 Renlin Li <renlin.li@arm.com>
30527
30528 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30529 _DYNAMIC symbol to calculate load address.
30530
346729f6
PC
305312017-10-18 Paul A. Clarke <pc@us.ibm.com>
30532
30533 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30534 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30535 summary bits.
30536 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30537 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30538
508b1e71
MF
305392017-10-18 Mike FABIAN <mfabian@redhat.com>
30540
30541 [BZ #16777]
30542 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30543 and improve readability by using more ASCII.
30544 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30545 and improve readability by using more ASCII.
30546
2c2245b9
WD
305472017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30548
30549 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30550 not all targets support atomics on bool.
30551
13c92696
JM
305522017-10-17 Joseph Myers <joseph@codesourcery.com>
30553
30554 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30555 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30556 __f128.
30557 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30558 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30559 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30560 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30561 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30562 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30563
71d85045
AZ
305642017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30565
30566 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30567 defines.
30568
3381be5c
WD
305692017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30570
30571 [BZ #22159]
30572 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30573 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30574 (do_check_remalloced_chunk): Fix build bug.
30575 (do_check_malloc_state): Add assert that checks arena->top.
30576 (malloc_consolidate): Remove initialization.
30577 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 30578 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 30579
e956075a
WD
305802017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30581
30582 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30583 (have_fastchunks): Remove.
30584 (clear_fastchunks): Remove.
30585 (set_fastchunks): Remove.
30586 (malloc_state): Add have_fastchunks.
30587 (malloc_init_state): Use have_fastchunks.
30588 (do_check_malloc_state): Remove incorrect invariant checks.
30589 (_int_malloc): Use have_fastchunks.
30590 (_int_free): Likewise.
30591 (malloc_consolidate): Likewise.
30592
e4dd4ace
WD
305932017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30594
30595 * malloc/malloc.c (tcache_put): Inline.
30596 (tcache_get): Inline.
30597
5bf58bc7
AJ
305982017-10-17 Jordi Mallach <jordi@gnu.org>
30599
30600 Aurelien Jarno <aurelien@aurel32.net>
30601 [BZ #2522]
30602 * localedata/locales/ca_ES@valencia: New file.
30603 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30604
386e1c26
RN
306052017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30606
30607 [BZ #22296]
30608 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30609 < 6.x
30610
4e17c78e
AZ
306112017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30612
3d265601
AZ
30613 * scripts/build-many-glibcs.py (Context.add_all_configs):
30614 Add arm-linux-gnueabihf multiarch extra_glibcs.
30615
4e17c78e
AZ
30616 * sysdeps/generic/ifunc-init.h: New file.
30617 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30618
56a752ab
MF
306192017-10-17 Mike FABIAN <mfabian@redhat.com>
30620
30621 [BZ #22019]
30622 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30623 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30624 * stdlib/tst-strfmon_l.c: adapt test case.
30625
c38a4bfd
JM
306262017-10-16 Joseph Myers <joseph@codesourcery.com>
30627
30628 * sysdeps/generic/float128-abi.h: New file.
30629 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30630 non-__prefixed symbols to ....
30631 * math/Versions: ... here. Include <float128-abi.h>.
30632 * stdlib/Versions ... and here. Include <float128-abi.h>
30633
76009b26
FW
306342017-10-16 Florian Weimer <fweimer@redhat.com>
30635
30636 * version.h (VERSION): Switch to ".9000" as the development
30637 version suffix.
30638
7ece6cd5
FW
306392017-10-16 Florian Weimer <fweimer@redhat.com>
30640
30641 [BZ #22050]
30642 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30643 compat_symbol_reference to access non-default version.
30644
d8287b36
FW
306452017-10-16 Florian Weimer <fweimer@redhat.com>
30646
30647 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30648
3480ddc4
CD
306492017-10-16 Carlos O'Donell <carlos@redhat.com>
30650
30651 * include/shlib-compat.h (compat_symbol_reference): Update
30652 comment.
30653
02010e79
JM
306542017-10-16 Joseph Myers <joseph@codesourcery.com>
30655
596f7013
JM
30656 * math/Makefile (test-types): Add
30657 $(type-float128-$(float128-alias-fcts)).
30658 * math/test-float128.h (TYPE_STR): Define conditional on
30659 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30660 (ULP_IDX): Likewise.
30661 (ULP_I_IDX): Likewise.
30662
02010e79
JM
30663 * stdlib/strtold.c: Include <bits/floatn.h>
30664 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30665 and later undefine as macro. Define as weak alias if
30666 [!USE_WIDE_CHAR].
30667 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30668 and later undefine as macro. Define as weak alias if
30669 [USE_WIDE_CHAR].
30670 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30671 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30672 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30673 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30674 Define and later undefine as macro. Define as weak alias if
30675 [USE_WIDE_CHAR].
30676 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30677 <bits/floatn.h>.
30678 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30679 Define and later undefine as macro. Define as weak alias if
30680 [!USE_WIDE_CHAR].
30681 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30682 Define and later undefine as macro. Define as weak alias if
30683 [USE_WIDE_CHAR].
30684
ea91c315
CD
306852017-10-15 Carlos O'Donell <carlos@redhat.com>
30686
30687 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30688 record_verbose messages.
30689
8e57c943
L
306902017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30691
30692 [BZ #22052]
30693 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30694 to silence -O3 -Wall warning with GCC 7.
30695
a4777c46
L
306962017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30697
30698 * Makeconfig (+link-static-before-libc): Use the first of
30699 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30700 * gmon/Makefile (tests): Add tst-gmon-static.
30701 (tests-static): Likewise.
30702 (CFLAGS-tst-gmon-static.c): New.
30703 (CRT-tst-gmon-static): Likewise.
30704 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30705 (tst-gmon-static-ENV): Likewise.
30706 (tests-special): Likewise.
30707 ($(objpfx)tst-gmon-static.out): Likewise.
30708 (clean-tst-gmon-static-data): Likewise.
30709 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30710 * gmon/tst-gmon-static-gprof.sh: New file.
30711 * gmon/tst-gmon-static.c: Likewise.
30712
bc3821bb
CD
307132017-10-13 Carlos O'Donell <carlos@redhat.com>
30714
30715 [BZ #22295]
30716 * locale/programs/linereader.c (get_string): Don't warn on
30717 non-symbolic character.
30718
a3e23a2c
CD
30719 [BZ #22294]
30720 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30721 int_curr_symbol.
30722
f16491eb
CD
30723 [BZ #22292]
30724 * locale/programs/record-status.h: New file
30725 * locale/programs/locale.c: Add comment.
30726 * locale/programs/charmap-dir.c: Don't include error.h.
30727 (charmap_opendir): Use record_error.
30728 * locale/programs/charmap.c: Don't include error.h.
30729 (charmap_read): Use record_error, and record_warning.
30730 (parse_charmap): Likewise.
30731 * locale/programs/ld-address.c: Don't include error.h.
30732 (address_finish): Use record_error, and record_warning.
30733 * locale/programs/ld-collate.c: Don't include error.h.
30734 (collate_finish): Use record_error, and record_error_at_line.
30735 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30736 (ctype_class_new): Likewise.
30737 (ctype_map_new): Likewise.
30738 (set_one_default): Likewise.
30739 (set_class_defaults): Likewise.
30740 (translit_flatten): Likewise.
30741 (allocate_arrays): Use record_error, and record_verbose.
30742 * locale/programs/ld-identification.c: Don't include error.h.
30743 (indentation_finish): Use record_error and record_warning.
30744 * locale/programs/ld-measurement.c: Don't include error.h.
30745 (measurement_finish): Use record_error.
30746 * locale/programs/ld-messages.c
30747 (message_finish): Likewise.
30748 * locale/programs/ld-monetary.c
30749 (monetary_finish): Likewise.
30750 * locale/programs/ld-name.c (name_finish): Use record_error
30751 and record_warning.
30752 * locale/programs/ld-numeric.c
30753 (numeric_finish): Use record_error.
30754 * locale/programs/ld-paper.c: Don't include error.h.
30755 (paper_finish): Use record_error.
30756 * locale/programs/ld-telephone.c: Don't include error.h.
30757 (telephone_finish): Use record_error.
30758 * locale/programs/ld-time.c (time_finish): Likewise.
30759 * locale/programs/linereader.h (lr_error): Make inline func.
30760 * locale/programs/localedef.c: Define recorded_warning_count,
30761 and recorded_error_count.
30762 (main): Use record_error. Use recorded_error_count and
30763 recorded_warning_count to issue correct error returns.
30764 (add_to_readlist): Use record_error.
30765 (find_locale): Likewise.
30766 (load_locale): Likewise.
30767 * locale/programs/localedef.h: Remove be_quiet
30768 and WITH_CUR_LOCALE.
30769 * locale/programs/locarchive.c (compare_from_file): Use
30770 record_error.
30771 * locale/programs/locfile.c (write_locale_data): Use
30772 record_error.
30773 * locale/programs/repertoire.c: Dont include error.h.
30774 (repertoire_complain): Use record_error.
30775 * localedata/tst-fmon.sh: Expect failures from localedef.
30776 * localedata/tst-locale.sh: Likewise.
30777 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30778
8dc8be75
CD
30779 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30780 (REPORTS): Likewise.
30781 (check): Likewise.
30782 (i18n): Rename to...
30783 (i18n_ctype): ...this.
30784 (i18n-report): Rename to...
30785 (i18n_ctype-report): ...this.
30786 * localedata/locales/i18n_ctype: Regenerate.
30787 * localedata/locales/i18n: copy i18n_ctype.
30788
f8718a9e
JM
307892017-10-13 Joseph Myers <joseph@codesourcery.com>
30790
18c08b96
JM
30791 * stdlib/strfroml.c: Include <bits/floatn.h>.
30792 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30793 Define before include of <stdlib.h> and undefine afterwards, then
30794 define as weak alias.
30795
f8718a9e
JM
30796 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30797 Undefine and restore default definition. Use
30798 libm_alias_ldouble_other.
30799
e4f530da
PZ
308002017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30801
30802 [BZ #22153]
30803 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30804 in coredumps.
30805
86445888
JC
308062017-10-13 James Clarke <jrtc27@jrtc27.com>
30807
30808 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30809 Assign sym_map to be map for local symbols, as TLS relocations
30810 use sym_map to determine whether the symbol is defined and to
30811 extract the TLS information.
30812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30814
179dcdb7
TMQMF
308152017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30816
e8dbd6a3
TMQMF
30817 [BZ #22189]
30818 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30819 (math_force_eval): Add powerpc version.
30820
179dcdb7
TMQMF
30821 [BZ #22142]
30822 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30823 -DBL_MAX.
30824 (do_test): Likewise.
30825 * stdio-common/tst-printf.sh: Likewise.
30826 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30827 ifdef clause in order to set the carry bit right. Replace r0 by
30828 0 without changing the behavior.
30829
7d25d410
JM
308302017-10-13 Joseph Myers <joseph@codesourcery.com>
30831
006e7664
JM
30832 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30833 <libm-alias-ldouble.h>.
30834 (fabsl): Define using libm_alias_ldouble.
30835 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30836 <libm-alias-ldouble.h>.
30837 (fabsl): Define using libm_alias_ldouble.
30838
1def91b3
JM
30839 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30840 Remove conditional code.
30841
7d25d410
JM
30842 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30843 Rename to __clog10_internal_l.
30844 (__clog10_internal_l): Define aliases using
30845 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30846 with __clog10.
30847
077ee129
RS
308482017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30849
30850 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30851 * benchtests/sincosf-inputs: New file.
30852 * benchtests/cosf-inputs: New file.
30853 * benchtests/sinf-inputs: New file.
30854
5ba41de9
SN
308552017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30856
30857 * posix/tst-spawn.c (do_test): Wait for both children.
30858
d165ca64
L
308592017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30860
30861 [BZ #22284]
30862 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30863 tests-pie): Add tst-gmon-pie.
30864 (CFLAGS-tst-gmon-pie.c): New.
30865 (CRT-tst-gmon-pie): Likewise.
30866 (tst-gmon-pie-ENV): Likewise.
30867 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30868 ($(objpfx)tst-gmon-pie.out): Likewise.
30869 (clean-tst-gmon-pie-data): Likewise.
30870 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30871 * gmon/gmon.c [PIC]: Include <link.h>.
30872 [PIC] (callback): New function.
30873 (write_hist): Add an argument for load address. Subtract load
30874 address from PCs.
30875 (write_call_graph): Likewise.
30876 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30877 it to write_hist and write_call_graph.
7bacdcfc 30878 * gmon/tst-gmon-pie.c: New file.
d165ca64 30879
bc9620d0
JM
308802017-10-11 Joseph Myers <joseph@codesourcery.com>
30881
30882 * math/Makefile (test-types-basic): New variable.
30883 (test-types): Likewise.
30884 (libm-test-support): Use $(test-types) instead of $(types).
30885 (libm-tests-base-normal): Likewise.
30886 (libm-tests-base-finite): Likewise.
30887 (libm-tests-base-inline): Likewise.
30888 (generated): Likewise.
30889 ($(objpfx)libm-test-support-$(t).c): Likewise.
30890 (libm-tests-for-type iterator): Likewise.
30891 (libm-test-support iterator): Likewise.
30892 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30893 (ulp_idx): Use ULP_IDX.
30894 * math/test-ldouble.h: Include <float.h>.
30895 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30896 (ULP_IDX): New macro.
30897 (ULP_I_IDX): Likewise.
30898 * math/test-double.h (ULP_IDX): Likewise.
30899 (ULP_I_IDX): Likewise.
30900 * math/test-float.h (ULP_IDX): Likewise.
30901 (ULP_I_IDX): Likewise.
30902 * math/test-float128.h (ULP_IDX): Likewise.
30903 (ULP_I_IDX): Likewise.
30904
09c76a74
AZ
309052017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30906
30907 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30908 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30909 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30910 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30911 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30912 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30913 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30915 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30916 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30917 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30918 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30919 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30921 (SINGLE_THREAD_BY_GLOBAL): Define.
30922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30923 Likewise.
30924 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30925 Likewise.
30926 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30927 Likewise.
30928 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30929 Likewise.
30930 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30931 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30933 Likewise.
30934
2faa42da
AS
309352017-10-11 Andreas Schwab <schwab@suse.de>
30936
30937 * nis/Makefile (aux): Remove.
30938 * nscd/Makefile (aux): Add nscd_hash.
30939 (nscd-modules): Likewise.
30940 ($(objpfx)nscd): Don't depend on libnsl.
30941 * nscd/nscd_hash.c: New file.
30942 * nscd/nscd_hash.h: Likewise.
30943 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30944 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30945 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30946 instead of <nis/rpcsvc/nis.h>.
30947 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30948
d8425e11
FW
309492017-10-11 Florian Weimer <fweimer@redhat.com>
30950
30951 [BZ #22078]
30952 Avoid large NSS buffers with many addresses, aliases.
30953 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30954 using dynarrays and struct alloc_buffer.
30955 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30956 (tst-nss-files-hosts-multi): Link with -ldl.
30957 * nss/tst-nss-files-hosts-multi.c: New file.
30958
78e806fd
FW
309592017-10-11 Florian Weimer <fweimer@redhat.com>
30960
30961 [BZ #18023]
30962 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30963 scratch_buffer. Eliminate gotos.
30964
541f19ba
JM
309652017-10-11 Joseph Myers <joseph@codesourcery.com>
30966
0ff64d3a
JM
30967 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30968 libm_alias_ldouble_other.
30969 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30970 undefine and redefine.
30971 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30972 (exp10l): Do not define here.
30973 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30974 (weak_alias): Undefine and redefine.
30975 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30976 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30977 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30978 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30979
541f19ba
JM
30980 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30981 [!__fma] (fma): Define using libm_alias_double.
30982 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30983 [!__fmaf] (fmaf): Define using libm_alias_float.
30984 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30985 (fmal): Define using libm_alias_ldouble.
30986
24b6515d
JM
309872017-10-10 Joseph Myers <joseph@codesourcery.com>
30988
30989 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30990 New macro.
30991 (libm_alias_double_other): Likewise.
30992 (libm_alias_double_r): Use libm_alias_double_other_r.
30993 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30994 New macro.
30995 (libm_alias_float_other): Likewise.
30996 (libm_alias_float_r): Use libm_alias_float_other_r.
30997 * sysdeps/generic/libm-alias-float128.h
30998 (libm_alias_float128_other_r): New macro.
30999 (libm_alias_float128_other): Likewise.
31000 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31001 * sysdeps/generic/libm-alias-ldouble.h
31002 (libm_alias_ldouble_other_r): New macro.
31003 (libm_alias_ldouble_other): Likewise.
31004 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31005 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31006 (libm_alias_double_other_r): New macro.
31007 (libm_alias_double_other): Likewise.
31008 (libm_alias_double_r): Use libm_alias_double_other_r.
31009 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31010 (libm_alias_ldouble_other_r): New macro.
31011 (libm_alias_ldouble_other): Likewise.
31012 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31013 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31014 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31015 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31016 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31017 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31018 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31019 * math/w_exp2f.c: Use libm_alias_float_other.
31020 * math/w_expf.c: Likewise.
31021 * math/w_log2f.c: Likewise.
31022 * math/w_logf.c: Likewise.
31023 * math/w_powf.c: Likewise.
31024 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31025 [!__exp2f]: Use libm_alias_float_other.
31026 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31027 [!__expf]: Use libm_alias_float_other.
31028 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31029 [!__log2f]: Use libm_alias_float_other.
31030 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31031 [!__logf]: Use libm_alias_float_other.
31032 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31033 [!__powf]: Use libm_alias_float_other.
31034
8ed70de2
FW
310352017-10-10 Florian Weimer <fweimer@redhat.com>
31036
31037 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31038 function.
31039 (_nss_files_gethostbyname3_r): Call it.
31040
a8dce619
JM
310412017-10-09 Joseph Myers <joseph@codesourcery.com>
31042
31043 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31044 error. Remove default definition of declare_mgen_alias.
31045 [!declare_mgen_alias_r]: Likewise.
31046 * sysdeps/generic/math-type-macros-double.h
31047 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31048 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31049 (declare_mgen_alias_r): Likewise.
31050 * sysdeps/generic/math-type-macros-float128.h
31051 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31052 * sysdeps/generic/math-type-macros-ldouble.h
31053 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31054 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31055 macro.
31056 (declare_mgen_alias_r_s): Likewise.
31057 (declare_mgen_alias_r): Likewise.
31058 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31059 (lgamma_r): Define using libm_alias_double_r.
31060 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31061 (lgammaf_r): Define using libm_alias_float_r.
31062 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31063 (lgammal_r): Define using libm_alias_ldouble_r.
31064 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31065 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31066
bedac136
AZ
310672017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31068
31069 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31070 extern declaration.
31071
c7509db2
JM
310722017-10-09 Joseph Myers <joseph@codesourcery.com>
31073
31074 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31075
d6c064e9
JW
310762017-10-09 Jonathan Wakely <jwakely@redhat.com>
31077
31078 [BZ #21326]
31079 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31080 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31081 * math/Makefile (test-math-cxx11): New test.
31082 * math/test-math-cxx11.cc: New file.
31083
98e07420
CB
310842017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31085
31086 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31087
645ac9aa
CB
31088 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31089 call to allocate the slave pty file descriptor.
31090
fd3b4e7c
JM
310912017-10-06 Joseph Myers <joseph@codesourcery.com>
31092
f85a176f
JM
31093 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31094 [!__fma] (fma): Define using libm_alias_double.
31095 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31096 [!__fma] (fma): Define using libm_alias_double.
31097
fd3b4e7c
JM
31098 * sysdeps/ieee754/float128/float128_private.h: Include
31099 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31100 (libm_alias_ldouble_r): Undefine and redefine.
31101 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31102 <libm-alias-ldouble.h>.
31103 (asinhl): Define using libm_alias_ldouble.
31104 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31105 <libm-alias-ldouble.h>.
31106 (atanl): Define using libm_alias_ldouble.
31107 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31108 <libm-alias-ldouble.h>.
31109 (cbrtl): Define using libm_alias_ldouble.
31110 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31111 <libm-alias-ldouble.h>.
31112 (ceill): Define using libm_alias_ldouble.
31113 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31114 <libm-alias-ldouble.h>.
31115 (copysignl): Define using libm_alias_ldouble.
31116 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31117 <libm-alias-ldouble.h>.
31118 (cosl): Define using libm_alias_ldouble.
31119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31120 <libm-alias-ldouble.h>.
31121 (erfl): Define using libm_alias_ldouble.
31122 (erfcl): Likewise.
31123 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31124 <libm-alias-ldouble.h>.
31125 (expm1l): Define using libm_alias_ldouble.
31126 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31127 <libm-alias-ldouble.h>.
31128 (fabsl): Define using libm_alias_ldouble.
31129 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31130 <libm-alias-ldouble.h>.
31131 (floorl): Define using libm_alias_ldouble.
31132 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31133 <libm-alias-ldouble.h>.
31134 (fmal): Define using libm_alias_ldouble.
31135 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31136 <libm-alias-ldouble.h>.
31137 (frexpl): Define using libm_alias_ldouble.
31138 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31139 libm_alias_ldouble.
31140 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31141 <libm-alias-ldouble.h>.
31142 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31143 libm_alias_ldouble.
31144 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31145 <libm-alias-ldouble.h>.
31146 (getpayloadl): Define using libm_alias_ldouble.
31147 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31148 <libm-alias-ldouble.h>.
31149 (llrintl): Define using libm_alias_ldouble.
31150 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31151 <libm-alias-ldouble.h>.
31152 (llroundl): Define using libm_alias_ldouble.
31153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31154 <libm-alias-ldouble.h>.
31155 (logbl): Define using libm_alias_ldouble.
31156 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31157 <libm-alias-ldouble.h>.
31158 (lrintl): Define using libm_alias_ldouble.
31159 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31160 <libm-alias-ldouble.h>.
31161 (lroundl): Define using libm_alias_ldouble.
31162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31163 <libm-alias-ldouble.h>.
31164 (modfl): Define using libm_alias_ldouble.
31165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31166 <libm-alias-ldouble.h>.
31167 (nearbyintl): Define using libm_alias_ldouble.
31168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31169 <libm-alias-ldouble.h>.
31170 (nextafterl): Define using libm_alias_ldouble.
31171 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31172 <libm-alias-ldouble.h>.
31173 (nextupl): Define using libm_alias_ldouble.
31174 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31175 <libm-alias-ldouble.h>.
31176 (remquol): Define using libm_alias_ldouble.
31177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31178 <libm-alias-ldouble.h>.
31179 (rintl): Define using libm_alias_ldouble.
31180 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31181 <libm-alias-ldouble.h>.
31182 (roundevenl): Define using libm_alias_ldouble.
31183 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31184 <libm-alias-ldouble.h>.
31185 (roundl): Define using libm_alias_ldouble.
31186 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31187 using libm_alias_ldouble.
31188 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31189 <libm-alias-ldouble.h>.
31190 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31191 Define using libm_alias_ldouble.
31192 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31193 <libm-alias-ldouble.h>.
31194 (sincosl): Define using libm_alias_ldouble.
31195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31196 <libm-alias-ldouble.h>.
31197 (sinl): Define using libm_alias_ldouble.
31198 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31199 <libm-alias-ldouble.h>.
31200 (tanhl): Define using libm_alias_ldouble.
31201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31202 <libm-alias-ldouble.h>.
31203 (tanl): Define using libm_alias_ldouble.
31204 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31205 <libm-alias-ldouble.h>.
31206 (totalorderl): Define using libm_alias_ldouble.
31207 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31208 <libm-alias-ldouble.h>.
31209 (totalordermagl): Define using libm_alias_ldouble.
31210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31211 <libm-alias-ldouble.h>.
31212 (truncl): Define using libm_alias_ldouble.
31213 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31214 libm_alias_ldouble.
31215 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31216 libm_alias_ldouble.
31217 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31218 <libm-alias-ldouble.h>.
31219 (weak_alias): Do not undefine and redefine.
31220 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31221 (copysignl): Define with long_double_symbol only if [IS_IN
31222 (libc)].
31223 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31224 <libm-alias-ldouble.h>.
31225 (weak_alias): Do not undefine and redefine.
31226 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31227 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31228 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31229 <libm-alias-ldouble.h>.
31230 (weak_alias): Do not undefine and redefine.
31231 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31232 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31233 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31234 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31237 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31240 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31243 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31250 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31257
1e26d351
CD
312582017-10-06 Carlos O'Donell <carlos@redhat.com>
31259
31260 [BZ #22111]
31261 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31262 (tcache_thread_freeres): Set tcache_shutting_down before
31263 freeing the tcache.
31264 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31265 * malloc/tst-malloc-tcache-leak.c: New file.
31266
d1386762
RS
312672017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31268
31269 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31270 back to powerpc32 file.
31271 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31272 (memrchr): Add __memrchr_power8 to ifunc list.
31273 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31274 extra bytes for unaligned inputs.
31275
6dff1983
JM
312762017-10-06 Joseph Myers <joseph@codesourcery.com>
31277
31278 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31279 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31283
86f9568a
JM
312842017-10-05 Joseph Myers <joseph@codesourcery.com>
31285
0db0b931
JM
31286 * sysdeps/arm/libm-test-ulps: Update.
31287
86f9568a
JM
31288 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31289 <libm-alias-ldouble.h>.
31290 (asinhl): Define using libm_alias_ldouble.
31291 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31292 <libm-alias-ldouble.h>.
31293 (cbrtl): Define using libm_alias_ldouble.
31294 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31295 <libm-alias-ldouble.h>.
31296 (copysignl): Define using libm_alias_ldouble.
31297 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31298 <libm-alias-ldouble.h>.
31299 (cosl): Define using libm_alias_ldouble.
31300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31301 <libm-alias-ldouble.h>.
31302 (erfl): Define using libm_alias_ldouble.
31303 (erfcl): Likewise.
31304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31305 <libm-alias-ldouble.h>.
31306 (fmal): Define using libm_alias_ldouble.
31307 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31308 <libm-alias-ldouble.h>.
31309 (frexpl): Define using libm_alias_ldouble.
31310 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31311 libm_alias_ldouble.
31312 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31313 <libm-alias-ldouble.h>.
31314 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31315 libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31317 <libm-alias-ldouble.h>.
31318 (getpayloadl): Define using libm_alias_ldouble.
31319 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31320 <libm-alias-ldouble.h>.
31321 (llrintl): Define using libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31323 <libm-alias-ldouble.h>.
31324 (llroundl): Define using libm_alias_ldouble.
31325 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31326 <libm-alias-ldouble.h>.
31327 (lrintl): Define using libm_alias_ldouble.
31328 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31329 <libm-alias-ldouble.h>.
31330 (lroundl): Define using libm_alias_ldouble.
31331 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31332 <libm-alias-ldouble.h>.
31333 (modfl): Define using libm_alias_ldouble.
31334 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31335 <libm-alias-ldouble.h>.
31336 (nextupl): Define using libm_alias_ldouble.
31337 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31338 <libm-alias-ldouble.h>.
31339 (remquol): Define using libm_alias_ldouble.
31340 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31341 <libm-alias-ldouble.h>.
31342 (roundevenl): Define using libm_alias_ldouble.
31343 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31344 <libm-alias-ldouble.h>.
31345 (roundl): Define using libm_alias_ldouble.
31346 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31347 using libm_alias_ldouble.
31348 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31349 <libm-alias-ldouble.h>.
31350 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31351 <libm-alias-ldouble.h>.
31352 (setpayloadsigl): Define using libm_alias_ldouble.
31353 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31354 <libm-alias-ldouble.h>.
31355 (sincosl): Define using libm_alias_ldouble.
31356 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31357 <libm-alias-ldouble.h>.
31358 (sinl): Define using libm_alias_ldouble.
31359 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31360 <libm-alias-ldouble.h>.
31361 (tanhl): Define using libm_alias_ldouble.
31362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31363 <libm-alias-ldouble.h>.
31364 (tanl): Define using libm_alias_ldouble.
31365 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31366 <libm-alias-ldouble.h>.
31367 (totalorderl): Define using libm_alias_ldouble.
31368 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31369 <libm-alias-ldouble.h>.
31370 (totalordermagl): Define using libm_alias_ldouble.
31371 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31372 libm_alias_ldouble.
31373 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31374 libm_alias_ldouble.
31375
9ec87fd2
SP
313762017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31377
dd5bc7f1
SP
31378 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31379 memmove_falkor.
31380 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31381 (__libc_ifunc_impl_list): Likewise.
31382 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31383 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31384
5bfb0404
SP
31385 * benchtests/bench-memmove-walk.c: New file.
31386 * benchtests/Makefile (string-benchset): Add it.
31387
36bb8edf
SP
31388 * benchtests/bench-memset-walk.c: New file.
31389 * benchtests/Makefile (string-benchset): Add it.
31390
9ec87fd2
SP
31391 * benchtests/bench-memcpy-walk.c: New file.
31392 * benchtests/Makefile (string-benchset): Add it.
31393
1e9522c6
FW
313942017-10-05 Florian Weimer <fweimer@redhat.com>
31395
31396 nscd: Eliminate compilation time dependency in the build output.
31397 * nscd/nscd_stat.c (STATDATA_VERSION)
31398 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31399 (STATDATA_VERSION_FULL): New macro definitions.
31400 (compilation): Remove.
31401 (struct statdata): Adjust version member.
31402 (send_stats): Set version from STATDATA_VERSION_FULL.
31403 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31404
644d3857
JM
314052017-10-05 Joseph Myers <joseph@codesourcery.com>
31406
31407 * configure.ac (--enable-add-ons): Remove option.
31408 (machine): Do not mention add-ons in comment.
31409 (LIBC_PRECONFIGURE): Likewise.
31410 (add_ons): Remove variable and sanity checks and logic to locate
31411 add-ons.
31412 (add_ons_automatic): Remove variable.
31413 (configured_add_ons): Likewise.
31414 (add_ons_sfx): Likewise.
31415 (add_ons_pfx): Likewise.
31416 (add_on_subdirs): Likewise.
31417 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31418 consideration of add-ons in Implies handling.
31419 (sysdeps_add_ons): Likewise.
31420 * configure: Regenerated.
31421 * libidn/configure.ac: Remove.
31422 * libidn/configure: Likewise.
31423 * sysdeps/unix/inet/configure.ac: New file.
31424 * sysdeps/unix/inet/configure: New generated file.
31425 * sysdeps/unix/inet/Subdirs: Add libidn.
31426 * Makeconfig (sysdeps-srcdirs): Remove variable.
31427 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31428 ($(common-objpfx)config.status): Do not depend on add-on files.
31429 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31430 comment.
31431 (all-subdirs): Do not include $(add-on-subdirs).
31432 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31433 * config.make.in (add-ons): Remove variable.
31434 (add-on-subdirs): Likewise.
31435 (sysdeps-add-ons): Likewise.
31436 * manual/Makefile (add-chapters): Remove.
31437 ($(objpfx)texis): Do not depend on $(add-chapters).
31438 (nonexamples): Do not handle $(add-chapters).
31439 (examples): Do not handle $(add-ons).
31440 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31441 libc-texinfo.sh.
31442 * manual/install.texi (Installation): Do not mention add-ons.
31443 (--enable-add-ons): Do not document configure option.
31444 * INSTALL: Regenerated.
31445 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31446 * manual/maint.texi (Hierarchy Conventions): Do not mention
31447 add-ons.
31448 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31449 --enable-add-ons.
31450 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31451 add-ons.
31452 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31453 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31454
19f82f35
AS
314552017-10-05 Andreas Schwab <schwab@suse.de>
31456
31457 [BZ #15142]
31458 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31459 (_IO_flush_all_lockp): Always lock list_all_lock.
31460 (_IO_flush_all_linebuffered): Likewise.
31461 (_IO_unbuffer_all): Likewise.
31462
91e7cf98
FW
314632017-10-05 Florian Weimer <fweimer@redhat.com>
31464
31465 [BZ #15436]
31466 Do not flush stdio streams on abort.
31467 * stdlib/abort.c (fflush): Remove macro definition.
31468 (abort): Remove stages related to stdio flushing.
31469
0c251257
FW
314702017-10-05 Florian Weimer <fweimer@redhat.com>
31471
31472 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31473
7ea59e3e
SL
314742017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31475
31476 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31477
84d0e6f0
FW
314782017-10-05 Florian Weimer <fweimer@redhat.com>
31479
31480 * support/support_format_hostent.c (support_format_hostent): Add
31481 more error information for NETDB_INTERNAL.
31482
ee417882
L
314832017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31484
31485 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31486 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31487 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31488 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31489 AC_DEFINE if multi-arch is enabled.
31490 * sysdeps/i386/configure: Regenerated.
31491
a67029ff
L
314922017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 * Makeconfig (+link-static-before-libc): Use
31495 $(DEFAULT-LDFLAGS-$(@F)).
31496 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31497 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31498 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31499
5dba84b3
L
315002017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31501
31502 * elf/Makefile (tests): Add tst-main1.
31503 (modules-names): Add tst-main1mod.
31504 ($(objpfx)tst-main1): New.
31505 (CRT-tst-main1): Likewise.
31506 (LDFLAGS-tst-main1): Likewise.
31507 (LDLIBS-tst-main1): Likewise.
31508 (tst-main1mod.so-no-z-defs): Likewise.
31509 * elf/tst-main1.c: New file.
31510 * elf/tst-main1mod.c: Likewise.
31511
758f1bfa
L
315122017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31513
31514 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31515
7e16a5d1
JM
315162017-10-04 Joseph Myers <joseph@codesourcery.com>
31517
31518 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31519 (fma): Define using libm_alias_double.
31520 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31521 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31522 <math_ldbl_opt.h>.
31523 (fmal): Do not define as compat symbol here.
31524 * sysdeps/alpha/fpu/s_fma.c: New file.
31525
db4f87ba
SN
315262017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31527
31528 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31529
72d13ed1
JM
315302017-10-04 Joseph Myers <joseph@codesourcery.com>
31531
32d372d5
JM
31532 [BZ #22229]
31533 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31534 <math_ldbl_opt.h>
31535 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31536 and libc.
31537 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31538 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31539 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31540 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31542 Include <math_ldbl_opt.h>
31543 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31544 and libc.
31545 (compat_symbol): Undefine and redefine.
31546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31547 <math_ldbl_opt.h>
31548 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31549 (compat_symbol): Undefine and redefine.
31550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31551 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31552 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31553 GLIBC_2_1 for libm.
31554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31555 GLIBC_2.0 copysignl symbol.
31556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31557 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31558
72d13ed1
JM
31559 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31560
11c4f501
FW
315612017-10-04 Florian Weimer <fweimer@redhat.com>
31562
31563 * scripts/check-local-headers.sh: Ignore nspr4 header file
31564 directory in addition to nspr.
31565
57b4af19
GT
315662017-10-04 Guido Trentalancia <guido@trentalancia.net>
31567
31568 [BZ #17956]
31569 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31570 * configure: Regenerate.
31571 * crypt/Makefile (nss-cpp-flags): New variable.
31572 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31573 (CPPFLAGS-md5-crypt.c): Use it.
31574 * scripts/check-local-headers.sh: Ignore nspr header file
31575 directory.
31576
64d1e08e
AS
315772017-10-04 Andreas Schwab <schwab@suse.de>
31578
31579 * nis/Makefile (services): Remove compat.
31580 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31581 ($(objpfx)libnss_compat.so): Remove rule.
31582 * nis/Versions (libnss_compat): Remove.
31583 * nss/Makefile (services): Add compat.
31584 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31585 * nss/Versions (libnss_compat): Define.
31586 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31587 Don't include <rpc/types.h>. Replace bool_t by bool.
31588 * nss/nss_compat/compat-initgroups.c: Likewise.
31589 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31590 instead of <rpcsrv/ypclnt.h>.
31591 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31592 yp_get_default_domain.
31593 * nss/nss_compat/compat-pwd.c: Likewise.
31594 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31595 yp_get_default_domain.
31596 * nss/nss_compat/nisdomain.c: New file.
31597 * nss/nss_compat/nisdomain.h: Likewise.
31598
86c27ade
SN
315992017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31600
31601 [BZ #22244]
31602 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31603 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31604
8f8f8ef7
SN
316052017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31606
31607 [BZ #22243]
31608 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31610
95577475
L
316112017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31612
31613 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31614 "movl main@GOTOFF(%ebx), %eax".
31615
02d2d892
L
316162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31619 allow undefined _DYNAMIC in PIE libc.a.
31620 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31621 Likewse.
31622
0c609d19
L
316232017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31624
31625 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31626 check _DYNAMIC.
31627
c34a19ed
L
316282017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31629
31630 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31631 check _DYNAMIC.
31632
cdd4155d
L
316332017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31634
31635 * math/test-math-iscanonical.cc (error): Replace bool with int.
31636
4699cb8b
JM
316372017-10-03 Joseph Myers <joseph@codesourcery.com>
31638
d8f619b3
JM
31639 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31640 (modf): Define using libm_alias_double, only if [!__modf].
31641 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31642 <libm-alias-double.h>.
31643 (modf): Define using libm_alias_double, only if [!__modf].
31644 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31645 compat symbol here.
31646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31647 (weak_alias): Do not undefine and redefine.
31648 (strong_alias): Likewise.
31649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31650 (weak_alias): Likewise.
31651 (strong_alias): Likewise.
31652
4699cb8b
JM
31653 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31654 (logb): Define using libm_alias_double, only if [!__logb].
31655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31656 <libm-alias-double.h>.
31657 (logb): Define using libm_alias_double, only if [!__logb].
31658 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31660 (weak_alias): Do not undefine and redefine.
31661 (strong_alias): Likewise.
31662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31663 (weak_alias): Likewise.
31664 (strong_alias): Likewise.
31665
bcc4e4bb
L
316662017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31667
31668 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31669 Check SHARED instead PIC.
31670
39793865
JM
316712017-10-03 Joseph Myers <joseph@codesourcery.com>
31672
7f1cbdf8
JM
31673 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31674 [!__fmaf] (fmaf): Define using libm_alias_float.
31675
39793865
JM
31676 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31677 (frexp): Define using libm_alias_double.
31678 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31679 <libm-alias-double.h>.
31680 (frexp): Define using libm_alias_double.
31681 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31682 compat symbol here.
31683
aa0235df
GG
316842017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31685
31686 [BZ #22235]
31687 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31688 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31689 (CFLAGS-test-math-iscanonical.cc): New variable.
31690 * math/test-math-iscanonical.cc: New file.
31691 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31692 Provide a C++ implementation based on function overloading,
31693 rather than using __MATH_TG, which uses C-only builtins.
31694 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31695 Likewise.
31696 * sysdeps/powerpc/powerpc64le/Makefile
31697 (CFLAGS-test-math-iscanonical.cc): New variable.
31698
a1132b5e
JM
316992017-10-03 Joseph Myers <joseph@codesourcery.com>
31700
31701 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31702 (ceil): Define using libm_alias_double.
31703 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31704 (floor): Define using libm_alias_double.
31705 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31706 <libm-alias-double.h>.
31707 (llround): Define using libm_alias_double.
31708 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31709 <libm-alias-double.h>.
31710 (lround): Define using libm_alias_double.
31711 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31712 <libm-alias-double.h>.
31713 (nearbyint): Define using libm_alias_double.
31714 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31715 <libm-alias-double.h>.
31716 (remquo): Define using libm_alias_double.
31717 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31718 (rint): Define using libm_alias_double.
31719 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31720 (round): Define using libm_alias_double.
31721 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31722 (trunc): Define using libm_alias_double.
31723 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31724 <libm-alias-double.h>.
31725 (ceil): Define using libm_alias_double.
31726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31727 <libm-alias-double.h>.
31728 (floor): Define using libm_alias_double.
31729 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31730 <libm-alias-double.h>.
31731 (llround): Define using libm_alias_double.
31732 [_LP64] (lround): Likewise.
31733 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31734 <libm-alias-double.h>.
31735 [!_LP64] (lround): Define using libm_alias_double.
31736 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31737 <libm-alias-double.h>.
31738 (nearbyint): Define using libm_alias_double.
31739 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31740 <libm-alias-double.h>.
31741 (remquo): Define using libm_alias_double.
31742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31743 <libm-alias-double.h>.
31744 (rint): Define using libm_alias_double.
31745 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31746 <libm-alias-double.h>.
31747 (round): Define using libm_alias_double.
31748 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31749 <libm-alias-double.h>.
31750 (trunc): Define using libm_alias_double.
31751 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31752 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31753 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31754 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31755 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31756 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31757 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31758 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31759 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31760
f275f64e
SN
317612017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31762
31763 * math/w_remainder.c: New file.
31764 * math/w_remainderf.c: New file.
31765 * math/w_remainderl.c: New file.
31766
b8818ab5
L
317672017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31768
31769 * elf/rtld.c (BOOTSTRAP_MAP): New.
31770 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31771 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31772 Likewise.
31773 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31774 Likewise.
31775 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31776 Likewise.
31777
3d1870fa
ST
317782017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31779
31780 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31781 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31782 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31783 rtld_hidden_data_ver): Define to empty.
31784 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31785 __assert_perror_fail): Likewise.
31786 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31787 (__rewinddir): Likewise.
31788 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31789 (__profile_frequency): Likewise.
31790 * include/setjmp.h (__sigsetjmp): Likewise.
31791 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31792 __libc_sigaction): Likewise.
31793 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31794 not set hidden attribute.
31795 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31796 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31797 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31798 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31799 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31800 __fxstatat64): Likewise.
31801 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31802 (__uname): Likewise.
31803 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31804 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31805 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31806 (NO_RTLD_HIDDEN): Set.
31807 * sysdeps/mach/hurd/configure: Refresh.
31808 * config.h.in: Refresh.
31809
527cd19c
JM
318102017-10-02 Joseph Myers <joseph@codesourcery.com>
31811
38722448
JM
31812 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31813 (atan): Define using libm_alias_double.
31814 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31815 (tan): Define using libm_alias_double.
31816 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31817 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31818
527cd19c
JM
31819 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31820 define as weak alias of __atan. Do not define any aliases if
31821 [__atan].
31822 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31823 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31825 as weak alias of __tan. Do not define any aliases if [__tan].
31826 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31827 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31829 __atan.
31830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31832 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31833 and define as weak alias of __atan.
31834 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31835 __atan.
31836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31837 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31838 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31839 define as weak alias of __tan.
31840
bdc5c592
SN
318412017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31842
31843 * math/w_lgamma.c: New file.
31844 * math/w_lgammaf.c: New file.
31845 * math/w_lgammal.c: New file.
31846
bd4430c2
SN
318472017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31848
31849 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31850 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31851 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31852 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31853 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31854 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31855 * sysdeps/i386/fpu/w_log2f.c: New file.
31856 * sysdeps/i386/fpu/w_logf.c: New file.
31857 * sysdeps/i386/fpu/w_powf.c: New file.
31858 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31859 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31860 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31861
f7a0b063
SN
318622017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31863 H.J. Lu <hongjiu.lu@intel.com>
31864
31865 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31866 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31867 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31868 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31869 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31870 the new expf code.
31871 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31872 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31873 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31874 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31875 * sysdeps/i386/fpu/w_exp2f.c: New file.
31876 * sysdeps/i386/fpu/w_expf.c: New file.
31877 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31878 * sysdeps/x86_64/fpu/w_expf.c: New file.
31879
72d3d281
SN
318802017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31881
31882 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31883 (log2f): Likewise.
31884 (powf): Likewise.
31885 * math/w_log2f.c: New file.
31886 * math/w_logf.c: New file.
31887 * math/w_powf.c: New file.
31888 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31889 * math/w_logf_compat.c (__logf_compat): Likewise.
31890 * math/w_powf_compat.c (__powf_compat): Likewise.
31891 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31892 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31893 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31894 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31895 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31896 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31897 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31898 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31899 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31900 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31901 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31902 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31903 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31904 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31905 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31907 Likewise.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31909 Likewise.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31911 Likewise.
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31913 Likewise.
31914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31915 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31916 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31917 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31918 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31920 Likewise.
31921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31922 Likewise.
31923 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31924 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31925 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31926
59ba2d2b
RS
319272017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31928
31929 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31930 (sysdep_routines): Add memrchr_power8.
31931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31932 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31933 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31934 New file.
31935 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31936 (memrchr): Add __memrchr_power8 to ifunc list.
31937 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31938
397286ea
L
319392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 [BZ #18822]
31942 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31943 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31944 libc_hidden_def.
31945 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31946 (__posix_fallocate64_l64): Likewise.
31947
d0a4512b
L
319482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31949
31950 [BZ #18822]
31951 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31952 (__sched_setaffinity_new): Add libc_hidden_proto and
31953 libc_hidden_def.
31954
c0769f70
L
319552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31956
31957 [BZ #18822]
31958 * include/glob.h (__glob64): Add libc_hidden_proto.
31959 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31960 libc_hidden_def.
31961
0e7d5b6e
L
319622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 [BZ #18822]
31965 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31966 attribute_hidden.
31967
bde06c87
L
319682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31969
31970 [BZ #18822]
31971 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31972
fa426590
L
319732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31974
31975 [BZ #18822]
31976 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31977 libc_hidden_def.
31978
2f8a05d8
L
319792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31980
31981 [BZ #18822]
31982 * csu/version.c (__libc_print_version): Add attribute_hidden.
31983
7bfd08ac
L
319842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31985
31986 [BZ #18822]
31987 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31988
0e1fd06c
L
319892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31990
31991 [BZ #18822]
31992 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31993
36e7ae1e
L
319942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31995
31996 [BZ #18822]
31997 * nscd/nscd_helper.c (__nis_hash): New prototype.
31998
87078544
L
319992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32000
32001 [BZ #18822]
32002 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32003 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32004 libc_hidden_def.
32005 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32006 * termios/tcgetattr.c (__tcgetattr): Likewise.
32007
dd3121df
L
320082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32009
32010 [BZ #18822]
32011 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32012 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32013 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32014 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32015 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32016
047d1a81
L
320172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32018
32019 [BZ #18822]
32020 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32021
fd331b11
L
320222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32023
32024 [BZ #18822]
32025 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32026 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32027
57f859bd
L
320282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32029
32030 [BZ #18822]
32031 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32032
d1903329
L
320332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32034
32035 [BZ #18822]
32036 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32037 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32038
b4744101
L
320392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32040
32041 [BZ #18822]
32042 * include/ifreq.h: New file.
32043 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32044 (__ifreq): Likewise.
32045 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32046 (__ifreq): Likewise.
32047
43b7dfd1
L
320482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 [BZ #18822]
32051 * include/idna.h: New file.
32052 * inet/getnameinfo.c: Include <idna.h> instead of
32053 <libidn/idna.h>.
32054 (__idna_to_unicode_lzlz): Removed.
32055 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32056 <libidn/idna.h>.
32057 (__idna_to_ascii_lz): Removed.
32058 (__idna_to_unicode_lzlz): Likewise.
32059
2c0cd8f8
L
320602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32061
32062 [BZ #18822]
32063 * include/plural-exp.h: New file.
32064 * intl/plural-exp.c: Include <plural-exp.h> instead of
32065 "plural-exp.h".
32066
8369d216
L
320672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32068
32069 [BZ #18822]
32070 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32071 "getsourcefilter.h".
32072 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32073 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32074 "getsourcefilter.h".
32075 (__get_sol): Removed.
32076
a0aef783
L
320772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32078
32079 [BZ #18822]
32080 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32081 to ...
32082 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32083
3ee8209b
L
320842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32085
32086 [BZ #18822]
32087 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32088 attribute_hidden.
32089
6036fc38
L
320902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32091
32092 [BZ #18822]
32093 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32094
fe84fed0
L
320952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32096
32097 [BZ #18822]
32098 * include/search.h (__tdestroy): Add libc_hidden_proto.
32099 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32100
048dd681
L
321012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32102
32103 [BZ #18822]
32104 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32105
6e342af6
L
321062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32107
32108 [BZ #18822]
32109 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32110 attribute_hidden.
32111
6a088436
L
321122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32113
32114 [BZ #18822]
32115 * include/signal.h (__kill): Add libc_hidden_proto.
32116 (__sigblock): Likewise.
32117 (__sigprocmask): Likewise.
32118 (__sigaltstack): Likewise.
32119 * signal/kill.c (__kill): Add libc_hidden_def.
32120 * signal/sigblock.c (__sigblock): Likewise.
32121 * signal/sigprocmask.c (__sigprocmask): Likewise.
32122 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32123 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32124 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32125 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32126 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32127 Likewise.
32128 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32129 Likewise.
32130 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32131 (__sigprocmask): Likewise.
32132 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32133 Likewise.
32134 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32135 (__sigprocmask): Likewise.
32136 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32137 Likewise.
32138
78cf1d74
L
321392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32140
32141 [BZ #18822]
32142 * include/string.h (__strsep): Add libc_hidden_proto.
32143 * string/strsep.c (__strsep): Add libc_hidden_def.
32144
85b35894
L
321452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32146
32147 [BZ #18822]
32148 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32149 attribute_hidden.
32150 (__spawni): Likewise.
32151
225f7eec
L
321522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32153
32154 [BZ #18822]
32155 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32156 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32157 libc_hidden_def.
32158
372fe247
L
321592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32160
32161 [BZ #18822]
32162 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32163
9e5ee8b8
L
321642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32165
32166 [BZ #18822]
32167 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32168 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32169 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32170 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32171 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32172 Likewise.
32173 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32174 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32175
2ff16592
L
321762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32177
32178 [BZ #18822]
32179 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32180 (__dcigettext): Likewise.
32181
b5648377
L
321822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32183
32184 [BZ #18822]
32185 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32186 libc_hidden_proto.
32187 (__get_nprocs): Likewise.
32188 (__get_phys_pages): Likewise.
32189 (__get_avphys_pages): Likewise.
32190 (__get_child_max): Add attribute_hidden.
32191 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32192 (__get_nprocs): Likewise.
32193 (__get_phys_pages): Likewise.
32194 (__get_avphys_pages): Likewise.
32195 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32196 libc_hidden_def.
32197 (__get_nprocs): Likewise.
32198 (__get_phys_pages): Likewise.
32199 (__get_avphys_pages): Likewise.
32200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32201 libc_hidden_def.
32202 (__get_nprocs_conf): Likewise.
32203 (__get_phys_pages): Likewise.
32204 (__get_avphys_pages): Likewise.
32205
0389a6aa
L
322062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 [BZ #18822]
32209 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32210 attribute_hidden.
32211 (__netlink_close): Likewise.
32212 (__netlink_free_handle): Likewise.
32213 (__netlink_request): Likewise.
32214
d48354d8
L
322152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 [BZ #18822]
32218 * include/rpc/rpc.h (__rpc_thread_variables): Add
32219 attribute_hidden.
32220 (__rpc_thread_svc_cleanup): Likewise.
32221 (__rpc_thread_clnt_cleanup): Likewise.
32222 (__rpc_thread_key_cleanup): Likewise.
32223
d6daff12
L
322242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32225
32226 [BZ #18822]
32227 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32228 (__writev): Likewise.
32229 * misc/readv.c (__readv): Add libc_hidden_def.
32230 * misc/writev.c (__writev): Likewise.
32231 * sysdeps/posix/readv.c (__readv): Likewise.
32232 * sysdeps/posix/writev.c (__writev): Likewise.
32233 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32234 (__readv): Likewise.
32235 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32236 (__writev): Likewise.
32237
b68f8620
L
322382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32239
32240 [BZ #18822]
32241 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32242 (__regcomp): Add libc_hidden_proto.
32243 (__regexec): Likewise.
32244 (__regfree): Likewise.
32245 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32246 (__regfree): Likewise.
32247 * posix/regexec.c (__regexec): Likewise.
32248
59c04e67
L
322492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32250
32251 [BZ #18822]
32252 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32253 (__getutent): Likewise.
32254 (__getutid): Likewise.
32255 (__getutline): Likewise.
32256 (__pututline): Likewise.
32257 (__getutent_r): Likewise.
32258 (__getutid_r): Likewise.
32259 (__getutline_r): Likewise.
32260 (__utmpname): Add attribute_hidden.
32261 (__setutent): Likewise.
32262 (__endutent): Likewise.
32263 * login/getutent.c (__getutent): Add libc_hidden_def.
32264 * login/getutent_r.c (__getutent_r): Likewise.
32265 (__pututline): Likewise.
32266 * login/getutid.c (__getutid): Likewise.
32267 * login/getutid_r.c (__getutid_r): Likewise.
32268 * login/getutline.c (__getutline): Likewise.
32269 * login/getutline_r.c (__getutline_r): Likewise.
32270 * login/updwtmp.c (__updwtmp): Likewise.
32271
4587a421
L
322722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32273
32274 [BZ #18822]
32275 * include/dirent.h (__opendir): Always add attribute_hidden.
32276 (__fdopendir): Likewise.
32277 (__closedir): Likewise.
32278 (__readdir): Likewise.
32279 (__readdir64): Add libc_hidden_proto.
32280 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32281 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32282 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32283 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32284 New alias.
32285
9635ce69
L
322862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32287
32288 [BZ #18822]
32289 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32290 * include/netdb.h (__gethostbyaddr_r): Likewise.
32291 (__gethostbyname_r): Likewise.
32292 (__gethostbyname2_r): Likewise.
32293 (__getnetbyaddr_r): Likewise.
32294 (__getnetbyname_r): Likewise.
32295 (__getservbyname_r): Likewise.
32296 (__getservbyport_r): Likewise.
32297 (__getprotobyname_r): Likewise.
32298 (__getprotobynumber_r): Likewise.
32299 (__getnetgrent_r): Likewise.
32300 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32301 (__getrpcbynumber_r): Likewise.
32302 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32303
2e0a6909
L
323042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32305
32306 [BZ #18822]
32307 * include/stdio.h (__fcloseall): Add attribute_hidden.
32308 (__getline): Likewise.
32309 (__path_search): Likewise.
32310 (__gen_tempname): Likewise.
32311 (__libc_message): Likewise.
32312 (__flockfile): Likewise.
32313 (__funlockfile): Likewise.
32314 (__fxprintf): Likewise.
32315 (__fxprintf_nocancel): Likewise.
32316
94fd682c
L
323172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32318
32319 [BZ #18822]
32320 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32321 (__sgetsgent_r): Likewise.
32322
e1b33bba
L
323232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32324
32325 [BZ #18822]
32326 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32327 (__statfs64): Likewise.
32328 (__fstatfs64): Likewise.
32329 * include/sys/statvfs.h (__statvfs64): Likewise.
32330 (__fstatvfs64): Likewise.
32331 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32332 (__statfs_filesize_max): Likewise.
32333 (__statfs_symlinks): Likewise.
32334 (__statfs_chown_restricted): Likewise.
32335
b0f56784
L
323362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32337
32338 [BZ #18822]
32339 * include/time.h (__tzstring): Add attribute_hidden.
32340 (__tzfile_read): Likewise.
32341 (__tzfile_compute): Likewise.
32342 (__tzfile_default): Likewise.
32343 (__tzset_parse_tz): Likewise.
32344 (__offtime): Likewise.
32345 (__asctime_r): Likewise.
32346 (__tzset): Likewise.
32347 (__tz_convert): Likewise.
32348 (__getdate_r): Likewise.
32349 (__getclktck): Likewise.
32350
a4338d99
L
323512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32352
32353 [BZ #18822]
32354 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32355 (__nscd_unmap): Likewise.
32356 (__nscd_cache_search): Likewise.
32357 (__nscd_get_nl_timestamp): Likewise.
32358 (__nscd_getpwnam_r): Likewise.
32359 (__nscd_getpwuid_r): Likewise.
32360 (__nscd_getgrnam_r): Likewise.
32361 (__nscd_getgrgid_r): Likewise.
32362 (__nscd_gethostbyname_r): Likewise.
32363 (__nscd_gethostbyname2_r): Likewise.
32364 (__nscd_gethostbyaddr_r): Likewise.
32365 (__nscd_getai): Likewise.
32366 (__nscd_getgrouplist): Likewise.
32367 (__nscd_getservbyname_r): Likewise.
32368 (__nscd_getservbyport_r): Likewise.
32369 (__nscd_innetgr): Likewise.
32370 (__nscd_setnetgrent): Likewise.
32371
a2ca1652
L
323722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32373
32374 [BZ #18822]
32375 * include/gmp.h: Declare internal functions only if _ISOMAC is
32376 undefined.
32377 (__mpn_extract_double): Add attribute_hidden.
32378 (__mpn_extract_long_double): Likewise.
32379 (__mpn_extract_float128): Likewise.
32380 (__mpn_construct_float): Likewise.
32381 (__mpn_construct_double): Likewise.
32382 (__mpn_construct_long_double): Likewise.
32383 (__mpn_construct_float128): Likewise.
32384 (mpn_add_1): Likewise.
32385 (mpn_addmul_1): Likewise.
32386 (mpn_add_n): Likewise.
32387 (mpn_cmp): Likewise.
32388 (mpn_divrem): Likewise.
32389 (mpn_lshift): Likewise.
32390 (mpn_mul): Likewise.
32391 (mpn_mul_1): Likewise.
32392 (mpn_rshift): Likewise.
32393 (mpn_sub_1): Likewise.
32394 (mpn_submul_1): Likewise.
32395 (mpn_sub_n): Likewise.
32396
44af8a32
L
323972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32398
32399 [BZ #18822]
32400 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32401 (__wcscat): Likewise.
32402 (__btowc): Likewise.
32403 (__wcrtomb): Likewise.
32404 (__mbsrtowcs): Likewise.
32405 (__wcsrtombs): Likewise.
32406 (__mbsnrtowcs): Likewise.
32407 (__wcsnrtombs): Likewise.
32408 (__wcsncpy): Likewise.
32409 (__wcpncpy): Likewise.
32410 (__wmemcpy): Likewise.
32411 (__wmempcpy): Likewise.
32412 (__wmemmove): Likewise.
32413 (__wcschrnul): Likewise.
32414 (__vfwscanf): Likewise.
32415 (__vswprintf): Likewise.
32416 (__fwprintf): Likewise.
32417 (__vfwprintf): Likewise.
32418
783cd767
L
324192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32420
32421 [BZ #18822]
32422 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32423 (__getgrgid_r): Likewise.
32424 (__getgrnam_r): Likewise.
32425 * include/pwd.h (__getpwuid_r): Likewise.
32426 (__getpwnam_r): Likewise.
32427 (__fgetpwent_r): Likewise.
32428 * include/shadow.h (__getspnam_r): Likewise.
32429 (__sgetspent_r): Likewise.
32430 (__fgetspent_r): Likewise.
32431
7ec4b39a
L
324322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 [BZ #18822]
32435 * include/unistd.h (__access): Add attribute_hidden.
32436 (__lseek64): Likewise.
32437 (__libc_pread64): Likewise.
32438 (__pipe2): Likewise.
32439 (__sleep): Likewise.
32440 (__chdir): Likewise.
32441 (__fchdir): Likewise.
32442 (__getcwd): Likewise.
32443 (__rmdir): Likewise.
32444 (__execvpe): Likewise.
32445 (__execve): Likewise.
32446 (__setsid): Likewise.
32447 (__getuid): Likewise.
32448 (__geteuid): Likewise.
32449 (__getgid): Likewise.
32450 (__getegid): Likewise.
32451 (__getgroups): Likewise.
32452 (__group_member): Likewise.
32453 (__ttyname_r): Likewise.
32454 (__isatty): Likewise.
32455 (__readlink): Likewise.
32456 (__unlink): Likewise.
32457 (__gethostname): Likewise.
32458 (__profil): Likewise.
32459 (__getdtablesize): Likewise.
32460 (__brk): Likewise.
32461 (__ftruncate): Likewise.
32462 (__ftruncate64): Likewise.
32463
8345a760
L
324642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32465
32466 [BZ #18822]
32467 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32468 * argp/argp-fs-xinl.c: Likewise.
32469 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32470 * argp/argp-parse.c: Include <argp.h>.
32471 * argp/argp-xinl.c: Likewise.
32472 * include/argp-fmtstream.h: New file.
32473 * include/argp.h (__argp_error): Add attribute_hidden.
32474 (__argp_failure): Likewise.
32475 (__argp_input): Likewise.
32476 (__argp_state_help): Likewise.
32477
c26dd7c6
L
324782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32479
32480 [BZ #18822]
32481 * include/wchar.h (____wcstof_l_internal): New prototype.
32482 (____wcstod_l_internal): Likewise.
32483 (____wcstold_l_internal): Likewise.
32484 (____wcstol_l_internal): Likewise.
32485 (____wcstoul_l_internal): Likewise.
32486 (____wcstoll_l_internal): Likewise.
32487 (____wcstoull_l_internal): Likewise.
32488 (____wcstof128_l_internal): Likewise.
32489 * sysdeps/ieee754/float128/wcstof128.c
32490 (____wcstof128_l_internal): Removed.
32491 * sysdeps/ieee754/float128/wcstof128_l.c
32492 (____wcstof128_l_internal): Likewise.
32493 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32494 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32495 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32496 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32497 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32498 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32499 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32500 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32501 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32502 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32503
3aff5644
L
325042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32505
32506 [BZ #18822]
32507 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32508 instead of <sys/statvfs.h>.
32509 (__internal_statvfs): Removed.
32510 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32511 instead of <sys/statvfs.h>.
32512 (__internal_statvfs64): Removed.
32513 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32514 "internal_statvfs.h" instead of <sys/statvfs.h>.
32515 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32516 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32517 instead of <sys/statvfs.h>.
32518 (__internal_statvfs): Removed.
32519 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32520 instead of <sys/statvfs.h>.
32521 (__internal_statvfs64): Removed.
32522
8bcdb7e0
L
325232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32524
32525 [BZ #18822]
32526 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32527 (__gconv_close): Likewise.
32528 (__gconv): Likewise.
32529 (__gconv_find_transform): Likewise.
32530 (__gconv_lookup_cache): Likewise.
32531 (__gconv_compare_alias_cache): Likewise.
32532 (__gconv_load_cache): Likewise.
32533 (__gconv_get_path): Likewise.
32534 (__gconv_close_transform): Likewise.
32535 (__gconv_release_cache): Likewise.
32536 (__gconv_find_shlib): Likewise.
32537 (__gconv_release_shlib): Likewise.
32538 (__gconv_get_builtin_trans): Likewise.
32539 (__gconv_compare_alias): Likewise.
32540 * include/dlfcn.h (_dlerror_run): Likewise.
32541 * include/stdio.h (__fortify_fail_abort): Likewise.
32542 * include/time.h (__tz_compute): Likewise.
32543 (__strptime_internal): Likewise.
32544 * intl/gettextP.h (_nl_find_domain): Likewise.
32545 (_nl_load_domain): Likewise.
32546 (_nl_find_msg): Likewise.
32547 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32548 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32549 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32550 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32551 (__gai_find_request): Likewise.
32552 (__gai_remove_request): Likewise.
32553 (__gai_notify): Likewise.
32554 (__gai_notify_only): Likewise.
32555 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32556 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32557 (_dl_non_dynamic_init): Likewise.
32558 (_dl_aux_init): Likewise.
32559 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32560 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32561 Likewise.
32562 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32563 (__wcsmbs_clone_conv): Likewise.
32564 (__wcsmbs_named_conv): Likewise.
32565
8ed3b643
L
325662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32567
32568 [BZ #18822]
32569 * include/stdlib.h (__random): Add attribute_hidden.
32570 (__random_r): Likewise.
32571 (__srandom_r): Likewise.
32572 (__initstate_r): Likewise.
32573 (__setstate_r): Likewise.
32574 (__erand48_r): Likewise.
32575 (__nrand48_r): Likewise.
32576 (__jrand48_r): Likewise.
32577 (__srand48_r): Likewise.
32578 (__seed48_r): Likewise.
32579 (__lcong48_r): Likewise.
32580 (__drand48_iterate): Likewise.
32581 (__setenv): Likewise.
32582 (__unsetenv): Likewise.
32583 (__clearenv): Likewise.
32584 (__ptsname_r): Likewise.
32585 (__posix_openpt): Likewise.
32586 (__add_to_environ): Likewise.
32587 (__realpath): Add libc_hidden_proto.
32588 (__ecvt_r): Likewise.
32589 (__fcvt_r): Likewise.
32590 (__qecvt_r): Likewise.
32591 (__qfcvt_r): Likewise.
32592 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32593 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32594
ef9b6f73
L
325952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32596
32597 [BZ #18822]
32598 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32599 * include/time.h (__mktime_internal): Likewise.
32600 * libio/iolibio.h (__fopen_internal): Likewise.
32601
8da92e72
JDA
326022017-10-01 John David Anglin <danglin@gcc.gnu.org>
32603
32604 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32605 pointer in frame.
32606 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32607 Correct offset used to restore PIC register.
32608
388784cf
JDA
326092017-09-30 John David Anglin <danglin@gcc.gnu.org>
32610
32611 [BZ libc/22165]
32612 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32613 code to load address of __getcontext_ret when generating PIC code.
32614
2000067a
L
326152017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 * elf/Makefile (tests-static-internal): Add
32618 tst-tls1-static-non-pie.
32619 (LDFLAGS-tst-tls1-static-non-pie): New.
32620 * elf/tst-tls1-static-non-pie.c: New file.
32621
1e2bffd0
JM
326222017-09-29 Joseph Myers <joseph@codesourcery.com>
32623
32624 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32625 (asinh): Define using libm_alias_double.
32626 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32627 (cbrt): Define using libm_alias_double.
32628 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32629 <libm-alias-double.h>.
32630 (copysign): Define using libm_alias_double.
32631 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32632 (erf): Define using libm_alias_double.
32633 (erfc): Likewise.
32634 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32635 (expm1): Define using libm_alias_double.
32636 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32637 (fabs): Define using libm_alias_double.
32638 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32639 libm_alias_double.
32640 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32641 <libm-alias-double.h>.
32642 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32643 libm_alias_double.
32644 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32645 <libm-alias-double.h>.
32646 (getpayload): Define using libm_alias_double.
32647 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32648 <libm-alias-double.h>.
32649 (llrint): Define using libm_alias_double.
32650 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32651 (lrint): Define using libm_alias_double.
32652 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32653 <libm-alias-double.h>.
32654 (nextup): Define using libm_alias_double.
32655 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32656 <libm-alias-double.h>.
32657 (roundeven): Define using libm_alias_double.
32658 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32659 libm_alias_double.
32660 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32661 <libm-alias-double.h>.
32662 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32663 using libm_alias_double.
32664 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32665 (cos): Define using libm_alias_double.
32666 (sin): Likewise.
32667 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32668 <libm-alias-double.h>.
32669 (sincos): Define using libm_alias_double.
32670 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32671 (tanh): Define using libm_alias_double.
32672 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32673 <libm-alias-double.h>.
32674 (totalorder): Define using libm_alias_double.
32675 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32676 <libm-alias-double.h>.
32677 (totalordermag): Define using libm_alias_double.
32678 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32679 libm_alias_double.
32680 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32681 libm_alias_double.
32682 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32683 <libm-alias-double.h>.
32684 (getpayload): Define using libm_alias_double.
32685 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32686 <libm-alias-double.h>.
32687 (roundeven): Define using libm_alias_double.
32688 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32689 <libm-alias-double.h>.
32690 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32691 <libm-alias-double.h>.
32692 (totalorder): Define using libm_alias_double.
32693 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32694 <libm-alias-double.h>.
32695 (totalordermag): Define using libm_alias_double.
32696 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32697 libc compat symbol here.
32698 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32699 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32700 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32701 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32702 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32703 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32704 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32705 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32706 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32707 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32708
8172aad9
L
327092017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32710
32711 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32712 _dl_relocate_static_pie instead of _dl_start to compute load
32713 address in static PIE. Return 0 if _DYNAMIC is undefined for
32714 static executable.
32715
54464e74
L
327162017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32717
32718 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32719 _DYNAMIC is undefined for static executable.
32720
f6c5e5bc
L
327212017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32722
32723 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32724
2f92505d
JM
327252017-09-29 Joseph Myers <joseph@codesourcery.com>
32726
32727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32728
bd8d53bb
WD
327292017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32730
32731 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32732 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32733 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32734 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32736 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32737 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32738 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32740 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32741 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32742 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32743 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32744 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32745 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32746 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32747 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32748
fffb1507
WD
327492017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32750
32751 * math/bits/cmathcalls.h (cimag): Remove inline.
32752 (creal): Remove inline.
32753 (conj): Remove inline.
32754
4ea49f4c
SN
327552017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32756
32757 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32758 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32759 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32760 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32761 (issignalingf_inline): Likewise.
32762 (POWF_LOG2_TABLE_BITS): Likewise.
32763 (POWF_LOG2_POLY_ORDER): Likewise.
32764 (POWF_SCALE_BITS): Likewise.
32765 (POWF_SCALE): Likewise.
32766 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32767 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32768 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32769
875c76c7
SN
327702017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32771
32772 * math/Makefile (type-float-routines): Add e_log2f_data.
32773 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32774 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32775 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32776 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32777 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32778 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32779 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32780
90c42e40
SN
327812017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32782
32783 * math/Makefile (type-float-routines): Add e_logf_data.
32784 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32785 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32786 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32787 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32788 * sysdeps/i386/fpu/e_logf_data.c: New file.
32789 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32790 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32791
4088d8dd
L
327922017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32793
32794 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32795 undefined _DYNAMIC in PIE libc.a.
32796 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32797 Likewse.
32798
4d3693ec
WD
327992017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32800
32801 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32802 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32803 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32804 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32805 (__signbit): Remove.
32806 (__signbitl): Remove.
32807 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32808 (__signbit): Remove.
32809 (__signbitl): Remove.
32810 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32811 (__signbit): Remove.
32812 (__signbitl): Remove.
32813 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32814 (__signbit): Remove.
32815 (__signbitl): Remove.
32816 * sysdeps/tile/bits/mathinline.h: Delete file.
32817 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32818 (__signbit): Remove.
32819 (__signbitl): Remove.
32820
1e6d0723
WD
328212017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32822
32823 * math/math.h: Improve handling of C99 isgreater macros.
32824 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32825 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32826 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32827 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32828 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32829
b2f03cf3
SN
328302017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32831
32832 * sysdeps/aarch64/libm-test-ulps: Update.
32833
f124cb38
JM
328342017-09-28 Joseph Myers <joseph@codesourcery.com>
32835
32836 [BZ #22225]
32837 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32838 math_opt_barrier on argument when doing arithmetic on it.
32839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32840 Likewise. Use math_force_eval not math_opt_barrier after
32841 arithmetic.
32842 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32843 math_opt_barrier on argument when doing arithmetic on it.
32844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32845 Likewise.
32846
7edd0691
L
328472017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32848
32849 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32850 libc_hidden_def.
32851 (__freeifaddrs): Likewise.
32852
2c7bbfaf
ST
328532017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32854
32855 * include/dirent.h (__dirfd): New declaration.
32856 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32857 alias.
32858 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32859 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32860 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
32861 * include/unistd.h (__revoke): New declaration.
32862 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32863 alias.
32864 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32865 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32866 revoke.
64a4af28
ST
32867 * include/dirent.h (__seekdir): New declaration.
32868 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32869 redefine as weak alias.
32870 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32871 of seekdir.
4009ddc6
ST
32872 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32873 and use libc_hidden_def on them.
32874 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32875 them.
32876 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32877 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32878 instead of getifaddrs and freeifaddrs.
2c7bbfaf 32879
825adeee
L
328802017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32881
32882 [BZ #18822]
32883 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32884 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32885 (__dso_handle): Remove declaration.
32886 * dlfcn/tstatexit.c (__dso_handle): Removed.
32887 (main): Don't check __dso_handle.
32888 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32889 (main): Don't check __dso_handle.
32890 * include/dso_handle.h: New file.
32891 * malloc/mtrace.c: Include <dso_handle.h>.
32892 (mtrace): Pass __dso_handle directly.
32893 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32894 (__dso_handle): Remove declaration.
32895 (__pthread_atfork): Pass __dso_handle directly.
32896 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32897 (__dso_handle): Removed.
32898 * posix/wordexp-test.c: Include <dso_handle.h>.
32899 (__dso_handle): Remove declaration.
32900 (__app_register_atfork): Pass __dso_handle directly.
32901 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32902 (__dso_handle): Remove declaration.
32903 (at_quick_exit): Pass __dso_handle directly.
32904 * stdlib/atexit.c: Include <dso_handle.h>.
32905 (__dso_handle): Remove declaration.
32906 (atexit): Pass __dso_handle directly.
32907 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32908 (__dso_handle): Removed.
32909
bfb0deb3
JM
329102017-09-26 Joseph Myers <joseph@codesourcery.com>
32911
32912 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32913 using VDSO.
32914
cebcb9f8
AM
329152017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32916
32917 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32918 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32919 values to correct default value for given type.
32920
592d5c75
L
329212017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32922
32923 [BZ #22101]
32924 * elf/Makefile (tests): Add tst-debug1.
32925 ($(objpfx)tst-debug1): New.
32926 ($(objpfx)tst-debug1.out): Likewise.
32927 ($(objpfx)tst-debug1mod1.so): Likewise.
32928 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32929 with p_filesz == 0.
32930 * elf/tst-debug1.c: New file.
32931
2d9193f2
JM
329322017-09-26 Joseph Myers <joseph@codesourcery.com>
32933
32934 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32935 Define using __ifunc.
32936
4c5a7a02
TMQMF
329372017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32938
32939 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32940 exp2f() values.
32941
12ef66c4
JM
329422017-09-26 Joseph Myers <joseph@codesourcery.com>
32943
32944 [BZ #22156]
32945 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32946
44dade71
FW
329472017-09-26 Florian Weimer <fweimer@redhat.com>
32948
32949 * resolv/Makefile (tests-internal): Fix typo in comment.
32950
eaca16f1
FW
329512017-09-26 Florian Weimer <fweimer@redhat.com>
32952
32953 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32954
ccf970c7
AZ
329552017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32956
5f9f31ad
AZ
32957 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32958 Use an union instead of a max_align_t array for __space,
32959 so that __space is the same size on all platforms.
32960 * malloc/scratch_buffer_grow_preserve.c
32961 (__libc_scratch_buffer_grow_preserve): Likewise.
32962
ccf970c7
AZ
32963 [BZ #22183]
32964 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32965 version to 2.
32966 * posix/Makefile (routines): Add glob-lstat-compat and
32967 glob64-lstat-compat.
32968 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32969 * posix/glob-lstat-compat.c: New file.
32970 * posix/glob64-lstat-compat.c: Likewise.
32971 * posix/tst-glob_lstat_compat.c: Likewise.
32972 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32973 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32974 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32975 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32976 Likewise.
32977 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32978 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32979 * posix/glob.c (glob_lstat): New function.
32980 (glob): Rename to __glob and add versioned symbol to 2.27.
32981 (glob_in_dir): Use glob_lstat.
32982 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32983 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32984 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32985 2.27.
32986 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32987 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32988 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32989 gl_lstat on glob call.
32990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32991 and glob64 symbols.
32992 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32993 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32994 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32995 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32996 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32997 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32998 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33000 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33002 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33003 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33005 Likewise.
33006 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33009 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33010 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33011 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33012 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33015 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33016 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33017 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33018
b4396163
L
330192017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33020
33021 * configure.ac (AS): Require binutils 2.25 or later.
33022 * configure: Regenerated.
33023
8f834987
PP
330242017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33025
33026 [BZ #22207]
33027 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33028 VM size.
33029
3de93d19
DD
330302017-09-25 DJ Delorie <dj@redhat.com>
33031
33032 [BZ #22161]
33033 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33034 resetting timeout.
33035
9947638d
SL
330362017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33037
33038 * sysdeps/ieee754/dbl-64/sincos32.h
33039 [SINCCOS32_H]: Remove define.
33040 [SINCOS32_H]: Define.
33041
f5f0f526
SN
330422017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33043
33044 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33045 (exp2f): Likewise.
33046 * math/w_exp2f.c: New file.
33047 * math/w_expf.c: New file.
33048 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33049 * math/w_expf_compat.c (__expf_compat): Likewise.
33050 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33051 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33053 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33054 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33056 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33057 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33058 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33059 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33060 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33061 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33062 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33063 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33065 Likewise.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33067 Likewise.
33068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33069 Likewise.
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33071 Likewise.
33072 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33073 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33074 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33075 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33076 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33078 Likewise.
33079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33080 Likewise.
33081 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33084
72aa6233
SN
330852017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33086
33087 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33088 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33089 (roundtoint, converttoint): Likewise.
33090 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33091 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33092 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33093 * sysdeps/ieee754/flt-32/math_config.h: New file.
33094 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33095 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33096 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33097 * sysdeps/i386/fpu/math_errf.c: New file.
33098 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33099 * sysdeps/ia64/fpu/math_errf.c: New file.
33100 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33101 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33102
5e6f3253
ST
331032017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33104
33105 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33106 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33107 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33108 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33109 to make sure that these symbols are defined.
b38a42a0
ST
33110 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33111 of <limits.h>
33112 (__need_NULL): Do not define.
33113 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33114 alignment.
33115 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33116 CMGROUP_MAX, cmsgcred): Do not define.
33117 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33118 NULL.
33119 * bits/socket.h: Likewise.
fcafcd16
ST
33120 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33121 __gettimeofday instead of gettimeofday.
33122 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33123 instead of settimeofday.
5e6f3253 33124
2f49ce7d
JM
331252017-09-22 Joseph Myers <joseph@codesourcery.com>
33126
33127 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33128 (asinhf): Define using libm_alias_float.
33129 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33130 (atanf): Define using libm_alias_float.
33131 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33132 (cbrtf): Define using libm_alias_float.
33133 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33134 (ceilf): Define using libm_alias_float.
33135 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33136 <libm-alias-float.h>.
33137 (copysignf): Define using libm_alias_float.
33138 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33139 (cosf): Define using libm_alias_float.
33140 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33141 (erff): Define using libm_alias_float.
33142 (erfcf): Likewise.
33143 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33144 (expm1f): Define using libm_alias_float.
33145 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33146 (fabsf): Define using libm_alias_float.
33147 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33148 (floorf): Define using libm_alias_float.
33149 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33150 (frexpf): Define using libm_alias_float.
33151 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33152 libm_alias_float.
33153 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33154 <libm-alias-float.h>.
33155 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33156 libm_alias_float.
33157 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33158 <libm-alias-float.h>.
33159 (getpayloadf): Define using libm_alias_float.
33160 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33161 <libm-alias-float.h>.
33162 (llrintf): Define using libm_alias_float.
33163 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33164 <libm-alias-float.h>.
33165 (llroundf): Define using libm_alias_float.
33166 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33167 (logbf): Define using libm_alias_float.
33168 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33169 (lrintf): Define using libm_alias_float.
33170 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33171 (lroundf): Define using libm_alias_float.
33172 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33173 (modff): Define using libm_alias_float.
33174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33175 <libm-alias-float.h>.
33176 (nearbyintf): Define using libm_alias_float.
33177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33178 <libm-alias-float.h>.
33179 (nextafterf): Define using libm_alias_float.
33180 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33181 <libm-alias-float.h>.
33182 (nextupf): Define using libm_alias_float.
33183 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33184 <libm-alias-float.h>.
33185 (remquof): Define using libm_alias_float.
33186 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33187 (rintf): Define using libm_alias_float.
33188 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33189 <libm-alias-float.h>.
33190 (roundevenf): Define using libm_alias_float.
33191 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33192 (roundf): Define using libm_alias_float.
33193 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33194 using libm_alias_float.
33195 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33196 <libm-alias-float.h>.
33197 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33198 Define using libm_alias_float.
33199 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33200 <libm-alias-float.h>.
33201 (sincosf): Define using libm_alias_float.
33202 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33203 (sinf): Define using libm_alias_float.
33204 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33205 (tanf): Define using libm_alias_float.
33206 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33207 (tanhf): Define using libm_alias_float.
33208 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33209 <libm-alias-float.h>.
33210 (totalorderf): Define using libm_alias_float.
33211 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33212 <libm-alias-float.h>.
33213 (totalordermagf): Define using libm_alias_float.
33214 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33215 (truncf): Define using libm_alias_float.
33216 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33217 libm_alias_float.
33218 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33219 libm_alias_float.
33220
c5c4a626
GG
332212017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33222
33223 [BZ #22146]
33224 math/math.h: Let fpclassify use the builtin in C++ mode, even
33225 when optimazing for size.
33226
23947846
JM
332272017-09-22 Joseph Myers <joseph@codesourcery.com>
33228
33229 * csu/Makefile (generated): Do not add version-info.h.
33230 (before-compile): Likewise.
33231 (all-Banner-files): Remove variable.
33232 ($(objpfx)version-info.h): Remove rule.
33233 * csu/version.c (banner): Do not include "version-info.h".
33234 * libidn/Banner: Remove.
33235 * manual/contrib.texi (Simon Josefsson): New entry.
33236
9ac3c682
GG
332372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33238
33239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33240 Remove conditionals on LDBL_MANT_DIG.
33241 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33242 (__ieee754_lgammal_r): Likewise.
33243
d2f0ed09
GG
332442017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33245
33246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33247 _Float128 and L().
33248 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33249 _Float128 and L(). Replace _Float128 with long double and L(x)
33250 with xL, throughout the file.
33251 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33255
c5c2e667
GG
332562017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33257
33258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33259 sysdeps/ieee754/ldbl-128ibm.
33260 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33261 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33262 of including it. Keep _Float128 and L() intact. These will be
33263 reviewed by a separate patch.
33264 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33265 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33266 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33267 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33268
e010deb2
GG
332692017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33270
33271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33272 (__finitef128): Define to __redirect___finitef128.
33273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33274 (__isinff128): Define to __redirect___isinff128.
33275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33276 (__isnanf128): Define to __redirect___isnanf128.
33277
ffa44804
GG
332782017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33279
33280 * sysdeps/powerpc/powerpc64le/Makefile
33281 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33282 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33283
e5e4d7cc
PP
332842017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33285 Carlos O'Donell <carlos@redhat.com>
33286
33287 [BZ #22180]
33288 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33289 * stdlib/test-dlclose-exit-race.c: New file.
33290 * stdlib/test-dlclose-exit-race-helper.c: New file.
33291 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33292
c10c5267
JM
332932017-09-21 Joseph Myers <joseph@codesourcery.com>
33294
33295 * crypt/Banner: Remove file.
33296 * nptl/Banner: Likewise.
33297 * resolv/Banner: Likewise.
33298 * soft-fp/Banner: Likewise.
33299 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33300 ($(objpfx)version.d): Remove dependency on banner.h.
33301 ($(objpfx)version.os): Likewise.
33302 * nptl/version.c (banner): Do not include banner.h.
33303 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33304 Jelinek and BIND code.
33305
1cc9e59a
PP
333062017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33307 Carlos O'Donell <carlos@redhat.com>
33308
33309 * support/xdlfcn.h: New file.
33310 * support/xdlfcn.c: New file.
33311 * support/Makefile (libsupport-routines): Add xdlfcn.
33312 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33313
ae8372d7
JM
333142017-09-20 Joseph Myers <joseph@codesourcery.com>
33315
33316 [BZ #20142]
33317 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33318 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33319 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33320 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33321 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33322 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33323 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33324 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33325
26e70aec 333262017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
33327 Ricky Zhou <rickyz@google.com>
33328 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
33329
33330 [BZ #14333]
33331 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33332 Remove atomics.
33333 (__new_exitfn): Fail registration when we finished at_exit processing.
33334 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33335 * stdlib/on_exit.c (__on_exit): Likewise.
33336 * stdlib/exit.c (__exit_funcs_done): New variable.
33337 (__run_exit_handlers): Use __exit_funcs_lock.
33338 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33339 declarations.
33340 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33341 (test-cxa_atexit-race, test-on_exit-race): New tests.
33342 * stdlib/test-atexit-race-common.c: New file.
33343 * stdlib/test-atexit-race.c: New file.
33344 * stdlib/test-at_quick_exit-race.c: New file.
33345 * stdlib/test-cxa_atexit-race.c: New file.
33346 * stdlib/test-on_exit-race.c: New file.
33347
0525ce48
SN
333482017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33349
33350 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33351 * benchtests/exp2f-inputs: Copy of expf-inputs.
33352 * benchtests/log2f-inputs: Copy of logf-inputs.
33353
d82468d1
JM
333542017-09-19 Joseph Myers <joseph@codesourcery.com>
33355
33356 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33357 Explicitly take address of first element of array arguments in
33358 call to INLINE_SYSCALL.
33359
43ffc53a
AS
333602017-09-19 Andreas Schwab <schwab@suse.de>
33361
33362 [BZ #22134]
33363 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33364 execveat first.
33365 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33366 unimplemented.
33367 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33368 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33369 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33370 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33371 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33372 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33374 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33375 * posix/Makefile (tests): Add tst-fexecve.
33376 * posix/tst-fexecve.c: New file.
33377
a5dcc87e
WD
333782017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33379
33380 * benchtests/Makefile: Add logf benchmark.
33381 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33382
7024d544
WD
333832017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33384
33385 * benchtests/Makefile: Add expf benchmark.
33386 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33387
ca3a382e
WD
333882017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33389
33390 * csu/Makefile: Add -funwind-tables to libc-start.c.
33391 * debug/Makefile: Add -funwind-tables to backtrace.c.
33392 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33393 * sysdeps/arm/Makefile: Likewise.
33394 * sysdeps/i386/Makefile: Likewise.
33395 * sysdeps/m68k/Makefile: Likewise.
33396 * sysdeps/mips/Makefile: Likewise.
33397 * sysdeps/nios2/Makefile: Likewise.
33398 * sysdeps/sh/Makefile: Likewise.
33399 * sysdeps/sparc/Makefile: Likewise.
33400
eb375def
JM
334012017-09-19 Joseph Myers <joseph@codesourcery.com>
33402
33403 * benchtests/Makefile (bench-math): Add trunc and truncf.
33404 (CFLAGS-bench-trunc.c): New variable.
33405 (CFLAGS-bench-truncf.c): Likewise.
33406 * benchtests/trunc-inputs: New file.
33407 * benchtests/truncf-inputs: Likewise.
33408
bd17ba29
RS
334092017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33410
33411 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33412
92892fdb
JM
334132017-09-18 Joseph Myers <joseph@codesourcery.com>
33414
6d9b0b5a
JM
33415 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33416 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33417 redefine.
33418 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33419 (exp10l): Define as weak alias.
33420 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33421 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33422 and redefine.
33423 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33424 (remainderl): Define as weak alias.
33425
92892fdb
JM
33426 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33427 (fmal): Define using libm_alias_ldouble.
33428 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33429 (acoshl): Define using libm_alias_ldouble.
33430 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33431 (acosl): Define using libm_alias_ldouble.
33432 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33433 (asinl): Define using libm_alias_ldouble.
33434 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33435 (atan2l): Define using libm_alias_ldouble.
33436 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33437 (atanhl): Define using libm_alias_ldouble.
33438 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33439 (coshl): Define using libm_alias_ldouble.
33440 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33441 (exp10l): Define using libm_alias_ldouble.
33442 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33443 (exp2l): Define using libm_alias_ldouble.
33444 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33445 (expl): Define using libm_alias_ldouble.
33446 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33447 (fmodl): Define using libm_alias_ldouble.
33448 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33449 (hypotl): Define using libm_alias_ldouble.
33450 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33451 (j0l): Define using libm_alias_ldouble.
33452 (y0l): Likewise.
33453 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33454 (j1l): Define using libm_alias_ldouble.
33455 (y1l): Likewise.
33456 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33457 (jnl): Define using libm_alias_ldouble.
33458 (ynl): Likewise.
33459 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33460 (log10l): Define using libm_alias_ldouble.
33461 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33462 (log2l): Define using libm_alias_ldouble.
33463 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33464 (logl): Define using libm_alias_ldouble.
33465 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33466 (powl): Define using libm_alias_ldouble.
33467 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33468 (remainderl): Define using libm_alias_ldouble.
33469 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33470 (sinhl): Define using libm_alias_ldouble.
33471 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33472 (sqrtl): Define using libm_alias_ldouble.
33473 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33474 (tgammal): Define using libm_alias_ldouble.
33475 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33476 (exp10l): Do not use long_double_symbol here.
33477 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33478 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33479 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33480 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33481 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33482 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33483 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33484 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33485 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33486 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33487 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33488 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33489 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33490 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33491 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33492 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33493 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33494 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33495 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33496 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33497 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33498 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33499
6cd380dd
WB
335002017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33501
33502 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33503 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33504
1c6d89e9
ST
335052017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33506
33507 * io/read.c (read): Add libc_hidden_weak.
33508 * sysdeps/mach/hurd/read.c (read): Likewise.
33509 * io/write.c (write): Likewise.
33510 * sysdeps/mach/hurd/write.c (write): Likewise.
33511 * io/pread64.c (__pread64): Likewise.
33512 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33513 * posix/pread64.c (__pread64): Add libc_hidden_def.
33514
06b1de23
SP
335152017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33516
140647ea
SP
33517 * benchtests/scripts/compare_strings.py: New option -g.
33518 (draw_graph): Print a message that a graph is being generated.
33519 (process_results): Generate graph only if -g is passed.
33520 (main): Process option -g.
33521
5a6547b7
SP
33522 * benchtests/scripts/compare_strings.py (process_results):
33523 Better spacing for output.
33524
06b1de23
SP
33525 * benchtests/scripts/compare_strings.py: Use argparse.
33526 * benchtests/README: Document existence of compare_strings.py.
33527
c67a2328
JM
335282017-09-15 Joseph Myers <joseph@codesourcery.com>
33529
9ac44708
JM
33530 * math/s_fma.c: Include <libm-alias-double.h>.
33531 (fma): Define using libm_alias_double.
33532 * math/s_nextafter.c: Include <libm-alias-double.h>.
33533 (nextafter): Define using libm_alias_double.
33534 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33535 (acos): Define using libm_alias_double.
33536 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33537 (aocsh): Define using libm_alias_double.
33538 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33539 (asin): Define using libm_alias_double.
33540 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33541 (atan2): Define using libm_alias_double.
33542 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33543 (atanh): Define using libm_alias_double.
33544 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33545 (cosh): Define using libm_alias_double.
33546 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33547 (exp10): Define using libm_alias_double.
33548 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33549 (exp2): Define using libm_alias_double.
33550 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33551 (exp): Define using libm_alias_double.
33552 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33553 (fmod): Define using libm_alias_double.
33554 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33555 (hypot): Define using libm_alias_double.
33556 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33557 (j0): Define using libm_alias_double.
33558 (y0): Likewise.
33559 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33560 (j1): Define using libm_alias_double.
33561 (y1): Likewise.
33562 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33563 (jn): Define using libm_alias_double.
33564 (yn): Likewise.
33565 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33566 (log10): Define using libm_alias_double.
33567 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33568 (log2): Define using libm_alias_double.
33569 * math/w_log_compat.c: Include <libm-alias-double.h>.
33570 (log): Define using libm_alias_double.
33571 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33572 (pow): Define using libm_alias_double.
33573 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33574 (remainder): Define using libm_alias_double.
33575 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33576 (sinh): Define using libm_alias_double.
33577 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33578 (sqrt): Define using libm_alias_double.
33579 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33580 (tgamma): Define using libm_alias_double.
33581 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33582 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33583 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33584 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33585 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33586 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33587 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33588 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33589 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33590 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33591 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33592 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33593 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33594 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33595 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33596 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33597 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33598 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33599 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33600 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33601 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33602 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33603 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33604 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33605 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33606
c67a2328
JM
33607 * math/e_acoshl.c: Remove.
33608 * math/e_acosl.c: Likewise.
33609 * math/e_asinl.c: Likewise.
33610 * math/e_atan2l.c: Likewise.
33611 * math/e_atanhl.c: Likewise.
33612 * math/e_coshl.c: Likewise.
33613 * math/e_expl.c: Likewise.
33614 * math/e_fmodl.c: Likewise.
33615 * math/e_gammal_r.c: Likewise.
33616 * math/e_hypotl.c: Likewise.
33617 * math/e_j0l.c: Likewise.
33618 * math/e_j1l.c: Likewise.
33619 * math/e_jnl.c: Likewise.
33620 * math/e_lgammal_r.c: Likewise.
33621 * math/e_log10l.c: Likewise.
33622 * math/e_log2l.c: Likewise.
33623 * math/e_logl.c: Likewise.
33624 * math/e_powl.c: Likewise.
33625 * math/e_rem_pio2l.c: Likewise.
33626 * math/e_sinhl.c: Likewise.
33627 * math/e_sqrtf128.c: Likewise.
33628 * math/e_sqrtl.c: Likewise.
33629 * math/k_cosl.c: Likewise.
33630 * math/k_sinl.c: Likewise.
33631 * math/k_tanl.c: Likewise.
33632 * math/s_asinhl.c: Likewise.
33633 * math/s_atanl.c: Likewise.
33634 * math/s_cbrtl.c: Likewise.
33635 * math/s_erfl.c: Likewise.
33636 * math/s_expm1l.c: Likewise.
33637 * math/s_log1pl.c: Likewise.
33638 * math/s_tanhl.c: Likewise.
33639
61c45f25
TMQMF
336402017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33641
33642 [BZ #21745]
33643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33644 [$(subdir) = math] (sysdep_calls): New variable. Has the
33645 previous contents of sysdep_routines, but re-sorted..
33646 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33647 sysdep_calls.
33648 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33649 defined in sysdep_calls and replace by the respective m_* names.
33650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33651 (compat_symbol): Undefine to avoid duplicated compat symbols in
33652 libc.
33653
5bcdb315
JM
336542017-09-15 Joseph Myers <joseph@codesourcery.com>
33655
33656 * math/s_fmaf.c: Include <libm-alias-float.h>.
33657 (fmaf): Define using libm_alias_float.
33658 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33659 (acosf): Define using libm_alias_float.
33660 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33661 (acoshf): Define using libm_alias_float.
33662 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33663 (asinf): Define using libm_alias_float.
33664 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33665 (atan2f): Define using libm_alias_float.
33666 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33667 (atanhf): Define using libm_alias_float.
33668 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33669 (coshf): Define using libm_alias_float.
33670 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33671 (exp10f): Define using libm_alias_float.
33672 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33673 (fmodf): Define using libm_alias_float.
33674 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33675 (hypotf): Define using libm_alias_float.
33676 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33677 (j0f): Define using libm_alias_float.
33678 (y0f): Likewise.
33679 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33680 (j1f): Define using libm_alias_float.
33681 (y1f): Likewise.
33682 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33683 (jnf): Define using libm_alias_float.
33684 (ynf): Likewise.
33685 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33686 (log10f): Define using libm_alias_float.
33687 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33688 (log2f): Define using libm_alias_float.
33689 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33690 (logf): Define using libm_alias_float.
33691 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33692 (powf): Define using libm_alias_float.
33693 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33694 (remainderf): Define using libm_alias_float.
33695 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33696 (sinhf): Define using libm_alias_float.
33697 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33698 (sqrtf): Define using libm_alias_float.
33699 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33700 (tgammaf): Define using libm_alias_float.
33701
01f28812
JM
337022017-09-14 Joseph Myers <joseph@codesourcery.com>
33703
33704 * include/math.h (roundeven): Change hidden_proto call to
33705 __roundeven.
33706 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33707 alias.
33708 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33709 (y0): Rename to __y0 and define as weak alias.
33710 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33711 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33712 alias.
33713 (y0f): Rename to __y0f and define as weak alias.
33714 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33715 alias.
33716 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33717 (y1): Rename to __y1 and define as weak alias.
33718 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33719 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33720 alias.
33721 (y1f): Rename to __y1f and define as weak alias.
33722 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33723 alias.
33724 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33725 (yn): Rename to __yn and define as weak alias.
33726 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33727 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33728 alias.
33729 (ynf): Rename to __ynf and define as weak alias.
33730 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33731 (fromfp): Define as weak alias.
33732 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33733 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33734 (fromfpx): Define as weak alias.
33735 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33736 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33737 __getpayload and define as weak alias.
33738 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33739 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33740 __roundeven and define as weak alias.
33741 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33742 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33743 __setpayload.
33744 (setpayload): Define as weak alias.
33745 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33746 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33747 __setpayloadsig.
33748 (setpayloadsig): Define as weak alias.
33749 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33750 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33751 __totalorder and define as weak alias.
33752 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33753 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33754 to __totalordermag and define as weak alias.
33755 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33756 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33757 (ufromfp): Define as weak alias.
33758 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33759 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33760 __ufromfpx.
33761 (ufromfpx): Define as weak alias.
33762 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33763 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33764 Rename to __getpayload and define as weak alias.
33765 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33766 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33767 Rename to __roundeven and define as weak alias.
33768 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33769 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33770 Rename to __totalorder and define as weak alias.
33771 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33772 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33773 (totalordermag): Rename to __totalordermag and define as weak
33774 alias.
33775 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33776 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33777 macro.
33778 (__roundevenl): Likewise.
33779 (__totalorderl): Likewise.
33780 (__totalordermagl): Likewise
33781 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33782 __fromfpf128.
33783 (fromfpf128): Define as weak alias.
33784 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33785 __fromfpxf128.
33786 (fromfpxf128): Define as weak alias.
33787 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33788 __setpayloadf128.
33789 (setpayloadf128): Define as weak alias.
33790 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33791 __setpayloadsigf128.
33792 (setpayloadsigf128): Define as weak alias.
33793 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33794 __ufromfpf128.
33795 (ufromfpf128): Define as weak alias.
33796 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33797 __ufromfpxf128.
33798 (ufromfpxf128): Define as weak alias.
33799 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33800 (fromfpf): Define as weak alias.
33801 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33802 __fromfpxf.
33803 (fromfpxf): Define as weak alias.
33804 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33805 __getpayloadf and define as weak alias.
33806 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33807 __roundevenf and define as weak alias.
33808 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33809 __setpayloadf.
33810 (setpayloadf): Define as weak alias.
33811 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33812 __setpayloadsigf.
33813 (setpayloadsigf): Define as weak alias.
33814 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33815 __totalorderf and define as weak alias.
33816 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33817 Rename to __totalordermagf and define as weak alias.
33818 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33819 __ufromfpf.
33820 (ufromfpf): Define as weak alias.
33821 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33822 __ufromfpxf.
33823 (ufromfpxf): Define as weak alias.
33824 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33825 __fromfpl.
33826 (fromfpl): Define as weak alias.
33827 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33828 __fromfpxl.
33829 (fromfpxl): Define as weak alias.
33830 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33831 to __getpayloadl and define as weak alias.
33832 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33833 __roundevenl and define as weak alias.
33834 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33835 __setpayloadl.
33836 (setpayloadl): Define as weak alias.
33837 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33838 __setpayloadsigl.
33839 (setpayloadsigl): Define as weak alias.
33840 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33841 to __totalorderl and define as weak alias.
33842 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33843 Rename to __totalordermagl and define as weak alias.
33844 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33845 __ufromfpl.
33846 (ufromfpl): Define as weak alias.
33847 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33848 __ufromfpxl.
33849 (ufromfpxl): Define as weak alias.
33850 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33851 __fromfpl.
33852 (fromfpl): Define as weak alias.
33853 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33854 __fromfpxl.
33855 (fromfpxl): Define as weak alias.
33856 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33857 Rename to __getpayloadl and define as weak alias.
33858 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33859 to __roundevenl and define as weak alias. Call __roundeven
33860 instead of roundeven.
33861 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33862 __setpayloadl.
33863 (setpayloadl): Define as weak alias.
33864 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33865 __setpayloadsigl.
33866 (setpayloadsigl): Define as weak alias.
33867 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33868 Rename to __totalorderl and define as weak alias.
33869 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33870 Rename to __totalordermagl and define as weak alias.
33871 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33872 __ufromfpl.
33873 (ufromfpl): Define as weak alias.
33874 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33875 __ufromfpxl.
33876 (ufromfpxl): Define as weak alias.
33877 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33878 __fromfpl.
33879 (fromfpl): Define as weak alias.
33880 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33881 __fromfpxl.
33882 (fromfpxl): Define as weak alias.
33883 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33884 __getpayloadl and define as weak alias.
33885 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33886 __roundevenl and define as weak alias.
33887 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33888 __setpayloadl.
33889 (setpayloadl): Define as weak alias.
33890 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33891 __setpayloadsigl.
33892 (setpayloadsigl): Define as weak alias.
33893 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33894 __totalorderl and define as weak alias.
33895 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33896 Rename to __totalordermagl and define as weak alias.
33897 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33898 __ufromfpl.
33899 (ufromfpl): Define as weak alias.
33900 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33901 __ufromfpxl.
33902 (ufromfpxl): Define as weak alias.
33903
29c933fb
SP
339042017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33905
503c92c3
SP
33906 * benchtests/bench-string.h (realloc_bufs): New function.
33907 (test_init): Call it.
33908 * benchtests/bench-memset-large.c (do_test): Likewise.
33909 * benchtests/bench-memset.c (do_test): Likewise.
33910
29c933fb
SP
33911 * benchtests/bench-memset-large.c: Print output in JSON
33912 format.
33913 * benchtests/bench-memset.c: Likewise.
33914
799c8d69
MF
339152017-09-14 Mike FABIAN <mfabian@redhat.com>
33916
33917 [BZ #21084]
33918 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33919 * iconvdata/Makefile: Add IBM858.
33920 * iconvdata/gconv-modules: Likewise.
33921 * iconvdata/tst-tables.sh: Likewise.
33922 * iconvdata/ibm858.c: New file.
33923 * localedata/charmaps/IBM858: Likewise.
33924
c207f7ce 339252017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
33926
33927 [BZ #22023]
33928 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33929 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33930
f28a0926
AK
339312017-09-14 Mike FABIAN <mfabian@redhat.com>
33932
33933 [BZ #22112]
33934 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33935 and add tel_int_fmt.
33936
02093e62
JM
339372017-09-14 Joseph Myers <joseph@codesourcery.com>
33938
33939 * sysdeps/generic/libm-alias-float128.h: New file.
33940 * sysdeps/generic/math-type-macros-float128.h: Include
33941 <libm-alias-float128.h>.
33942 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33943
1aae75ef
JM
339442017-09-13 Joseph Myers <joseph@codesourcery.com>
33945
33946 * sysdeps/generic/libm-alias-ldouble.h: New file.
33947 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33948 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33949 * sysdeps/generic/math-type-macros-ldouble.h: Include
33950 <libm-alias-ldouble.h>.
33951 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33952 libm_alias_ldouble.
33953
bcea7ad6
SN
339542017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33955
33956 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33957 * math/w_exp_compat.c: ... here.
33958 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33959 * math/w_expf_compat.c: ... here.
33960 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33961 * math/w_expl_compat.c: ... here.
33962 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33963 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33964 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33965 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33966
0fc56478
JM
339672017-09-13 Joseph Myers <joseph@codesourcery.com>
33968
33969 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33970 redefine.
33971 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33972 macro.
33973 (ldexpl): Only define as compat symbol for libc, not libm.
33974 (scalbnl): Define as compat symbol for libc here.
33975 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33976 define for [IS_IN (libc)].
33977 (__ldexpl_2): Remove alias.
33978 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33979 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33980 name in long_double_symbol call.
33981 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33982 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33983 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33984 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33985 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33986 Remove macro.
33987 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33988 Define as compat symbol.
33989
3ca622e4
AZ
339902017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33991
33992 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33993 * sysdeps/unix/sysv/linux/alpha/Makefile
33994 [$(subdir) = csu] (sysdep_routines): Remove rule.
33995
620ff9ee
JM
339962017-09-13 Joseph Myers <joseph@codesourcery.com>
33997
33998 * sysdeps/generic/libm-alias-double.h: New file.
33999 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34000 * sysdeps/generic/math-type-macros-double.h: Include
34001 <libm-alias-double.h>.
34002 [declare_mgen_alias] (declare_mgen_alias): Define to use
34003 libm_alias_double.
34004 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34005 (M_LIBM_NEED_COMPAT): Remove macro.
34006 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34007 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34008 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34009 code.
34010 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34011 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34012 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34013 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34014 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34015 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34016 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34017 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34018 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34019 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34020 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34021 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34022 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34023 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34024 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34025 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34026 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34027 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34028 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34029 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34030 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34031 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34032 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34033 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34034 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34035 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34036 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34037 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34038 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34039 macro.
34040 (declare_mgen_alias): New macro.
34041 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34042 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34044 (M_LIBM_NEED_COMPAT): Remove macro.
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34046 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34047 <first-versions.h>.
34048 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34049 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34050
a891caff
JM
340512017-09-12 Joseph Myers <joseph@codesourcery.com>
34052
34053 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34054 (declare_mgen_alias_2): Remove.
34055 * sysdeps/generic/math-type-macros-double.h
34056 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34057 Likewise.
34058 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34059 alias.
34060 (ldexp): Define with declare_mgen_alias.
34061 (scalbn): Likewise.
34062
a1a78204
SE
340632017-09-12 Steve Ellcey <sellcey@cavium.com>
34064
34065 * grp/initgroups.c: Include config.h.
34066 (DEFAULT_CONFIG): New macro.
34067 (internal_getgrouplist): Use DEFAULT_CONFIG.
34068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34069 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34070 (DEFAULT_DEFCONFIG): New macro.
34071 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34072 * nss/grp-lookup.c: Include config.h
34073 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34074 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34075 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34076 * manual/nss.texi: Update default values section.
34077
ef8adeb0
L
340782017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34079
34080 [BZ #21967]
34081 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34082 New.
34083 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34084 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34085 Handle MathVec_Prefer_No_AVX512.
34086 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34087 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34088 is set.
34089
a166531f
ST
340902017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34091
34092 * posix/sched_primax.c (__sched_get_priority_max): Add
34093 libc_hidden_def.
34094 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34095 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34096 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34097 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34098 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34099 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34100 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34101 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34102 Add aliases.
34103
4b7d1efb
JM
341042017-09-11 Joseph Myers <joseph@codesourcery.com>
34105
34106 * sysdeps/generic/libm-alias-float.h: New file.
34107 * sysdeps/generic/math-type-macros-float.h: Include
34108 <libm-alias-float.h>.
34109 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34110
45ff3463
L
341112017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34112
34113 [BZ #22093]
34114 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34115 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34116 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34117 (HWCAP_IMPORTANT): Likewise.
34118 (HWCAP_X86_64): New enum.
34119 (HWCAP_X86_AVX512_1): Updated.
34120 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34121 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34122 (modules-names): Add x86_64/tst-x86_64mod-1.
34123 (LDFLAGS-tst-x86_64mod-1.so): New.
34124 ($(objpfx)tst-x86_64-1): Likewise.
34125 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34126 (tst-x86_64-1-clean): Likewise.
34127 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34128 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34129
891abfd3
SP
341302017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34131
34132 * po/sv.po: Update translations.
34133 * po/fr.po: Likewise.
34134
00c3da43
ST
341352017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34136
34137 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34138 seconds.
3bdfd9fb
ST
34139 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34140 seconds.
65b22ebc 34141 * elf/rtld-Rules: Fix $(error) use.
00c3da43 34142
96480903
MF
341432017-09-09 Mike FABIAN <mfabian@redhat.com>
34144
34145 [BZ #14925]
34146 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34147 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34148 * localedata/locales/bn_BD: “Bengali” was still used in some
34149 comments. Change it to “Bangla”.
34150
4c03a696
MT
341512017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34152
34153 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34154
9c9ec581
SE
341552017-09-08 Steve Ellcey <sellcey@cavium.com>
34156
34157 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34158 thunderx2t99p1 to list of cpu names.
34159 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34160 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34161
f00bce74
SE
341622017-09-08 Steve Ellcey <sellcey@cavium.com>
34163
34164 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34165 Use strcmp instead of tunable_is_name.
34166
27342d17
JM
341672017-09-08 Joseph Myers <joseph@codesourcery.com>
34168
af1b7c8c
JM
34169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34170 (F_GET_RW_HINT): New macro.
34171 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34172 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34173 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34174 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34175 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34176 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34177 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34178 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34179 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34180
27342d17
JM
34181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34182 (F_ADD_SEALS): New macro.
34183 [__USE_GNU] (F_GET_SEALS): Likewise.
34184 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34185 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34186 [__USE_GNU] (F_SEAL_GROW): Likewise.
34187 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34188
c66c9082
AZ
341892017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34190
07b4f49d
AZ
34191 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34192 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34193 * posix/glob_internal.h (__glob_pattern_type):
34194 * posix/glob.c (glob):
34195 * posix/glob_pattern_p.c (__glob_pattern_p):
34196 Use them.
34197
116f1c64
AZ
34198 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34199 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34200 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34201 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34202 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34204 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34205 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34206 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34207 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34208 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34209 * sysdeps/wordsize-64/glob.c: Likewise.
34210 * sysdeps/wordsize-64/glob64.c: Likewise.
34211 * sysdeps/wordsize-64/globfree.c: Likewise.
34212 * sysdeps/wordsize-64/globfree64.c: Likewise.
34213 * sysdeps/unix/sysv/linux/glob.c: New file.
34214 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34215 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34216 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34217 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34218 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34219 adds !GLOB_NO_OLD_VERSION as an extra condition.
34220 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34221 using relative path instead of absolute one.
34222 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34223 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34224 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34225 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34226 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34227 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34228
ffca8901
AZ
34229 [BZ #1062]
34230 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34231 (glob): Use the same scratch buffer for both getlogin_r and
34232 getpwnam_r. Don’t require preallocation of the login name. This
34233 simplifies storage allocation, and corrects the handling of
34234 long login names.
34235
5a79f975
AZ
34236 [BZ #1062]
34237 * posix/glob.c (glob): Port recent patches to platforms
34238 lacking getpwnam_r.
34239 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34240 returns an error number rather than setting errno.
34241
e00f2425
AZ
34242 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34243 instead of GCC extension.
34244 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34245 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34246 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34247
5554304f
AZ
34248 [BZ #866]
34249 [BZ #1062]
34250 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34251 * posix/bug-glob1.c: Remove file.
34252 * posix/tst-glob_symlinks.c: New file.
34253 * posix/glob.c (__lstat64): New macro.
34254 (is_dir): New function.
34255 (glob, glob_in_dir): Match symlinks even if they are dangling.
34256 (link_stat, link_exists_p): Remove. All uses removed.
34257
686f2ea1
AZ
34258 [BZ #1062]
34259 [BZ #19971]
34260 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34261 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34262 All uses removed.
34263
c66c9082 34264 [BZ #1062]
914c9994 34265 CVE-2017-15671
c66c9082
AZ
34266 * posix/Makefile (routines): Add globfree, globfree64, and
34267 glob_pattern_p.
34268 * posix/flexmember.h: New file.
34269 * posix/glob_internal.h: Likewise.
34270 * posix/glob_pattern_p.c: Likewise.
34271 * posix/globfree.c: Likewise.
34272 * posix/globfree64.c: Likewise.
34273 * sysdeps/gnu/globfree64.c: Likewise.
34274 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34275 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34276 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34277 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34278 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34279 * sysdeps/wordsize-64/globfree.c: Likewise.
34280 * sysdeps/wordsize-64/globfree64.c: Likewise.
34281 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34282 [NDEBUG): Remove comments.
34283 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34284 (dirent_type): New type. Use uint_fast8_t not
34285 uint8_t, as C99 does not require uint8_t.
34286 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34287 (struct readdir_result): Use dirent_type. Do not define skip_entry
34288 unless it is needed; this saves a byte on platforms lacking d_ino.
34289 (readdir_result_type, readdir_result_skip_entry):
34290 New functions, replacing ...
34291 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 34292 these functions, which were removed. This makes the callers
c66c9082
AZ
34293 easier to read. All callers changed.
34294 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34295 (size_add_wrapv, glob_use_alloca): New static functions.
34296 (glob, glob_in_dir): Check for size_t overflow in several places,
34297 and fix some size_t checks that were not quite right.
34298 Remove old code using SHELL since Bash no longer
34299 uses this.
34300 (glob, prefix_array): Separate MS code better.
34301 (glob_in_dir): Remove old Amiga and VMS code.
34302 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34303 separate files.
34304 (glob_in_dir): Do not rely on undefined behavior in accessing
34305 struct members beyond their bounds. Use a flexible array member
34306 instead
34307 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34308 0/1. Caller changed.
34309 (glob): Fix memory leaks.
34310 * posix/glob64 (globfree64): Move to separate file.
34311 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34312 (globfree64): Remove hidden alias.
34313 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34314 oldglob.
34315 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34316 separate file.
34317 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34318 define.
34319 Move compat code to separate file.
34320 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34321 separate file.
34322
78bfa877
L
343232017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34324
34325 * resolv/tst-resolv-qtypes.c (domain): Changed to
34326 "const char domain[] =".
34327
05f0011f
JM
343282017-09-07 Joseph Myers <joseph@codesourcery.com>
34329
85bec0f2
JM
34330 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34331 version to 3.1.6.
34332
5c23ee6e
JM
34333 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34334 (TCP_MD5SIG_EXT): Likewise.
34335 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34336 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34337 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34338
05f0011f
JM
34339 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34340
7c9c5be9
MF
343412017-09-07 Mike FABIAN <mfabian@redhat.com>
34342
34343 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34344
c207f7ce 343452017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
34346
34347 [BZ #22100]
34348 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34349
507fe027
ST
343502017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34351
34352 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34353 before assuming that the file is empty. Avoid testing buffer content
34354 when nread == 0.
34355
65687ac7
AZ
343562017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34357
7bbbb4b9 34358 [BZ #18858]
65687ac7
AZ
34359 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34360 Remove define.
34361 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34362 Likewise.
34363 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34364 Likewise.
34365 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34366 Likewise.
34367 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34368 Likewise.
34369 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34370 Likewise.
34371 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34372 Likewise.
34373
ab5ac271
FW
343742017-09-06 Florian Weimer <fweimer@redhat.com>
34375
34376 * malloc/dynarray_emplace_enlarge.c
34377 (__libc_dynarray_emplace_enlarge): Add missing else.
34378
a8304730
FW
343792017-09-06 Florian Weimer <fweimer@redhat.com>
34380
34381 [BZ #22096]
34382 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34383 case of failure to obtain the global conf object.
34384
5670c4ab
FW
343852017-09-06 Florian Weimer <fweimer@redhat.com>
34386
34387 [BZ #22095]
34388 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34389 dynarray allocation failure.
34390
c77eb969
FW
343912017-09-06 Florian Weimer <fweimer@redhat.com>
34392
34393 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34394 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34395 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34396 New functions.
34397 (response): Call them. Add 'p', '6' flag processing.
34398 (test_reverse): New function.
34399 (test_get2_any): Call it.
34400 (test_no_inet6): Add 'p' test.
34401 (test_inet6): Likewise.
34402
5e9c4d17
FW
344032017-09-06 Florian Weimer <fweimer@redhat.com>
34404
34405 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34406 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34407 the QNAME.
34408 (test_gai): Adjust query names. Add additional tests.
34409 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34410 test_get2. Adjust query names. Add additional tests.
34411 (test_no_inet6): New function, extracted from threadfunc.
34412 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34413 Add additional tests.
34414
2ae5be04
MF
344152017-09-06 Mike FABIAN <mfabian@redhat.com>
34416
34417 [BZ #22070]
34418 * localedata/unicode-gen/utf8_gen.py: Set the width for
34419 characters with Prepended_Concatenation_Mark property to 1
34420 * localedata/charmaps/UTF-8: Updated using the improved script.
34421
af83ed5c
MF
344222017-09-06 Mike FABIAN <mfabian@redhat.com>
34423
34424 [BZ #21750]
34425 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34426 use the range notation for all ranges of neighbouring characters
34427 with the same width.
34428
4f3647e4
JM
344292017-09-05 Joseph Myers <joseph@codesourcery.com>
34430
34431 * sysdeps/generic/math-type-macros-double.h: Include
34432 <math-svid-compat.h>.
34433 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34434 * sysdeps/generic/math-type-macros-float.h: Include
34435 <math-svid-compat.h>.
34436 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34437 * sysdeps/generic/math-type-macros-ldouble.h: Include
34438 <math-svid-compat.h>.
34439 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34440 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34441 condition.
34442 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34443 * math/w_acosf_compat.c: Likewise.
34444 * math/w_acosh_compat.c: Likewise.
34445 * math/w_acoshf_compat.c: Likewise.
34446 * math/w_acoshl_compat.c: Likewise.
34447 * math/w_acosl_compat.c: Likewise.
34448 * math/w_asin_compat.c: Likewise.
34449 * math/w_asinf_compat.c: Likewise.
34450 * math/w_asinl_compat.c: Likewise.
34451 * math/w_atan2_compat.c: Likewise.
34452 * math/w_atan2f_compat.c: Likewise.
34453 * math/w_atan2l_compat.c: Likewise.
34454 * math/w_atanh_compat.c: Likewise.
34455 * math/w_atanhf_compat.c: Likewise.
34456 * math/w_atanhl_compat.c: Likewise.
34457 * math/w_cosh_compat.c: Likewise.
34458 * math/w_coshf_compat.c: Likewise.
34459 * math/w_coshl_compat.c: Likewise.
34460 * math/w_exp10_compat.c: Likewise.
34461 * math/w_exp10f_compat.c: Likewise.
34462 * math/w_exp10l_compat.c: Likewise.
34463 * math/w_exp2_compat.c: Likewise.
34464 * math/w_exp2f_compat.c: Likewise.
34465 * math/w_exp2l_compat.c: Likewise.
34466 * math/w_fmod_compat.c: Likewise.
34467 * math/w_fmodf_compat.c: Likewise.
34468 * math/w_fmodl_compat.c: Likewise.
34469 * math/w_hypot_compat.c: Likewise.
34470 * math/w_hypotf_compat.c: Likewise.
34471 * math/w_hypotl_compat.c: Likewise.
34472 * math/w_j0_compat.c: Likewise.
34473 * math/w_j0f_compat.c: Likewise.
34474 * math/w_j0l_compat.c: Likewise.
34475 * math/w_j1_compat.c: Likewise.
34476 * math/w_j1f_compat.c: Likewise.
34477 * math/w_j1l_compat.c: Likewise.
34478 * math/w_jn_compat.c: Likewise.
34479 * math/w_jnf_compat.c: Likewise.
34480 * math/w_jnl_compat.c: Likewise.
34481 * math/w_lgamma_r_compat.c: Likewise.
34482 * math/w_lgammaf_r_compat.c: Likewise.
34483 * math/w_lgammal_r_compat.c: Likewise.
34484 * math/w_log10_compat.c: Likewise.
34485 * math/w_log10f_compat.c: Likewise.
34486 * math/w_log10l_compat.c: Likewise.
34487 * math/w_log2_compat.c: Likewise.
34488 * math/w_log2f_compat.c: Likewise.
34489 * math/w_log2l_compat.c: Likewise.
34490 * math/w_log_compat.c: Likewise.
34491 * math/w_logf_compat.c: Likewise.
34492 * math/w_logl_compat.c: Likewise.
34493 * math/w_pow_compat.c: Likewise.
34494 * math/w_powf_compat.c: Likewise.
34495 * math/w_powl_compat.c: Likewise.
34496 * math/w_remainder_compat.c: Likewise.
34497 * math/w_remainderf_compat.c: Likewise.
34498 * math/w_remainderl_compat.c: Likewise.
34499 * math/w_sinh_compat.c: Likewise.
34500 * math/w_sinhf_compat.c: Likewise.
34501 * math/w_sinhl_compat.c: Likewise.
34502 * math/w_sqrt_compat.c: Likewise.
34503 * math/w_sqrtf_compat.c: Likewise.
34504 * math/w_sqrtl_compat.c: Likewise.
34505 * math/w_tgamma_compat.c: Likewise.
34506 * math/w_tgammaf_compat.c: Likewise.
34507 * math/w_tgammal_compat.c: Likewise.
34508 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34509 [LIBM_SVID_COMPAT].
34510 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34511 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34512 [LIBM_SVID_COMPAT].
34513 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34514 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34515 [LIBM_SVID_COMPAT].
34516 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34517 * sysdeps/i386/fpu/w_sqrt.c: New file.
34518 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34519 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34520 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34521 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34522 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34523 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34524 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34525 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34526 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34527 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34528 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34529 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34530 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34531 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34532 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34533 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34534 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34535 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34536 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34537 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34538 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34539 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34540 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34541 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34542 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34543 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34544 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34545 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34546 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34547 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34548 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34549 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34550 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34551 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34552 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34553 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34554 * sysdeps/ia64/fpu/w_log.c: Likewise.
34555 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34556 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34557 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34558 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34559 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34560 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34561 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34562 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34563 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34564 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34565 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34566 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34567 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34568 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34569 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34570 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34571 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34572 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34573 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34574 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34575 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34576 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34577 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34578 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34579 [LIBM_SVID_COMPAT].
34580 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34581 * sysdeps/ieee754/k_standard.c: Likewise.
34582 * sysdeps/ieee754/k_standardf.c: Likewise.
34583 * sysdeps/ieee754/k_standardl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34586 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34587 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34588 long_double_symbol call on [LIBM_SVID_COMPAT].
34589 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34590 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34591 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34592 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34593 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34594 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34595 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34596 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34597 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34598 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34599 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34600 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34601 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34602 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34603 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34604 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34605 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34606 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34607 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34608 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34609 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34610 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34611
05b38d64
SE
346122017-09-05 Steve Ellcey <sellcey@cavium.com>
34613
34614 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34615 * malloc/tst-mallocstate.c: Convert from test-skeleton
34616 to test-driver. Ifdef code using TEST_COMPAT macro.
34617 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34618 * math/test-matherr.c: Likewise.
34619
99d67918
JM
346202017-09-05 Joseph Myers <joseph@codesourcery.com>
34621
34622 [BZ #22086]
34623 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34624 comparing word with byte-swapped constant.
34625
c207f7ce 346262017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
34627
34628 [BZ #20498]
34629 * locale/iso-639.def: add Miskito.
34630 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34631 * localedata/locales/miq_NI: New file.
34632
0a587a8a
L
346332017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34634
34635 [BZ #18822]
34636 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34637 (__mkdir): Likewise.
34638 * io/chmod.c (__chmod): Add libc_hidden_def.
34639 * io/mkdir.c (__mkdir): Likewise.
34640 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34641 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34642 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34643 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34644
f3a129b8
JM
346452017-09-04 Joseph Myers <joseph@codesourcery.com>
34646
1650e192
JM
34647 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34648 version to 4.13.
34649
f3a129b8
JM
34650 [BZ #22082]
34651 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34652 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34653
b38042f5
FW
346542017-09-04 Florian Weimer <fweimer@redhat.com>
34655
34656 * math/math.h: Issue warning if log is defined.
34657
059b6404
JM
346582017-09-04 Joseph Myers <joseph@codesourcery.com>
34659
34660 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34661 kernel version to 4.13.
34662
b794e16b
ST
346632017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34664
34665 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
34666 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34667 parameter.
01969395
ST
34668 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34669 just <bits/types.h>.
dd2b31de 34670 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 34671 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 34672 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 34673 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
34674 * misc/preadv2.c: Include <errno.h>.
34675 * misc/preadv64v2.c: Include <errno.h>.
34676 * misc/pwritev2.c: Include <errno.h>.
34677 * misc/pwritev64v2.c: Include <errno.h>.
34678 * sysdeps/posix/preadv2.c: Include <errno.h>.
34679 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34680 Fix <unistd.h> inclusion.
34681 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34682 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
34683 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34684 __strtoul_internal): New functions.
127e7773
ST
34685 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34686 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
34687 * sysdeps/mach/hurd/i386/Makefile
34688 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34689 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34690 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
34691 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34692 __feraiseexcept_renamed to feraiseexcept instead of
34693 __GI_feraiseexcept.
56bf5497 34694 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 34695 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
34696 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34697 RWF_NOWAIT): Define to 0 if undefined already.
34698 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34699 boils down to 0.
6547ec0a
ST
34700 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34701 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 34702
5a80d39d
JM
347032017-09-01 Joseph Myers <joseph@codesourcery.com>
34704
34705 * manual/math.texi (pow10): Do not document.
34706 (pow10f): Likewise.
34707 (pow10l): Likewise.
34708 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34709 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34710 * math/libm-test-exp10.inc (pow10_test): Remove.
34711 (do_test): Do not call pow10.
34712 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34713 [NO_LONG_DOUBLE] (pow10l): Likewise.
34714 * math/w_exp10f_compat.c (pow10f): Likewise.
34715 * math/w_exp10l_compat.c (pow10l): Likewise.
34716 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34717 (pow10): Make into compat symbol.
34718 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34719 (pow10f): Make into compat symbol.
34720 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34721 (pow10l): Make into compat symbol.
34722 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34723 pow10.
34724 (CFLAGS-nldbl-pow10.c): Remove variable..
34725 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34726 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34727 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34728 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34729 Undefine and redefine.
34730 (pow10l): Make into compat symbol.
34731 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34732 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34733 * sysdeps/arm/libm-test-ulps: Likewise.
34734 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34735 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34736 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34737 * sysdeps/microblaze/libm-test-ulps: Likewise.
34738 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34739 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34740 * sysdeps/nios2/libm-test-ulps: Likewise.
34741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34742 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34743 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34744 * sysdeps/sh/libm-test-ulps: Likewise.
34745 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34746 * sysdeps/tile/libm-test-ulps: Likewise.
34747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34748
3824fc38
PP
347492017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34750
34751 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34752
b3008279
L
347532017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34754
34755 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34756 "../ChangeLog.old/ChangeLog.8".
34757 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34758 "../ChangeLog.old/ChangeLog.14".
34759
136fa185
L
347602017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34761
34762 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34763 Threads Library.
34764
c18d50a2
JM
347652017-09-01 Joseph Myers <joseph@codesourcery.com>
34766
34767 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34768
bedbd859
L
347692017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34770
34771 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34772 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34773
50c66c7a
PP
347742017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34775
34776 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34777 32 atexit handlers.
34778
a617bd11
ZW
347792017-09-01 Zack Weinberg <zackw@panix.com>
34780
34781 * math/math.h (HUGE_VAL): Improve commentary.
34782
e0d2eb5a
AZ
347832017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34784 Andreas Schwab <schwab@suse.de>
34785
34786 [BZ #21530]
34787 * include/stdio.h (__gen_tempfd): New function.
34788 * stdio-common/Makefile (routines): Add gentempfd.
34789 * stdio-common/gentempfd.c: New file.
34790 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34791 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34792 unnamed file first.
34793
f4a6be25
FW
347942017-09-01 Florian Weimer <fweimer@redhat.com>
34795
34796 [BZ #21915]
34797 [BZ #21922]
34798 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34799 result to determine success or failure, not the errno value.
34800 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34801 (tst-nss-files-hosts-erange): Link with -ldl.
34802 * nss/tst-nss-files-hosts-erange.c: New file.
34803 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34804 (do_test): Add NO_DATA tests.
34805 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34806 (do_test): Call it.
34807
5f8340f5
FW
348082017-09-01 Florian Weimer <fweimer@redhat.com>
34809
34810 [BZ #21922]
34811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34812 coming from gethostbyname2_r.
34813
65329bd2
FW
348142017-09-01 Florian Weimer <fweimer@redhat.com>
34815
34816 * support/namespace.h (struct support_chroot_configuration): Add
34817 hosts, host_conf.
34818 (struct support_chroot): Add path_hosts, path_host_conf.
34819 * support/support_chroot.c (write_file): New function.
34820 (support_chroot_create): Call it to process /etc/resolv.conf,
34821 /etc/hosts, /etc/host.conf.
34822 (support_chroot_free): Update.
34823
a2881ef0
FW
348242017-09-01 Florian Weimer <fweimer@redhat.com>
34825
34826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34827 status indicates it is set.
34828
ad816a5e
FW
348292017-09-01 Florian Weimer <fweimer@redhat.com>
34830
63b52889 34831 [BZ #20532]
ad816a5e
FW
34832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34833 function lookup failures more reliable.
34834
53250a21
FW
348352017-09-01 Florian Weimer <fweimer@redhat.com>
34836
34837 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34838 (getcanonname): Likewise.
34839 (gaih_inet): Likewise.
34840
924b121c
FW
348412017-09-01 Florian Weimer <fweimer@redhat.com>
34842
34843 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34844 (getcanonname): Likewise.
34845 (gaih_inet): Likewise.
34846
d9ff799a 348472017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 34848 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
34849
34850 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34851 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34852 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34853 (IREG_SIZE, OREG_SIZE): New macros.
34854 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34855 (IREG_SIZE, OREG_SIZE): New macros.
34856 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34857 (IREG_SIZE): New macro.
34858 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34859 (IREG_SIZE): New macro.
34860 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34861 New includes.
34862 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34863 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34864 (__CONCATX): Handle exceptions correctly on large values that may
34865 set FE_INVALID.
34866 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34867 Initialize if not already set.
b39d961c 34868 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 34869
102dde84
AZ
348702017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34871
34872 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34873 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34874 Likewise.
34875 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34876 Likewise.
34877 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34878 Likewise.
34879 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34880 Likewise.
34881 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34882 Likewise.
34883 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34884 Likewise.
34885 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34886 Likewise.
34887 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34888 (NO_CANCELLATION): Likewise.
34889 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34890 Likewise.
34891 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34892 Likewise.
34893 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34894 Likewise.
34895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34896 (NO_CANCELLATION): Likewise.
34897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34898 (NO_CANCELLATION): Likewise.
34899 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34900 Likewise
34901 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34902 Likewise.
34903 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34904 Likewise.
34905 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34906 Likewise.
34907 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34908 hidden prototype.
34909 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34910 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34911
9eee633b
SE
349122017-08-31 Steve Ellcey <sellcey@cavium.com>
34913
34914 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34915 in resolver call.
34916
65284eb7
FW
349172017-08-31 Florian Weimer <fweimer@redhat.com>
34918
34919 * include/libc-symbols.h (internal_function): Remove.
34920
41ad5ca6
FW
349212017-08-31 Florian Weimer <fweimer@redhat.com>
34922
34923 * stdlib/fmtmsg.c (internal_addseverity): Remove
34924 internal_function.
34925
2fa6d086
FW
349262017-08-31 Florian Weimer <fweimer@redhat.com>
34927
34928 * stdio-common/printf_fp.c (group_number): Remove
34929 internal_function.
34930 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34931
b41bd5bc
FW
349322017-08-31 Florian Weimer <fweimer@redhat.com>
34933
34934 * posix/fnmatch.c (internal_function): Remove definition.
34935 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34936 * posix/regcomp.c (peek_token, init_word_char)
34937 (duplicate_node_closure, fetch_token, peek_token)
34938 (peek_token_bracket, build_range_exp, build_collating_symbol):
34939 Likewise.
34940 * posix/regex_internal.c (re_string_construct_common)
34941 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34942 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34943 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34944 (re_string_translate_buffer, re_string_reconstruct)
34945 (re_string_peek_byte_case, re_string_fetch_byte_case)
34946 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34947 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34948 (re_node_set_add_intersect, re_node_set_init_union)
34949 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34950 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34951 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34952 (re_acquire_state_context): Likewise.
34953 * posix/regex_internal.h (internal_function): Remove definition.
34954 (re_string_realloc_buffers, build_wcs_buffer)
34955 (build_wcs_upper_buffer, build_upper_buffer)
34956 (re_string_translate_buffer, re_string_context_at)
34957 (re_string_char_size_at, re_string_wchar_at)
34958 (re_string_elem_size_at): Likewise.
34959 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34960 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34961 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34962 (re_search_internal, re_search_2_stub, re_search_stub)
34963 (re_copy_regs, prune_impossible_nodes, check_matching)
34964 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34965 (free_fail_stack_return, sift_states_iter_mb)
34966 (sift_states_backward, build_sifted_states)
34967 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34968 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34969 (check_subexp_limits, sift_states_bkref, merge_state_array)
34970 (find_recover_state, transit_state, merge_state_with_log)
34971 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34972 (transit_state_mb, transit_state_bkref, get_subexp)
34973 (get_subexp_sub, find_subexp_node, check_arrival)
34974 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34975 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34976 (check_node_accept_bytes, find_collation_sequence_value)
34977 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34978 (acquire_init_state_context, check_halt_node_context)
34979 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34980 (sub_epsilon_src_nodes): Likewise.
34981 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34982 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34983 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34984 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34985 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34986 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34987 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34988 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34989 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34990 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34991 (PREADV): Likewise.
34992 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34993 (PREADV): Likewise.
34994 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34995 (PWRITEV): Likewise.
34996 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34997 (PWRITEV): Likewise.
34998 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34999 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35000
83b09837
FW
350012017-08-31 Florian Weimer <fweimer@redhat.com>
35002
35003 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35004 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35005 Remove internal_function.
35006 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35007 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35008 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35009 (__deallocate_stack, __libc_pthread_init)
35010 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35011 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35012 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35013 Likewise.
35014 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35015 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35016 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35017 Likewise.
35018 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35019 (__pthread_mutex_unlock_usercnt): Likewise.
35020
116ac301
FW
350212017-08-31 Florian Weimer <fweimer@redhat.com>
35022
35023 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35024 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35025 (fts_safe_changedir): Remove internal_function.
35026 * io/ftw.c (internal_function): Remove definition.
35027 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35028
9da93bd7
FW
350292017-08-31 Florian Weimer <fweimer@redhat.com>
35030
35031 * inet/deadline.c (__deadline_current_time)
35032 (__deadline_from_timeval, __deadline_to_ms): Remove
35033 internal_function.
35034 * inet/getnameinfo.c (nrl_domainname): Likewise.
35035 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35036 * inet/inet6_option.c (add_pad): Likewise.
35037 * inet/net-internal.h (__deadline_current_time)
35038 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35039 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35040 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35041 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35042
a60eca2e
JM
350432017-08-31 Joseph Myers <joseph@codesourcery.com>
35044
c0c49d60
JM
35045 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35046 include <bits/nan.h>.
35047 * math/Makefile (headers): Remove bits/nan.h.
35048 * bits/nan.h: Remove.
35049 * sysdeps/ieee754/bits/nan.h: Likewise.
35050 * sysdeps/mips/bits/nan.h: Likewise.
35051
5ef1b213
JM
35052 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35053 not include <bits/inf.h>.
35054 * math/Makefile (headers): Remove bits/inf.h.
35055 * bits/inf.h: Remove.
35056 * sysdeps/ieee754/bits/inf.h: Likewise.
35057
a60eca2e
JM
35058 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35059 bits/huge_vall.h or bits/huge_val_flt128.h.
35060 (HUGE_VAL): Define directly here.
35061 [__USE_ISOC99] (HUGE_VALF): Likewise.
35062 [__USE_ISOC99] (HUGE_VALL): Likewise.
35063 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35064 (HUGE_VAL_F128): Likewise.
35065 * math/Makefile (headers): Remove bits/huge_val.h,
35066 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35067 * bits/huge_val.h: Remove.
35068 * bits/huge_val_flt128.h: Likewise.
35069 * bits/huge_valf.h: Likewise.
35070 * bits/huge_vall.h: Likewise.
35071 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35072 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35073 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35074 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35075 * sysdeps/sh/bits/huge_val.h: Likewise.
35076 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35077 * sysdeps/x86/bits/huge_vall.h: Likewise.
35078
17e00cc6
FW
350792017-08-31 Florian Weimer <fweimer@redhat.com>
35080
35081 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35082 internal_function.
35083 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35084 Likewise.
35085 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35086 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35087 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35088 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35089 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35090 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35091 * elf/dl-libc.c (dlerror_run): Likewise.
35092 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35093 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35094 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35095 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35096 Likewise.
35097 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35098 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35099 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35100 * elf/dl-profile.c (_dl_start_profile): Likewise.
35101 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35102 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35103 Likewise.
35104 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35105 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35106 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35107 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35108 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35109 (_dl_allocate_tls_storage): Likewise.
35110 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35111 (_dl_check_all_versions): Likewise.
35112 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35113 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35114 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35115 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35116 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35117 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35118 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35119 internal_function from __dl_start.
35120 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35121 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35122 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35123 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35124 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35125 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35126 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35127 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35128 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35129 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35130 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35131 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35132 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35133 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35134 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35135 Likewise.
35136 (struct rtld_global_ro): Remove internal_function from the
35137 _dl_lookup_symbol_x member.
35138 (_dl_symbol_value): Remove. No longer defined anywhere.
35139 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35140 internal_function.
35141 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35142 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35143 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35144 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35145 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35146 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35147 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35148 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35149 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35150 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35151 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35152 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35153
8d2f9410
FW
351542017-08-31 Florian Weimer <fweimer@redhat.com>
35155
35156 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35157 Remove internal_function.
35158 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35159 Likewise.
35160 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35161 Likewise.
35162
86e4919f
FW
351632017-08-31 Florian Weimer <fweimer@redhat.com>
35164
35165 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35166 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35167 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35168
59bd52b0
FW
351692017-08-31 Florian Weimer <fweimer@redhat.com>
35170
35171 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35172 (__gai_enqueue_request): Remove internal_function.
35173 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35174 (__gai_remove_request, __gai_notify, __gai_notify_only)
35175 (__gai_sigqueue): Likewise.
35176 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35177 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35178 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35179 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35180 Likewise.
35181
fc3d9497
FW
351822017-08-31 Florian Weimer <fweimer@redhat.com>
35183
35184 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35185 * include/dirent.h (__opendirat, __getdents, __getdents64)
35186 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35187 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35188 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35189 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35190 Likewise.
35191 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35192
18c54fac
FW
351932017-08-31 Florian Weimer <fweimer@redhat.com>
35194
35195 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35196 internal_function.
35197 (GETCWD_RETURN_TYPE): Likewise.
35198
7e01f080
FW
351992017-08-31 Florian Weimer <fweimer@redhat.com>
35200
35201 * include/time.h (__tz_compute, __strptime_internal): Remove
35202 internal_function.
35203 * time/strptime_l.c (__strptime_internal): Likewise.
35204 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35205
d7ccc6c9
FW
352062017-08-31 Florian Weimer <fweimer@redhat.com>
35207
35208 * iconv/gconv.c (__gconv): Remove internal_function.
35209 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35210 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35211 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35212 (__gconv_release_cache): Likewise.
35213 * iconv/gconv_close.c (__gconv_close): Likewise.
35214 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35215 (read_conf_file, __gconv_get_path): Likewise.
35216 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35217 (__gconv_release_step, gen_steps, increment_counter)
35218 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35219 (__gconv_close_transform, free_modules_db): Likewise.
35220 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35221 Likewise.
35222 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35223 (__gconv_find_transform, __gconv_lookup_cache)
35224 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35225 (__gconv_close_transform, __gconv_release_cache)
35226 (__gconv_loaded_object, __gconv_release_shlib)
35227 (__gconv_compare_alias): Likewise.
35228 * iconv/gconv_open.c (__gconv_open): Likewise.
35229 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35230 * iconv/iconvconfig.c (add_module): Likewise.
35231 * intl/dcigettext.c (plural_lookup, guess_category_value)
35232 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35233 * intl/eval-plural.h (plural_eval): Likewise.
35234 * intl/finddomain.c (_nl_find_domain): Likewise.
35235 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35236 (_nl_load_domain, _nl_find_msg): Likewise.
35237 (internal_function): Remove definition.
35238 * intl/loadinfo.h (internal_function): Likewise.
35239 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35240 internal_function.
35241 * intl/localealias.c (internal_function): Remove definition.
35242 (read_alias_file): Remove internal_function.
35243 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35244 * intl/plural-exp.h (internal_function): Remove definition.
35245 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35246 internal_function.
35247 * intl/plural.c: Regenerate.
35248 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35249 * locale/coll-lookup.c (__collidx_table_lookup)
35250 (__collseq_table_lookup): Likewise.
35251 * locale/coll-lookup.h (__collidx_table_lookup)
35252 (__collseq_table_lookup): Likewise.
35253 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35254 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35255 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35256 (_nl_unload_locale): Likewise.
35257 * locale/localeinfo.h (struct __locale_data): Remove
35258 internal_function from cleanup member.
35259 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35260 (_nl_remove_locale, _nl_load_locale_from_archive)
35261 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35262 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35263 (_nl_cleanup_time): Remove internal_function.
35264 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35265 (_nl_parse_alt_digit): Likewise.
35266 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35267 (_nl_select_era_entry): Likewise.
35268 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35269 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35270 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
35271 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35272 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 35273
dab0eece
FW
352742017-08-31 Florian Weimer <fweimer@redhat.com>
35275
35276 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35277 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35278 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35279 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35280 Likewise.
35281 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35282 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35283 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35284 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35285 Likewise.
35286 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35287
ab5bf7cf
FW
352882017-08-31 Florian Weimer <fweimer@redhat.com>
35289
35290 * misc/getttyent.c (skip, value): Remove internal_function.
35291 * misc/syslog.c (openlog_internal): Likewise.
35292 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35293
75b3047e
FW
352942017-08-31 Florian Weimer <fweimer@redhat.com>
35295
35296 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35297 (__nss_rewrite_field): Remove internal_function.
35298 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35299 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35300 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35301 * nss/nsswitch.c (nss_parse_file, nss_getline)
35302 (nss_parse_service_list, nss_new_service): Likewise.
35303 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35304 * nss/valid_field.c (__nss_valid_field): Likewise.
35305 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35306
0c71122c
FW
353072017-08-31 Florian Weimer <fweimer@redhat.com>
35308
35309 * malloc/arena.c (__malloc_fork_lock_parent)
35310 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35311 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35312 internal_function from defintions.
35313 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35314 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35315 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35316 internal_function from declarations.
35317 * malloc/malloc.c (internal_function): Do not define.
35318 (mem2mem_check): Remove internal_function from declaration.
35319 (munmap_chunk, mremap_chunk): Remove internal_function.
35320 * malloc/mtrace.c (tr_where): Likewise.
35321
ca4ec803
FW
353222017-08-31 Florian Weimer <fweimer@redhat.com>
35323
35324 * include/rpc/pmap_clnt.h (__get_socket): Remove
35325 internal_function.
35326 * sunrpc/auth_des.c (synchronize): Likewise.
35327 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35328 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35329 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35330 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35331 (key_call): Likewise.
35332 * sunrpc/pm_getport.c (__get_socket): Likewise.
35333 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35334 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35335 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35336 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35337 (invalidate): Likewise.
35338 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35339 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35340 (set_input_fragment, get_input_bytes): Likewise.
35341
24cffce7
FW
353422017-08-31 Florian Weimer <fweimer@redhat.com>
35343
35344 * malloc/malloc.c (_int_free): Remove locked variable and related
35345 asserts.
35346
ecd0747d
L
353472017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35348
35349 [BZ #22051]
35350 * Makerules (build-module-helper-objlist): Filter out
35351 $(elf-objpfx)sofini.os.
35352 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35353 needed.
35354
5f0704b6
FW
353552017-08-31 Florian Weimer <fweimer@redhat.com>
35356
35357 * libio/fcloseall.c: Assume weak_alias is defined.
35358 * libio/feof.c: Likewise.
35359 * libio/fileno.c: Likewise.
35360 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35361 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35362 definitions.
35363 (_IO_file_open): Call __open directly.
35364 (_IO_new_file_sync): Assume ESPIPE is defined.
35365 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35366 (_IO_new_file_write): Call __write directly.
35367 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35368 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35369 * libio/genops.c: Assume _LIBC is defined.
35370 (save_for_backup): Remove internal_function.
35371 * libio/getc.c: Assume weak_alias is defined.
35372 * libio/getwc.c: Likewise.
35373 * libio/iofclose.c: Assume _LIBC is defined.
35374 * libio/iofdopen.c: Likewise.
35375 (_IO_fcntl): Remove macro definition.
35376 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35377 Call __fcntl directly.
35378 * libio/iofflush.c: Assume weak_alias is defined.
35379 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35380 defined.
35381 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35382 * libio/iofgets.c: Likewise.
35383 * libio/iofopen.c: Assume _LIBC is defined.
35384 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35385 * libio/iofputs.c: Assume weak_alias is defined.
35386 * libio/iofread.c: Likewise.
35387 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35388 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35389 * libio/ioftell.c: Assume weak_alias is defined.
35390 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35391 * libio/iofwide.c: Assume _LIBC is defined.
35392 (_IO_fwide): Drop SHARED conditional because it is implied by
35393 SHLIB_COMPAT.
35394 * libio/iofwrite.c: Assume weak_alias is defined.
35395 * libio/iogetdelim.c: Likewise.
35396 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35397 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35398 (_IO_getwline): Call __wmemcpy directly.
35399 * libio/iopopen.c: Assume _LIBC is defined.
35400 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35401 (_IO_close): Remove macro definitions.
35402 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35403 _exit directly.
35404 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35405 directly.
35406 * libio/ioputs.c: Assume weak_alias is defined.
35407 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35408 * libio/iosetbuffer.c: Assume weak_alias is defined.
35409 * libio/iosetvbuf.c: Likewise.
35410 * libio/ioungetc.c: Likewise.
35411 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35412 libc_hidden_def, libc_hidden_weak, NULL are defined.
35413 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35414 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35415 defined.
35416 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35417 definitions.
35418 (_IO_old_file_init_internal): Drop SHARED conditional because it
35419 is implied by SHLIB_COMPAT.
35420 (_IO_old_file_fopen): Call __open directly.
35421 (_IO_old_file_sync): Assume ESPIPE is defined.
35422 (_IO_old_file_write): Call __write directly.
35423 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35424 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35425 Call __fcntl directly.
35426 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35427 (_IO_old_fgetpos): Assume EIO is defined.
35428 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35429 (_IO_old_fgetpos64): Assume EIO is defined.
35430 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35431 (_IO_old_fsetpos): Assume EIO is defined.
35432 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35433 (_IO_old_fsetpos64): Assume EIO is defined.
35434 * libio/oldiopopen.c: Assume _LIBC is defined.
35435 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35436 (_IO_close): Remove macro definitions.
35437 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35438 directly.
35439 (_IO_old_proc_close): Call __close, __waitpid directly.
35440 * libio/put.c: Assume weak_alias is defined.
35441 * libio/stdfiles.c: Assume _LIBC is defined.
35442 * libio/stdio.c: Likewise.
35443 * libio/wfileops.c: Likewise.
35444 (_IO_wfile_sync): Assume ESPIPE is defined.
35445 * libio/wgenops.c: Assume _LIBC is defined.
35446 (save_for_wbackup): Remove internal_function.
35447
5129873a
FW
354482017-08-31 Florian Weimer <fweimer@redhat.com>
35449
35450 * malloc/malloc.c (top_check): Change return type to void. Remove
35451 internal_function.
35452 * malloc/hooks.c (top_check): Likewise.
35453 (malloc_check, realloc_check, memalign_check): Adjust.
35454
4fa9b3bf
JM
354552017-08-30 Joseph Myers <joseph@codesourcery.com>
35456
35457 [BZ #21457]
35458 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35459 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35460 sigcontext and namespace requirements.
35461 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35462 * sysdeps/m68k/sys/ucontext.h: Likewise.
35463 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35464 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35465 <bits/sigcontext.h>.
35466 (__ctx): Define earlier.
35467 (mcontext_t): Define structure contents rather than using struct
35468 sigcontext.
35469 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35470 __glibc_reserved1 instead of __reserved.
35471 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35472 <bits/sigcontext.h>.
35473 (__ctx): Define earlier.
35474 (mcontext_t): Define structure contents rather than using struct
35475 sigcontext.
35476 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35477 mcontext_t instead of struct sigcontext.
35478 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35479 <bits/sigcontext.h>.
35480 (__ctx): Define earlier.
35481 (mcontext_t): Define structure contents rather than using struct
35482 sigcontext.
35483 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35484 <bits/sigcontext.h>.
35485 (__ctx): Define earlier.
35486 (mcontext_t): Define structure contents rather than using struct
35487 sigcontext.
35488 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35489 mcontext_t instead of struct sigcontext.
35490 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35491 mcontext_t instead of struct sigcontext.
35492 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35493 <bits/sigcontext.h>.
35494 (__ctx): New macro.
35495 (struct __ia64_fpreg_mcontext): New type.
35496 (mcontext_t): Define structure contents rather than using struct
35497 sigcontext.
35498 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35499 (uc_sigmask): Define using __ctx.
35500 (uc_stack): Likewise.
35501 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35502 <bits/sigcontext.h>.
35503 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35504 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35505 <bits/sigcontext.h>.
35506 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35507 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35508 <bits/sigcontext.h>.
35509 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35510 <bits/sigcontext.h>.
35511 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35512 <bits/sigcontext.h>.
35513 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35514 <bits/sigcontext.h>.
35515 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35516 <bits/sigcontext.h>.
35517 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35518 <bits/sigcontext.h>.
35519 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35520 <bits/sigcontext.h>.
35521 (__ctx): Define earlier.
35522 (mcontext_t): Define structure contents rather than using struct
35523 sigcontext.
35524 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35525 <bits/sigcontext.h>. Include <bits/types.h>.
35526 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35527 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35528 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35529 (test-xfail-UNIX98/signal.h/conform): Likewise.
35530 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35531 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35532 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35533 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35534 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35535 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35536 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35537 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35538 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35539
5898f454
FW
355402017-08-30 Florian Weimer <fweimer@redhat.com>
35541
35542 * malloc/dynarray_emplace_enlarge.c
35543 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35544 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35545 * malloc/tst-dynarray.c (test_long_overflow): New function.
35546 (do_test): Call it.
35547
a9da0bb2
FW
355482017-08-30 Florian Weimer <fweimer@redhat.com>
35549
35550 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35551 (set_arena_corrupt): Remove definitions.
35552 (mtrim): Do not check for corrupt arena.
35553 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35554 Likewise.
35555
ac3ed168
FW
355562017-08-30 Florian Weimer <fweimer@redhat.com>
35557
35558 [BZ #21754]
35559 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35560 check_action.
35561 (ptmalloc_init): Do not set or use check_action.
35562 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35563 call to malloc_printerr. Remove return statement.
35564 (free_check): Likewise. Remove arena unlock.
35565 (top_check): Update comment. Adjust call to malloc_printerr.
35566 Remove heap repair code.
35567 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35568 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35569 (sysmalloc): Adjust call to malloc_printerr.
35570 (munmap_chunk, __libc_realloc): Likewise. Remove return
35571 statement.
35572 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35573 Remove errout label and corresponding gotos.
35574 (_int_free): Likewise. Remove arena unlock.
35575 (do_set_mallopt_check): Do not set check_action.
35576 (malloc_printerr): Adjust parameter list. Do not mark arena as
35577 corrupt.
35578 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35579 comment.
35580 * manual/probes.texi (Memory Allocation Probes): Remove
35581 memory_mallopt_check_action.
35582
44bcba80
SE
355832017-08-30 Steve Ellcey <sellcey@cavium.com>
35584
35585 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35586 Use pointer to uint64_t instead of long int for sp.
35587
ec2c1fce
FW
355882017-08-30 Florian Weimer <fweimer@redhat.com>
35589
35590 [BZ #21754]
35591 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35592 without printing a backtrace. Do not leak any information in the
35593 error message.
35594 * manual/memory.texi (Heap Consistency Checking): Update.
35595 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35596
9ce673b6
FW
355972017-08-30 Florian Weimer <fweimer@redhat.com>
35598
35599 Do not scale NPTL tests with available number of CPUs.
35600 * nptl/tst-cond16.c (count): Set to constant value of 8.
35601 * nptl/tst-cond18.c (count): Likewise.
35602
2f1aef19
JM
356032017-08-29 Joseph Myers <joseph@codesourcery.com>
35604
35605 [BZ #22035]
35606 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35607 Define to take a second argument that is a macro that
35608 concatentates a suffix, not the suffix itself.
35609 (__CONCAT_d): New macro.
35610 (__CONCAT_f): Likewise.
35611 (__CONCAT_l): Likewise.
35612
8325b477
PP
356132017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35614
35615 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35616 by child.
35617
319cbbf6
AZ
356182017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35619 Aurelien Jarno <aurelien@aurel32.net>
35620 Maciej W. Rozycki <macro@imgtec.com>
35621
35622 [BZ #21956]
35623 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35624 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35625 `mips16-syscall6' and `mips16-syscall7'.
35626 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35627 (CFLAGS-mips16-syscall7.c): Remove.
35628 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35629 Remove `__mips16_syscall5', `__mips16_syscall6' and
35630 `__mips16_syscall7'.
35631 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35632 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35633 `__mips_syscall_return'.
35634 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35635 (__mips16_syscall1): Likewise.
35636 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35637 (__mips16_syscall2): Likewise.
35638 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35639 (__mips16_syscall3): Likewise.
35640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35641 (__mips16_syscall4): Likewise.
35642 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35643 Remove.
35644 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35645 Remove.
35646 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35647 Remove.
35648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35649 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35650 `__mips16_syscall5'. Remove prototype.
35651 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35652 `__mips16_syscall6'. Remove prototype.
35653 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35654 `__mips16_syscall7'. Remove prototype.
35655 (__nomips16, __mips16_syscall_return): Move to...
35656 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35657 (__nomips16, __mips_syscall_return): ... here.
35658 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35659 `__mips16_syscall_return' to `__mips_syscall_return'.
35660 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35661 `internal_syscall##nr'.
35662 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35663 `internal_syscall##nr'.
35664 (FORCE_FRAME_POINTER): Remove.
35665 (__mips_syscall5): New prototype.
35666 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35667 (__mips_syscall6): New prototype.
35668 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35669 (__mips_syscall7): New prototype.
35670 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35671 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35672 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35673 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35674 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35675 (sysdep_routines): Add libc-do-syscall.
35676 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35677 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35678
01b87c65
AZ
356792017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35680
35681 [BZ #21672]
35682 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35683 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35684 (advise_stack_range): New function.
35685 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35686 stack non required to advise_stack_range at allocatestack.c
35687
16f138a4
SN
356882017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35689
35690 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35691
251bccfa
FW
356922017-08-29 Florian Weimer <fweimer@redhat.com>
35693
35694 [BZ #22026]
35695 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35696 __end_fct. Mangle __end_fct after setting it to NULL.
35697 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35698 (modules-names, modules-names-tests): Add
35699 tst-gconv-init-failure-mod.
35700 (gconv-modules): New target.
35701 (tst-gconv-init-failure-mod.so): Link against libsupport.
35702 (tst-gconv-init-failure): Depend on gconv-modules,
35703 tst-gconv-init-failure-mod.so.
35704 * iconv/tst-gconv-init-failure-mod.c: New file.
35705 * iconv/tst-gconv-init-failure.c: Likewise.
35706 * iconv/test-gconv-modules: Likewise.
35707
e7c18b9d
FW
357082017-08-29 Florian Weimer <fweimer@redhat.com>
35709
35710 [BZ #22025]
35711 * iconv/gconv_db.c (free_derivation): Remove redundant
35712 parentheses.
35713 (gen_steps): Unconditionally mangle __btowc_fct after
35714 initialization.
35715 (increment_counter): Likewise. Do not call init_fct for internal
35716 modules.
35717
7daada03
JM
357182017-08-29 Joseph Myers <joseph@codesourcery.com>
35719
35720 [BZ #22028]
35721 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35722 (_MSUF_): Remove macro.
35723 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35724 Likewise.
35725 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35726 (__REDIRFROM_X): New macro.
35727 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35728 Likewise.
35729 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35730 (__REDIRTO_X): Likewise.
35731 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35732 arguments.
35733 (__MATH_REDIRCALL_2): Likewise.
35734 (__MATH_REDIRCALL_INTERNAL): Likewise.
35735 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35736 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35737 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35738 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35739 * math/test-finite-macros.c: New file.
35740 * math/Makefile (tests): Add test-finite-macros.
35741 (CFLAGS-test-finite-macros.c): New variable.
35742
1cf1232c
PF
357432017-08-29 Patsy Franklin <pfrankli@redhat.com>
35744 Jeff Law <law@redhat.com>
35745
35746 [BZ #22025]
35747 Mangle NULL pointers in iconv/gconv.
35748 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35749 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35750 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35751 is non-NULL before demangling the end_fct. Check for NULL
35752 end_fct after demangling.
35753 (__gconv_release_step): Demangle the end_fct before checking
35754 it for NULL. Remove assert on __shlibc_handle != NULL.
35755 (gen_steps): Don't check btowc_fct for NULL before mangling.
35756 Demangle init_fct before checking for NULL.
35757 (increment_counter): Likewise.
35758 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35759 end_fct for NULL before mangling.
35760 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35761 for NULL.
35762
c207f7ce 357632017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
35764
35765 [BZ #21971]
35766 * locale/iso-639.def: add Morisyen.
35767
42496114
GG
357682017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35769
35770 [BZ #21930]
35771 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35772 (iszero): New C++ implementation that does not use
35773 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35774 signaling nans are enabled, since __builtin_types_compatible_p
35775 is a C-only feature.
35776 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35777 defined, include ieee754_float128.h for access to the union and
35778 member ieee854_float128.ieee.
35779 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35780 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35781 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35782 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35783 options of test-math-zero on powerpc64le.
35784
5e2bc4ff
L
357852017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35786
35787 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35788 Change double to float.
35789
a48c0fb4
JM
357902017-08-28 Joseph Myers <joseph@codesourcery.com>
35791
35792 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35793 unconditional.
35794 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35795 conditional code; define contents only for [LIBM_SVID_COMPAT].
35796
ee17d4e9
FW
357972017-08-28 Florian Weimer <fweimer@redhat.com>
35798
35799 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35800 (abi-lp64_be-options): Remove.
35801 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35802 (abi-hard-options): Likewise.
35803 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35804 (abi-o32_hard-options, abi-o32_soft_2008-options)
35805 (abi-o32_hard_2008-options, abi-n32_soft-options)
35806 (abi-n32_hard-options, abi-n32_soft_2008-options)
35807 (abi-n32_hard_2008-options, abi-n64_soft-options)
35808 (abi-n64_hard-options, abi-n64_soft_2008-options)
35809 (abi-n64_hard_2008-options): Likewise.
35810 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35811 (abi-64-v1-options, abi-64-v2-options): Likewise.
35812 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35813 (abi-64-options): Likewise.
35814 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35815 (abi-64-options): Likewise.
35816 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35817 (abi-64-options): Likewise.
35818 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35819 (abi-64-options, abi-x32-options): Likewise.
35820
2dba5ce7
FW
358212017-08-28 Florian Weimer <fweimer@redhat.com>
35822
35823 Store supported list of SYS_* system calls in the source tree.
35824 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35825 (bits/syscall.h): Generate from list file.
35826 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35827 [$(subdir) = misc] (tests): Add tst-syscall-list.
35828 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35829 [$(subdir) = misc] (tst-syscall-list-macros.list)
35830 [$(subdir) = misc] (tst-syscall-list-nr.list)
35831 (tst-syscall-list-sys.list): Helper targets for new
35832 tst-syscall-list test.
35833 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35834 tst-syscall-list.sh.
35835 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35836 target. Do not include bits/syscall.d.
35837 [$(subdir) = misc] (generated): Do not update.
35838 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35839 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35840 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35841 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35842
5f3b183d
PP
358432017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35844
35845 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35846 (tst-cxa_atexit, tst-on_exit): Likewise.
35847 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35848 tst-cxa_atexit, and tst-on_exit.
35849 * stdlib/tst-atexit-common.c: New file.
35850 * stdlib/tst-atexit.c: New file.
35851 * stdlib/tst-at_quick_exit.c: New file.
35852 * stdlib/tst-cxa_atexit.c: New file.
35853 * stdlib/tst-on_exit.c: New file.
35854
2ef8d469
ST
358552017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35856
35857 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
35858 * mach/stack_chk_fail_local.c: New file.
35859 * hurd/stack_chk_fail_local.c: New file.
35860 * mach/Machrules ($(interface-library)-routines): Add
35861 stack_chk_fail_local.
99ee4d26
ST
35862 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35863 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35864 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35865 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35866 * hurd/Makefile (CFLAGS-hurdstartup.o,
35867 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 35868
7ab70c98
L
358692017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35870
35871 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35872 (index_cpu_*, index_arch_*): Removed.
35873
39e7a5a6
SN
358742017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35875
35876 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35877 Use uint64_t instead of unsigned long.
35878
bba5c930
JM
358792017-08-25 Joseph Myers <joseph@codesourcery.com>
35880
a6ccdb08
JM
35881 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35882 [__HAVE_DISTINCT_FLOAT128].
35883
23761119
JM
35884 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35885 of <bits/math-finite.h>.
35886 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35887 inclusion of <bits/math-finite.h>.
35888 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35889 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35890 __NO_LONG_DOUBLE_MATH].
35891 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35892 (__MATH_REDIRCALL_2): Likewise.
35893 (__MATH_REDIRCALL_INTERNAL): Likewise.
35894 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35895 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35896 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35897
bba5c930
JM
35898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35899 Remove file.
35900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35901 Likewise.
35902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35903 Likewise.
35904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35905 Likewise.
35906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35907 Likewise.
35908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35909 Likewise.
35910 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35911 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35913 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35915 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35916 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35917 w_sqrtf_compat-ppc32.
35918
3d7b66f6
GG
359192017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35920
35921 * math/math.h [defined __cplusplus] (issignaling): In the long
35922 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35923 is not defined. Call __issignaling, otherwise.
35924
ebd6f007
AZ
359252017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35926
35927 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35928 syscall definitions and replace __builtin_expect with __glibc_likely.
35929 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35930 syscall.
6b5c8607 35931 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
35932 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35933 definition.
35934 (PSEUDO_END): Likewise.
35935 [IS_IN (libpthread)] (CENABLE): Likewise.
35936 [IS_IN (libpthread)] (CDISABLE): Likewise.
35937 [IS_IN (libc)] (CENABLE): Likewise.
35938 [IS_IN (libc)] (CENABLE): Likewise.
35939 [IS_IN (librt)] (CDISABLE): Likewise.
35940 [IS_IN (librt)] (CDISABLE): Likewise.
35941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35942 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35943 definition.
35944 (PSEUDO_END): Likewise.
35945 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35946 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35947 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35948 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35949 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35950 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35951 (CENABLE): Likewise.
35952 (CDISABLE): Likewise.
35953 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35954 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35955 defintion.
35956 (PSEUDO_END): Likewise.
35957 [IS_IN (libpthread)] (CENABLE): Likewise.
35958 [IS_IN (libpthread)] (CDISABLE): Likewise.
35959 [IS_IN (libc)] (CENABLE): Likewise.
35960 [IS_IN (libc)] (CENABLE): Likewise.
35961 [IS_IN (librt)] (CDISABLE): Likewise.
35962 [IS_IN (librt)] (CDISABLE): Likewise.
35963 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35964 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35965 definition.
35966 (PSEUDO_END): Likewise.
35967 [IS_IN (libpthread)] (CENABLE): Likewise.
35968 [IS_IN (libpthread)] (CDISABLE): Likewise.
35969 [IS_IN (libc)] (CENABLE): Likewise.
35970 [IS_IN (libc)] (CENABLE): Likewise.
35971 [IS_IN (librt)] (CDISABLE): Likewise.
35972 [IS_IN (librt)] (CDISABLE): Likewise.
35973 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35974 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35975 definition.
35976 (PSEUDO_END): Likewise.
35977 [IS_IN (libpthread)] (CENABLE): Likewise.
35978 [IS_IN (libpthread)] (CDISABLE): Likewise.
35979 [IS_IN (libc)] (CENABLE): Likewise.
35980 [IS_IN (libc)] (CENABLE): Likewise.
35981 [IS_IN (librt)] (CDISABLE): Likewise.
35982 [IS_IN (librt)] (CDISABLE): Likewise.
35983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35984 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35985 definition.
35986 (PSEUDO_END): Likewise.
35987 [IS_IN (libpthread)] (CENABLE): Likewise.
35988 [IS_IN (libpthread)] (CDISABLE): Likewise.
35989 [IS_IN (libc)] (CENABLE): Likewise.
35990 [IS_IN (libc)] (CENABLE): Likewise.
35991 [IS_IN (librt)] (CDISABLE): Likewise.
35992 [IS_IN (librt)] (CDISABLE): Likewise.
35993 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35994 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35995 definition.
35996 (PSEUDO_END): Likewise.
35997 [IS_IN (libpthread)] (CENABLE): Likewise.
35998 [IS_IN (libpthread)] (CDISABLE): Likewise.
35999 [IS_IN (libc)] (CENABLE): Likewise.
36000 [IS_IN (libc)] (CENABLE): Likewise.
36001 [IS_IN (librt)] (CDISABLE): Likewise.
36002 [IS_IN (librt)] (CDISABLE): Likewise.
36003 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36004 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36005 definition.
36006 (PSEUDO_END): Likewise.
36007 [IS_IN (libpthread)] (CENABLE): Likewise.
36008 [IS_IN (libpthread)] (CDISABLE): Likewise.
36009 [IS_IN (libc)] (CENABLE): Likewise.
36010 [IS_IN (libc)] (CENABLE): Likewise.
36011 [IS_IN (librt)] (CDISABLE): Likewise.
36012 [IS_IN (librt)] (CDISABLE): Likewise.
36013 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36014 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36015 Remove definition.
36016 (PSEUDO_END): Likewise.
36017 [IS_IN (libpthread)] (CENABLE): Likewise.
36018 [IS_IN (libpthread)] (CDISABLE): Likewise.
36019 [IS_IN (libc)] (CENABLE): Likewise.
36020 [IS_IN (libc)] (CENABLE): Likewise.
36021 [IS_IN (librt)] (CDISABLE): Likewise.
36022 [IS_IN (librt)] (CDISABLE): Likewise.
36023 (SINGLE_THREAD_P): Likewise.
36024 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36025 definition.
36026 (PSEUDO_END): Likewise.
36027 [IS_IN (libpthread)] (CENABLE): Likewise.
36028 [IS_IN (libpthread)] (CDISABLE): Likewise.
36029 [IS_IN (libc)] (CENABLE): Likewise.
36030 [IS_IN (libc)] (CENABLE): Likewise.
36031 [IS_IN (librt)] (CDISABLE): Likewise.
36032 [IS_IN (librt)] (CDISABLE): Likewise.
36033 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36034 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36035 definition.
36036 (PSEUDO_END): Likewise.
36037 [IS_IN (libpthread)] (CENABLE): Likewise.
36038 [IS_IN (libpthread)] (CDISABLE): Likewise.
36039 [IS_IN (libc)] (CENABLE): Likewise.
36040 [IS_IN (libc)] (CENABLE): Likewise.
36041 [IS_IN (librt)] (CDISABLE): Likewise.
36042 [IS_IN (librt)] (CDISABLE): Likewise.
36043 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36044 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36045 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36046 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36048 definition.
36049 (PSEUDO_END): Likewise.
36050 [IS_IN (libpthread)] (CENABLE): Likewise.
36051 [IS_IN (libpthread)] (CDISABLE): Likewise.
36052 [IS_IN (libc)] (CENABLE): Likewise.
36053 [IS_IN (libc)] (CENABLE): Likewise.
36054 [IS_IN (librt)] (CDISABLE): Likewise.
36055 [IS_IN (librt)] (CDISABLE): Likewise.
36056 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36058 definition.
36059 (PSEUDO_END): Likewise.
36060 [IS_IN (libpthread)] (CENABLE): Likewise.
36061 [IS_IN (libpthread)] (CDISABLE): Likewise.
36062 [IS_IN (libc)] (CENABLE): Likewise.
36063 [IS_IN (libc)] (CENABLE): Likewise.
36064 [IS_IN (librt)] (CDISABLE): Likewise.
36065 [IS_IN (librt)] (CDISABLE): Likewise.
36066 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36067 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36068 definition.
36069 (PSEUDO_END): Likewise.
36070 [IS_IN (libpthread)] (CENABLE): Likewise.
36071 [IS_IN (libpthread)] (CDISABLE): Likewise.
36072 [IS_IN (libc)] (CENABLE): Likewise.
36073 [IS_IN (libc)] (CENABLE): Likewise.
36074 [IS_IN (librt)] (CDISABLE): Likewise.
36075 [IS_IN (librt)] (CDISABLE): Likewise.
36076 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36079 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36080 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36081 definition.
36082 (PSEUDO_END): Likewise.
36083 [IS_IN (libpthread)] (CENABLE): Likewise.
36084 [IS_IN (libpthread)] (CDISABLE): Likewise.
36085 [IS_IN (libc)] (CENABLE): Likewise.
36086 [IS_IN (libc)] (CENABLE): Likewise.
36087 [IS_IN (librt)] (CDISABLE): Likewise.
36088 [IS_IN (librt)] (CDISABLE): Likewise.
36089 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36090 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36091 definition.
36092 (PSEUDO_END): Likewise.
36093 [IS_IN (libpthread)] (CENABLE): Likewise.
36094 [IS_IN (libpthread)] (CDISABLE): Likewise.
36095 [IS_IN (libc)] (CENABLE): Likewise.
36096 [IS_IN (libc)] (CENABLE): Likewise.
36097 [IS_IN (librt)] (CDISABLE): Likewise.
36098 [IS_IN (librt)] (CDISABLE): Likewise.
36099 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36100
8aa48656
SN
361012017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36102
36103 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36104
fcaaca41
L
361052017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36106
36107 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36108
376b40a2
L
361092017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36110
36111 [BZ #21982]
36112 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36113 middle and outer with size_t instead of int. Repleace %d and
36114 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36115 "MAX (outer, nchars - 64)" to support unsigned outer and
36116 nchars. Also exit loop when outer == 0.
36117
2b0b9a1c
AZ
361182017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36119
36120 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36121 * include/signal.h (__sigsuspend_nocancel): Likewise.
36122 * include/time.h (__nanosleep_nocancel): Likewise.
36123 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36124 * login/utmp_file.c: Include non cancellable syscall header.
36125 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36126 prototype.
36127
b9eaca8f
L
361282017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36129
36130 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36131 .byte sequences with AVX512F instructions.
36132 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36133 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36134 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36136 Likewise.
36137 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36138 Likewise.
36139
5a706f64
SE
361402017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36141 Steve Ellcey <sellcey@cavium.com>
36142
36143 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36144 Use PTR_REG macro in cmp instruction.
36145
b513da7e
GG
361462017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36147
36148 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36149 Change the return type of the ifunc resolver to match the return
36150 type of the target function.
36151
78ca091c
AZ
361522017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36153
b70b6026
AZ
36154 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36155 (preadv64): Likewise.
36156 (pwrite64(: Likewise.
36157 (pwritev64): Likewise.
36158
78ca091c
AZ
36159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36160 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36161 (LOAD_ARGS_0): Likewise.
36162 (LOAD_ARGS_1): Likewise.
36163 (LOAD_ARGS_2): Likewise.
36164 (LOAD_ARGS_3): Likewise.
36165 (LOAD_ARGS_4): Likewise.
36166 (LOAD_ARGS_5): Likewise.
36167 (LOAD_ARGS_6): Likewise.
36168 (LOAD_REGS_0): Likewise.
36169 (LOAD_REGS_1): Likewise.
36170 (LOAD_REGS_2): Likewise.
36171 (LOAD_REGS_3): Likewise.
36172 (LOAD_REGS_4): Likewise.
36173 (LOAD_REGS_5): Likewise.
36174 (LOAD_REGS_6): Likewise.
36175 (ASM_ARGS_0): Likewise.
36176 (ASM_ARGS_1): Likewise.
36177 (ASM_ARGS_2): Likewise.
36178 (ASM_ARGS_3): Likewise.
36179 (ASM_ARGS_4): Likewise.
36180 (ASM_ARGS_5): Likewise.
36181 (ASM_ARGS_6): Likewise.
36182 (LOAD_ARGS_TYPES_1): Likewise.
36183 (LOAD_ARGS_TYPES_2): Likewise.
36184 (LOAD_ARGS_TYPES_3): Likewise.
36185 (LOAD_ARGS_TYPES_4): Likewise.
36186 (LOAD_ARGS_TYPES_5): Likewise.
36187 (LOAD_ARGS_TYPES_6): Likewise.
36188 (LOAD_REGS_TYPES_1): Likewise.
36189 (LOAD_REGS_TYPES_2): Likewise.
36190 (LOAD_REGS_TYPES_3): Likewise.
36191 (LOAD_REGS_TYPES_4): Likewise.
36192 (LOAD_REGS_TYPES_5): Likewise.
36193 (LOAD_REGS_TYPES_6): Likewise.
36194 (TYPEFY): New define.
36195 (ARGIFY): Likewise.
36196 (internal_syscall0): Likewise.
36197 (internal_syscall1): Likewise.
36198 (internal_syscall2): Likewise.
36199 (internal_syscall3): Likewise.
36200 (internal_syscall4): Likewise.
36201 (internal_syscall5): Likewise.
36202 (internal_syscall6): Likewise.
36203 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36204 (INTERNAL_SYSCALL_NCS): Remove define.
36205 (internal_syscall1): Add define.
36206
453a493d
GG
362072017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36208
36209 * math/w_remainder_compat.c: Remove duplicate inclusion of
36210 math-svid-compat.h.
36211 * math/w_remainderf_compat.c: Likewise.
36212 * math/w_remainderl_compat.c: Likewise.
36213
f2f048a5
GG
362142017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36215
36216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36217
d9bef9c0
JM
362182017-08-22 Joseph Myers <joseph@codesourcery.com>
36219
36220 [BZ #21684]
36221 * math/tgmath.h (__floating_type): Simplify definitions.
36222 (__real_integer_type): New macro.
36223 (__complex_integer_type): Likewise.
36224 (__expr_is_real): Likewise.
36225 (__tgmath_real_type_sub): Update comment to describe handling of
36226 complex types.
36227 (__tgmath_complex_type_sub): New macro.
36228 (__tgmath_complex_type): Likewise.
36229 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36230 (__TGMATH_CF128): Use __expr_is_real.
36231 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36232 __expr_is_real.
36233 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36234 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36235 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36236 integer types.
36237
08d6eb46
AZ
362382017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36239
988f991b
AZ
36240 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36241 macro.
36242 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36243 alias.
36244 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36245 Likewise.
36246
6f33fd04
AZ
36247 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36248 nanosleep_not_cancel with __nanosleep_nocancel.
36249 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36250 (__nanosleep_nocancel): New macro.
36251 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36252 function.
36253 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36254 macro.
36255 (__nanosleep_nocancel): New prototype.
36256
08d6eb46
AZ
36257 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36258 pause_not_cancel with __pause_nocancel.
36259 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36260 (__pause_nocancel): New macro.
36261 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36262 macro.
36263 (__pause_nocancel): New prototype.
36264 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36265
ee4e992e
MS
362662017-08-22 Martin Sebor <msebor@redhat.com>
36267
36268 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36269 to return a pointer to the same type as the target function.
36270
20962acb
L
362712017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36272
36273 [BZ #18822]
36274 [BZ #21986]
36275 * include/printf.h (__printf_fphex): Add attribute_hidden.
36276 (__guess_grouping): New prototype.
36277 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36278 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36279 libc_hidden_proto and libc_hidden_def.
36280 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36281 (__vstrfmon_l): Remove the third argument passed to
36282 __guess_grouping.
36283
a16e8bc0
GG
362842017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36285
36286 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36287 definition for issignaling that does not rely on __MATH_TG,
36288 since __MATH_TG uses __builtin_types_compatible_p, which is only
36289 available in C mode.
36290 (CFLAGS-test-math-issignaling.cc): New variable.
36291 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36292 * math/test-math-issignaling.cc: New test for C++ implementation
36293 of type-generic issignaling.
36294 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36295 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36296 options of test-math-issignaling on powerpc64le.
36297
8d2ec553
L
362982017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36299
36300 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36301 building libc.a.
36302 (hidden_proto): Likewise.
36303 (hidden_tls_proto): Likewise.
36304 (__hidden_proto): Likewise.
36305
a4d57b79
FW
363062017-08-22 Florian Weimer <fweimer@redhat.com>
36307
36308 math: Statically link tests of internal functionality.
36309 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36310 atest-exp2.
36311 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36312 (gmp-objs): Remove assignment.
36313 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36314
75dfe623
JM
363152017-08-22 Joseph Myers <joseph@codesourcery.com>
36316
80f91666
JM
36317 [BZ #21987]
36318 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36319 and copy to ...
36320 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36321 ... here.
36322 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36323 ... and here.
36324
75dfe623
JM
36325 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36326 variable definitions above inclusion of ../Rules.
36327
ea99fcd0
JM
363282017-08-21 Joseph Myers <joseph@codesourcery.com>
36329
36330 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36331 case calling __builtin_unreachable.
36332
19926de9
AZ
363332017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36334
a8410a5f
AZ
36335 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36336 __waitpid_nocancel.
36337 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36338 (__waitpid_nocancel): New macro.
36339 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36340 macro.
36341 (__waitpid_nocancel): Replace macro with a function.
36342 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36343 function.
36344
7369800c
AZ
36345 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36346 __fcntl_nocancel.
36347 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36348 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36349
19926de9
AZ
36350 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36351 __writev_nocancel_nostatus.
36352 (write_call_graph): Likewise.
36353 (write_bb_counts): Likewise.
36354 * resolv/herror.c (herror): Likewise.
36355 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36356 macro.
36357 (__writev_nocancel_nostatus): New macro.
36358 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36359 Remove macro.
36360 (__writev_nocancel_nostatus): New function.
36361
813378e9
JM
363622017-08-21 Joseph Myers <joseph@codesourcery.com>
36363
df1deda6
JM
36364 Revert:
36365 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36366
36367 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36368 building libc.a.
36369 (hidden_proto): Likewise.
36370 (hidden_tls_proto): Likewise.
36371 (__hidden_proto): Likewise.
36372
831bbd55
JM
36373 [BZ #21973]
36374 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36375 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36377 Likewise.
36378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36379 Likewise.
36380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36381 Likewise.
36382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36383 Likewise.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36385 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36386 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36387 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36388 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36389 GLIBC_2.0 sqrtl symbol.
36390
813378e9
JM
36391 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36392 [__USE_MISC] (_LIB_VERSION): Likewise.
36393 [__USE_MISC] (struct exception): Likewise.
36394 [__USE_MISC] (matherr): Likewise.
36395 [__USE_MISC] (DOMAIN): Likewise.
36396 [__USE_MISC] (SING): Likewise.
36397 [__USE_MISC] (OVERFLOW): Likewise.
36398 [__USE_MISC] (UNDERFLOW): Likewise.
36399 [__USE_MISC] (TLOSS): Likewise.
36400 [__USE_MISC] (PLOSS): Likewise.
36401 [__USE_MISC] (HUGE): Likewise.
36402 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36403 * math/math-svid-compat.h: New file.
36404 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36405 and matherrl.
36406 * include/math.h [!_ISOMAC] (__matherr): Remove.
36407 * manual/arith.texi (FP Exceptions): Do not document matherr.
36408 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36409 (tests-internal): New variable.
36410 (install-lib): Do not add libieee.a.
36411 (non-lib.a): Likewise.
36412 (extra-objs): Do not add libieee.a and ieee-math.o.
36413 (CPPFLAGS-s_lib_version.c): Remove variable.
36414 ($(objpfx)libieee.a): Remove rule.
36415 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36416 * math/ieee-math.c: Remove.
36417 * math/libm-test-support.c (matherr): Remove.
36418 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36419 and license notices. Include <math-svid-compat.h> and
36420 <shlib-compat.h>.
36421 (matherr): Undefine as macro. Use compat_symbol_reference.
36422 (_LIB_VERSION): Likewise.
36423 * math/test-matherr-2.c: New file.
36424 * math/test-matherr-3.c: Likewise.
36425 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36426 declaration.
36427 (__kernel_standard_f): Likewise.
36428 (__kernel_standard_l): Likewise.
36429 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36430 <math_private.h>. Include <math-svid-compat.h>.
36431 (_LIB_VERSION): Undefine as macro.
36432 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36433 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36434 [LIBM_SVID_COMPAT], use compat_symbol.
36435 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36436 <math_private.h>. Include <math-svid-compat.h>.
36437 (matherr): Undefine as macro.
36438 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36439 compat_symbol.
36440 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36441 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36442 compat_symbol_reference.
36443 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36444 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36445 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36446 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36447 (MATHERR_D): Remove declaration.
36448 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36449 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36450 [LIBM_BUILD] (pmatherrf): Likewise.
36451 [LIBM_BUILD] (pmatherr): Likewise.
36452 [LIBM_BUILD] (pmatherrl): Likewise.
36453 (DOMAIN): Likewise.
36454 (SING): Likewise.
36455 (OVERFLOW): Likewise.
36456 (UNDERFLOW): Likewise.
36457 (TLOSS): Likewise.
36458 (PLOSS): Likewise.
36459 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36460 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36461 compat_symbol.
36462 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36463 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36464 compat_symbol.
36465 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36466 * math/w_acos_compat.c: Likewise.
36467 * math/w_acosf_compat.c: Likewise.
36468 * math/w_acosh_compat.c: Likewise.
36469 * math/w_acoshf_compat.c: Likewise.
36470 * math/w_acoshl_compat.c: Likewise.
36471 * math/w_acosl_compat.c: Likewise.
36472 * math/w_asin_compat.c: Likewise.
36473 * math/w_asinf_compat.c: Likewise.
36474 * math/w_asinl_compat.c: Likewise.
36475 * math/w_atan2_compat.c: Likewise.
36476 * math/w_atan2f_compat.c: Likewise.
36477 * math/w_atan2l_compat.c: Likewise.
36478 * math/w_atanh_compat.c: Likewise.
36479 * math/w_atanhf_compat.c: Likewise.
36480 * math/w_atanhl_compat.c: Likewise.
36481 * math/w_cosh_compat.c: Likewise.
36482 * math/w_coshf_compat.c: Likewise.
36483 * math/w_coshl_compat.c: Likewise.
36484 * math/w_exp10_compat.c: Likewise.
36485 * math/w_exp10f_compat.c: Likewise.
36486 * math/w_exp10l_compat.c: Likewise.
36487 * math/w_exp2_compat.c: Likewise.
36488 * math/w_exp2f_compat.c: Likewise.
36489 * math/w_exp2l_compat.c: Likewise.
36490 * math/w_fmod_compat.c: Likewise.
36491 * math/w_fmodf_compat.c: Likewise.
36492 * math/w_fmodl_compat.c: Likewise.
36493 * math/w_hypot_compat.c: Likewise.
36494 * math/w_hypotf_compat.c: Likewise.
36495 * math/w_hypotl_compat.c: Likewise.
36496 * math/w_j0_compat.c: Likewise.
36497 * math/w_j0f_compat.c: Likewise.
36498 * math/w_j0l_compat.c: Likewise.
36499 * math/w_j1_compat.c: Likewise.
36500 * math/w_j1f_compat.c: Likewise.
36501 * math/w_j1l_compat.c: Likewise.
36502 * math/w_jn_compat.c: Likewise.
36503 * math/w_jnf_compat.c: Likewise.
36504 * math/w_jnl_compat.c: Likewise.
36505 * math/w_lgamma_main.c: Likewise.
36506 * math/w_lgamma_r_compat.c: Likewise.
36507 * math/w_lgammaf_main.c: Likewise.
36508 * math/w_lgammaf_r_compat.c: Likewise.
36509 * math/w_lgammal_main.c: Likewise.
36510 * math/w_lgammal_r_compat.c: Likewise.
36511 * math/w_log10_compat.c: Likewise.
36512 * math/w_log10f_compat.c: Likewise.
36513 * math/w_log10l_compat.c: Likewise.
36514 * math/w_log2_compat.c: Likewise.
36515 * math/w_log2f_compat.c: Likewise.
36516 * math/w_log2l_compat.c: Likewise.
36517 * math/w_log_compat.c: Likewise.
36518 * math/w_logf_compat.c: Likewise.
36519 * math/w_logl_compat.c: Likewise.
36520 * math/w_pow_compat.c: Likewise.
36521 * math/w_powf_compat.c: Likewise.
36522 * math/w_powl_compat.c: Likewise.
36523 * math/w_remainder_compat.c: Likewise.
36524 * math/w_remainderf_compat.c: Likewise.
36525 * math/w_remainderl_compat.c: Likewise.
36526 * math/w_scalb_compat.c: Likewise.
36527 * math/w_scalbf_compat.c: Likewise.
36528 * math/w_scalbl_compat.c: Likewise.
36529 * math/w_sinh_compat.c: Likewise.
36530 * math/w_sinhf_compat.c: Likewise.
36531 * math/w_sinhl_compat.c: Likewise.
36532 * math/w_sqrt_compat.c: Likewise.
36533 * math/w_sqrtf_compat.c: Likewise.
36534 * math/w_sqrtl_compat.c: Likewise.
36535 * math/w_tgamma_compat.c: Likewise.
36536 * math/w_tgammaf_compat.c: Likewise.
36537 * math/w_tgammal_compat.c: Likewise.
36538 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36539 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36540 * sysdeps/ieee754/k_standard.c: Likewise.
36541 * sysdeps/ieee754/k_standardf.c: Likewise.
36542 * sysdeps/ieee754/k_standardl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36544 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36545 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36546 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36547 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36548 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36549 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36550 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36551 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36553 Likewise.
36554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36555 Likewise.
36556 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36558 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36559 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36560
4504783c
FW
365612017-08-21 Florian Weimer <fweimer@redhat.com>
36562
36563 [BZ #21864]
36564 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36565 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36566 Move before inclusion of ../Rules.
36567
b5889d25
FW
365682017-08-21 Florian Weimer <fweimer@redhat.com>
36569
36570 [BZ #21972]
36571 * assert/assert.h (assert): Use static_cast (bool) for C++.
36572 Use the ternary operator in the warning branch for GNU C.
36573 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36574 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36575 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36576 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36577 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36578
41e673c1
L
365792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36580
36581 [BZ #18822]
36582 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36583 (__syscall_clock_gettime): Add attribute_hidden.
36584 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36585 (__start_context): Likewise.
36586
568ff429
L
365872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36588
36589 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36590 building libc.a.
36591 (hidden_proto): Likewise.
36592 (hidden_tls_proto): Likewise.
36593 (__hidden_proto): Likewise.
36594
7c41b4a1
L
365952017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36596
36597 * include/libc-symbols.h (attribute_hidden): Enable hidden
36598 visibility in libc.a compiled with PIE.
36599
483d7068
L
366002017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36601
36602 [BZ #18822]
36603 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36604 Add attribute_hidden.
36605
366062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36607
36608 [BZ #21864]
36609 * Makerules (all-nonlib): Add $(others-extras).
36610 * catgets/Makefile (others-extras): New.
36611 * elf/Makefile (others-extras): Likewise.
36612 * nss/Makefile (others-extras): Likewise.
36613
54e4b8f2
L
366142017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36615
36616 [BZ #18822]
36617 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36618 * elf/dl-open.c: Include <libc-internal.h>.
36619 (__libc_multiple_libcs): Removed.
36620 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36621 <hp-timing.h>.
36622 * include/libc-internal.h (__libc_multiple_libcs): New.
36623 * misc/sbrk.c: Include <libc-internal.h>.
36624 (__libc_multiple_libcs): Removed.
36625
1dbbb1ec
L
366262017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36627
36628 [BZ #18822]
36629 * grp/initgroups.c (__nss_group_database): Removed.
36630 (__nss_initgroups_database): Likewise.
36631 * nscd/gai.c (__nss_hosts_database): Likewise.
36632 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36633 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36634 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36635 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36636 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36637 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36638 attribute_hidden.
36639 * nss/nsswitch.c (__nss_database_custom): Define only if
36640 USE_NSCD is defined.
36641 (__nss_configure_lookup): Use __nss_database_custom only if
36642 USE_NSCD is defined.
36643 * nss/nsswitch.h (__nss_database_custom): Declare only if
36644 USE_NSCD is defined. Add attribute_hidden.
36645 (__nss_setent): Add attribute_hidden.
36646 (__nss_endent): Likewise.
36647 (__nss_getent_r): Likewise.
36648 (__nss_getent): Likewise.
36649 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36650
2585d7b8
L
366512017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36652
36653 [BZ #18822]
36654 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36655 libc_hidden_proto and libc_hidden_def.
36656
c8dfa99c
L
366572017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36658
36659 [BZ #18822]
36660 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36661 Add libc_hidden_proto.
36662 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36663 Add libc_hidden_def.
36664
7ed87317
L
366652017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36666
36667 [BZ #21974]
36668 * gmon/Makefile (routines): Remove bb_init_func and
36669 bb_exit_func.
36670 (elide-routines.os): Removed.
9476b904
L
36671 * gmon/bb_exit_func.c: Likewise.
36672 * gmon/bb_init_func.c: Likewise.
7ed87317
L
36673 * include/sys/gmon.h (__bb): Likewise.
36674 (__bb_init_func): Likewise.
36675 (__bb_exit_func): Likewise.
91695eb1 36676 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 36677
94e6ba15
L
366782017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36679
36680 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36681 * include/setjmp.h (____longjmp_chk): Here. Add
36682 attribute_hidden.
36683
7550717e
L
366842017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36685
36686 [BZ #18822]
36687 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36688 attribute_hidden.
36689 (__strspn_sse2): Likewise.
36690
0bb2fabc
AZ
366912017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36692
c181840c
AZ
36693 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36694 (close_not_cancel_no_status): Likewise.
36695 (__close_nocancel): New macro.
36696 (__close_nocancel_nostatus): Likewise.
36697 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36698 macro.
36699 (close_not_cancel): Likewise.
36700 (close_not_cancel_no_status): Likewise.
36701 (__close_nocancel): New prototype.
36702 (__close_nocancel_nostatus): New function.
36703 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36704 * catgets/open_catalog.c (__open_catalog): Replace
36705 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36706 * gmon/gmon.c (write_gmon): Likewise.
36707 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36708 * intl/loadmsgcat.c (close): Likewise.
36709 * io/ftw.c (open_dir_stream): Likewise.
36710 (ftw_startup): Likewise.
36711 * libio/fileops.c (_IO_file_open): Likewise.
36712 (_IO_file_close_mmap): Likewise.
36713 (_IO_file_close): Likewise.
36714 * libio/iopopen.c (_IO_dup2): Likewise.
36715 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36716 * locale/loadlocale.c (_nl_load_locale): Likewise.
36717 * login/utmp_file.c (pututline_file): Likewise.
36718 (endutent_file): Likewise.
36719 * misc/daemon.c (daemon): Likewise.
36720 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36721 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36722 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36723 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36724 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36725 * nscd/nscd_helper.c (open_socket): Likewise.
36726 (__nscd_open_socket): Likewise.
36727 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36728 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36729 (__nscd_innetgr): Likewise.
36730 * nss/nss_db/db-open.c (internal_setent): Likewise.
36731 * resolv/res-close.c (__res_iclose): Likewise.
36732 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36733 * sysdeps/posix/closedir.c (__closedir): Likewise.
36734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36735 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36736 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36737 (opendir_tail): Likewise.
36738 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36739 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36740 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36741 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36742 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36743 (gethostid): Likewise.
36744 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36745 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36746 Likewise.
36747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36748 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36749 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36750 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36751 Likewise.
36752 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36753 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36754 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36755 Likewise.
36756 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36757 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36758 Likewise.
36759 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36760 Likewise.
36761 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36763 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36764 __close_nocancel.
36765
0bb2fabc
AZ
36766 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36767 (openat_not_cancel_3): Likewise.
36768 (openat64_not_cancel_3): Likewise).
36769 (openat_not_cancel_3): Likewise).
36770 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36771 macro.
36772 (openat_not_cancel_3): Likewise.
36773 (openat64_not_cancel): Likewise.
36774 (openat64_not_cancel_3): Likewise.
36775 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36776 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36777 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36778 __open{64}_nocancel.
36779 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36780 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36781 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36782
65a086db
L
367832017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36784
36785 [BZ #18822]
36786 * include/argz.h (__argz_create_sep): New function prototype.
36787 (__argz_append): Likewise.
36788 (__argz_add): Likewise.
36789 (__argz_add_sep): Likewise.
36790 (__argz_delete): Likewise.
36791 (__argz_insert): Likewise.
36792 (__argz_replace): Likewise.
36793 * string/argz.h (__argz_create_sep): Removed.
36794 (__argz_append): Likewise.
36795 (__argz_add): Likewise.
36796 (__argz_add_sep): Likewise.
36797 (__argz_delete): Likewise.
36798 (__argz_insert): Likewise.
36799 (__argz_replace): Likewise.
36800
62753d2c
L
368012017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36802
36803 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36804 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36805 (GNU_PROPERTY_STACK_SIZE): Likewie.
36806 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36807 (GNU_PROPERTY_LOPROC): Likewise.
36808 (GNU_PROPERTY_HIPROC): Likewise.
36809 (GNU_PROPERTY_LOUSER): Likewise.
36810 (GNU_PROPERTY_HIUSER): Likewise.
36811 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36812 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36813 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36814 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36815 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36816 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36817 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36818 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36819 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36820 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36821 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36822 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36823 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36824 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36825 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36826 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36827 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36828 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36829 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36830 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36831 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36832 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36833 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36834
6913ad65
GG
368352017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36836
36837 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36838 in C++ mode.
36839
47a67213
GG
368402017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36841
36842 [BZ #21930]
36843 * math/math.h (isinf): Check if in C or C++ mode before using
36844 __builtin_types_compatible_p, since this is a C mode feature.
36845
a748eb31
AZ
368462017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36847
c647fb88
AZ
36848 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36849 (__write_nocancel): New macro.
36850 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36851 Rewrite as a function prototype.
36852 (write_not_cancel): Remove macro.
36853 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36854 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36855 (write_gmon): Likewise.
36856 * libio/fileops.c (_IO_new_file_write): Likewise.
36857 * login/utmp_file.c (pututline_file): Likewise.
36858 (updwtmp_file): Likewise.
36859 * stdio-common/psiginfo.c (psiginfo): Likewise.
36860 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36861 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36862 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36863 Likewise.
36864 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36865 Likewise.
36866
a748eb31
AZ
36867 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36868 (__read_nocancel): New macro.
36869 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36870 __read_nocancel.
36871 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36872 macro.
36873 (__read_nocancel): New prototype.
36874 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36875 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36876 with __read_nocancel.
36877 * intl/loadmsgcat.c (read): Likewise.
36878 * libio/fileops.c (_IO_file_read): Likewise.
36879 * locale/loadlocale.c (_nl_load_locale): Likewise.
36880 * login/utmp_file.c (getutent_r_file): Likewise.
36881 (internal_getut_r): Likewise.
36882 (getutline_r_file): Likewise.
36883 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36884 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36885 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36887 Likewise.
36888 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36889 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36890 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36891 Likewise.
36892 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36893 Likewise.
36894 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36895 Likewise.
36896 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36897 Likewise.
36898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36899
098b9dd4
L
369002017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36901
36902 [BZ #21966]
36903 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36904 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36905 usable.
36906
a3fe6a20
DD
369072017-08-17 DJ Delorie <dj@redhat.com>
36908
36909 * bug17079.c: Update to new test harness.
36910 * test-digits-dots.c: Likewise.
36911 * test-netdb.c: Likewise.
36912 * tst-field.c: Likewise.
36913 * tst-nss-getpwent.c: Likewise.
36914 * tst-nss-static.c: Likewise.
36915 * tst-nss-test1.c: Likewise.
36916 * tst-nss-test2.c: Likewise.
36917 * tst-nss-test3.c: Likewise.
36918 * tst-nss-test4.c: Likewise.
36919 * tst-nss-test5.c: Likewise.
36920
c2284574
AZ
369212017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36922
36923 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36924 (open_not_cancel_2): Likewise.
36925 (open_nocancel): New macro.
36926 (open64_nocancel): Likewise.
36927 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36928 (open_not_cancel_2): Likewise.
36929 (__open_nocancel): New prototype.
36930 (__open64_nocancel): Likewise.
36931 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36932 __open_nocancel.
36933 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36934 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36935 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36936 with __open_nocancel.
36937 * csu/check_fds.c (check_one_fd): Likewise.
36938 * gmon/gmon.c (write_gmon): Likewise.
36939 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36940 * intl/loadmsgcat.c (open): Likewise.
36941 * libio/fileops.c (_IO_file_open): Likewise.
36942 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36943 * locale/loadlocale.c (_nl_load_locale): Likewise.
36944 * login/utmp_file.c (setutent_file): Likewise.
36945 * misc/daemon.c (daemon): Likewise.
36946 * nss/nss_db/db-open.c (internal_setent): Likewise.
36947 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36948 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36949 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36950 (__opendir): Likewise.
36951 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36952 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36953 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36954 (gethostid): Likewise.
36955 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36956 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36957 Likewise.
36958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36959 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36960 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36961 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36962 Likewise.
36963 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36964 Likewise.
36965 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36966 Likewise.
36967 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36968 Likewise.
36969 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36970 Likewise.
36971 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36972 Likewise.
36973 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36975
d4505b89
WD
369762017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36977
36978 * benchtests/bench-skeleton.c (main): Add support for
36979 latency benchmarking.
36980 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36981
34d6a3cb
L
369822017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36983
36984 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36985 the startup object.
36986
038d1caf
FW
369872017-08-17 Florian Weimer <fweimer@redhat.com>
36988
36989 * include/sys/socket.h (__opensock): Remove internal_function.
36990 * socket/opensock.c (__opensock): Likewise.
36991 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36992
67f0aff0
JM
369932017-08-16 Joseph Myers <joseph@codesourcery.com>
36994
36995 [BZ #21944]
36996 * signal/bits/types/__sigval_t.h: New file.
36997 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36998 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36999 and define sigval_t using __sigval_t.
37000 * include/bits/types/__sigval_t.h: New file.
37001 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37002 instead of <bits/types/__sigval_t.h>.
37003 (struct sigevent): Use __sigval_t instead of sigval_t.
37004 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37005 instead of <bits/types/__sigval_t.h>.
37006 (siginfo_t): Use __sigval_t instead of sigval_t.
37007 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37008 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37009 (struct sigevent): Use __sigval_t instead of sigval_t.
37010 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37011 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37012 (siginfo_t): Use __sigval_t instead of sigval_t.
37013 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37014
87e7bf4d
L
370152017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37016
37017 * NEWS: Remove "[Add new features here]" for 2.27.
37018
5047057f
JM
370192017-08-16 Joseph Myers <joseph@codesourcery.com>
37020
37021 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37022 libc.so.
37023
20c7b195
L
370242017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37025
37026 * NEWS: Mention x86-64 FMA optimization.
37027
24a2e658
L
370282017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37029
37030 [BZ #21912]
37031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37032 Add e_expf-fma.
37033 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37034 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37035 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37036
eedca977
AS
370372017-08-16 Andreas Schwab <schwab@suse.de>
37038
403143e1
FW
37039 [BZ #16750]
37040 CVE-2009-5064
eedca977
AS
37041 * elf/ldd.bash.in: Never run file directly.
37042
f59f7adb
L
370432017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37044
37045 [BZ #21955]
37046 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37047 (L(SP_INF_0)): Likewise.
37048
6b11a6ad
FW
370492017-08-15 Florian Weimer <fweimer@redhat.com>
37050
37051 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37052 run-built-tests.
37053
bbf5c438
FW
370542017-08-15 Florian Weimer <fweimer@redhat.com>
37055
37056 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37057 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37058 BROKEN_THREAD_SIGNALS code.
37059 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37060 request_list): Remove caller_pid member used for
37061 BROKEN_THREAD_SIGNALS.
37062 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37063 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37064 Remove BROKEN_THREAD_SIGNALS support.
37065 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37066 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37067
6014c65d
FW
370682017-08-15 Florian Weimer <fweimer@redhat.com>
37069
37070 * gmon/Makefile (tests): Add tst-gmon.
37071 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37072 Set.
37073 (tests-special): Add tst-gmon-prof.out.
37074 (tst-gmon.out): Depend on clean-tst-gmon-data.
37075 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37076 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37077 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37078 startup object.
37079 * aclocal.m4 (GPROF): Set and substitute.
37080 * config.amke.in (GPROF): Set.
37081 * configure: Regenerate.
37082
ee72219a
GR
370832017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37084
37085 * elf/elf.h A (NT_PPC_TAR): New macro.
37086 (NT_PPC_PPR): Likewise.
37087 (NT_PPC_DSCR): Likewise.
37088 (NT_PPC_EBB): Likewise.
37089 (NT_PPC_PMU): Likewise.
37090 (NT_PPC_TM_CGPR): Likewise.
37091 (NT_PPC_TM_CFPR): Likewise.
37092 (NT_PPC_TM_CVMX): Likewise.
37093 (NT_PPC_TM_CVSX): Likewise.
37094 (NT_PPC_TM_SPR): Likewise.
37095 (NT_PPC_TM_CTAR): Likewise.
37096 (NT_PPC_TM_CPPR): Likewise.
37097 (NT_PPC_TM_CDSCR): Likewise.
37098
4ebf934e
FW
370992017-08-15 Florian Weimer <fweimer@redhat.com>
37100
37101 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37102 regparm (2) instead of internal_function.
37103 (_MCOUNT_DECL): Adjust.
37104
e9f57484
SL
371052017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37106
37107 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37108 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37109
88ff4d55
JM
371102017-08-14 Joseph Myers <joseph@codesourcery.com>
37111
37112 * conform/data/sys/wait.h-data (si_value): Do not expect for
37113 XPG42.
37114
c88ffc23
FW
371152017-08-14 Florian Weimer <fweimer@redhat.com>
37116
37117 [BZ #21962]
37118 NSS: Create stubs for accidentally exported lookup functions.
37119 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37120 Remove declaration.
37121 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37122 (ether_hostton): Call __nss_ethers_lookup2 instead.
37123 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37124 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37125 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37126 (setup): Call __nss_netgroup_lookup2 instead.
37127 * nss/Makefile (routines): Add compat-lookup.
37128 * nss/Versions (GLIBC_2.27): Add symbol version.
37129 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37130 (DB_COMPAT_FCT): Remove.
37131 * nss/compat-lookup.c: New file.
37132 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37133 from databases.def.
37134 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37135 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37136 (netname2user): Call __nss_publickey_lookup2 instead.
37137 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37138 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37139 instead.
37140
35a29136 371412017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
37142 Sergei Trofimovich <slyfox@inbox.ru>
37143
37144 [BZ #21908]
37145 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37146 Rename to MMAP2_PAGE_UNIT.
37147 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37148 __OFF_T_MATCHES_OFF64_T is not defined.
37149 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37150 uint64_t.
37151 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37152 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37153
fbdc1e3e
FW
371542017-08-14 Florian Weimer <fweimer@redhat.com>
37155
37156 i386: Do not set internal_function.
37157 * config.h.in (USE_REGPARMS, internal_function): Remove.
37158 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37159 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37160
b3f85fd2
FW
371612017-08-14 Florian Weimer <fweimer@redhat.com>
37162
37163 * elf/dl-init.c (_dl_init): Remove internal_function.
37164 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37165 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37166
630bf491
FW
371672017-08-14 Florian Weimer <fweimer@redhat.com>
37168
37169 * elf/rtld.c (_dl_start): Remove internal_function.
37170 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37171 _dl_start.
37172
9fa7449b
FW
371732017-08-14 Florian Weimer <fweimer@redhat.com>
37174
37175 * elf/dl-fini.c (_dl_fini): Remove internal_function
37176 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37177
73322d5f
L
371782017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37179
d863cd71 37180 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
37181 (bit_cpu_SHSTK): Likewise.
37182 (index_cpu_IBT): Likewise.
37183 (index_cpu_SHSTK): Likewise.
37184 (reg_IBT): Likewise.
37185 (reg_SHSTK): Likewise.
37186 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37187 Handle index_cpu_IBT and index_cpu_SHSTK.
37188
dbc303ef
MF
371892017-08-14 Mike FABIAN <mfabian@redhat.com>
37190
37191 [BZ #19982]
37192 * po/fr.po: Fix spelling mistake.
37193
3012cfb0
FW
371942017-08-13 Florian Weimer <fweimer@redhat.com>
37195
37196 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37197 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37198 (_dl_catch_error, _dl_receive_error): Likewise.
37199 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37200 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37201 (_dl_deallocate_tls): Likewise.
37202 * include/dlfcn.h (_dl_addr): Likewise.
37203 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37204 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37205 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37206 Likewise.
37207
52bcdf26
FW
372082017-08-13 Florian Weimer <fweimer@redhat.com>
37209
37210 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37211 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37212 internal_function.
37213 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37214
e1d2ae8d
FW
372152017-08-13 Florian Weimer <fweimer@redhat.com>
37216
37217 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37218 internal_function.
37219 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37220 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37221 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37222 internal_function from _dl_make_stack_executable_hook member.
37223 (_dl_make_stack_executable): Remove internal_function.
37224 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37225 Likewise.
37226 * sysdeps/unix/sysv/linux/dl-execstack.c
37227 (_dl_make_stack_executable): Likewise.
37228
c4ce0382
FW
372292017-08-13 Florian Weimer <fweimer@redhat.com>
37230
37231 * sysdeps/unix/sysv/linux/netlinkaccess.h
37232 (__netlink_assert_response): Remove internal_function.
37233 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37234 (__netlink_assert_response): Likewise.
37235
c4d767f7
FW
372362017-08-13 Florian Weimer <fweimer@redhat.com>
37237
37238 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37239 internal_function.
37240 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37241
b2297409
FW
372422017-08-13 Florian Weimer <fweimer@redhat.com>
37243
37244 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37245 internal_function.
37246 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37247 * inet/netgroup.h (__internal_setnetgrent)
37248 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37249 * inet/getnetgrent_r.c (__internal_setnetgrent)
37250 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37251 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37252 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37253 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37254 * nss/nsswitch.h (db_lookup_function): Likewise.
37255
1b0bfc69
FW
372562017-08-13 Florian Weimer <fweimer@redhat.com>
37257
37258 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37259 Remove internal_function.
37260 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37261 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37262 message argument on the stack.
37263 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37264 Likeweise.
37265
a6bd8722
MF
372662017-08-12 Mike FABIAN <mfabian@redhat.com>
37267
37268 Adapt test case data to the changes in the thousands
37269 separators.
37270
37271 [BZ #20756]
37272 * localedata/tst-langinfo.sh: Adapt test case data.
37273 * stdlib/tst-strfmon_l.c: Likewise.
37274 * stdlib/tst-strtod4.c: Likewise.
37275 * stdlib/tst-strtod5i.c: Likewise.
37276
8b2c63e4
FW
372772017-08-11 Florian Weimer <fweimer@redhat.com>
37278
37279 [BZ #21242]
37280 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37281 Suppress pedantic warning resulting from statement expression.
37282 (__ASSERT_FUNCTION): Add missing __extension__.
37283
61c98291
SP
372842017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37285
86c6519e
SP
37286 * benchtests/bench-memmove-large.c: Print output in JSON
37287 format.
37288 * benchtests/bench-memmove.c: Likewise.
37289
61c98291
SP
37290 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37291 * benchtests/bench-memchr.c (do_one_test): Likewise.
37292 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37293 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37294 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37295 * benchtests/bench-memmove.c (do_one_test): Likewise.
37296 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37297 * benchtests/bench-memset.c (do_one_test): Likewise.
37298 * benchtests/bench-string.h (test_init): Remove memsets.
37299
925733a9
RJ
373002017-08-10 Rical Jasan <ricaljasan@pacific.net>
37301
37302 * manual/lang.texi
37303 (Computing the Width of an Integer Data Type): Rename section to
37304 "Width of an Integer Type". Remove inaccurate statement regarding
37305 lack of C language facilities for determining width of integer
37306 types, and reorder content to improve flow and context of
37307 discussion.
37308
4fcdfbfc
RJ
373092017-08-10 Rical Jasan <ricaljasan@pacific.net>
37310
37311 * lang.texi (va_copy): Change standard from ISO to C99.
37312 (__va_copy): Add standard and header annotation.
37313 Update description for clarity of origins and current use.
37314
4d98ace9
GG
373152017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37316
37317 [BZ #21941]
37318 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37319 xssqrtqp requires operands to be in Vector Registers
37320 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37321 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37322 (__ieee754_sqrtf128): Likewise.
37323
92236903
WD
373242017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37325
37326 * sysdeps/aarch64/memcmp.S (memcmp):
37327 Rewrite of optimized memcmp.
37328
2449ae7b
FW
373292017-08-10 Florian Weimer <fweimer@redhat.com>
37330
37331 Introduce ld.so exceptions.
37332 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37333 (_dl_exception_create, _dl_exception_create_format)
37334 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37335 (_dl_catch_exception): Declare.
37336 (_dl_catch_error): Update comment.
37337 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37338 errstring, malloced members with exception member.
37339 (_dl_out_of_memory): Remove.
37340 (fatal_error): New function, extracted from _dl_signal_error.
37341 (_dl_signal_exception, _dl_signal_cexception): New functions.
37342 (_dl_signal_error): Call _dl_exception_create to allocate an
37343 exception object.
37344 (_dl_catch_exception): New function, based on _dl_catch_error.
37345 (_dl_catch_error): Implement using _dl_catch_exception.
37346 * elf/dl-exception.c: New file.
37347 * elf/Makefile (dl-routines): Add dl-exception.
37348 (elide-routines.os): Likewise.
37349 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37350 _dl_exception_create_format, _dl_exception_free.
37351 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37352 _dl_signal_exception.
37353 * elf/dl-lookup.c (make_string): Remove.
37354 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37355 _dl_signal_cexception, _dl_exception_free.
37356 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37357 _dl_signal_exception.
37358 * elf/dl-sym.c (do_sym): Likewise.
37359 * elf/dl-version.c (make_string): Remove.
37360 (match_symbol): Use _dl_exception_create_format,
37361 _dl_signal_cexception, _dl_exception_free.
37362 (_dl_check_map_versions): Likewise.
37363 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37364 _dl_catch_exception.
37365 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37366 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37367 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37368 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37369 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37370 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37371 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37372 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37373 Likewise.
37374 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37376 (ld.so): Likewise.
37377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37378 (ld.so): Likewise.
37379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37380 Likewise.
37381 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37382 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37383 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37384 Likewise.
37385 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37386 Likewise.
37387 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37388
f87cc2bf
FW
373892017-08-10 Florian Weimer <fweimer@redhat.com>
37390
37391 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37392 attribute_hidden, internal_function.
37393 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37394 internal_function.
37395
eac43cbb
FW
373962017-08-10 Florian Weimer <fweimer@redhat.com>
37397
37398 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37399 function which calls __builtin_unreachable.
37400
bd80111e
MF
374012017-08-10 Mike FABIAN <mfabian@redhat.com>
37402
37403 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37404 Indian monetary formatting
37405 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37406 test cases.
37407
60e2846e
DL
374082017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37409
68dc02d1
DL
37410 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37411 Fix typo in comment.
37412
60e2846e
DL
37413 [BZ #21928]
37414 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37415 PTRACE_SEIZE_DEVEL): Remove.
37416 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37417 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37421
3d452dab
JM
374222017-08-09 Joseph Myers <joseph@codesourcery.com>
37423
24d9f53a
JM
37424 * posix/bits/types.h (__qaddr_t): Remove.
37425
3d452dab
JM
37426 [BZ #21457]
37427 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37428 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37429 __glibc_reserved1.
37430 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37431 (ucontext_t): Use __ctx with uc_flags.
37432 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37433 (__ctxt): Likewise.
37434 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37435 __glibc_reserved1.
37436 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37437 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37438 __glibc_reserved1.
37439 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37440 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37441 __glibc_reserved1.
37442 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37443 macro.
37444 (ucontext_t): Use __ctx with uc_flags.
37445 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37446 (ucontext_t): Use __ctx with uc_flags.
37447 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37448 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37449 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37450 (ucontext_t): Use __ctx with uc_flags.
37451 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37452 undefine further down.
37453 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37454 __glibc_reserved1.
37455 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37456 undefine further down.
37457 (ucontext_t): Use __ctx with uc_flags.
37458 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37459 undefine further down.
37460 (ucontext_t): Use __ctx with uc_flags.
37461 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37462 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37463 Rename uc_pad to __glibc_reserved1.
37464 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37465 undefine further down.
37466 (ucontext_t): Use __ctx with uc_flags.
37467 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37468 further down.
37469 (ucontext_t): Use __ctx with uc_flags.
37470 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37471 __ctx with uc_flags.
37472 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37473 (ucontext_t): Use __ctx with uc_flags.
37474 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37475 __ctx with uc_flags.
37476
30161498
FW
374772017-08-09 Florian Weimer <fweimer@redhat.com>
37478
37479 [BZ #21932]
37480 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37481 before early return.
37482
5797b410
AS
374832017-08-09 Andreas Schwab <schwab@suse.de>
37484
139237a4 37485 [BZ #21041]
5797b410
AS
37486 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37487 renamed alias.
37488
139237a4 37489 [BZ #21041]
40c06a3d
AS
37490 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37491 tst-compat-forwarder.
37492 (modules-names): Add tst-compat-forwarder-mod.
37493 ($(objpfx)tst-compat-forwarder): Depend on
37494 $(objpfx)tst-compat-forwarder-mod.so.
37495 * nptl/tst-compat-forwarder.c: New file.
37496 * nptl/tst-compat-forwarder-mod.c: New file.
37497
36ada5f6
SP
374982017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37499
0e02b510
SP
37500 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37501 comments.
37502
36ada5f6
SP
37503 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37504 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37505 memcpy_falkor.
37506 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37507 Bump.
37508 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37509 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37510 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37511 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37512 Add falkor.
37513 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37514 New macro.
37515
9995c839
AZ
375162017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37517
37518 [BZ #759]
37519 * manual/setjmp.texi (getcontex): Document uc_stack value
37520 compatibility differences.
37521
f17a4233
JM
375222017-08-08 Joseph Myers <joseph@codesourcery.com>
37523
37524 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37525 (old_malloc_hook): Likewise.
37526 (old_memalign_hook): Likewise.
37527 (old_realloc_hook): Likewise.
37528 (struct hdr): Likewise.
37529 (flood): Likewise.
37530 (freehook): Likewise.
37531 (mallochook): Likewise.
37532 (memalignhook): Likewise.
37533 (reallochook): Likewise.
37534 (mprobe): Likewise.
37535 * malloc/mtrace.c (mallwatch): Likewise.
37536 (tr_old_free_hook): Likewise.
37537 (tr_old_malloc_hook): Likewise.
37538 (tr_old_realloc_hook): Likewise.
37539 (tr_old_memalign_hook): Likewise.
37540 (tr_where): Likewise.
37541 (lock_and_info): Likewise.
37542 (tr_freehook): Likewise.
37543 (tr_mallochook): Likewise.
37544 (tr_reallochook): Likewise.
37545 (tr_memalignhook): Likewise.
37546 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37547 * misc/mmap.c (__mmap): Likewise.
37548 * misc/mmap64.c (__mmap64): Likewise.
37549 * misc/mprotect.c (__mprotect): Likewise.
37550 * misc/msync.c (msync): Likewise.
37551 * misc/munmap.c (__munmap): Likewise.
37552 * posix/posix_madvise.c (posix_madvise): Likewise.
37553 * socket/send.c (__send): Likewise.
37554 * socket/sendto.c (__sendto): Likewise.
37555 * socket/setsockopt.c (__setsockopt): Likewise.
37556 * string/memcmp.c (__ptr_t): Remove macro.
37557 (MEMCMP): Use void * instead of ptr_t.
37558 * string/memrchr.c (__ptr_t): Remove macro.
37559 (__memrchr): Use void * instead of ptr_t.
37560 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37561 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37562 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37563 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37564 * sysdeps/mach/msync.c (msync): Likewise.
37565 * sysdeps/mach/munmap.c (__munmap): Likewise.
37566 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37567 Likewise.
37568 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37569 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37570 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37571 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37572 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37573 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37574 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37576 Likewise.
37577 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37578 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37579 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37580 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37581 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37582 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37583 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37584 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37586 Likewise.
37587 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37588 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37589 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37590 (MEMCMP): Use void * instead of ptr_t.
37591 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37592 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37593
0df595b2
FW
375942017-08-08 Florian Weimer <fweimer@redhat.com>
37595
37596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37597 return statement.
37598
086df229
L
375992017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37600
37601 [BZ #21913]
37602 * csu/libc-tls.c: Include <startup.h> first.
37603 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37604 * elf/dl-tunables.c: Include <startup.h> first.
37605 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37606 * sysdeps/generic/startup.h: New file.
37607 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37608 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37609 (I386_USE_SYSENTER): New. Defined to 0.
37610
fc5ad702
AS
376112017-08-08 Andreas Schwab <schwab@suse.de>
37612
37613 [BZ #21041]
37614 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37615 * nptl/pt-system.c (system): Likewise.
37616
852d6312
AZ
376172017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37618
37619 [BZ #21780]
37620 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37621 EOPNOTSUPP.
37622 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37623 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37624 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37625 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37626 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37627 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37628 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37629
8b164787
JM
376302017-08-07 Joseph Myers <joseph@codesourcery.com>
37631
cd65836b
JM
37632 [BZ #21899]
37633 * bits/sigaction.h (struct sigaction): Define sa_handler and
37634 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37635 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37636 [__USE_XOPEN_EXTENDED].
37637 (SA_RESTART): Likewise.
37638 (SA_NODEFER): Likewise.
37639 (SA_RESETHAND): Likewise.
37640 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37641 (struct sigaction): Define sa_handler and sa_sigaction using union
37642 also for [__USE_XOPEN_EXTENDED].
37643 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37644 [__USE_XOPEN_EXTENDED].
37645 (SA_RESTART): Likewise.
37646 (SA_NODEFER): Likewise.
37647 (SA_RESETHAND): Likewise.
37648 * sysdeps/unix/sysv/linux/bits/sigaction.h
37649 (struct sigaction): Define sa_handler and sa_sigaction using union
37650 also for [__USE_XOPEN_EXTENDED].
37651 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37652 [__USE_XOPEN_EXTENDED].
37653 (SA_RESTART): Likewise.
37654 (SA_NODEFER): Likewise.
37655 (SA_RESETHAND): Likewise.
37656 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37657 (struct sigaction): Define sa_handler and sa_sigaction using union
37658 also for [__USE_XOPEN_EXTENDED].
37659 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37660 [__USE_XOPEN_EXTENDED].
37661 (SA_RESTART): Likewise.
37662 (SA_NODEFER): Likewise.
37663 (SA_RESETHAND): Likewise.
37664 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37665 (struct sigaction): Define sa_handler and sa_sigaction using union
37666 also for [__USE_XOPEN_EXTENDED].
37667 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37668 [__USE_XOPEN_EXTENDED].
37669 (SA_RESTART): Likewise.
37670 (SA_NODEFER): Likewise.
37671 (SA_RESETHAND): Likewise.
37672 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37673 (struct sigaction): Define sa_handler and sa_sigaction using union
37674 also for [__USE_XOPEN_EXTENDED].
37675 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37676 [__USE_XOPEN_EXTENDED].
37677 (SA_RESTART): Likewise.
37678 (SA_NODEFER): Likewise.
37679 (SA_RESETHAND): Likewise.
37680 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37681 (struct sigaction): Define sa_handler and sa_sigaction using union
37682 also for [__USE_XOPEN_EXTENDED].
37683 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37684 [__USE_XOPEN_EXTENDED].
37685 (SA_RESTART): Likewise.
37686 (SA_NODEFER): Likewise.
37687 (SA_RESETHAND): Likewise.
37688 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37689 (struct sigaction): Define sa_handler and sa_sigaction using union
37690 also for [__USE_XOPEN_EXTENDED].
37691 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37692 [__USE_XOPEN_EXTENDED].
37693 (SA_RESTART): Likewise.
37694 (SA_NODEFER): Likewise. Define directly rather than as alias.
37695 (SA_RESETHAND): Likewise.
37696 (SA_INTERRUPT): Define only for [__USE_MISC].
37697 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37698 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37699 [__USE_MISC].
37700 (SA_STACK): Define only for [__USE_MISC].
37701 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37702 (struct sigaction): Define sa_handler and sa_sigaction using union
37703 also for [__USE_XOPEN_EXTENDED].
37704 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37705 [__USE_XOPEN_EXTENDED].
37706 (SA_RESTART): Likewise.
37707 (SA_NODEFER): Likewise.
37708 (SA_RESETHAND): Likewise.
37709 (SA_NOPTRACE): Define only for [__USE_MISC].
37710
d9fee042
JM
37711 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37712 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37713 (struct catalog_info): Likewise.
37714 * inet/htontest.c (lo): Likewise.
37715 (foo): Likewise.
37716 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37717 * inet/inet_net.c (inet_network): Likewise.
37718 * inet/inet_netof.c (inet_netof): Likewise.
37719 * inet/rcmd.c (__ivaliduser): Likewise.
37720 (iruserok): Likewise.
37721 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37722 * locale/programs/locale-spec.c (locale_special): Likewise.
37723 * nis/nis_findserv.c (struct findserv_req): Likewise.
37724 (__nis_findfastest_with_timeout): Likewise.
37725 * nss/test-netdb.c (test_network): Likewise.
37726 * resolv/inet_neta.c (inet_neta): Likewise.
37727 * resolv/ns_date.c (ns_datetosecs): Likewise.
37728 (SECS_PER_DAY): Likewise.
37729 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37730 Likewise.
37731 * resolv/res_comp.c (__putlong): Likewise.
37732 (__putshort): Likewise.
37733 (_getlong): Likewise.
37734 (_getshort): Likewise.
37735 * resolv/res_debug.c (p_time): Likewise.
37736 (precsize_ntoa): Likewise.
37737 (precsize_aton): Likewise.
37738 (latlon2ul): Likewise.
37739 (loc_aton): Likewise.
37740 (loc_ntoa): Likewise.
37741 * resolv/res_hconf.c (struct netaddr): Likewise.
37742 (_res_hconf_reorder_addrs): Likewise.
37743 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37744 (clnttcp_control): Likewise.
37745 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37746 (clntudp_control): Likewise.
37747 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37748 (clntunix_control): Likewise.
37749 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37750 * sunrpc/rpc/auth.h (union des_block): Likewise.
37751 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37752 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37753 (xdrrec_create): Likewise.
37754 (xdrrec_endofrecord): Likewise.
37755 (flush_out): Likewise.
37756 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37757 (xdrstdio_putlong): Likewise.
37758 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37759 Likewise.
37760
8b164787
JM
37761 * misc/sys/cdefs.h (__long_double_t): Remove.
37762 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37763 instead of __long_double_t,
37764 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37765
7ee38e60
SP
377662017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37767
dd3e86ad
SP
37768 * benchtests/scripts/compare_strings.py: Avoid display error when
37769 running on a text terminal.
37770
b115e819
SP
37771 * benchtests/scripts/compare_strings.py (main): Add an
37772 optional -base option.
37773 (process_results): New argument base_func.
37774
7ee38e60
SP
37775 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37776 hardcoding memcpy.
37777 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37778 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37779
d5afb385
AS
377802017-08-07 Andreas Schwab <schwab@suse.de>
37781
37782 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37784 * intl/Makefile ($(objpfx)tst-gettext.out)
37785 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37786 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37787 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37788 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37789 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37790 * posix/Makefile ($(objpfx)globtest.out)
37791 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37792 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37793 ($(objpfx)tst-printf.out): Likewise.
37794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37795 ($(objpfx)tst-setcontext3.out): Likewise.
37796
57a72fa3
L
377972017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37798
37799 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37800 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37801 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37802 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37803 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37804 and mptan-fma.
37805 (CFLAGS-doasin-fma.c): New.
37806 (CFLAGS-dosincos-fma.c): Likewise.
37807 (CFLAGS-e_asin-fma.c): Likewise.
37808 (CFLAGS-e_atan2-fma.c): Likewise.
37809 (CFLAGS-e_exp-fma.c): Likewise.
37810 (CFLAGS-e_log-fma.c): Likewise.
37811 (CFLAGS-e_pow-fma.c): Likewise.
37812 (CFLAGS-halfulp-fma.c): Likewise.
37813 (CFLAGS-mpa-fma.c): Likewise.
37814 (CFLAGS-mpatan-fma.c): Likewise.
37815 (CFLAGS-mpatan2-fma.c): Likewise.
37816 (CFLAGS-mpexp-fma.c): Likewise.
37817 (CFLAGS-mplog-fma.c): Likewise.
37818 (CFLAGS-mpsqrt-fma.c): Likewise.
37819 (CFLAGS-mptan-fma.c): Likewise.
37820 (CFLAGS-s_atan-fma.c): Likewise.
37821 (CFLAGS-sincos32-fma.c): Likewise.
37822 (CFLAGS-slowexp-fma.c): Likewise.
37823 (CFLAGS-slowpow-fma.c): Likewise.
37824 (CFLAGS-s_sin-fma.c): Likewise.
37825 (CFLAGS-s_tan-fma.c): Likewise.
37826 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37827 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37828 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37829 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37830 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37831 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37832 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37833 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37834 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37835 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37836 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37837 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37838 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37840 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37842 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37849 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37850 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37853 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37857
219dd320
JM
378582017-08-04 Joseph Myers <joseph@codesourcery.com>
37859
37860 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37861 (min_of_type_f): New macro.
37862 (min_of_type_): Likewise.
37863 (min_of_type_l): Likewise.
37864 (min_of_type_f128): Likewise.
37865 (min_of_type): Define using __MATH_TG and taking an expression
37866 argument.
37867 (math_check_force_underflow): Pass expression instead of type to
37868 min_of_type.
37869 (math_check_force_underflow_nonneg): Likewise.
37870
64d4dea6
L
378712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37872
37873 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37874 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37875 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37876
973da22a
L
378772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37878
37879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37880 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37881 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37882 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37883 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37884 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37885 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37886 memmove_chk-nonshared and memset_chk-nonshared
37887 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37888 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37889 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37890 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37891 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37892 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37893 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37894 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37895 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37896 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37897 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37898 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37900 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37902 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37903 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37904 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37905 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37906 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37908 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37910 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37911 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37912 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37914 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37915 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37917 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37919 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37920 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37921 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37923 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37925 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37926 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37927 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37929 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37931 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37933 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37935 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37937 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37939 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37940 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37941 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37942 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37943 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37944 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37945 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37946 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37947 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37948 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37949 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37950 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37951 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37952 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37953 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37954 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37955 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37956 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37957 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37971 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37972 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37974 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37975 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37977 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37978 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37979 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37980 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37981 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37982 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37983 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37984 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37985 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37986 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37987 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37988 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37989 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37990 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37991 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37992 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37993 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37994 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37995
8537e0f6
L
379962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37999 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38000 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38001 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38002 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38003 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38004 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38005 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38006 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38007 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38008 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38009 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38010 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38011 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38012 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38013 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38014 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38015 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38016 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38017 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38018 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38019 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38020 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38021 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38022 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38023 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38031 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38032 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38039 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38042 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38043 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38044 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38046 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38047 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38048 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38049 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38051 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38052 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38053 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38054 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38056 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38057 ...
38058 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38059 Don't include <sysdep.h> nor <init-arch.h>.
38060 (_ZGVbN2v_cos): Removed.
38061 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38062 ...
38063 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38064 Don't include <sysdep.h> nor <init-arch.h>.
38065 (_ZGVdN4v_cos): Removed.
38066 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38067 ...
38068 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38069 Don't include <sysdep.h> nor <init-arch.h>.
38070 (_ZGVeN8v_cos): Removed.
38071 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38072 ...
38073 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38074 Don't include <sysdep.h> nor <init-arch.h>.
38075 (_ZGVbN2v_exp): Removed.
38076 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38077 ...
38078 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38079 Don't include <sysdep.h> nor <init-arch.h>.
38080 (_ZGVdN4v_exp): Removed.
38081 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38082 ...
38083 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38084 Don't include <sysdep.h> nor <init-arch.h>.
38085 (_ZGVeN8v_exp): Removed.
38086 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38087 ...
38088 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38089 Don't include <sysdep.h> nor <init-arch.h>.
38090 (_ZGVbN2v_log): Removed.
38091 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38092 ...
38093 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38094 Don't include <sysdep.h> nor <init-arch.h>.
38095 (_ZGVdN4v_log): Removed.
38096 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38097 ...
38098 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38099 Don't include <sysdep.h> nor <init-arch.h>.
38100 (_ZGVeN8v_log): Removed.
38101 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38102 ...
38103 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38104 Don't include <sysdep.h> nor <init-arch.h>.
38105 (_ZGVbN2vv_pow): Removed.
38106 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38107 ...
38108 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38109 Don't include <sysdep.h> nor <init-arch.h>.
38110 (_ZGVdN4vv_pow): Removed.
38111 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38112 ...
38113 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38114 Don't include <sysdep.h> nor <init-arch.h>.
38115 (_ZGVeN8vv_pow): Removed.
38116 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38117 ...
38118 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38119 Don't include <sysdep.h> nor <init-arch.h>.
38120 (_ZGVbN2v_sin): Removed.
38121 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38122 ...
38123 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38124 Don't include <sysdep.h> nor <init-arch.h>.
38125 (_ZGVbN4v_sin): Removed.
38126 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38127 ...
38128 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38129 Don't include <sysdep.h> nor <init-arch.h>.
38130 (_ZGVbN8v_sin): Removed.
38131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38132 ...
38133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38134 Don't include <sysdep.h> nor <init-arch.h>.
38135 (_ZGVbN2vvv_sincos): Removed.
38136 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38137 ...
38138 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38139 Don't include <sysdep.h> nor <init-arch.h>.
38140 (_ZGVdN4vvv_sincos): Removed.
38141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38142 ...
38143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38144 Don't include <sysdep.h> nor <init-arch.h>.
38145 (_ZGVeN8vvv_sincos): Removed.
38146 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38147 ...
38148 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38149 Don't include <sysdep.h> nor <init-arch.h>.
38150 (_ZGVeN16v_cosf): Removed.
38151 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38152 ...
38153 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38154 Don't include <sysdep.h> nor <init-arch.h>.
38155 (_ZGVbN4v_cosf): Removed.
38156 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38157 ...
38158 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38159 Don't include <sysdep.h> nor <init-arch.h>.
38160 (_ZGVdN8v_cosf): Removed.
38161 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38162 ...
38163 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38164 Don't include <sysdep.h> nor <init-arch.h>.
38165 (_ZGVeN16v_expf): Removed.
38166 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38167 ...
38168 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38169 Don't include <sysdep.h> nor <init-arch.h>.
38170 (_ZGVbN4v_expf): Removed.
38171 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38172 ...
38173 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38174 Don't include <sysdep.h> nor <init-arch.h>.
38175 (_ZGVdN8v_expf): Removed.
38176 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38177 ...
38178 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38179 Don't include <sysdep.h> nor <init-arch.h>.
38180 (_ZGVeN16v_logf): Removed.
38181 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38182 ...
38183 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38184 Don't include <sysdep.h> nor <init-arch.h>.
38185 (_ZGVbN4v_logf): Removed.
38186 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38187 ...
38188 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38189 Don't include <sysdep.h> nor <init-arch.h>.
38190 (_ZGVdN8v_logf): Removed.
38191 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38192 ...
38193 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38194 Don't include <sysdep.h> nor <init-arch.h>.
38195 (_ZGVeN16vv_powf): Removed.
38196 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38197 ...
38198 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38199 Don't include <sysdep.h> nor <init-arch.h>.
38200 (_ZGVbN4vv_powf): Removed.
38201 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38202 ...
38203 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38204 Don't include <sysdep.h> nor <init-arch.h>.
38205 (_ZGVdN8vv_powf): Removed.
38206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38207 ...
38208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38209 Don't include <sysdep.h> nor <init-arch.h>.
38210 (_ZGVeN16vvv_sincosf): Removed.
38211 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38212 ...
38213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38214 Don't include <sysdep.h> nor <init-arch.h>.
38215 (_ZGVbN4vvv_sincosf): Removed.
38216 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38217 ...
38218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38219 Don't include <sysdep.h> nor <init-arch.h>.
38220 (_ZGVdN8vvv_sincosf): Removed.
38221 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38222 ...
38223 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38224 Don't include <sysdep.h> nor <init-arch.h>.
38225 (_ZGVeN16v_sinf): Removed.
38226 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38227 ...
38228 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38229 Don't include <sysdep.h> nor <init-arch.h>.
38230 (_ZGVbN4v_sinf): Removed.
38231 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38232 ...
38233 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38234 Don't include <sysdep.h> nor <init-arch.h>.
38235 (_ZGVdN8v_sinf): Removed.
38236
10a87ca4
L
382372017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38238
38239 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38240 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38241 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38242 s_rint-sse4_1 and s_rintf-sse4_1.
38243 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38244 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38246 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38247 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38248 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38250 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38251 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38252 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38253 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38254 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38255 (__ceil): Removed.
38256 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38257 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38258 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38259 (__ceilf): Removed.
38260 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38261 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38262 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38263 (__floor): Removed.
38264 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38265 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38266 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38267 (__floorf): Removed.
38268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38269 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38270 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38271 (__nearbyint): Removed.
38272 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38273 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38274 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38275 (__nearbyintf): Removed.
38276 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38277 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38278 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38279 (__rint): Removed.
38280 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38281 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38282 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38283 (__rintf): Removed.
38284
1e8e527d
L
382852017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38286
38287 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38288 SHARED. Avoid dynamic relocation against main in static PIE.
38289
e13daad7
L
382902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38291
38292 [BZ #21815]
38293 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38294 (LDFLAGS-tst-prelink): Likewise.
38295
627c69c8
L
382962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38297
38298 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38299 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38300 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38301 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38302 (INTERNAL_SYSCALL_NCS): Likewise.
38303 (LOADARGS_1): Likewise.
38304 (LOADARGS_5): Likewise.
38305 (RESTOREARGS_1): Likewise.
38306 (RESTOREARGS_5): Likewise.
38307
fc11ff8d
L
383082017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38309
38310 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38311 (MEMPCPY_SYMBOL): Likewise.
38312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38313 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38314 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38315 in libc.a.
38316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38317 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38318 Likewise.
38319 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38320 (__hidden_ver1): Don't use in libc.a.
38321 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38322 (__mempcpy): Don't create a weak alias in libc.a.
38323 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38324 libc.a.
38325 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38326 (__hidden_ver1): Don't use in libc.a.
38327
19f1a11e
L
383282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38329
38330 * config.make.in (have-insert): New.
38331 * configure.ac (libc_cv_insert): New. Set to yes if linker
38332 supports INSERT in linker script.
38333 (AC_SUBST(libc_cv_insert): New.
38334 * configure: Regenerated.
38335 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38336 if $(have-insert) == yes.
38337
3093fd5e
L
383382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38339
38340 * elf/Makefile (tests): Add vismain only if
38341 $(have-protected-data) == yes.
38342 (tests-pie): Likewise.
38343
d2cf37c0
L
383442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38345
38346 [BZ #21871]
38347 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38348 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38349
c8a0e6ec
L
383502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38351
38352 [BZ #21790]
38353 * sysdeps/i386/i586/memset.S
38354 (__memset_zero_constant_len_parameter): Removed.
38355 * sysdeps/i386/i686/memset.S
38356 (__memset_zero_constant_len_parameter): Likewise.
38357 * sysdeps/i386/i686/multiarch/memset_chk.S
38358 (__memset_zero_constant_len_parameter): Likewise.
38359 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38360 Likewise.
38361
2b34e271
AJ
383622017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38363
38364 * stdlib/getentropy.c (getentropy): Change return type to int.
38365
144bdab0
AJ
383662017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38367
38368 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38369
24ab7723
JM
383702017-08-03 Joseph Myers <joseph@codesourcery.com>
38371
38372 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38373 u_intN_t.
38374 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38375 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38376 Likewise.
38377 (ieee_float_shape_type): Likewise.
38378 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38379 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38380 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38381 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38382 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38383 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38384 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38385 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38386 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38387 Likewise.
38388 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38389 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38390 (__ieee754_yn): Likewise.
38391 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38392 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38393 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38394 Likewise.
38395 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38396 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38397 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38398 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38399 (__erfc): Likewise.
38400 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38401 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38402 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38403 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38404 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38405 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38406 Likewise.
38407 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38408 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38409 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38410 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38411 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38412 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38413 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38414 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38415 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38416 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38417 (__issignaling): Likewise.
38418 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38419 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38420 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38421 Likewise.
38422 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38423 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38425 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38426 Likewise.
38427 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38428 Likewise.
38429 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38430 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38431 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38432 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38433 (__erfcf): Likewise.
38434 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38435 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38436 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38437 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38438 Likewise.
38439 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38440 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38441 Likewise.
38442 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38443 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38444 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38445 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38446 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38447 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38448 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38449 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38450 Likewise.
38451 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38452 Likewise.
38453 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38454 Likewise.
38455 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38457 Likewise.
38458 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38459 Likewise.
38460 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38461 (__ieee754_ynl): Likewise.
38462 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38464 Likewise.
38465 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38466 Likewise.
38467 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38468 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38469 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38470 Likewise.
38471 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38472 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38473 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38474 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38475 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38476 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38477 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38478 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38479 Likewise.
38480 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38483 Likewise.
38484 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38485 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38486 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38487 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38488 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38490 Likewise.
38491 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38492 Likewise.
38493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38494 Likewise.
38495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38496 Likewise.
38497 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38498 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38499 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38500 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38501 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38502 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38504 Likewise.
38505 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38506 Likewise.
38507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38508 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38509 Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38511 (__ieee754_remainderl): Likewise.
38512 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38516 Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38519 Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38521 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38522 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38523 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38524 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38525 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38526 Likewise.
38527 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38528 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38529 (__ieee754_y0l): Likewise.
38530 (pzero): Likewise.
38531 (qzero): Likewise.
38532 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38533 (__ieee754_y1l): Likewise.
38534 (pone): Likewise.
38535 (qone): Likewise.
38536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38537 (__ieee754_ynl): Likewise.
38538 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38539 (__ieee754_lgammal_r): Likewise.
38540 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38541 Likewise.
38542 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38543 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38544 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38545 (__erfcl): Likewise.
38546 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38547 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38548 Likewise.
38549 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38550 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38551 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38552 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38553 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38556 Likewise.
38557 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38558 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38559 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38560 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38561 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38562 Likewise.
38563 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38564 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38565 Likewise.
38566 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38567 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38568 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38569 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38570 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38571
964263bb
FW
385722017-08-03 Florian Weimer <fweimer@redhat.com>
38573
38574 [BZ #21885]
38575 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38576 on memory allocation failure.
38577
e98c925f
AM
385782017-08-03 Alan Modra <amodra@gmail.com>
38579
38580 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38581 tst-tlsopt-powerpc.c with function name change and no test harness.
38582 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38583 Call tls_get_addr_opt_test.
38584 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38585 (modules-names): Add mod-tlsopt-powerpc.
38586 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38587 (tst-tlsopt-powerpc): Depend on .so.
38588 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38589 define. Expand use in TLS_GD and TLS_LD.
38590
8ee1abdb
ST
385912017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38592
38593 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38594 function.
3da5756e 38595 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 38596
42df8d59
JM
385972017-08-02 Joseph Myers <joseph@codesourcery.com>
38598
38599 [BZ #21686]
38600 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38601 comparing size with that of double.
38602 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38603 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38604 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38605 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38606 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38607 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38608 unsigned __int128 types.
38609
b7f95f49
SE
386102017-08-02 Steve Ellcey <sellcey@cavium.com>
38611
38612 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38613 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38614 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38615 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38616 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38617
5b736bc9
L
386182017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38619
38620 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38621
dfc93c41
L
386222017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38623
38624 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38625 of SHARED.
38626 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38629 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38630 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38632 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38633
2fee621d
JM
386342017-08-02 Joseph Myers <joseph@codesourcery.com>
38635
38636 [BZ #21685]
38637 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38638 bit-field expressions passed to sizeof or typeof.
38639 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38640 (__TGMATH_F128): Likewise.
38641 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38642 (__TGMATH_CF128): Likewise.
38643 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38644 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38645 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38646 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38647 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38648 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38649 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38650 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38651 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38652 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38653 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38654 (__TGMATH_UNARY_IMAG): Likewise.
38655 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38656 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38657 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38658 type.
38659 (define_vars_for_type): Handle bit_field type specially.
38660 (Tests.__init__): Declare structure with bit-field element.
38661
b358255f
L
386622017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38663
38664 [BZ #21791]
38665 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38666 (MEMCPY_CHK): Define only if SHARED is defined.
38667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38668 Likewise.
38669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38670 Likewise.
edf66db1
SP
38671
38672See ChangeLog.18 for earlier changes.