]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hurd: Make sure dl-sysdep.c defines proper symbol names
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5e6f3253
ST
12017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
4 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
6 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
7 to make sure that these symbols are defined.
8
2f49ce7d
JM
92017-09-22 Joseph Myers <joseph@codesourcery.com>
10
11 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
12 (asinhf): Define using libm_alias_float.
13 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
14 (atanf): Define using libm_alias_float.
15 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
16 (cbrtf): Define using libm_alias_float.
17 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
18 (ceilf): Define using libm_alias_float.
19 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
20 <libm-alias-float.h>.
21 (copysignf): Define using libm_alias_float.
22 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
23 (cosf): Define using libm_alias_float.
24 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25 (erff): Define using libm_alias_float.
26 (erfcf): Likewise.
27 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28 (expm1f): Define using libm_alias_float.
29 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30 (fabsf): Define using libm_alias_float.
31 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32 (floorf): Define using libm_alias_float.
33 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
34 (frexpf): Define using libm_alias_float.
35 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
36 libm_alias_float.
37 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
38 <libm-alias-float.h>.
39 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
40 libm_alias_float.
41 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
42 <libm-alias-float.h>.
43 (getpayloadf): Define using libm_alias_float.
44 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
45 <libm-alias-float.h>.
46 (llrintf): Define using libm_alias_float.
47 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
48 <libm-alias-float.h>.
49 (llroundf): Define using libm_alias_float.
50 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
51 (logbf): Define using libm_alias_float.
52 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
53 (lrintf): Define using libm_alias_float.
54 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
55 (lroundf): Define using libm_alias_float.
56 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
57 (modff): Define using libm_alias_float.
58 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
59 <libm-alias-float.h>.
60 (nearbyintf): Define using libm_alias_float.
61 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
62 <libm-alias-float.h>.
63 (nextafterf): Define using libm_alias_float.
64 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
65 <libm-alias-float.h>.
66 (nextupf): Define using libm_alias_float.
67 * sysdeps/ieee754/flt-32/s_remquof.c: Include
68 <libm-alias-float.h>.
69 (remquof): Define using libm_alias_float.
70 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
71 (rintf): Define using libm_alias_float.
72 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
73 <libm-alias-float.h>.
74 (roundevenf): Define using libm_alias_float.
75 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
76 (roundf): Define using libm_alias_float.
77 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
78 using libm_alias_float.
79 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
80 <libm-alias-float.h>.
81 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
82 Define using libm_alias_float.
83 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
84 <libm-alias-float.h>.
85 (sincosf): Define using libm_alias_float.
86 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
87 (sinf): Define using libm_alias_float.
88 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
89 (tanf): Define using libm_alias_float.
90 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
91 (tanhf): Define using libm_alias_float.
92 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
93 <libm-alias-float.h>.
94 (totalorderf): Define using libm_alias_float.
95 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
96 <libm-alias-float.h>.
97 (totalordermagf): Define using libm_alias_float.
98 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
99 (truncf): Define using libm_alias_float.
100 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
101 libm_alias_float.
102 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
103 libm_alias_float.
104
c5c4a626
GG
1052017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
106
107 [BZ #22146]
108 math/math.h: Let fpclassify use the builtin in C++ mode, even
109 when optimazing for size.
110
23947846
JM
1112017-09-22 Joseph Myers <joseph@codesourcery.com>
112
113 * csu/Makefile (generated): Do not add version-info.h.
114 (before-compile): Likewise.
115 (all-Banner-files): Remove variable.
116 ($(objpfx)version-info.h): Remove rule.
117 * csu/version.c (banner): Do not include "version-info.h".
118 * libidn/Banner: Remove.
119 * manual/contrib.texi (Simon Josefsson): New entry.
120
9ac3c682
GG
1212017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
122
123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
124 Remove conditionals on LDBL_MANT_DIG.
125 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
126 (__ieee754_lgammal_r): Likewise.
127
d2f0ed09
GG
1282017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
129
130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
131 _Float128 and L().
132 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
133 _Float128 and L(). Replace _Float128 with long double and L(x)
134 with xL, throughout the file.
135 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
136 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
137 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
138 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
139
c5c2e667
GG
1402017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
141
142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
143 sysdeps/ieee754/ldbl-128ibm.
144 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
145 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
146 of including it. Keep _Float128 and L() intact. These will be
147 reviewed by a separate patch.
148 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
149 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
150 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
151 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
152
e010deb2
GG
1532017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
154
155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
156 (__finitef128): Define to __redirect___finitef128.
157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
158 (__isinff128): Define to __redirect___isinff128.
159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
160 (__isnanf128): Define to __redirect___isnanf128.
161
ffa44804
GG
1622017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
163
164 * sysdeps/powerpc/powerpc64le/Makefile
165 (CFLAGS-tst-strtod-nan-locale.c): New variable.
166 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
167
e5e4d7cc
PP
1682017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
169 Carlos O'Donell <carlos@redhat.com>
170
171 [BZ #22180]
172 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
173 * stdlib/test-dlclose-exit-race.c: New file.
174 * stdlib/test-dlclose-exit-race-helper.c: New file.
175 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
176
c10c5267
JM
1772017-09-21 Joseph Myers <joseph@codesourcery.com>
178
179 * crypt/Banner: Remove file.
180 * nptl/Banner: Likewise.
181 * resolv/Banner: Likewise.
182 * soft-fp/Banner: Likewise.
183 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
184 ($(objpfx)version.d): Remove dependency on banner.h.
185 ($(objpfx)version.os): Likewise.
186 * nptl/version.c (banner): Do not include banner.h.
187 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
188 Jelinek and BIND code.
189
1cc9e59a
PP
1902017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
191 Carlos O'Donell <carlos@redhat.com>
192
193 * support/xdlfcn.h: New file.
194 * support/xdlfcn.c: New file.
195 * support/Makefile (libsupport-routines): Add xdlfcn.
196 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
197
ae8372d7
JM
1982017-09-20 Joseph Myers <joseph@codesourcery.com>
199
200 [BZ #20142]
201 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
202 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
203 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
204 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
205 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
206 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
207 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
208 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
209
26e70aec
PP
2102017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
211 Ricky Zhou <rickyz@google.com>
212 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
213
214 [BZ #14333]
215 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
216 Remove atomics.
217 (__new_exitfn): Fail registration when we finished at_exit processing.
218 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
219 * stdlib/on_exit.c (__on_exit): Likewise.
220 * stdlib/exit.c (__exit_funcs_done): New variable.
221 (__run_exit_handlers): Use __exit_funcs_lock.
222 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
223 declarations.
224 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
225 (test-cxa_atexit-race, test-on_exit-race): New tests.
226 * stdlib/test-atexit-race-common.c: New file.
227 * stdlib/test-atexit-race.c: New file.
228 * stdlib/test-at_quick_exit-race.c: New file.
229 * stdlib/test-cxa_atexit-race.c: New file.
230 * stdlib/test-on_exit-race.c: New file.
231
0525ce48
SN
2322017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
233
234 * benchtests/Makefile: Add exp2f and log2f benchmarks.
235 * benchtests/exp2f-inputs: Copy of expf-inputs.
236 * benchtests/log2f-inputs: Copy of logf-inputs.
237
d82468d1
JM
2382017-09-19 Joseph Myers <joseph@codesourcery.com>
239
240 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
241 Explicitly take address of first element of array arguments in
242 call to INLINE_SYSCALL.
243
43ffc53a
AS
2442017-09-19 Andreas Schwab <schwab@suse.de>
245
246 [BZ #22134]
247 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
248 execveat first.
249 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
250 unimplemented.
251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
252 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
253 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
254 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
255 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
256 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
258 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
259 * posix/Makefile (tests): Add tst-fexecve.
260 * posix/tst-fexecve.c: New file.
261
a5dcc87e
WD
2622017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
263
264 * benchtests/Makefile: Add logf benchmark.
265 * benchtests/logf-inputs: Add reduced trace from wrf_r.
266
7024d544
WD
2672017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
268
269 * benchtests/Makefile: Add expf benchmark.
270 * benchtests/expf-inputs: Add reduced trace from wrf_r.
271
ca3a382e
WD
2722017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
273
274 * csu/Makefile: Add -funwind-tables to libc-start.c.
275 * debug/Makefile: Add -funwind-tables to backtrace.c.
276 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
277 * sysdeps/arm/Makefile: Likewise.
278 * sysdeps/i386/Makefile: Likewise.
279 * sysdeps/m68k/Makefile: Likewise.
280 * sysdeps/mips/Makefile: Likewise.
281 * sysdeps/nios2/Makefile: Likewise.
282 * sysdeps/sh/Makefile: Likewise.
283 * sysdeps/sparc/Makefile: Likewise.
284
eb375def
JM
2852017-09-19 Joseph Myers <joseph@codesourcery.com>
286
287 * benchtests/Makefile (bench-math): Add trunc and truncf.
288 (CFLAGS-bench-trunc.c): New variable.
289 (CFLAGS-bench-truncf.c): Likewise.
290 * benchtests/trunc-inputs: New file.
291 * benchtests/truncf-inputs: Likewise.
292
bd17ba29
RS
2932017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
294
295 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
296
92892fdb
JM
2972017-09-18 Joseph Myers <joseph@codesourcery.com>
298
6d9b0b5a
JM
299 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
300 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
301 redefine.
302 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
303 (exp10l): Define as weak alias.
304 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
305 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
306 and redefine.
307 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
308 (remainderl): Define as weak alias.
309
92892fdb
JM
310 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
311 (fmal): Define using libm_alias_ldouble.
312 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
313 (acoshl): Define using libm_alias_ldouble.
314 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
315 (acosl): Define using libm_alias_ldouble.
316 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
317 (asinl): Define using libm_alias_ldouble.
318 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
319 (atan2l): Define using libm_alias_ldouble.
320 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
321 (atanhl): Define using libm_alias_ldouble.
322 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
323 (coshl): Define using libm_alias_ldouble.
324 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
325 (exp10l): Define using libm_alias_ldouble.
326 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
327 (exp2l): Define using libm_alias_ldouble.
328 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
329 (expl): Define using libm_alias_ldouble.
330 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
331 (fmodl): Define using libm_alias_ldouble.
332 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
333 (hypotl): Define using libm_alias_ldouble.
334 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
335 (j0l): Define using libm_alias_ldouble.
336 (y0l): Likewise.
337 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
338 (j1l): Define using libm_alias_ldouble.
339 (y1l): Likewise.
340 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
341 (jnl): Define using libm_alias_ldouble.
342 (ynl): Likewise.
343 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
344 (log10l): Define using libm_alias_ldouble.
345 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
346 (log2l): Define using libm_alias_ldouble.
347 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
348 (logl): Define using libm_alias_ldouble.
349 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
350 (powl): Define using libm_alias_ldouble.
351 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
352 (remainderl): Define using libm_alias_ldouble.
353 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
354 (sinhl): Define using libm_alias_ldouble.
355 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
356 (sqrtl): Define using libm_alias_ldouble.
357 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
358 (tgammal): Define using libm_alias_ldouble.
359 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
360 (exp10l): Do not use long_double_symbol here.
361 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
362 [LIBM_SVID_COMPAT] (remainderl): Likewise.
363 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
364 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
365 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
366 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
367 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
368 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
369 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
370 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
371 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
372 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
373 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
374 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
375 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
376 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
377 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
378 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
379 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
380 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
381 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
382 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
383
6cd380dd
WB
3842017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
385
386 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
387 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
388
1c6d89e9
ST
3892017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
390
391 * io/read.c (read): Add libc_hidden_weak.
392 * sysdeps/mach/hurd/read.c (read): Likewise.
393 * io/write.c (write): Likewise.
394 * sysdeps/mach/hurd/write.c (write): Likewise.
395 * io/pread64.c (__pread64): Likewise.
396 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
397 * posix/pread64.c (__pread64): Add libc_hidden_def.
398
06b1de23
SP
3992017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
400
140647ea
SP
401 * benchtests/scripts/compare_strings.py: New option -g.
402 (draw_graph): Print a message that a graph is being generated.
403 (process_results): Generate graph only if -g is passed.
404 (main): Process option -g.
405
5a6547b7
SP
406 * benchtests/scripts/compare_strings.py (process_results):
407 Better spacing for output.
408
06b1de23
SP
409 * benchtests/scripts/compare_strings.py: Use argparse.
410 * benchtests/README: Document existence of compare_strings.py.
411
c67a2328
JM
4122017-09-15 Joseph Myers <joseph@codesourcery.com>
413
9ac44708
JM
414 * math/s_fma.c: Include <libm-alias-double.h>.
415 (fma): Define using libm_alias_double.
416 * math/s_nextafter.c: Include <libm-alias-double.h>.
417 (nextafter): Define using libm_alias_double.
418 * math/w_acos_compat.c: Include <libm-alias-double.h>.
419 (acos): Define using libm_alias_double.
420 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
421 (aocsh): Define using libm_alias_double.
422 * math/w_asin_compat.c: Include <libm-alias-double.h>.
423 (asin): Define using libm_alias_double.
424 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
425 (atan2): Define using libm_alias_double.
426 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
427 (atanh): Define using libm_alias_double.
428 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
429 (cosh): Define using libm_alias_double.
430 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
431 (exp10): Define using libm_alias_double.
432 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
433 (exp2): Define using libm_alias_double.
434 * math/w_exp_compat.c: Include <libm-alias-double.h>.
435 (exp): Define using libm_alias_double.
436 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
437 (fmod): Define using libm_alias_double.
438 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
439 (hypot): Define using libm_alias_double.
440 * math/w_j0_compat.c: Include <libm-alias-double.h>.
441 (j0): Define using libm_alias_double.
442 (y0): Likewise.
443 * math/w_j1_compat.c: Include <libm-alias-double.h>.
444 (j1): Define using libm_alias_double.
445 (y1): Likewise.
446 * math/w_jn_compat.c: Include <libm-alias-double.h>.
447 (jn): Define using libm_alias_double.
448 (yn): Likewise.
449 * math/w_log10_compat.c: Include <libm-alias-double.h>.
450 (log10): Define using libm_alias_double.
451 * math/w_log2_compat.c: Include <libm-alias-double.h>.
452 (log2): Define using libm_alias_double.
453 * math/w_log_compat.c: Include <libm-alias-double.h>.
454 (log): Define using libm_alias_double.
455 * math/w_pow_compat.c: Include <libm-alias-double.h>.
456 (pow): Define using libm_alias_double.
457 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
458 (remainder): Define using libm_alias_double.
459 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
460 (sinh): Define using libm_alias_double.
461 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
462 (sqrt): Define using libm_alias_double.
463 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
464 (tgamma): Define using libm_alias_double.
465 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
466 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
467 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
468 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
469 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
470 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
471 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
472 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
473 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
474 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
475 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
476 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
477 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
478 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
479 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
480 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
481 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
482 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
483 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
484 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
485 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
486 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
487 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
488 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
489 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
490
c67a2328
JM
491 * math/e_acoshl.c: Remove.
492 * math/e_acosl.c: Likewise.
493 * math/e_asinl.c: Likewise.
494 * math/e_atan2l.c: Likewise.
495 * math/e_atanhl.c: Likewise.
496 * math/e_coshl.c: Likewise.
497 * math/e_expl.c: Likewise.
498 * math/e_fmodl.c: Likewise.
499 * math/e_gammal_r.c: Likewise.
500 * math/e_hypotl.c: Likewise.
501 * math/e_j0l.c: Likewise.
502 * math/e_j1l.c: Likewise.
503 * math/e_jnl.c: Likewise.
504 * math/e_lgammal_r.c: Likewise.
505 * math/e_log10l.c: Likewise.
506 * math/e_log2l.c: Likewise.
507 * math/e_logl.c: Likewise.
508 * math/e_powl.c: Likewise.
509 * math/e_rem_pio2l.c: Likewise.
510 * math/e_sinhl.c: Likewise.
511 * math/e_sqrtf128.c: Likewise.
512 * math/e_sqrtl.c: Likewise.
513 * math/k_cosl.c: Likewise.
514 * math/k_sinl.c: Likewise.
515 * math/k_tanl.c: Likewise.
516 * math/s_asinhl.c: Likewise.
517 * math/s_atanl.c: Likewise.
518 * math/s_cbrtl.c: Likewise.
519 * math/s_erfl.c: Likewise.
520 * math/s_expm1l.c: Likewise.
521 * math/s_log1pl.c: Likewise.
522 * math/s_tanhl.c: Likewise.
523
61c45f25
TMQMF
5242017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
525
526 [BZ #21745]
527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
528 [$(subdir) = math] (sysdep_calls): New variable. Has the
529 previous contents of sysdep_routines, but re-sorted..
530 [$(subdir) = math] (sysdep_routines): Re-use the contents from
531 sysdep_calls.
532 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
533 defined in sysdep_calls and replace by the respective m_* names.
534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
535 (compat_symbol): Undefine to avoid duplicated compat symbols in
536 libc.
537
5bcdb315
JM
5382017-09-15 Joseph Myers <joseph@codesourcery.com>
539
540 * math/s_fmaf.c: Include <libm-alias-float.h>.
541 (fmaf): Define using libm_alias_float.
542 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
543 (acosf): Define using libm_alias_float.
544 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
545 (acoshf): Define using libm_alias_float.
546 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
547 (asinf): Define using libm_alias_float.
548 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
549 (atan2f): Define using libm_alias_float.
550 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
551 (atanhf): Define using libm_alias_float.
552 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
553 (coshf): Define using libm_alias_float.
554 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
555 (exp10f): Define using libm_alias_float.
556 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
557 (fmodf): Define using libm_alias_float.
558 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
559 (hypotf): Define using libm_alias_float.
560 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
561 (j0f): Define using libm_alias_float.
562 (y0f): Likewise.
563 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
564 (j1f): Define using libm_alias_float.
565 (y1f): Likewise.
566 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
567 (jnf): Define using libm_alias_float.
568 (ynf): Likewise.
569 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
570 (log10f): Define using libm_alias_float.
571 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
572 (log2f): Define using libm_alias_float.
573 * math/w_logf_compat.c: Include <libm-alias-float.h>.
574 (logf): Define using libm_alias_float.
575 * math/w_powf_compat.c: Include <libm-alias-float.h>.
576 (powf): Define using libm_alias_float.
577 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
578 (remainderf): Define using libm_alias_float.
579 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
580 (sinhf): Define using libm_alias_float.
581 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
582 (sqrtf): Define using libm_alias_float.
583 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
584 (tgammaf): Define using libm_alias_float.
585
01f28812
JM
5862017-09-14 Joseph Myers <joseph@codesourcery.com>
587
588 * include/math.h (roundeven): Change hidden_proto call to
589 __roundeven.
590 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
591 alias.
592 [NO_LONG_DOUBLE] (__j0l): New strong alias.
593 (y0): Rename to __y0 and define as weak alias.
594 [NO_LONG_DOUBLE] (__y0l): New strong alias.
595 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
596 alias.
597 (y0f): Rename to __y0f and define as weak alias.
598 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
599 alias.
600 [NO_LONG_DOUBLE] (__j1l): New strong alias.
601 (y1): Rename to __y1 and define as weak alias.
602 [NO_LONG_DOUBLE] (__y1l): New strong alias.
603 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
604 alias.
605 (y1f): Rename to __y1f and define as weak alias.
606 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
607 alias.
608 [NO_LONG_DOUBLE] (__jnl): New strong alias.
609 (yn): Rename to __yn and define as weak alias.
610 [NO_LONG_DOUBLE] (__ynl): New strong alias.
611 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
612 alias.
613 (ynf): Rename to __ynf and define as weak alias.
614 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
615 (fromfp): Define as weak alias.
616 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
617 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
618 (fromfpx): Define as weak alias.
619 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
620 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
621 __getpayload and define as weak alias.
622 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
623 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
624 __roundeven and define as weak alias.
625 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
626 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
627 __setpayload.
628 (setpayload): Define as weak alias.
629 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
630 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
631 __setpayloadsig.
632 (setpayloadsig): Define as weak alias.
633 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
634 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
635 __totalorder and define as weak alias.
636 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
637 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
638 to __totalordermag and define as weak alias.
639 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
640 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
641 (ufromfp): Define as weak alias.
642 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
643 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
644 __ufromfpx.
645 (ufromfpx): Define as weak alias.
646 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
647 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
648 Rename to __getpayload and define as weak alias.
649 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
650 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
651 Rename to __roundeven and define as weak alias.
652 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
653 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
654 Rename to __totalorder and define as weak alias.
655 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
656 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
657 (totalordermag): Rename to __totalordermag and define as weak
658 alias.
659 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
660 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
661 macro.
662 (__roundevenl): Likewise.
663 (__totalorderl): Likewise.
664 (__totalordermagl): Likewise
665 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
666 __fromfpf128.
667 (fromfpf128): Define as weak alias.
668 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
669 __fromfpxf128.
670 (fromfpxf128): Define as weak alias.
671 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
672 __setpayloadf128.
673 (setpayloadf128): Define as weak alias.
674 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
675 __setpayloadsigf128.
676 (setpayloadsigf128): Define as weak alias.
677 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
678 __ufromfpf128.
679 (ufromfpf128): Define as weak alias.
680 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
681 __ufromfpxf128.
682 (ufromfpxf128): Define as weak alias.
683 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
684 (fromfpf): Define as weak alias.
685 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
686 __fromfpxf.
687 (fromfpxf): Define as weak alias.
688 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
689 __getpayloadf and define as weak alias.
690 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
691 __roundevenf and define as weak alias.
692 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
693 __setpayloadf.
694 (setpayloadf): Define as weak alias.
695 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
696 __setpayloadsigf.
697 (setpayloadsigf): Define as weak alias.
698 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
699 __totalorderf and define as weak alias.
700 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
701 Rename to __totalordermagf and define as weak alias.
702 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
703 __ufromfpf.
704 (ufromfpf): Define as weak alias.
705 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
706 __ufromfpxf.
707 (ufromfpxf): Define as weak alias.
708 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
709 __fromfpl.
710 (fromfpl): Define as weak alias.
711 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
712 __fromfpxl.
713 (fromfpxl): Define as weak alias.
714 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
715 to __getpayloadl and define as weak alias.
716 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
717 __roundevenl and define as weak alias.
718 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
719 __setpayloadl.
720 (setpayloadl): Define as weak alias.
721 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
722 __setpayloadsigl.
723 (setpayloadsigl): Define as weak alias.
724 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
725 to __totalorderl and define as weak alias.
726 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
727 Rename to __totalordermagl and define as weak alias.
728 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
729 __ufromfpl.
730 (ufromfpl): Define as weak alias.
731 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
732 __ufromfpxl.
733 (ufromfpxl): Define as weak alias.
734 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
735 __fromfpl.
736 (fromfpl): Define as weak alias.
737 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
738 __fromfpxl.
739 (fromfpxl): Define as weak alias.
740 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
741 Rename to __getpayloadl and define as weak alias.
742 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
743 to __roundevenl and define as weak alias. Call __roundeven
744 instead of roundeven.
745 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
746 __setpayloadl.
747 (setpayloadl): Define as weak alias.
748 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
749 __setpayloadsigl.
750 (setpayloadsigl): Define as weak alias.
751 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
752 Rename to __totalorderl and define as weak alias.
753 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
754 Rename to __totalordermagl and define as weak alias.
755 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
756 __ufromfpl.
757 (ufromfpl): Define as weak alias.
758 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
759 __ufromfpxl.
760 (ufromfpxl): Define as weak alias.
761 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
762 __fromfpl.
763 (fromfpl): Define as weak alias.
764 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
765 __fromfpxl.
766 (fromfpxl): Define as weak alias.
767 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
768 __getpayloadl and define as weak alias.
769 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
770 __roundevenl and define as weak alias.
771 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
772 __setpayloadl.
773 (setpayloadl): Define as weak alias.
774 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
775 __setpayloadsigl.
776 (setpayloadsigl): Define as weak alias.
777 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
778 __totalorderl and define as weak alias.
779 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
780 Rename to __totalordermagl and define as weak alias.
781 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
782 __ufromfpl.
783 (ufromfpl): Define as weak alias.
784 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
785 __ufromfpxl.
786 (ufromfpxl): Define as weak alias.
787
29c933fb
SP
7882017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
789
503c92c3
SP
790 * benchtests/bench-string.h (realloc_bufs): New function.
791 (test_init): Call it.
792 * benchtests/bench-memset-large.c (do_test): Likewise.
793 * benchtests/bench-memset.c (do_test): Likewise.
794
29c933fb
SP
795 * benchtests/bench-memset-large.c: Print output in JSON
796 format.
797 * benchtests/bench-memset.c: Likewise.
798
799c8d69
MF
7992017-09-14 Mike FABIAN <mfabian@redhat.com>
800
801 [BZ #21084]
802 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
803 * iconvdata/Makefile: Add IBM858.
804 * iconvdata/gconv-modules: Likewise.
805 * iconvdata/tst-tables.sh: Likewise.
806 * iconvdata/ibm858.c: New file.
807 * localedata/charmaps/IBM858: Likewise.
808
c207f7ce 8092017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
810
811 [BZ #22023]
812 * locales/niu_NZ (LC_TIME): copy "niu_NU".
813 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
814
f28a0926
AK
8152017-09-14 Mike FABIAN <mfabian@redhat.com>
816
817 [BZ #22112]
818 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
819 and add tel_int_fmt.
820
02093e62
JM
8212017-09-14 Joseph Myers <joseph@codesourcery.com>
822
823 * sysdeps/generic/libm-alias-float128.h: New file.
824 * sysdeps/generic/math-type-macros-float128.h: Include
825 <libm-alias-float128.h>.
826 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
827
1aae75ef
JM
8282017-09-13 Joseph Myers <joseph@codesourcery.com>
829
830 * sysdeps/generic/libm-alias-ldouble.h: New file.
831 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
832 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
833 * sysdeps/generic/math-type-macros-ldouble.h: Include
834 <libm-alias-ldouble.h>.
835 [!declare_mgen_alias] (declare_mgen_alias): Define to use
836 libm_alias_ldouble.
837
bcea7ad6
SN
8382017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
839
840 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
841 * math/w_exp_compat.c: ... here.
842 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
843 * math/w_expf_compat.c: ... here.
844 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
845 * math/w_expl_compat.c: ... here.
846 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
847 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
848 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
849 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
850
0fc56478
JM
8512017-09-13 Joseph Myers <joseph@codesourcery.com>
852
853 * math/w_scalbln_template.c (strong_alias): Do not undefine and
854 redefine.
855 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
856 macro.
857 (ldexpl): Only define as compat symbol for libc, not libm.
858 (scalbnl): Define as compat symbol for libc here.
859 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
860 define for [IS_IN (libc)].
861 (__ldexpl_2): Remove alias.
862 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
863 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
864 name in long_double_symbol call.
865 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
866 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
867 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
868 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
869 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
870 Remove macro.
871 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
872 Define as compat symbol.
873
3ca622e4
AZ
8742017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
875
876 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
877 * sysdeps/unix/sysv/linux/alpha/Makefile
878 [$(subdir) = csu] (sysdep_routines): Remove rule.
879
620ff9ee
JM
8802017-09-13 Joseph Myers <joseph@codesourcery.com>
881
882 * sysdeps/generic/libm-alias-double.h: New file.
883 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
884 * sysdeps/generic/math-type-macros-double.h: Include
885 <libm-alias-double.h>.
886 [declare_mgen_alias] (declare_mgen_alias): Define to use
887 libm_alias_double.
888 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
889 (M_LIBM_NEED_COMPAT): Remove macro.
890 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
891 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
892 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
893 code.
894 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
895 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
896 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
897 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
898 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
899 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
900 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
901 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
902 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
903 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
904 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
905 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
906 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
907 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
908 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
909 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
910 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
911 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
912 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
913 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
914 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
915 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
916 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
917 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
918 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
919 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
920 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
921 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
922 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
923 macro.
924 (declare_mgen_alias): New macro.
925 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
926 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
928 (M_LIBM_NEED_COMPAT): Remove macro.
929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
930 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
931 <first-versions.h>.
932 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
933 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
934
a891caff
JM
9352017-09-12 Joseph Myers <joseph@codesourcery.com>
936
937 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
938 (declare_mgen_alias_2): Remove.
939 * sysdeps/generic/math-type-macros-double.h
940 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
941 Likewise.
942 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
943 alias.
944 (ldexp): Define with declare_mgen_alias.
945 (scalbn): Likewise.
946
a1a78204
SE
9472017-09-12 Steve Ellcey <sellcey@cavium.com>
948
949 * grp/initgroups.c: Include config.h.
950 (DEFAULT_CONFIG): New macro.
951 (internal_getgrouplist): Use DEFAULT_CONFIG.
952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
953 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
954 (DEFAULT_DEFCONFIG): New macro.
955 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
956 * nss/grp-lookup.c: Include config.h
957 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
958 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
959 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
960 * manual/nss.texi: Update default values section.
961
ef8adeb0
L
9622017-09-12 H.J. Lu <hongjiu.lu@intel.com>
963
964 [BZ #21967]
965 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
966 New.
967 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
968 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
969 Handle MathVec_Prefer_No_AVX512.
970 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
971 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
972 is set.
973
a166531f
ST
9742017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
975
976 * posix/sched_primax.c (__sched_get_priority_max): Add
977 libc_hidden_def.
978 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
979 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
980 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
981 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
982 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
983 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
984 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
985 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
986 Add aliases.
987
4b7d1efb
JM
9882017-09-11 Joseph Myers <joseph@codesourcery.com>
989
990 * sysdeps/generic/libm-alias-float.h: New file.
991 * sysdeps/generic/math-type-macros-float.h: Include
992 <libm-alias-float.h>.
993 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
994
45ff3463
L
9952017-09-11 H.J. Lu <hongjiu.lu@intel.com>
996
997 [BZ #22093]
998 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
999 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
1000 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
1001 (HWCAP_IMPORTANT): Likewise.
1002 (HWCAP_X86_64): New enum.
1003 (HWCAP_X86_AVX512_1): Updated.
1004 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
1005 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
1006 (modules-names): Add x86_64/tst-x86_64mod-1.
1007 (LDFLAGS-tst-x86_64mod-1.so): New.
1008 ($(objpfx)tst-x86_64-1): Likewise.
1009 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
1010 (tst-x86_64-1-clean): Likewise.
1011 * sysdeps/x86_64/tst-x86_64-1.c: New file.
1012 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
1013
891abfd3
SP
10142017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1015
1016 * po/sv.po: Update translations.
1017 * po/fr.po: Likewise.
1018
00c3da43
ST
10192017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1020
1021 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
1022 seconds.
3bdfd9fb
ST
1023 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
1024 seconds.
65b22ebc 1025 * elf/rtld-Rules: Fix $(error) use.
00c3da43 1026
96480903
MF
10272017-09-09 Mike FABIAN <mfabian@redhat.com>
1028
1029 [BZ #14925]
1030 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
1031 * locale/iso-639.def: Change “Bengali” to “Bangla”.
1032 * localedata/locales/bn_BD: “Bengali” was still used in some
1033 comments. Change it to “Bangla”.
1034
4c03a696
MT
10352017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
1036
1037 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
1038
9c9ec581
SE
10392017-09-08 Steve Ellcey <sellcey@cavium.com>
1040
1041 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
1042 thunderx2t99p1 to list of cpu names.
1043 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1044 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
1045
f00bce74
SE
10462017-09-08 Steve Ellcey <sellcey@cavium.com>
1047
1048 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
1049 Use strcmp instead of tunable_is_name.
1050
27342d17
JM
10512017-09-08 Joseph Myers <joseph@codesourcery.com>
1052
af1b7c8c
JM
1053 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1054 (F_GET_RW_HINT): New macro.
1055 [__USE_GNU] (F_SET_RW_HINT): Likewise.
1056 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
1057 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
1058 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
1059 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
1060 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
1061 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
1062 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
1063 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
1064
27342d17
JM
1065 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1066 (F_ADD_SEALS): New macro.
1067 [__USE_GNU] (F_GET_SEALS): Likewise.
1068 [__USE_GNU] (F_SEAL_SEAL): Likewise.
1069 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
1070 [__USE_GNU] (F_SEAL_GROW): Likewise.
1071 [__USE_GNU] (F_SEAL_WRITE): Likewise.
1072
c66c9082
AZ
10732017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1074
07b4f49d
AZ
1075 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
1076 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
1077 * posix/glob_internal.h (__glob_pattern_type):
1078 * posix/glob.c (glob):
1079 * posix/glob_pattern_p.c (__glob_pattern_p):
1080 Use them.
1081
116f1c64
AZ
1082 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
1083 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1084 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
1085 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
1086 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
1089 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
1090 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1091 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1093 * sysdeps/wordsize-64/glob.c: Likewise.
1094 * sysdeps/wordsize-64/glob64.c: Likewise.
1095 * sysdeps/wordsize-64/globfree.c: Likewise.
1096 * sysdeps/wordsize-64/globfree64.c: Likewise.
1097 * sysdeps/unix/sysv/linux/glob.c: New file.
1098 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
1099 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
1100 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
1101 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
1102 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
1103 adds !GLOB_NO_OLD_VERSION as an extra condition.
1104 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
1105 using relative path instead of absolute one.
1106 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
1107 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1108 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1109 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
1110 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
1111 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
1112
ffca8901
AZ
1113 [BZ #1062]
1114 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
1115 (glob): Use the same scratch buffer for both getlogin_r and
1116 getpwnam_r. Don’t require preallocation of the login name. This
1117 simplifies storage allocation, and corrects the handling of
1118 long login names.
1119
5a79f975
AZ
1120 [BZ #1062]
1121 * posix/glob.c (glob): Port recent patches to platforms
1122 lacking getpwnam_r.
1123 (glob): Fix longstanding misuse of errno after getpwnam_r, which
1124 returns an error number rather than setting errno.
1125
e00f2425
AZ
1126 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
1127 instead of GCC extension.
1128 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
1129 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
1130 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
1131
5554304f
AZ
1132 [BZ #866]
1133 [BZ #1062]
1134 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
1135 * posix/bug-glob1.c: Remove file.
1136 * posix/tst-glob_symlinks.c: New file.
1137 * posix/glob.c (__lstat64): New macro.
1138 (is_dir): New function.
1139 (glob, glob_in_dir): Match symlinks even if they are dangling.
1140 (link_stat, link_exists_p): Remove. All uses removed.
1141
686f2ea1
AZ
1142 [BZ #1062]
1143 [BZ #19971]
1144 * posix/glob.c (struct readdir_result): Remove skip_entry member.
1145 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
1146 All uses removed.
1147
c66c9082
AZ
1148 [BZ #1062]
1149 * posix/Makefile (routines): Add globfree, globfree64, and
1150 glob_pattern_p.
1151 * posix/flexmember.h: New file.
1152 * posix/glob_internal.h: Likewise.
1153 * posix/glob_pattern_p.c: Likewise.
1154 * posix/globfree.c: Likewise.
1155 * posix/globfree64.c: Likewise.
1156 * sysdeps/gnu/globfree64.c: Likewise.
1157 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
1158 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1159 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
1160 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1161 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1162 * sysdeps/wordsize-64/globfree.c: Likewise.
1163 * sysdeps/wordsize-64/globfree64.c: Likewise.
1164 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
1165 [NDEBUG): Remove comments.
1166 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
1167 (dirent_type): New type. Use uint_fast8_t not
1168 uint8_t, as C99 does not require uint8_t.
1169 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
1170 (struct readdir_result): Use dirent_type. Do not define skip_entry
1171 unless it is needed; this saves a byte on platforms lacking d_ino.
1172 (readdir_result_type, readdir_result_skip_entry):
1173 New functions, replacing ...
1174 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
1175 these functions, which were removed. This makes the callers
1176 easier to read. All callers changed.
1177 (D_INO_TO_RESULT): Now empty if there is no d_ino.
1178 (size_add_wrapv, glob_use_alloca): New static functions.
1179 (glob, glob_in_dir): Check for size_t overflow in several places,
1180 and fix some size_t checks that were not quite right.
1181 Remove old code using SHELL since Bash no longer
1182 uses this.
1183 (glob, prefix_array): Separate MS code better.
1184 (glob_in_dir): Remove old Amiga and VMS code.
1185 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
1186 separate files.
1187 (glob_in_dir): Do not rely on undefined behavior in accessing
1188 struct members beyond their bounds. Use a flexible array member
1189 instead
1190 (link_stat): Rename from link_exists2_p and return -1/0 instead of
1191 0/1. Caller changed.
1192 (glob): Fix memory leaks.
1193 * posix/glob64 (globfree64): Move to separate file.
1194 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
1195 (globfree64): Remove hidden alias.
1196 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
1197 oldglob.
1198 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
1199 separate file.
1200 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
1201 define.
1202 Move compat code to separate file.
1203 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
1204 separate file.
1205
78bfa877
L
12062017-09-07 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 * resolv/tst-resolv-qtypes.c (domain): Changed to
1209 "const char domain[] =".
1210
05f0011f
JM
12112017-09-07 Joseph Myers <joseph@codesourcery.com>
1212
85bec0f2
JM
1213 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1214 version to 3.1.6.
1215
5c23ee6e
JM
1216 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
1217 (TCP_MD5SIG_EXT): Likewise.
1218 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
1219 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
1220 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
1221
05f0011f
JM
1222 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
1223
7c9c5be9
MF
12242017-09-07 Mike FABIAN <mfabian@redhat.com>
1225
1226 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
1227
c207f7ce 12282017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
1229
1230 [BZ #22100]
1231 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
1232
507fe027
ST
12332017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1234
1235 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
1236 before assuming that the file is empty. Avoid testing buffer content
1237 when nread == 0.
1238
65687ac7
AZ
12392017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1240
7bbbb4b9 1241 [BZ #18858]
65687ac7
AZ
1242 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1243 Remove define.
1244 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
1245 Likewise.
1246 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
1247 Likewise.
1248 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
1249 Likewise.
1250 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1251 Likewise.
1252 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
1253 Likewise.
1254 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
1255 Likewise.
1256
ab5ac271
FW
12572017-09-06 Florian Weimer <fweimer@redhat.com>
1258
1259 * malloc/dynarray_emplace_enlarge.c
1260 (__libc_dynarray_emplace_enlarge): Add missing else.
1261
a8304730
FW
12622017-09-06 Florian Weimer <fweimer@redhat.com>
1263
1264 [BZ #22096]
1265 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
1266 case of failure to obtain the global conf object.
1267
5670c4ab
FW
12682017-09-06 Florian Weimer <fweimer@redhat.com>
1269
1270 [BZ #22095]
1271 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
1272 dynarray allocation failure.
1273
c77eb969
FW
12742017-09-06 Florian Weimer <fweimer@redhat.com>
1275
1276 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
1277 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
1278 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
1279 New functions.
1280 (response): Call them. Add 'p', '6' flag processing.
1281 (test_reverse): New function.
1282 (test_get2_any): Call it.
1283 (test_no_inet6): Add 'p' test.
1284 (test_inet6): Likewise.
1285
5e9c4d17
FW
12862017-09-06 Florian Weimer <fweimer@redhat.com>
1287
1288 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
1289 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
1290 the QNAME.
1291 (test_gai): Adjust query names. Add additional tests.
1292 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
1293 test_get2. Adjust query names. Add additional tests.
1294 (test_no_inet6): New function, extracted from threadfunc.
1295 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
1296 Add additional tests.
1297
2ae5be04
MF
12982017-09-06 Mike FABIAN <mfabian@redhat.com>
1299
1300 [BZ #22070]
1301 * localedata/unicode-gen/utf8_gen.py: Set the width for
1302 characters with Prepended_Concatenation_Mark property to 1
1303 * localedata/charmaps/UTF-8: Updated using the improved script.
1304
af83ed5c
MF
13052017-09-06 Mike FABIAN <mfabian@redhat.com>
1306
1307 [BZ #21750]
1308 * localedata/unicode-gen/utf8_gen.py: Improve the script to
1309 use the range notation for all ranges of neighbouring characters
1310 with the same width.
1311
4f3647e4
JM
13122017-09-05 Joseph Myers <joseph@codesourcery.com>
1313
1314 * sysdeps/generic/math-type-macros-double.h: Include
1315 <math-svid-compat.h>.
1316 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1317 * sysdeps/generic/math-type-macros-float.h: Include
1318 <math-svid-compat.h>.
1319 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1320 * sysdeps/generic/math-type-macros-ldouble.h: Include
1321 <math-svid-compat.h>.
1322 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1323 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
1324 condition.
1325 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
1326 * math/w_acosf_compat.c: Likewise.
1327 * math/w_acosh_compat.c: Likewise.
1328 * math/w_acoshf_compat.c: Likewise.
1329 * math/w_acoshl_compat.c: Likewise.
1330 * math/w_acosl_compat.c: Likewise.
1331 * math/w_asin_compat.c: Likewise.
1332 * math/w_asinf_compat.c: Likewise.
1333 * math/w_asinl_compat.c: Likewise.
1334 * math/w_atan2_compat.c: Likewise.
1335 * math/w_atan2f_compat.c: Likewise.
1336 * math/w_atan2l_compat.c: Likewise.
1337 * math/w_atanh_compat.c: Likewise.
1338 * math/w_atanhf_compat.c: Likewise.
1339 * math/w_atanhl_compat.c: Likewise.
1340 * math/w_cosh_compat.c: Likewise.
1341 * math/w_coshf_compat.c: Likewise.
1342 * math/w_coshl_compat.c: Likewise.
1343 * math/w_exp10_compat.c: Likewise.
1344 * math/w_exp10f_compat.c: Likewise.
1345 * math/w_exp10l_compat.c: Likewise.
1346 * math/w_exp2_compat.c: Likewise.
1347 * math/w_exp2f_compat.c: Likewise.
1348 * math/w_exp2l_compat.c: Likewise.
1349 * math/w_fmod_compat.c: Likewise.
1350 * math/w_fmodf_compat.c: Likewise.
1351 * math/w_fmodl_compat.c: Likewise.
1352 * math/w_hypot_compat.c: Likewise.
1353 * math/w_hypotf_compat.c: Likewise.
1354 * math/w_hypotl_compat.c: Likewise.
1355 * math/w_j0_compat.c: Likewise.
1356 * math/w_j0f_compat.c: Likewise.
1357 * math/w_j0l_compat.c: Likewise.
1358 * math/w_j1_compat.c: Likewise.
1359 * math/w_j1f_compat.c: Likewise.
1360 * math/w_j1l_compat.c: Likewise.
1361 * math/w_jn_compat.c: Likewise.
1362 * math/w_jnf_compat.c: Likewise.
1363 * math/w_jnl_compat.c: Likewise.
1364 * math/w_lgamma_r_compat.c: Likewise.
1365 * math/w_lgammaf_r_compat.c: Likewise.
1366 * math/w_lgammal_r_compat.c: Likewise.
1367 * math/w_log10_compat.c: Likewise.
1368 * math/w_log10f_compat.c: Likewise.
1369 * math/w_log10l_compat.c: Likewise.
1370 * math/w_log2_compat.c: Likewise.
1371 * math/w_log2f_compat.c: Likewise.
1372 * math/w_log2l_compat.c: Likewise.
1373 * math/w_log_compat.c: Likewise.
1374 * math/w_logf_compat.c: Likewise.
1375 * math/w_logl_compat.c: Likewise.
1376 * math/w_pow_compat.c: Likewise.
1377 * math/w_powf_compat.c: Likewise.
1378 * math/w_powl_compat.c: Likewise.
1379 * math/w_remainder_compat.c: Likewise.
1380 * math/w_remainderf_compat.c: Likewise.
1381 * math/w_remainderl_compat.c: Likewise.
1382 * math/w_sinh_compat.c: Likewise.
1383 * math/w_sinhf_compat.c: Likewise.
1384 * math/w_sinhl_compat.c: Likewise.
1385 * math/w_sqrt_compat.c: Likewise.
1386 * math/w_sqrtf_compat.c: Likewise.
1387 * math/w_sqrtl_compat.c: Likewise.
1388 * math/w_tgamma_compat.c: Likewise.
1389 * math/w_tgammaf_compat.c: Likewise.
1390 * math/w_tgammal_compat.c: Likewise.
1391 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
1392 [LIBM_SVID_COMPAT].
1393 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
1394 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
1395 [LIBM_SVID_COMPAT].
1396 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
1397 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
1398 [LIBM_SVID_COMPAT].
1399 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
1400 * sysdeps/i386/fpu/w_sqrt.c: New file.
1401 * sysdeps/ia64/fpu/w_acos.c: Likewise.
1402 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1403 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1404 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1405 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1406 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1407 * sysdeps/ia64/fpu/w_asin.c: Likewise.
1408 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1409 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1410 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1411 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1412 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1413 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1414 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1415 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1416 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1417 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1418 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1419 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1420 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1421 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1422 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1423 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1424 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1425 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1426 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1427 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1428 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1429 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1430 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1431 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1432 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1433 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1434 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1435 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1436 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1437 * sysdeps/ia64/fpu/w_log.c: Likewise.
1438 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1439 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1440 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1441 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1442 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1443 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1444 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1445 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1446 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1447 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1448 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1449 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1450 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1451 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1452 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1453 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1454 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1455 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1456 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1457 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1458 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
1459 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
1460 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
1462 [LIBM_SVID_COMPAT].
1463 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1464 * sysdeps/ieee754/k_standard.c: Likewise.
1465 * sysdeps/ieee754/k_standardf.c: Likewise.
1466 * sysdeps/ieee754/k_standardl.c: Likewise.
1467 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1468 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1469 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1470 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
1471 long_double_symbol call on [LIBM_SVID_COMPAT].
1472 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1473 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1474 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1475 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1476 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1477 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1478 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1479 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1480 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1481 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1482 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1483 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1484 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1485 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1486 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1487 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1488 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1489 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1490 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1491 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1492 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
1493 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
1494
05b38d64
SE
14952017-09-05 Steve Ellcey <sellcey@cavium.com>
1496
1497 * include/shlib-compat.h (TEST_COMPAT): New Macro.
1498 * malloc/tst-mallocstate.c: Convert from test-skeleton
1499 to test-driver. Ifdef code using TEST_COMPAT macro.
1500 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
1501 * math/test-matherr.c: Likewise.
1502
99d67918
JM
15032017-09-05 Joseph Myers <joseph@codesourcery.com>
1504
1505 [BZ #22086]
1506 * debug/pcprofiledump.c (main): Use byte-swapped mask when
1507 comparing word with byte-swapped constant.
1508
c207f7ce 15092017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
1510
1511 [BZ #20498]
1512 * locale/iso-639.def: add Miskito.
1513 * localedata/SUPPORTED: Add miq_NI/UTF-8.
1514 * localedata/locales/miq_NI: New file.
1515
0a587a8a
L
15162017-09-04 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 [BZ #18822]
1519 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
1520 (__mkdir): Likewise.
1521 * io/chmod.c (__chmod): Add libc_hidden_def.
1522 * io/mkdir.c (__mkdir): Likewise.
1523 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1524 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1525 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1526 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1527
f3a129b8
JM
15282017-09-04 Joseph Myers <joseph@codesourcery.com>
1529
1650e192
JM
1530 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1531 version to 4.13.
1532
f3a129b8
JM
1533 [BZ #22082]
1534 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1535 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1536
b38042f5
FW
15372017-09-04 Florian Weimer <fweimer@redhat.com>
1538
1539 * math/math.h: Issue warning if log is defined.
1540
059b6404
JM
15412017-09-04 Joseph Myers <joseph@codesourcery.com>
1542
1543 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1544 kernel version to 4.13.
1545
b794e16b
ST
15462017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1547
1548 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
1549 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1550 parameter.
01969395
ST
1551 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1552 just <bits/types.h>.
dd2b31de 1553 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 1554 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 1555 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 1556 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
1557 * misc/preadv2.c: Include <errno.h>.
1558 * misc/preadv64v2.c: Include <errno.h>.
1559 * misc/pwritev2.c: Include <errno.h>.
1560 * misc/pwritev64v2.c: Include <errno.h>.
1561 * sysdeps/posix/preadv2.c: Include <errno.h>.
1562 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1563 Fix <unistd.h> inclusion.
1564 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1565 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
1566 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1567 __strtoul_internal): New functions.
127e7773
ST
1568 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1569 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
1570 * sysdeps/mach/hurd/i386/Makefile
1571 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1572 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1573 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
1574 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1575 __feraiseexcept_renamed to feraiseexcept instead of
1576 __GI_feraiseexcept.
56bf5497 1577 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 1578 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
1579 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1580 RWF_NOWAIT): Define to 0 if undefined already.
1581 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1582 boils down to 0.
6547ec0a
ST
1583 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1584 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 1585
5a80d39d
JM
15862017-09-01 Joseph Myers <joseph@codesourcery.com>
1587
1588 * manual/math.texi (pow10): Do not document.
1589 (pow10f): Likewise.
1590 (pow10l): Likewise.
1591 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1592 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1593 * math/libm-test-exp10.inc (pow10_test): Remove.
1594 (do_test): Do not call pow10.
1595 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1596 [NO_LONG_DOUBLE] (pow10l): Likewise.
1597 * math/w_exp10f_compat.c (pow10f): Likewise.
1598 * math/w_exp10l_compat.c (pow10l): Likewise.
1599 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1600 (pow10): Make into compat symbol.
1601 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1602 (pow10f): Make into compat symbol.
1603 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1604 (pow10l): Make into compat symbol.
1605 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1606 pow10.
1607 (CFLAGS-nldbl-pow10.c): Remove variable..
1608 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1609 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1610 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1611 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1612 Undefine and redefine.
1613 (pow10l): Make into compat symbol.
1614 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1615 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1616 * sysdeps/arm/libm-test-ulps: Likewise.
1617 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1618 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1619 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1620 * sysdeps/microblaze/libm-test-ulps: Likewise.
1621 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1622 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1623 * sysdeps/nios2/libm-test-ulps: Likewise.
1624 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1625 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1626 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1627 * sysdeps/sh/libm-test-ulps: Likewise.
1628 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1629 * sysdeps/tile/libm-test-ulps: Likewise.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1631
3824fc38
PP
16322017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1633
1634 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1635
b3008279
L
16362017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
1639 "../ChangeLog.old/ChangeLog.8".
1640 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
1641 "../ChangeLog.old/ChangeLog.14".
1642
136fa185
L
16432017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
1646 Threads Library.
1647
c18d50a2
JM
16482017-09-01 Joseph Myers <joseph@codesourcery.com>
1649
1650 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
1651
bedbd859
L
16522017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 * csu/version.c (banner): Remove "by Roland McGrath et al.".
1655 * nptl/Banner: Remove "by Ulrich Drepper et al.".
1656
50c66c7a
PP
16572017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1658
1659 * stdlib/tst-atexit-common.c (do_test): Test support for at least
1660 32 atexit handlers.
1661
a617bd11
ZW
16622017-09-01 Zack Weinberg <zackw@panix.com>
1663
1664 * math/math.h (HUGE_VAL): Improve commentary.
1665
e0d2eb5a
AZ
16662017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667 Andreas Schwab <schwab@suse.de>
1668
1669 [BZ #21530]
1670 * include/stdio.h (__gen_tempfd): New function.
1671 * stdio-common/Makefile (routines): Add gentempfd.
1672 * stdio-common/gentempfd.c: New file.
1673 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
1674 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
1675 unnamed file first.
1676
f4a6be25
FW
16772017-09-01 Florian Weimer <fweimer@redhat.com>
1678
1679 [BZ #21915]
1680 [BZ #21922]
1681 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
1682 result to determine success or failure, not the errno value.
1683 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
1684 (tst-nss-files-hosts-erange): Link with -ldl.
1685 * nss/tst-nss-files-hosts-erange.c: New file.
1686 * nss/tst-resolv-basic.c (response): Handle nodata.example.
1687 (do_test): Add NO_DATA tests.
1688 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
1689 (do_test): Call it.
1690
5f8340f5
FW
16912017-09-01 Florian Weimer <fweimer@redhat.com>
1692
1693 [BZ #21922]
1694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
1695 coming from gethostbyname2_r.
1696
65329bd2
FW
16972017-09-01 Florian Weimer <fweimer@redhat.com>
1698
1699 * support/namespace.h (struct support_chroot_configuration): Add
1700 hosts, host_conf.
1701 (struct support_chroot): Add path_hosts, path_host_conf.
1702 * support/support_chroot.c (write_file): New function.
1703 (support_chroot_create): Call it to process /etc/resolv.conf,
1704 /etc/hosts, /etc/host.conf.
1705 (support_chroot_free): Update.
1706
a2881ef0
FW
17072017-09-01 Florian Weimer <fweimer@redhat.com>
1708
1709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
1710 status indicates it is set.
1711
ad816a5e
FW
17122017-09-01 Florian Weimer <fweimer@redhat.com>
1713
1714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
1715 function lookup failures more reliable.
1716
53250a21
FW
17172017-09-01 Florian Weimer <fweimer@redhat.com>
1718
1719 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
1720 (getcanonname): Likewise.
1721 (gaih_inet): Likewise.
1722
924b121c
FW
17232017-09-01 Florian Weimer <fweimer@redhat.com>
1724
1725 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
1726 (getcanonname): Likewise.
1727 (gaih_inet): Likewise.
1728
d9ff799a
SE
17292017-08-31 Steve Ellcey <sellcey@cavium.com>
1730 Richard Henderson <rth@twiddle.net>
1731
1732 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
1733 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
1734 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
1735 (IREG_SIZE, OREG_SIZE): New macros.
1736 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
1737 (IREG_SIZE, OREG_SIZE): New macros.
1738 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
1739 (IREG_SIZE): New macro.
1740 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
1741 (IREG_SIZE): New macro.
1742 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
1743 New includes.
1744 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
1745 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1746 (__CONCATX): Handle exceptions correctly on large values that may
1747 set FE_INVALID.
1748 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
1749 Initialize if not already set.
1750 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
1751
102dde84
AZ
17522017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1753
1754 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
1755 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
1756 Likewise.
1757 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
1758 Likewise.
1759 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
1760 Likewise.
1761 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
1762 Likewise.
1763 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
1764 Likewise.
1765 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
1766 Likewise.
1767 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
1768 Likewise.
1769 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
1770 (NO_CANCELLATION): Likewise.
1771 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
1774 Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
1778 (NO_CANCELLATION): Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
1780 (NO_CANCELLATION): Likewise.
1781 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
1782 Likewise
1783 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
1788 Likewise.
1789 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
1790 hidden prototype.
1791 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
1792 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
1793
9eee633b
SE
17942017-08-31 Steve Ellcey <sellcey@cavium.com>
1795
1796 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
1797 in resolver call.
1798
65284eb7
FW
17992017-08-31 Florian Weimer <fweimer@redhat.com>
1800
1801 * include/libc-symbols.h (internal_function): Remove.
1802
41ad5ca6
FW
18032017-08-31 Florian Weimer <fweimer@redhat.com>
1804
1805 * stdlib/fmtmsg.c (internal_addseverity): Remove
1806 internal_function.
1807
2fa6d086
FW
18082017-08-31 Florian Weimer <fweimer@redhat.com>
1809
1810 * stdio-common/printf_fp.c (group_number): Remove
1811 internal_function.
1812 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1813
b41bd5bc
FW
18142017-08-31 Florian Weimer <fweimer@redhat.com>
1815
1816 * posix/fnmatch.c (internal_function): Remove definition.
1817 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
1818 * posix/regcomp.c (peek_token, init_word_char)
1819 (duplicate_node_closure, fetch_token, peek_token)
1820 (peek_token_bracket, build_range_exp, build_collating_symbol):
1821 Likewise.
1822 * posix/regex_internal.c (re_string_construct_common)
1823 (create_ci_newstate, create_cd_newstate, re_string_allocate)
1824 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
1825 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
1826 (re_string_translate_buffer, re_string_reconstruct)
1827 (re_string_peek_byte_case, re_string_fetch_byte_case)
1828 (re_string_destruct, re_string_context_at, re_node_set_alloc)
1829 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
1830 (re_node_set_add_intersect, re_node_set_init_union)
1831 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
1832 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
1833 (re_dfa_add_node, calc_state_hash, re_acquire_state)
1834 (re_acquire_state_context): Likewise.
1835 * posix/regex_internal.h (internal_function): Remove definition.
1836 (re_string_realloc_buffers, build_wcs_buffer)
1837 (build_wcs_upper_buffer, build_upper_buffer)
1838 (re_string_translate_buffer, re_string_context_at)
1839 (re_string_char_size_at, re_string_wchar_at)
1840 (re_string_elem_size_at): Likewise.
1841 * posix/regexec.c (match_ctx_init, match_ctx_clean)
1842 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
1843 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
1844 (re_search_internal, re_search_2_stub, re_search_stub)
1845 (re_copy_regs, prune_impossible_nodes, check_matching)
1846 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
1847 (free_fail_stack_return, sift_states_iter_mb)
1848 (sift_states_backward, build_sifted_states)
1849 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
1850 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
1851 (check_subexp_limits, sift_states_bkref, merge_state_array)
1852 (find_recover_state, transit_state, merge_state_with_log)
1853 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
1854 (transit_state_mb, transit_state_bkref, get_subexp)
1855 (get_subexp_sub, find_subexp_node, check_arrival)
1856 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
1857 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
1858 (check_node_accept_bytes, find_collation_sequence_value)
1859 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
1860 (acquire_init_state_context, check_halt_node_context)
1861 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
1862 (sub_epsilon_src_nodes): Likewise.
1863 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
1864 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
1865 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
1866 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
1867 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
1868 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
1869 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
1870 * sysdeps/posix/ttyname.c (getttyname): Likewise.
1871 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1872 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
1873 (PREADV): Likewise.
1874 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
1875 (PREADV): Likewise.
1876 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
1877 (PWRITEV): Likewise.
1878 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
1879 (PWRITEV): Likewise.
1880 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
1881 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
1882
83b09837
FW
18832017-08-31 Florian Weimer <fweimer@redhat.com>
1884
1885 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
1886 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
1887 Remove internal_function.
1888 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1889 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
1890 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
1891 (__deallocate_stack, __libc_pthread_init)
1892 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
1893 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
1894 (__libc_disable_asynccancel, __librt_disable_asynccancel):
1895 Likewise.
1896 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
1897 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
1898 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
1899 Likewise.
1900 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
1901 (__pthread_mutex_unlock_usercnt): Likewise.
1902
116ac301
FW
19032017-08-31 Florian Weimer <fweimer@redhat.com>
1904
1905 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
1906 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
1907 (fts_safe_changedir): Remove internal_function.
1908 * io/ftw.c (internal_function): Remove definition.
1909 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
1910
9da93bd7
FW
19112017-08-31 Florian Weimer <fweimer@redhat.com>
1912
1913 * inet/deadline.c (__deadline_current_time)
1914 (__deadline_from_timeval, __deadline_to_ms): Remove
1915 internal_function.
1916 * inet/getnameinfo.c (nrl_domainname): Likewise.
1917 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
1918 * inet/inet6_option.c (add_pad): Likewise.
1919 * inet/net-internal.h (__deadline_current_time)
1920 (__deadline_from_timeval, __deadline_to_ms): Likewise.
1921 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
1922 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
1923 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
1924
a60eca2e
JM
19252017-08-31 Joseph Myers <joseph@codesourcery.com>
1926
c0c49d60
JM
1927 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
1928 include <bits/nan.h>.
1929 * math/Makefile (headers): Remove bits/nan.h.
1930 * bits/nan.h: Remove.
1931 * sysdeps/ieee754/bits/nan.h: Likewise.
1932 * sysdeps/mips/bits/nan.h: Likewise.
1933
5ef1b213
JM
1934 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
1935 not include <bits/inf.h>.
1936 * math/Makefile (headers): Remove bits/inf.h.
1937 * bits/inf.h: Remove.
1938 * sysdeps/ieee754/bits/inf.h: Likewise.
1939
a60eca2e
JM
1940 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
1941 bits/huge_vall.h or bits/huge_val_flt128.h.
1942 (HUGE_VAL): Define directly here.
1943 [__USE_ISOC99] (HUGE_VALF): Likewise.
1944 [__USE_ISOC99] (HUGE_VALL): Likewise.
1945 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1946 (HUGE_VAL_F128): Likewise.
1947 * math/Makefile (headers): Remove bits/huge_val.h,
1948 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
1949 * bits/huge_val.h: Remove.
1950 * bits/huge_val_flt128.h: Likewise.
1951 * bits/huge_valf.h: Likewise.
1952 * bits/huge_vall.h: Likewise.
1953 * sysdeps/ia64/bits/huge_vall.h: Likewise.
1954 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1955 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
1956 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
1957 * sysdeps/sh/bits/huge_val.h: Likewise.
1958 * sysdeps/sparc/bits/huge_vall.h: Likewise.
1959 * sysdeps/x86/bits/huge_vall.h: Likewise.
1960
17e00cc6
FW
19612017-08-31 Florian Weimer <fweimer@redhat.com>
1962
1963 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
1964 internal_function.
1965 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
1966 Likewise.
1967 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
1968 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1969 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
1970 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
1971 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1972 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1973 * elf/dl-libc.c (dlerror_run): Likewise.
1974 * elf/dl-load.c (add_name_to_object, decompose_rpath)
1975 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
1976 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
1977 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
1978 Likewise.
1979 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
1980 (_dl_higher_prime_number, _dl_strtoul): Likewise.
1981 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
1982 * elf/dl-profile.c (_dl_start_profile): Likewise.
1983 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
1984 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
1985 Likewise.
1986 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
1987 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
1988 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
1989 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
1990 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
1991 (_dl_allocate_tls_storage): Likewise.
1992 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
1993 (_dl_check_all_versions): Likewise.
1994 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1995 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
1996 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
1997 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1998 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
1999 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
2000 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
2001 internal_function from __dl_start.
2002 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
2003 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2004 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
2005 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
2006 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
2007 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
2008 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
2009 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
2010 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
2011 (_dl_next_ld_env_entry, _dl_important_hwcaps)
2012 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
2013 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
2014 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
2015 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
2016 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
2017 Likewise.
2018 (struct rtld_global_ro): Remove internal_function from the
2019 _dl_lookup_symbol_x member.
2020 (_dl_symbol_value): Remove. No longer defined anywhere.
2021 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
2022 internal_function.
2023 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2024 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2025 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
2026 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
2027 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
2028 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
2029 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
2030 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
2031 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
2032 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2033 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2034 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2035
8d2f9410
FW
20362017-08-31 Florian Weimer <fweimer@redhat.com>
2037
2038 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
2039 Remove internal_function.
2040 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2041 Likewise.
2042 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2043 Likewise.
2044
86e4919f
FW
20452017-08-31 Florian Weimer <fweimer@redhat.com>
2046
2047 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
2048 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
2049 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
2050
59bd52b0
FW
20512017-08-31 Florian Weimer <fweimer@redhat.com>
2052
2053 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
2054 (__gai_enqueue_request): Remove internal_function.
2055 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
2056 (__gai_remove_request, __gai_notify, __gai_notify_only)
2057 (__gai_sigqueue): Likewise.
2058 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
2059 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2060 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
2061 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2062 Likewise.
2063
fc3d9497
FW
20642017-08-31 Florian Weimer <fweimer@redhat.com>
2065
2066 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
2067 * include/dirent.h (__opendirat, __getdents, __getdents64)
2068 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
2069 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
2070 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2071 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
2074
18c54fac
FW
20752017-08-31 Florian Weimer <fweimer@redhat.com>
2076
2077 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
2078 internal_function.
2079 (GETCWD_RETURN_TYPE): Likewise.
2080
7e01f080
FW
20812017-08-31 Florian Weimer <fweimer@redhat.com>
2082
2083 * include/time.h (__tz_compute, __strptime_internal): Remove
2084 internal_function.
2085 * time/strptime_l.c (__strptime_internal): Likewise.
2086 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
2087
d7ccc6c9
FW
20882017-08-31 Florian Weimer <fweimer@redhat.com>
2089
2090 * iconv/gconv.c (__gconv): Remove internal_function.
2091 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
2092 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
2093 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
2094 (__gconv_release_cache): Likewise.
2095 * iconv/gconv_close.c (__gconv_close): Likewise.
2096 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
2097 (read_conf_file, __gconv_get_path): Likewise.
2098 * iconv/gconv_db.c (derivation_lookup, add_derivation)
2099 (__gconv_release_step, gen_steps, increment_counter)
2100 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
2101 (__gconv_close_transform, free_modules_db): Likewise.
2102 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
2103 Likewise.
2104 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
2105 (__gconv_find_transform, __gconv_lookup_cache)
2106 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
2107 (__gconv_close_transform, __gconv_release_cache)
2108 (__gconv_loaded_object, __gconv_release_shlib)
2109 (__gconv_compare_alias): Likewise.
2110 * iconv/gconv_open.c (__gconv_open): Likewise.
2111 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
2112 * iconv/iconvconfig.c (add_module): Likewise.
2113 * intl/dcigettext.c (plural_lookup, guess_category_value)
2114 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
2115 * intl/eval-plural.h (plural_eval): Likewise.
2116 * intl/finddomain.c (_nl_find_domain): Likewise.
2117 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
2118 (_nl_load_domain, _nl_find_msg): Likewise.
2119 (internal_function): Remove definition.
2120 * intl/loadinfo.h (internal_function): Likewise.
2121 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
2122 internal_function.
2123 * intl/localealias.c (internal_function): Remove definition.
2124 (read_alias_file): Remove internal_function.
2125 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
2126 * intl/plural-exp.h (internal_function): Remove definition.
2127 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
2128 internal_function.
2129 * intl/plural.c: Regenerate.
2130 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
2131 * locale/coll-lookup.c (__collidx_table_lookup)
2132 (__collseq_table_lookup): Likewise.
2133 * locale/coll-lookup.h (__collidx_table_lookup)
2134 (__collseq_table_lookup): Likewise.
2135 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
2136 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2137 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
2138 (_nl_unload_locale): Likewise.
2139 * locale/localeinfo.h (struct __locale_data): Remove
2140 internal_function from cleanup member.
2141 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
2142 (_nl_remove_locale, _nl_load_locale_from_archive)
2143 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
2144 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
2145 (_nl_cleanup_time): Remove internal_function.
2146 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
2147 (_nl_parse_alt_digit): Likewise.
2148 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
2149 (_nl_select_era_entry): Likewise.
2150 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
2151 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2152 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
2153 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2154 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 2155
dab0eece
FW
21562017-08-31 Florian Weimer <fweimer@redhat.com>
2157
2158 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
2159 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2160 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
2161 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
2162 Likewise.
2163 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
2164 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
2165 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
2166 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2167 Likewise.
2168 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
2169
ab5bf7cf
FW
21702017-08-31 Florian Weimer <fweimer@redhat.com>
2171
2172 * misc/getttyent.c (skip, value): Remove internal_function.
2173 * misc/syslog.c (openlog_internal): Likewise.
2174 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
2175
75b3047e
FW
21762017-08-31 Florian Weimer <fweimer@redhat.com>
2177
2178 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
2179 (__nss_rewrite_field): Remove internal_function.
2180 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2181 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2182 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2183 * nss/nsswitch.c (nss_parse_file, nss_getline)
2184 (nss_parse_service_list, nss_new_service): Likewise.
2185 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
2186 * nss/valid_field.c (__nss_valid_field): Likewise.
2187 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2188
0c71122c
FW
21892017-08-31 Florian Weimer <fweimer@redhat.com>
2190
2191 * malloc/arena.c (__malloc_fork_lock_parent)
2192 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
2193 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
2194 internal_function from defintions.
2195 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
2196 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
2197 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
2198 internal_function from declarations.
2199 * malloc/malloc.c (internal_function): Do not define.
2200 (mem2mem_check): Remove internal_function from declaration.
2201 (munmap_chunk, mremap_chunk): Remove internal_function.
2202 * malloc/mtrace.c (tr_where): Likewise.
2203
ca4ec803
FW
22042017-08-31 Florian Weimer <fweimer@redhat.com>
2205
2206 * include/rpc/pmap_clnt.h (__get_socket): Remove
2207 internal_function.
2208 * sunrpc/auth_des.c (synchronize): Likewise.
2209 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
2210 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
2211 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
2212 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
2213 (key_call): Likewise.
2214 * sunrpc/pm_getport.c (__get_socket): Likewise.
2215 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
2216 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
2217 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
2218 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
2219 (invalidate): Likewise.
2220 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
2221 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
2222 (set_input_fragment, get_input_bytes): Likewise.
2223
24cffce7
FW
22242017-08-31 Florian Weimer <fweimer@redhat.com>
2225
2226 * malloc/malloc.c (_int_free): Remove locked variable and related
2227 asserts.
2228
ecd0747d
L
22292017-08-31 H.J. Lu <hongjiu.lu@intel.com>
2230
2231 [BZ #22051]
2232 * Makerules (build-module-helper-objlist): Filter out
2233 $(elf-objpfx)sofini.os.
2234 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
2235 needed.
2236
5f0704b6
FW
22372017-08-31 Florian Weimer <fweimer@redhat.com>
2238
2239 * libio/fcloseall.c: Assume weak_alias is defined.
2240 * libio/feof.c: Likewise.
2241 * libio/fileno.c: Likewise.
2242 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
2243 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2244 definitions.
2245 (_IO_file_open): Call __open directly.
2246 (_IO_new_file_sync): Assume ESPIPE is defined.
2247 (_IO_file_seekoff_maybe_mmap): Call __read directly.
2248 (_IO_new_file_write): Call __write directly.
2249 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
2250 * libio/ftello64.c (__ftello64): Assume EIO is defined.
2251 * libio/genops.c: Assume _LIBC is defined.
2252 (save_for_backup): Remove internal_function.
2253 * libio/getc.c: Assume weak_alias is defined.
2254 * libio/getwc.c: Likewise.
2255 * libio/iofclose.c: Assume _LIBC is defined.
2256 * libio/iofdopen.c: Likewise.
2257 (_IO_fcntl): Remove macro definition.
2258 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
2259 Call __fcntl directly.
2260 * libio/iofflush.c: Assume weak_alias is defined.
2261 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
2262 defined.
2263 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
2264 * libio/iofgets.c: Likewise.
2265 * libio/iofopen.c: Assume _LIBC is defined.
2266 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
2267 * libio/iofputs.c: Assume weak_alias is defined.
2268 * libio/iofread.c: Likewise.
2269 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
2270 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2271 * libio/ioftell.c: Assume weak_alias is defined.
2272 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
2273 * libio/iofwide.c: Assume _LIBC is defined.
2274 (_IO_fwide): Drop SHARED conditional because it is implied by
2275 SHLIB_COMPAT.
2276 * libio/iofwrite.c: Assume weak_alias is defined.
2277 * libio/iogetdelim.c: Likewise.
2278 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
2279 * libio/iogetwline.c (wmemcpy): Remove macro definition.
2280 (_IO_getwline): Call __wmemcpy directly.
2281 * libio/iopopen.c: Assume _LIBC is defined.
2282 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2283 (_IO_close): Remove macro definitions.
2284 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
2285 _exit directly.
2286 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
2287 directly.
2288 * libio/ioputs.c: Assume weak_alias is defined.
2289 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
2290 * libio/iosetbuffer.c: Assume weak_alias is defined.
2291 * libio/iosetvbuf.c: Likewise.
2292 * libio/ioungetc.c: Likewise.
2293 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
2294 libc_hidden_def, libc_hidden_weak, NULL are defined.
2295 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
2296 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
2297 defined.
2298 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2299 definitions.
2300 (_IO_old_file_init_internal): Drop SHARED conditional because it
2301 is implied by SHLIB_COMPAT.
2302 (_IO_old_file_fopen): Call __open directly.
2303 (_IO_old_file_sync): Assume ESPIPE is defined.
2304 (_IO_old_file_write): Call __write directly.
2305 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
2306 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
2307 Call __fcntl directly.
2308 * libio/oldiofgetpos.c: Assume weak_alias is defined.
2309 (_IO_old_fgetpos): Assume EIO is defined.
2310 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
2311 (_IO_old_fgetpos64): Assume EIO is defined.
2312 * libio/oldiofsetpos.c: Assume weak_alias is defined.
2313 (_IO_old_fsetpos): Assume EIO is defined.
2314 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
2315 (_IO_old_fsetpos64): Assume EIO is defined.
2316 * libio/oldiopopen.c: Assume _LIBC is defined.
2317 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2318 (_IO_close): Remove macro definitions.
2319 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
2320 directly.
2321 (_IO_old_proc_close): Call __close, __waitpid directly.
2322 * libio/put.c: Assume weak_alias is defined.
2323 * libio/stdfiles.c: Assume _LIBC is defined.
2324 * libio/stdio.c: Likewise.
2325 * libio/wfileops.c: Likewise.
2326 (_IO_wfile_sync): Assume ESPIPE is defined.
2327 * libio/wgenops.c: Assume _LIBC is defined.
2328 (save_for_wbackup): Remove internal_function.
2329
5129873a
FW
23302017-08-31 Florian Weimer <fweimer@redhat.com>
2331
2332 * malloc/malloc.c (top_check): Change return type to void. Remove
2333 internal_function.
2334 * malloc/hooks.c (top_check): Likewise.
2335 (malloc_check, realloc_check, memalign_check): Adjust.
2336
4fa9b3bf
JM
23372017-08-30 Joseph Myers <joseph@codesourcery.com>
2338
2339 [BZ #21457]
2340 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2341 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
2342 sigcontext and namespace requirements.
2343 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2344 * sysdeps/m68k/sys/ucontext.h: Likewise.
2345 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
2346 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2347 <bits/sigcontext.h>.
2348 (__ctx): Define earlier.
2349 (mcontext_t): Define structure contents rather than using struct
2350 sigcontext.
2351 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
2352 __glibc_reserved1 instead of __reserved.
2353 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2354 <bits/sigcontext.h>.
2355 (__ctx): Define earlier.
2356 (mcontext_t): Define structure contents rather than using struct
2357 sigcontext.
2358 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
2359 mcontext_t instead of struct sigcontext.
2360 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2361 <bits/sigcontext.h>.
2362 (__ctx): Define earlier.
2363 (mcontext_t): Define structure contents rather than using struct
2364 sigcontext.
2365 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2366 <bits/sigcontext.h>.
2367 (__ctx): Define earlier.
2368 (mcontext_t): Define structure contents rather than using struct
2369 sigcontext.
2370 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
2371 mcontext_t instead of struct sigcontext.
2372 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
2373 mcontext_t instead of struct sigcontext.
2374 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2375 <bits/sigcontext.h>.
2376 (__ctx): New macro.
2377 (struct __ia64_fpreg_mcontext): New type.
2378 (mcontext_t): Define structure contents rather than using struct
2379 sigcontext.
2380 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
2381 (uc_sigmask): Define using __ctx.
2382 (uc_stack): Likewise.
2383 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
2384 <bits/sigcontext.h>.
2385 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2386 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2387 <bits/sigcontext.h>.
2388 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
2389 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2390 <bits/sigcontext.h>.
2391 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2392 <bits/sigcontext.h>.
2393 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2394 <bits/sigcontext.h>.
2395 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2396 <bits/sigcontext.h>.
2397 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2398 <bits/sigcontext.h>.
2399 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2400 <bits/sigcontext.h>.
2401 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2402 <bits/sigcontext.h>.
2403 (__ctx): Define earlier.
2404 (mcontext_t): Define structure contents rather than using struct
2405 sigcontext.
2406 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2407 <bits/sigcontext.h>. Include <bits/types.h>.
2408 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
2409 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
2410 (test-xfail-XPG42/ucontext.h/conform): Likewise.
2411 (test-xfail-UNIX98/signal.h/conform): Likewise.
2412 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2413 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2414 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2415 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2416 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2417 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2418 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2419 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2420 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2421
5898f454
FW
24222017-08-30 Florian Weimer <fweimer@redhat.com>
2423
2424 * malloc/dynarray_emplace_enlarge.c
2425 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
2426 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2427 * malloc/tst-dynarray.c (test_long_overflow): New function.
2428 (do_test): Call it.
2429
a9da0bb2
FW
24302017-08-30 Florian Weimer <fweimer@redhat.com>
2431
2432 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
2433 (set_arena_corrupt): Remove definitions.
2434 (mtrim): Do not check for corrupt arena.
2435 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
2436 Likewise.
2437
ac3ed168
FW
24382017-08-30 Florian Weimer <fweimer@redhat.com>
2439
2440 [BZ #21754]
2441 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
2442 check_action.
2443 (ptmalloc_init): Do not set or use check_action.
2444 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
2445 call to malloc_printerr. Remove return statement.
2446 (free_check): Likewise. Remove arena unlock.
2447 (top_check): Update comment. Adjust call to malloc_printerr.
2448 Remove heap repair code.
2449 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
2450 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
2451 (sysmalloc): Adjust call to malloc_printerr.
2452 (munmap_chunk, __libc_realloc): Likewise. Remove return
2453 statement.
2454 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
2455 Remove errout label and corresponding gotos.
2456 (_int_free): Likewise. Remove arena unlock.
2457 (do_set_mallopt_check): Do not set check_action.
2458 (malloc_printerr): Adjust parameter list. Do not mark arena as
2459 corrupt.
2460 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
2461 comment.
2462 * manual/probes.texi (Memory Allocation Probes): Remove
2463 memory_mallopt_check_action.
2464
44bcba80
SE
24652017-08-30 Steve Ellcey <sellcey@cavium.com>
2466
2467 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
2468 Use pointer to uint64_t instead of long int for sp.
2469
ec2c1fce
FW
24702017-08-30 Florian Weimer <fweimer@redhat.com>
2471
2472 [BZ #21754]
2473 * malloc/malloc.c (malloc_printerr): Always terminate the process,
2474 without printing a backtrace. Do not leak any information in the
2475 error message.
2476 * manual/memory.texi (Heap Consistency Checking): Update.
2477 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
2478
9ce673b6
FW
24792017-08-30 Florian Weimer <fweimer@redhat.com>
2480
2481 Do not scale NPTL tests with available number of CPUs.
2482 * nptl/tst-cond16.c (count): Set to constant value of 8.
2483 * nptl/tst-cond18.c (count): Likewise.
2484
2f1aef19
JM
24852017-08-29 Joseph Myers <joseph@codesourcery.com>
2486
2487 [BZ #22035]
2488 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
2489 Define to take a second argument that is a macro that
2490 concatentates a suffix, not the suffix itself.
2491 (__CONCAT_d): New macro.
2492 (__CONCAT_f): Likewise.
2493 (__CONCAT_l): Likewise.
2494
8325b477
PP
24952017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
2496
2497 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
2498 by child.
2499
319cbbf6
AZ
25002017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2501 Aurelien Jarno <aurelien@aurel32.net>
2502 Maciej W. Rozycki <macro@imgtec.com>
2503
2504 [BZ #21956]
2505 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
2506 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
2507 `mips16-syscall6' and `mips16-syscall7'.
2508 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
2509 (CFLAGS-mips16-syscall7.c): Remove.
2510 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
2511 Remove `__mips16_syscall5', `__mips16_syscall6' and
2512 `__mips16_syscall7'.
2513 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
2514 (__mips16_syscall0): Rename `__mips16_syscall_return' to
2515 `__mips_syscall_return'.
2516 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
2517 (__mips16_syscall1): Likewise.
2518 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
2519 (__mips16_syscall2): Likewise.
2520 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
2521 (__mips16_syscall3): Likewise.
2522 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2523 (__mips16_syscall4): Likewise.
2524 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2525 Remove.
2526 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2527 Remove.
2528 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2529 Remove.
2530 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2531 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2532 `__mips16_syscall5'. Remove prototype.
2533 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2534 `__mips16_syscall6'. Remove prototype.
2535 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2536 `__mips16_syscall7'. Remove prototype.
2537 (__nomips16, __mips16_syscall_return): Move to...
2538 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2539 (__nomips16, __mips_syscall_return): ... here.
2540 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2541 `__mips16_syscall_return' to `__mips_syscall_return'.
2542 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2543 `internal_syscall##nr'.
2544 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2545 `internal_syscall##nr'.
2546 (FORCE_FRAME_POINTER): Remove.
2547 (__mips_syscall5): New prototype.
2548 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2549 (__mips_syscall6): New prototype.
2550 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2551 (__mips_syscall7): New prototype.
2552 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2553 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2554 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2555 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2556 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2557 (sysdep_routines): Add libc-do-syscall.
2558 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2559 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2560
01b87c65
AZ
25612017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2562
2563 [BZ #21672]
2564 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2565 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2566 (advise_stack_range): New function.
2567 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2568 stack non required to advise_stack_range at allocatestack.c
2569
16f138a4
SN
25702017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2571
2572 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2573
251bccfa
FW
25742017-08-29 Florian Weimer <fweimer@redhat.com>
2575
2576 [BZ #22026]
2577 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2578 __end_fct. Mangle __end_fct after setting it to NULL.
2579 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2580 (modules-names, modules-names-tests): Add
2581 tst-gconv-init-failure-mod.
2582 (gconv-modules): New target.
2583 (tst-gconv-init-failure-mod.so): Link against libsupport.
2584 (tst-gconv-init-failure): Depend on gconv-modules,
2585 tst-gconv-init-failure-mod.so.
2586 * iconv/tst-gconv-init-failure-mod.c: New file.
2587 * iconv/tst-gconv-init-failure.c: Likewise.
2588 * iconv/test-gconv-modules: Likewise.
2589
e7c18b9d
FW
25902017-08-29 Florian Weimer <fweimer@redhat.com>
2591
2592 [BZ #22025]
2593 * iconv/gconv_db.c (free_derivation): Remove redundant
2594 parentheses.
2595 (gen_steps): Unconditionally mangle __btowc_fct after
2596 initialization.
2597 (increment_counter): Likewise. Do not call init_fct for internal
2598 modules.
2599
7daada03
JM
26002017-08-29 Joseph Myers <joseph@codesourcery.com>
2601
2602 [BZ #22028]
2603 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2604 (_MSUF_): Remove macro.
2605 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2606 Likewise.
2607 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2608 (__REDIRFROM_X): New macro.
2609 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2610 Likewise.
2611 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2612 (__REDIRTO_X): Likewise.
2613 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2614 arguments.
2615 (__MATH_REDIRCALL_2): Likewise.
2616 (__MATH_REDIRCALL_INTERNAL): Likewise.
2617 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2618 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2619 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2620 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2621 * math/test-finite-macros.c: New file.
2622 * math/Makefile (tests): Add test-finite-macros.
2623 (CFLAGS-test-finite-macros.c): New variable.
2624
1cf1232c
PF
26252017-08-29 Patsy Franklin <pfrankli@redhat.com>
2626 Jeff Law <law@redhat.com>
2627
2628 [BZ #22025]
2629 Mangle NULL pointers in iconv/gconv.
2630 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2631 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2632 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2633 is non-NULL before demangling the end_fct. Check for NULL
2634 end_fct after demangling.
2635 (__gconv_release_step): Demangle the end_fct before checking
2636 it for NULL. Remove assert on __shlibc_handle != NULL.
2637 (gen_steps): Don't check btowc_fct for NULL before mangling.
2638 Demangle init_fct before checking for NULL.
2639 (increment_counter): Likewise.
2640 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
2641 end_fct for NULL before mangling.
2642 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
2643 for NULL.
2644
c207f7ce 26452017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
2646
2647 [BZ #21971]
2648 * locale/iso-639.def: add Morisyen.
2649
42496114
GG
26502017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2651
2652 [BZ #21930]
2653 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
2654 (iszero): New C++ implementation that does not use
2655 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
2656 signaling nans are enabled, since __builtin_types_compatible_p
2657 is a C-only feature.
2658 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
2659 defined, include ieee754_float128.h for access to the union and
2660 member ieee854_float128.ieee.
2661 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
2662 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
2663 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2664 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
2665 options of test-math-zero on powerpc64le.
2666
5e2bc4ff
L
26672017-08-28 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2670 Change double to float.
2671
a48c0fb4
JM
26722017-08-28 Joseph Myers <joseph@codesourcery.com>
2673
2674 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
2675 unconditional.
2676 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
2677 conditional code; define contents only for [LIBM_SVID_COMPAT].
2678
ee17d4e9
FW
26792017-08-28 Florian Weimer <fweimer@redhat.com>
2680
2681 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
2682 (abi-lp64_be-options): Remove.
2683 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
2684 (abi-hard-options): Likewise.
2685 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
2686 (abi-o32_hard-options, abi-o32_soft_2008-options)
2687 (abi-o32_hard_2008-options, abi-n32_soft-options)
2688 (abi-n32_hard-options, abi-n32_soft_2008-options)
2689 (abi-n32_hard_2008-options, abi-n64_soft-options)
2690 (abi-n64_hard-options, abi-n64_soft_2008-options)
2691 (abi-n64_hard_2008-options): Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
2693 (abi-64-v1-options, abi-64-v2-options): Likewise.
2694 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
2695 (abi-64-options): Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
2697 (abi-64-options): Likewise.
2698 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
2699 (abi-64-options): Likewise.
2700 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
2701 (abi-64-options, abi-x32-options): Likewise.
2702
2dba5ce7
FW
27032017-08-28 Florian Weimer <fweimer@redhat.com>
2704
2705 Store supported list of SYS_* system calls in the source tree.
2706 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2707 (bits/syscall.h): Generate from list file.
2708 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
2709 [$(subdir) = misc] (tests): Add tst-syscall-list.
2710 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
2711 [$(subdir) = misc] (tst-syscall-list-macros.list)
2712 [$(subdir) = misc] (tst-syscall-list-nr.list)
2713 (tst-syscall-list-sys.list): Helper targets for new
2714 tst-syscall-list test.
2715 [$(subdir) = misc] (tst-syscall-list.out): Run test script
2716 tst-syscall-list.sh.
2717 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
2718 target. Do not include bits/syscall.d.
2719 [$(subdir) = misc] (generated): Do not update.
2720 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
2721 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
2722 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
2723 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
2724
5f3b183d
PP
27252017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2726
2727 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
2728 (tst-cxa_atexit, tst-on_exit): Likewise.
2729 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
2730 tst-cxa_atexit, and tst-on_exit.
2731 * stdlib/tst-atexit-common.c: New file.
2732 * stdlib/tst-atexit.c: New file.
2733 * stdlib/tst-at_quick_exit.c: New file.
2734 * stdlib/tst-cxa_atexit.c: New file.
2735 * stdlib/tst-on_exit.c: New file.
2736
2ef8d469
ST
27372017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2738
2739 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
2740 * mach/stack_chk_fail_local.c: New file.
2741 * hurd/stack_chk_fail_local.c: New file.
2742 * mach/Machrules ($(interface-library)-routines): Add
2743 stack_chk_fail_local.
99ee4d26
ST
2744 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
2745 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
2746 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
2747 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
2748 * hurd/Makefile (CFLAGS-hurdstartup.o,
2749 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 2750
7ab70c98
L
27512017-08-25 H.J. Lu <hongjiu.lu@intel.com>
2752
2753 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2754 (index_cpu_*, index_arch_*): Removed.
2755
39e7a5a6
SN
27562017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2757
2758 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
2759 Use uint64_t instead of unsigned long.
2760
bba5c930
JM
27612017-08-25 Joseph Myers <joseph@codesourcery.com>
2762
a6ccdb08
JM
2763 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
2764 [__HAVE_DISTINCT_FLOAT128].
2765
23761119
JM
2766 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
2767 of <bits/math-finite.h>.
2768 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
2769 inclusion of <bits/math-finite.h>.
2770 * math/bits/math-finite.h (__REDIRTO_X): Do not define
2771 conditionally on [__MATH_DECLARING_LDOUBLE && defined
2772 __NO_LONG_DOUBLE_MATH].
2773 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
2774 (__MATH_REDIRCALL_2): Likewise.
2775 (__MATH_REDIRCALL_INTERNAL): Likewise.
2776 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2777 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
2778 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2779
bba5c930
JM
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2781 Remove file.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2783 Likewise.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2785 Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2787 Likewise.
2788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2789 Likewise.
2790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2791 Likewise.
2792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2795 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2797 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
2798 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
2799 w_sqrtf_compat-ppc32.
2800
3d7b66f6
GG
28012017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2802
2803 * math/math.h [defined __cplusplus] (issignaling): In the long
2804 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
2805 is not defined. Call __issignaling, otherwise.
2806
ebd6f007
AZ
28072017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2808
2809 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
2810 syscall definitions and replace __builtin_expect with __glibc_likely.
2811 * sysdeps/unix/syscall-template.S: Update comment about cancellable
2812 syscall.
2813 (SYSCALL_CANCELLABLE): Removedefinition
2814 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
2815 definition.
2816 (PSEUDO_END): Likewise.
2817 [IS_IN (libpthread)] (CENABLE): Likewise.
2818 [IS_IN (libpthread)] (CDISABLE): Likewise.
2819 [IS_IN (libc)] (CENABLE): Likewise.
2820 [IS_IN (libc)] (CENABLE): Likewise.
2821 [IS_IN (librt)] (CDISABLE): Likewise.
2822 [IS_IN (librt)] (CDISABLE): Likewise.
2823 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2824 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
2825 definition.
2826 (PSEUDO_END): Likewise.
2827 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
2828 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
2829 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2830 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
2831 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2832 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
2833 (CENABLE): Likewise.
2834 (CDISABLE): Likewise.
2835 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2836 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
2837 defintion.
2838 (PSEUDO_END): Likewise.
2839 [IS_IN (libpthread)] (CENABLE): Likewise.
2840 [IS_IN (libpthread)] (CDISABLE): Likewise.
2841 [IS_IN (libc)] (CENABLE): Likewise.
2842 [IS_IN (libc)] (CENABLE): Likewise.
2843 [IS_IN (librt)] (CDISABLE): Likewise.
2844 [IS_IN (librt)] (CDISABLE): Likewise.
2845 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2846 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
2847 definition.
2848 (PSEUDO_END): Likewise.
2849 [IS_IN (libpthread)] (CENABLE): Likewise.
2850 [IS_IN (libpthread)] (CDISABLE): Likewise.
2851 [IS_IN (libc)] (CENABLE): Likewise.
2852 [IS_IN (libc)] (CENABLE): Likewise.
2853 [IS_IN (librt)] (CDISABLE): Likewise.
2854 [IS_IN (librt)] (CDISABLE): Likewise.
2855 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2856 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
2857 definition.
2858 (PSEUDO_END): Likewise.
2859 [IS_IN (libpthread)] (CENABLE): Likewise.
2860 [IS_IN (libpthread)] (CDISABLE): Likewise.
2861 [IS_IN (libc)] (CENABLE): Likewise.
2862 [IS_IN (libc)] (CENABLE): Likewise.
2863 [IS_IN (librt)] (CDISABLE): Likewise.
2864 [IS_IN (librt)] (CDISABLE): Likewise.
2865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2866 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
2867 definition.
2868 (PSEUDO_END): Likewise.
2869 [IS_IN (libpthread)] (CENABLE): Likewise.
2870 [IS_IN (libpthread)] (CDISABLE): Likewise.
2871 [IS_IN (libc)] (CENABLE): Likewise.
2872 [IS_IN (libc)] (CENABLE): Likewise.
2873 [IS_IN (librt)] (CDISABLE): Likewise.
2874 [IS_IN (librt)] (CDISABLE): Likewise.
2875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2876 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
2877 definition.
2878 (PSEUDO_END): Likewise.
2879 [IS_IN (libpthread)] (CENABLE): Likewise.
2880 [IS_IN (libpthread)] (CDISABLE): Likewise.
2881 [IS_IN (libc)] (CENABLE): Likewise.
2882 [IS_IN (libc)] (CENABLE): Likewise.
2883 [IS_IN (librt)] (CDISABLE): Likewise.
2884 [IS_IN (librt)] (CDISABLE): Likewise.
2885 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2886 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
2887 definition.
2888 (PSEUDO_END): Likewise.
2889 [IS_IN (libpthread)] (CENABLE): Likewise.
2890 [IS_IN (libpthread)] (CDISABLE): Likewise.
2891 [IS_IN (libc)] (CENABLE): Likewise.
2892 [IS_IN (libc)] (CENABLE): Likewise.
2893 [IS_IN (librt)] (CDISABLE): Likewise.
2894 [IS_IN (librt)] (CDISABLE): Likewise.
2895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2896 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
2897 Remove definition.
2898 (PSEUDO_END): Likewise.
2899 [IS_IN (libpthread)] (CENABLE): Likewise.
2900 [IS_IN (libpthread)] (CDISABLE): Likewise.
2901 [IS_IN (libc)] (CENABLE): Likewise.
2902 [IS_IN (libc)] (CENABLE): Likewise.
2903 [IS_IN (librt)] (CDISABLE): Likewise.
2904 [IS_IN (librt)] (CDISABLE): Likewise.
2905 (SINGLE_THREAD_P): Likewise.
2906 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
2907 definition.
2908 (PSEUDO_END): Likewise.
2909 [IS_IN (libpthread)] (CENABLE): Likewise.
2910 [IS_IN (libpthread)] (CDISABLE): Likewise.
2911 [IS_IN (libc)] (CENABLE): Likewise.
2912 [IS_IN (libc)] (CENABLE): Likewise.
2913 [IS_IN (librt)] (CDISABLE): Likewise.
2914 [IS_IN (librt)] (CDISABLE): Likewise.
2915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2916 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
2917 definition.
2918 (PSEUDO_END): Likewise.
2919 [IS_IN (libpthread)] (CENABLE): Likewise.
2920 [IS_IN (libpthread)] (CDISABLE): Likewise.
2921 [IS_IN (libc)] (CENABLE): Likewise.
2922 [IS_IN (libc)] (CENABLE): Likewise.
2923 [IS_IN (librt)] (CDISABLE): Likewise.
2924 [IS_IN (librt)] (CDISABLE): Likewise.
2925 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2926 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
2927 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
2929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
2930 definition.
2931 (PSEUDO_END): Likewise.
2932 [IS_IN (libpthread)] (CENABLE): Likewise.
2933 [IS_IN (libpthread)] (CDISABLE): Likewise.
2934 [IS_IN (libc)] (CENABLE): Likewise.
2935 [IS_IN (libc)] (CENABLE): Likewise.
2936 [IS_IN (librt)] (CDISABLE): Likewise.
2937 [IS_IN (librt)] (CDISABLE): Likewise.
2938 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2939 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
2940 definition.
2941 (PSEUDO_END): Likewise.
2942 [IS_IN (libpthread)] (CENABLE): Likewise.
2943 [IS_IN (libpthread)] (CDISABLE): Likewise.
2944 [IS_IN (libc)] (CENABLE): Likewise.
2945 [IS_IN (libc)] (CENABLE): Likewise.
2946 [IS_IN (librt)] (CDISABLE): Likewise.
2947 [IS_IN (librt)] (CDISABLE): Likewise.
2948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2949 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
2950 definition.
2951 (PSEUDO_END): Likewise.
2952 [IS_IN (libpthread)] (CENABLE): Likewise.
2953 [IS_IN (libpthread)] (CDISABLE): Likewise.
2954 [IS_IN (libc)] (CENABLE): Likewise.
2955 [IS_IN (libc)] (CENABLE): Likewise.
2956 [IS_IN (librt)] (CDISABLE): Likewise.
2957 [IS_IN (librt)] (CDISABLE): Likewise.
2958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
2962 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
2963 definition.
2964 (PSEUDO_END): Likewise.
2965 [IS_IN (libpthread)] (CENABLE): Likewise.
2966 [IS_IN (libpthread)] (CDISABLE): Likewise.
2967 [IS_IN (libc)] (CENABLE): Likewise.
2968 [IS_IN (libc)] (CENABLE): Likewise.
2969 [IS_IN (librt)] (CDISABLE): Likewise.
2970 [IS_IN (librt)] (CDISABLE): Likewise.
2971 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2972 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
2973 definition.
2974 (PSEUDO_END): Likewise.
2975 [IS_IN (libpthread)] (CENABLE): Likewise.
2976 [IS_IN (libpthread)] (CDISABLE): Likewise.
2977 [IS_IN (libc)] (CENABLE): Likewise.
2978 [IS_IN (libc)] (CENABLE): Likewise.
2979 [IS_IN (librt)] (CDISABLE): Likewise.
2980 [IS_IN (librt)] (CDISABLE): Likewise.
2981 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
2982
8aa48656
SN
29832017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2984
2985 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
2986
fcaaca41
L
29872017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2990
376b40a2
L
29912017-08-23 H.J. Lu <hongjiu.lu@intel.com>
2992
2993 [BZ #21982]
2994 * string/stratcliff.c (do_test): Declare size, nchars, inner,
2995 middle and outer with size_t instead of int. Repleace %d and
2996 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
2997 "MAX (outer, nchars - 64)" to support unsigned outer and
2998 nchars. Also exit loop when outer == 0.
2999
2b0b9a1c
AZ
30002017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3001
3002 * include/fcntl.h (__fcntl_nocancel): Remove definition.
3003 * include/signal.h (__sigsuspend_nocancel): Likewise.
3004 * include/time.h (__nanosleep_nocancel): Likewise.
3005 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
3006 * login/utmp_file.c: Include non cancellable syscall header.
3007 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
3008 prototype.
3009
b9eaca8f
L
30102017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
3013 .byte sequences with AVX512F instructions.
3014 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
3015 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3016 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3017 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
3018 Likewise.
3019 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3020 Likewise.
3021
5a706f64
SE
30222017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
3023 Steve Ellcey <sellcey@cavium.com>
3024
3025 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
3026 Use PTR_REG macro in cmp instruction.
3027
b513da7e
GG
30282017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3029
3030 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
3031 Change the return type of the ifunc resolver to match the return
3032 type of the target function.
3033
78ca091c
AZ
30342017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3035
b70b6026
AZ
3036 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
3037 (preadv64): Likewise.
3038 (pwrite64(: Likewise.
3039 (pwritev64): Likewise.
3040
78ca091c
AZ
3041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3042 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
3043 (LOAD_ARGS_0): Likewise.
3044 (LOAD_ARGS_1): Likewise.
3045 (LOAD_ARGS_2): Likewise.
3046 (LOAD_ARGS_3): Likewise.
3047 (LOAD_ARGS_4): Likewise.
3048 (LOAD_ARGS_5): Likewise.
3049 (LOAD_ARGS_6): Likewise.
3050 (LOAD_REGS_0): Likewise.
3051 (LOAD_REGS_1): Likewise.
3052 (LOAD_REGS_2): Likewise.
3053 (LOAD_REGS_3): Likewise.
3054 (LOAD_REGS_4): Likewise.
3055 (LOAD_REGS_5): Likewise.
3056 (LOAD_REGS_6): Likewise.
3057 (ASM_ARGS_0): Likewise.
3058 (ASM_ARGS_1): Likewise.
3059 (ASM_ARGS_2): Likewise.
3060 (ASM_ARGS_3): Likewise.
3061 (ASM_ARGS_4): Likewise.
3062 (ASM_ARGS_5): Likewise.
3063 (ASM_ARGS_6): Likewise.
3064 (LOAD_ARGS_TYPES_1): Likewise.
3065 (LOAD_ARGS_TYPES_2): Likewise.
3066 (LOAD_ARGS_TYPES_3): Likewise.
3067 (LOAD_ARGS_TYPES_4): Likewise.
3068 (LOAD_ARGS_TYPES_5): Likewise.
3069 (LOAD_ARGS_TYPES_6): Likewise.
3070 (LOAD_REGS_TYPES_1): Likewise.
3071 (LOAD_REGS_TYPES_2): Likewise.
3072 (LOAD_REGS_TYPES_3): Likewise.
3073 (LOAD_REGS_TYPES_4): Likewise.
3074 (LOAD_REGS_TYPES_5): Likewise.
3075 (LOAD_REGS_TYPES_6): Likewise.
3076 (TYPEFY): New define.
3077 (ARGIFY): Likewise.
3078 (internal_syscall0): Likewise.
3079 (internal_syscall1): Likewise.
3080 (internal_syscall2): Likewise.
3081 (internal_syscall3): Likewise.
3082 (internal_syscall4): Likewise.
3083 (internal_syscall5): Likewise.
3084 (internal_syscall6): Likewise.
3085 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
3086 (INTERNAL_SYSCALL_NCS): Remove define.
3087 (internal_syscall1): Add define.
3088
453a493d
GG
30892017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3090
3091 * math/w_remainder_compat.c: Remove duplicate inclusion of
3092 math-svid-compat.h.
3093 * math/w_remainderf_compat.c: Likewise.
3094 * math/w_remainderl_compat.c: Likewise.
3095
f2f048a5
GG
30962017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3097
3098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3099
d9bef9c0
JM
31002017-08-22 Joseph Myers <joseph@codesourcery.com>
3101
3102 [BZ #21684]
3103 * math/tgmath.h (__floating_type): Simplify definitions.
3104 (__real_integer_type): New macro.
3105 (__complex_integer_type): Likewise.
3106 (__expr_is_real): Likewise.
3107 (__tgmath_real_type_sub): Update comment to describe handling of
3108 complex types.
3109 (__tgmath_complex_type_sub): New macro.
3110 (__tgmath_complex_type): Likewise.
3111 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3112 (__TGMATH_CF128): Use __expr_is_real.
3113 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
3114 __expr_is_real.
3115 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3116 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
3117 * math/gen-tgmath-tests.py (Type.create_type): Create complex
3118 integer types.
3119
08d6eb46
AZ
31202017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3121
988f991b
AZ
3122 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
3123 macro.
3124 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
3125 alias.
3126 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
3127 Likewise.
3128
6f33fd04
AZ
3129 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
3130 nanosleep_not_cancel with __nanosleep_nocancel.
3131 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
3132 (__nanosleep_nocancel): New macro.
3133 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
3134 function.
3135 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
3136 macro.
3137 (__nanosleep_nocancel): New prototype.
3138
08d6eb46
AZ
3139 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
3140 pause_not_cancel with __pause_nocancel.
3141 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
3142 (__pause_nocancel): New macro.
3143 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
3144 macro.
3145 (__pause_nocancel): New prototype.
3146 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
3147
ee4e992e
MS
31482017-08-22 Martin Sebor <msebor@redhat.com>
3149
3150 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
3151 to return a pointer to the same type as the target function.
3152
20962acb
L
31532017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 [BZ #18822]
3156 [BZ #21986]
3157 * include/printf.h (__printf_fphex): Add attribute_hidden.
3158 (__guess_grouping): New prototype.
3159 * stdio-common/printf_fp.c (__guess_grouping): Removed.
3160 * stdio-common/reg-printf.c (__register_printf_specifier): Add
3161 libc_hidden_proto and libc_hidden_def.
3162 * stdlib/strfmon_l.c (__guess_grouping): Removed.
3163 (__vstrfmon_l): Remove the third argument passed to
3164 __guess_grouping.
3165
a16e8bc0
GG
31662017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3167
3168 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
3169 definition for issignaling that does not rely on __MATH_TG,
3170 since __MATH_TG uses __builtin_types_compatible_p, which is only
3171 available in C mode.
3172 (CFLAGS-test-math-issignaling.cc): New variable.
3173 * math/Makefile [CXX] (tests): Add test-math-issignaling.
3174 * math/test-math-issignaling.cc: New test for C++ implementation
3175 of type-generic issignaling.
3176 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
3177 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
3178 options of test-math-issignaling on powerpc64le.
3179
8d2ec553
L
31802017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3183 building libc.a.
3184 (hidden_proto): Likewise.
3185 (hidden_tls_proto): Likewise.
3186 (__hidden_proto): Likewise.
3187
a4d57b79
FW
31882017-08-22 Florian Weimer <fweimer@redhat.com>
3189
3190 math: Statically link tests of internal functionality.
3191 * math/Makefile (tests): Remove atest-exp, atest-sincos,
3192 atest-exp2.
3193 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
3194 (gmp-objs): Remove assignment.
3195 (atest-exp, atest-sincos, atest-exp2): Remove targets.
3196
75dfe623
JM
31972017-08-22 Joseph Myers <joseph@codesourcery.com>
3198
80f91666
JM
3199 [BZ #21987]
3200 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
3201 and copy to ...
3202 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
3203 ... here.
3204 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
3205 ... and here.
3206
75dfe623
JM
3207 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
3208 variable definitions above inclusion of ../Rules.
3209
ea99fcd0
JM
32102017-08-21 Joseph Myers <joseph@codesourcery.com>
3211
3212 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
3213 case calling __builtin_unreachable.
3214
19926de9
AZ
32152017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3216
a8410a5f
AZ
3217 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
3218 __waitpid_nocancel.
3219 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
3220 (__waitpid_nocancel): New macro.
3221 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
3222 macro.
3223 (__waitpid_nocancel): Replace macro with a function.
3224 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
3225 function.
3226
7369800c
AZ
3227 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
3228 __fcntl_nocancel.
3229 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
3230 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
3231
19926de9
AZ
3232 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
3233 __writev_nocancel_nostatus.
3234 (write_call_graph): Likewise.
3235 (write_bb_counts): Likewise.
3236 * resolv/herror.c (herror): Likewise.
3237 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
3238 macro.
3239 (__writev_nocancel_nostatus): New macro.
3240 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
3241 Remove macro.
3242 (__writev_nocancel_nostatus): New function.
3243
813378e9
JM
32442017-08-21 Joseph Myers <joseph@codesourcery.com>
3245
df1deda6
JM
3246 Revert:
3247 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3248
3249 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3250 building libc.a.
3251 (hidden_proto): Likewise.
3252 (hidden_tls_proto): Likewise.
3253 (__hidden_proto): Likewise.
3254
831bbd55
JM
3255 [BZ #21973]
3256 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
3257 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3259 Likewise.
3260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3261 Likewise.
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3263 Likewise.
3264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3265 Likewise.
3266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
3267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3268 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3269 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3270 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3271 GLIBC_2.0 sqrtl symbol.
3272
813378e9
JM
3273 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
3274 [__USE_MISC] (_LIB_VERSION): Likewise.
3275 [__USE_MISC] (struct exception): Likewise.
3276 [__USE_MISC] (matherr): Likewise.
3277 [__USE_MISC] (DOMAIN): Likewise.
3278 [__USE_MISC] (SING): Likewise.
3279 [__USE_MISC] (OVERFLOW): Likewise.
3280 [__USE_MISC] (UNDERFLOW): Likewise.
3281 [__USE_MISC] (TLOSS): Likewise.
3282 [__USE_MISC] (PLOSS): Likewise.
3283 [__USE_MISC] (HUGE): Likewise.
3284 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
3285 * math/math-svid-compat.h: New file.
3286 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
3287 and matherrl.
3288 * include/math.h [!_ISOMAC] (__matherr): Remove.
3289 * manual/arith.texi (FP Exceptions): Do not document matherr.
3290 * math/Makefile (tests): Change test-matherr to test-matherr-3.
3291 (tests-internal): New variable.
3292 (install-lib): Do not add libieee.a.
3293 (non-lib.a): Likewise.
3294 (extra-objs): Do not add libieee.a and ieee-math.o.
3295 (CPPFLAGS-s_lib_version.c): Remove variable.
3296 ($(objpfx)libieee.a): Remove rule.
3297 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
3298 * math/ieee-math.c: Remove.
3299 * math/libm-test-support.c (matherr): Remove.
3300 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
3301 and license notices. Include <math-svid-compat.h> and
3302 <shlib-compat.h>.
3303 (matherr): Undefine as macro. Use compat_symbol_reference.
3304 (_LIB_VERSION): Likewise.
3305 * math/test-matherr-2.c: New file.
3306 * math/test-matherr-3.c: Likewise.
3307 * sysdeps/generic/math_private.h (__kernel_standard): Remove
3308 declaration.
3309 (__kernel_standard_f): Likewise.
3310 (__kernel_standard_l): Likewise.
3311 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
3312 <math_private.h>. Include <math-svid-compat.h>.
3313 (_LIB_VERSION): Undefine as macro.
3314 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
3315 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
3316 [LIBM_SVID_COMPAT], use compat_symbol.
3317 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
3318 <math_private.h>. Include <math-svid-compat.h>.
3319 (matherr): Undefine as macro.
3320 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
3321 compat_symbol.
3322 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
3323 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
3324 compat_symbol_reference.
3325 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
3326 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
3327 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
3328 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
3329 (MATHERR_D): Remove declaration.
3330 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
3331 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
3332 [LIBM_BUILD] (pmatherrf): Likewise.
3333 [LIBM_BUILD] (pmatherr): Likewise.
3334 [LIBM_BUILD] (pmatherrl): Likewise.
3335 (DOMAIN): Likewise.
3336 (SING): Likewise.
3337 (OVERFLOW): Likewise.
3338 (UNDERFLOW): Likewise.
3339 (TLOSS): Likewise.
3340 (PLOSS): Likewise.
3341 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
3342 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
3343 compat_symbol.
3344 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
3345 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
3346 compat_symbol.
3347 * math/lgamma-compat.h: Include <math-svid-compat.h>.
3348 * math/w_acos_compat.c: Likewise.
3349 * math/w_acosf_compat.c: Likewise.
3350 * math/w_acosh_compat.c: Likewise.
3351 * math/w_acoshf_compat.c: Likewise.
3352 * math/w_acoshl_compat.c: Likewise.
3353 * math/w_acosl_compat.c: Likewise.
3354 * math/w_asin_compat.c: Likewise.
3355 * math/w_asinf_compat.c: Likewise.
3356 * math/w_asinl_compat.c: Likewise.
3357 * math/w_atan2_compat.c: Likewise.
3358 * math/w_atan2f_compat.c: Likewise.
3359 * math/w_atan2l_compat.c: Likewise.
3360 * math/w_atanh_compat.c: Likewise.
3361 * math/w_atanhf_compat.c: Likewise.
3362 * math/w_atanhl_compat.c: Likewise.
3363 * math/w_cosh_compat.c: Likewise.
3364 * math/w_coshf_compat.c: Likewise.
3365 * math/w_coshl_compat.c: Likewise.
3366 * math/w_exp10_compat.c: Likewise.
3367 * math/w_exp10f_compat.c: Likewise.
3368 * math/w_exp10l_compat.c: Likewise.
3369 * math/w_exp2_compat.c: Likewise.
3370 * math/w_exp2f_compat.c: Likewise.
3371 * math/w_exp2l_compat.c: Likewise.
3372 * math/w_fmod_compat.c: Likewise.
3373 * math/w_fmodf_compat.c: Likewise.
3374 * math/w_fmodl_compat.c: Likewise.
3375 * math/w_hypot_compat.c: Likewise.
3376 * math/w_hypotf_compat.c: Likewise.
3377 * math/w_hypotl_compat.c: Likewise.
3378 * math/w_j0_compat.c: Likewise.
3379 * math/w_j0f_compat.c: Likewise.
3380 * math/w_j0l_compat.c: Likewise.
3381 * math/w_j1_compat.c: Likewise.
3382 * math/w_j1f_compat.c: Likewise.
3383 * math/w_j1l_compat.c: Likewise.
3384 * math/w_jn_compat.c: Likewise.
3385 * math/w_jnf_compat.c: Likewise.
3386 * math/w_jnl_compat.c: Likewise.
3387 * math/w_lgamma_main.c: Likewise.
3388 * math/w_lgamma_r_compat.c: Likewise.
3389 * math/w_lgammaf_main.c: Likewise.
3390 * math/w_lgammaf_r_compat.c: Likewise.
3391 * math/w_lgammal_main.c: Likewise.
3392 * math/w_lgammal_r_compat.c: Likewise.
3393 * math/w_log10_compat.c: Likewise.
3394 * math/w_log10f_compat.c: Likewise.
3395 * math/w_log10l_compat.c: Likewise.
3396 * math/w_log2_compat.c: Likewise.
3397 * math/w_log2f_compat.c: Likewise.
3398 * math/w_log2l_compat.c: Likewise.
3399 * math/w_log_compat.c: Likewise.
3400 * math/w_logf_compat.c: Likewise.
3401 * math/w_logl_compat.c: Likewise.
3402 * math/w_pow_compat.c: Likewise.
3403 * math/w_powf_compat.c: Likewise.
3404 * math/w_powl_compat.c: Likewise.
3405 * math/w_remainder_compat.c: Likewise.
3406 * math/w_remainderf_compat.c: Likewise.
3407 * math/w_remainderl_compat.c: Likewise.
3408 * math/w_scalb_compat.c: Likewise.
3409 * math/w_scalbf_compat.c: Likewise.
3410 * math/w_scalbl_compat.c: Likewise.
3411 * math/w_sinh_compat.c: Likewise.
3412 * math/w_sinhf_compat.c: Likewise.
3413 * math/w_sinhl_compat.c: Likewise.
3414 * math/w_sqrt_compat.c: Likewise.
3415 * math/w_sqrtf_compat.c: Likewise.
3416 * math/w_sqrtl_compat.c: Likewise.
3417 * math/w_tgamma_compat.c: Likewise.
3418 * math/w_tgammaf_compat.c: Likewise.
3419 * math/w_tgammal_compat.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3421 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3422 * sysdeps/ieee754/k_standard.c: Likewise.
3423 * sysdeps/ieee754/k_standardf.c: Likewise.
3424 * sysdeps/ieee754/k_standardl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3427 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3432 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3433 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3435 Likewise.
3436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3437 Likewise.
3438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3440 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3441 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3442
4504783c
FW
34432017-08-21 Florian Weimer <fweimer@redhat.com>
3444
3445 [BZ #21864]
3446 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
3447 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
3448 Move before inclusion of ../Rules.
3449
b5889d25
FW
34502017-08-21 Florian Weimer <fweimer@redhat.com>
3451
3452 [BZ #21972]
3453 * assert/assert.h (assert): Use static_cast (bool) for C++.
3454 Use the ternary operator in the warning branch for GNU C.
3455 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
3456 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
3457 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
3458 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
3459 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
3460
41e673c1
L
34612017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3462
3463 [BZ #18822]
3464 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3465 (__syscall_clock_gettime): Add attribute_hidden.
3466 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
3467 (__start_context): Likewise.
3468
568ff429
L
34692017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3472 building libc.a.
3473 (hidden_proto): Likewise.
3474 (hidden_tls_proto): Likewise.
3475 (__hidden_proto): Likewise.
3476
7c41b4a1
L
34772017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3478
3479 * include/libc-symbols.h (attribute_hidden): Enable hidden
3480 visibility in libc.a compiled with PIE.
3481
483d7068
L
34822017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 [BZ #18822]
3485 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
3486 Add attribute_hidden.
3487
34882017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3489
3490 [BZ #21864]
3491 * Makerules (all-nonlib): Add $(others-extras).
3492 * catgets/Makefile (others-extras): New.
3493 * elf/Makefile (others-extras): Likewise.
3494 * nss/Makefile (others-extras): Likewise.
3495
54e4b8f2
L
34962017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 [BZ #18822]
3499 * csu/libc-start.c (__libc_multiple_libcs): Removed.
3500 * elf/dl-open.c: Include <libc-internal.h>.
3501 (__libc_multiple_libcs): Removed.
3502 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
3503 <hp-timing.h>.
3504 * include/libc-internal.h (__libc_multiple_libcs): New.
3505 * misc/sbrk.c: Include <libc-internal.h>.
3506 (__libc_multiple_libcs): Removed.
3507
1dbbb1ec
L
35082017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 [BZ #18822]
3511 * grp/initgroups.c (__nss_group_database): Removed.
3512 (__nss_initgroups_database): Likewise.
3513 * nscd/gai.c (__nss_hosts_database): Likewise.
3514 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3515 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
3516 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
3517 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
3518 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
3519 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
3520 attribute_hidden.
3521 * nss/nsswitch.c (__nss_database_custom): Define only if
3522 USE_NSCD is defined.
3523 (__nss_configure_lookup): Use __nss_database_custom only if
3524 USE_NSCD is defined.
3525 * nss/nsswitch.h (__nss_database_custom): Declare only if
3526 USE_NSCD is defined. Add attribute_hidden.
3527 (__nss_setent): Add attribute_hidden.
3528 (__nss_endent): Likewise.
3529 (__nss_getent_r): Likewise.
3530 (__nss_getent): Likewise.
3531 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3532
2585d7b8
L
35332017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3534
3535 [BZ #18822]
3536 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3537 libc_hidden_proto and libc_hidden_def.
3538
c8dfa99c
L
35392017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 [BZ #18822]
3542 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3543 Add libc_hidden_proto.
3544 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3545 Add libc_hidden_def.
3546
7ed87317
L
35472017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 [BZ #21974]
3550 * gmon/Makefile (routines): Remove bb_init_func and
3551 bb_exit_func.
3552 (elide-routines.os): Removed.
9476b904
L
3553 * gmon/bb_exit_func.c: Likewise.
3554 * gmon/bb_init_func.c: Likewise.
7ed87317
L
3555 * include/sys/gmon.h (__bb): Likewise.
3556 (__bb_init_func): Likewise.
3557 (__bb_exit_func): Likewise.
91695eb1 3558 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 3559
94e6ba15
L
35602017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3563 * include/setjmp.h (____longjmp_chk): Here. Add
3564 attribute_hidden.
3565
7550717e
L
35662017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3567
3568 [BZ #18822]
3569 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3570 attribute_hidden.
3571 (__strspn_sse2): Likewise.
3572
0bb2fabc
AZ
35732017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3574
c181840c
AZ
3575 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3576 (close_not_cancel_no_status): Likewise.
3577 (__close_nocancel): New macro.
3578 (__close_nocancel_nostatus): Likewise.
3579 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3580 macro.
3581 (close_not_cancel): Likewise.
3582 (close_not_cancel_no_status): Likewise.
3583 (__close_nocancel): New prototype.
3584 (__close_nocancel_nostatus): New function.
3585 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3586 * catgets/open_catalog.c (__open_catalog): Replace
3587 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3588 * gmon/gmon.c (write_gmon): Likewise.
3589 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3590 * intl/loadmsgcat.c (close): Likewise.
3591 * io/ftw.c (open_dir_stream): Likewise.
3592 (ftw_startup): Likewise.
3593 * libio/fileops.c (_IO_file_open): Likewise.
3594 (_IO_file_close_mmap): Likewise.
3595 (_IO_file_close): Likewise.
3596 * libio/iopopen.c (_IO_dup2): Likewise.
3597 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3598 * locale/loadlocale.c (_nl_load_locale): Likewise.
3599 * login/utmp_file.c (pututline_file): Likewise.
3600 (endutent_file): Likewise.
3601 * misc/daemon.c (daemon): Likewise.
3602 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3603 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3604 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3605 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3606 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3607 * nscd/nscd_helper.c (open_socket): Likewise.
3608 (__nscd_open_socket): Likewise.
3609 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3610 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3611 (__nscd_innetgr): Likewise.
3612 * nss/nss_db/db-open.c (internal_setent): Likewise.
3613 * resolv/res-close.c (__res_iclose): Likewise.
3614 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3615 * sysdeps/posix/closedir.c (__closedir): Likewise.
3616 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3617 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3618 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3619 (opendir_tail): Likewise.
3620 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3621 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3622 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3623 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3624 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3625 (gethostid): Likewise.
3626 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3628 Likewise.
3629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3630 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3631 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3632 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3635 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3636 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
3639 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3642 Likewise.
3643 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3644 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3645 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3646 __close_nocancel.
3647
0bb2fabc
AZ
3648 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
3649 (openat_not_cancel_3): Likewise.
3650 (openat64_not_cancel_3): Likewise).
3651 (openat_not_cancel_3): Likewise).
3652 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
3653 macro.
3654 (openat_not_cancel_3): Likewise.
3655 (openat64_not_cancel): Likewise.
3656 (openat64_not_cancel_3): Likewise.
3657 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
3658 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
3659 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
3660 __open{64}_nocancel.
3661 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3662 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3663 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3664
65a086db
L
36652017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 [BZ #18822]
3668 * include/argz.h (__argz_create_sep): New function prototype.
3669 (__argz_append): Likewise.
3670 (__argz_add): Likewise.
3671 (__argz_add_sep): Likewise.
3672 (__argz_delete): Likewise.
3673 (__argz_insert): Likewise.
3674 (__argz_replace): Likewise.
3675 * string/argz.h (__argz_create_sep): Removed.
3676 (__argz_append): Likewise.
3677 (__argz_add): Likewise.
3678 (__argz_add_sep): Likewise.
3679 (__argz_delete): Likewise.
3680 (__argz_insert): Likewise.
3681 (__argz_replace): Likewise.
3682
62753d2c
L
36832017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
3686 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
3687 (GNU_PROPERTY_STACK_SIZE): Likewie.
3688 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
3689 (GNU_PROPERTY_LOPROC): Likewise.
3690 (GNU_PROPERTY_HIPROC): Likewise.
3691 (GNU_PROPERTY_LOUSER): Likewise.
3692 (GNU_PROPERTY_HIUSER): Likewise.
3693 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
3694 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
3695 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
3696 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
3697 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
3698 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
3699 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
3700 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
3701 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
3702 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
3703 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
3704 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
3705 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
3706 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
3707 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
3708 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
3709 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
3710 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
3711 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
3712 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
3713 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
3714 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
3715 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
3716
6913ad65
GG
37172017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3718
3719 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
3720 in C++ mode.
3721
47a67213
GG
37222017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3723
3724 [BZ #21930]
3725 * math/math.h (isinf): Check if in C or C++ mode before using
3726 __builtin_types_compatible_p, since this is a C mode feature.
3727
a748eb31
AZ
37282017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3729
c647fb88
AZ
3730 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
3731 (__write_nocancel): New macro.
3732 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
3733 Rewrite as a function prototype.
3734 (write_not_cancel): Remove macro.
3735 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
3736 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
3737 (write_gmon): Likewise.
3738 * libio/fileops.c (_IO_new_file_write): Likewise.
3739 * login/utmp_file.c (pututline_file): Likewise.
3740 (updwtmp_file): Likewise.
3741 * stdio-common/psiginfo.c (psiginfo): Likewise.
3742 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3743 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3744 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3745 Likewise.
3746 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3747 Likewise.
3748
a748eb31
AZ
3749 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
3750 (__read_nocancel): New macro.
3751 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3752 __read_nocancel.
3753 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
3754 macro.
3755 (__read_nocancel): New prototype.
3756 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
3757 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
3758 with __read_nocancel.
3759 * intl/loadmsgcat.c (read): Likewise.
3760 * libio/fileops.c (_IO_file_read): Likewise.
3761 * locale/loadlocale.c (_nl_load_locale): Likewise.
3762 * login/utmp_file.c (getutent_r_file): Likewise.
3763 (internal_getut_r): Likewise.
3764 (getutline_r_file): Likewise.
3765 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3766 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3767 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3768 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
3771 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3772 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3773 Likewise.
3774 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3775 Likewise.
3776 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3777 Likewise.
3778 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3779 Likewise.
3780 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3781
098b9dd4
L
37822017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3783
3784 [BZ #21966]
3785 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
3786 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
3787 usable.
3788
a3fe6a20
DD
37892017-08-17 DJ Delorie <dj@redhat.com>
3790
3791 * bug17079.c: Update to new test harness.
3792 * test-digits-dots.c: Likewise.
3793 * test-netdb.c: Likewise.
3794 * tst-field.c: Likewise.
3795 * tst-nss-getpwent.c: Likewise.
3796 * tst-nss-static.c: Likewise.
3797 * tst-nss-test1.c: Likewise.
3798 * tst-nss-test2.c: Likewise.
3799 * tst-nss-test3.c: Likewise.
3800 * tst-nss-test4.c: Likewise.
3801 * tst-nss-test5.c: Likewise.
3802
c2284574
AZ
38032017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3804
3805 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
3806 (open_not_cancel_2): Likewise.
3807 (open_nocancel): New macro.
3808 (open64_nocancel): Likewise.
3809 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
3810 (open_not_cancel_2): Likewise.
3811 (__open_nocancel): New prototype.
3812 (__open64_nocancel): Likewise.
3813 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3814 __open_nocancel.
3815 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
3816 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
3817 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
3818 with __open_nocancel.
3819 * csu/check_fds.c (check_one_fd): Likewise.
3820 * gmon/gmon.c (write_gmon): Likewise.
3821 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
3822 * intl/loadmsgcat.c (open): Likewise.
3823 * libio/fileops.c (_IO_file_open): Likewise.
3824 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3825 * locale/loadlocale.c (_nl_load_locale): Likewise.
3826 * login/utmp_file.c (setutent_file): Likewise.
3827 * misc/daemon.c (daemon): Likewise.
3828 * nss/nss_db/db-open.c (internal_setent): Likewise.
3829 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3830 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
3831 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3832 (__opendir): Likewise.
3833 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3834 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
3835 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3836 (gethostid): Likewise.
3837 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3838 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3839 Likewise.
3840 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3841 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
3842 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3843 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3844 Likewise.
3845 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
3846 Likewise.
3847 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3848 Likewise.
3849 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3850 Likewise.
3851 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3854 Likewise.
3855 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3857
d4505b89
WD
38582017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
3859
3860 * benchtests/bench-skeleton.c (main): Add support for
3861 latency benchmarking.
3862 * benchtests/scripts/bench.py: Add support for latency benchmarking.
3863
34d6a3cb
L
38642017-08-17 H.J. Lu <hongjiu.lu@intel.com>
3865
3866 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
3867 the startup object.
3868
038d1caf
FW
38692017-08-17 Florian Weimer <fweimer@redhat.com>
3870
3871 * include/sys/socket.h (__opensock): Remove internal_function.
3872 * socket/opensock.c (__opensock): Likewise.
3873 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
3874
67f0aff0
JM
38752017-08-16 Joseph Myers <joseph@codesourcery.com>
3876
3877 [BZ #21944]
3878 * signal/bits/types/__sigval_t.h: New file.
3879 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
3880 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
3881 and define sigval_t using __sigval_t.
3882 * include/bits/types/__sigval_t.h: New file.
3883 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
3884 instead of <bits/types/__sigval_t.h>.
3885 (struct sigevent): Use __sigval_t instead of sigval_t.
3886 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
3887 instead of <bits/types/__sigval_t.h>.
3888 (siginfo_t): Use __sigval_t instead of sigval_t.
3889 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
3890 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3891 (struct sigevent): Use __sigval_t instead of sigval_t.
3892 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
3893 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
3894 (siginfo_t): Use __sigval_t instead of sigval_t.
3895 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
3896
87e7bf4d
L
38972017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * NEWS: Remove "[Add new features here]" for 2.27.
3900
5047057f
JM
39012017-08-16 Joseph Myers <joseph@codesourcery.com>
3902
3903 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
3904 libc.so.
3905
20c7b195
L
39062017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * NEWS: Mention x86-64 FMA optimization.
3909
24a2e658
L
39102017-08-16 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 [BZ #21912]
3913 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3914 Add e_expf-fma.
3915 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
3916 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
3917 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
3918
eedca977
AS
39192017-08-16 Andreas Schwab <schwab@suse.de>
3920
403143e1
FW
3921 [BZ #16750]
3922 CVE-2009-5064
eedca977
AS
3923 * elf/ldd.bash.in: Never run file directly.
3924
f59f7adb
L
39252017-08-15 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 [BZ #21955]
3928 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
3929 (L(SP_INF_0)): Likewise.
3930
6b11a6ad
FW
39312017-08-15 Florian Weimer <fweimer@redhat.com>
3932
3933 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
3934 run-built-tests.
3935
bbf5c438
FW
39362017-08-15 Florian Weimer <fweimer@redhat.com>
3937
3938 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
3939 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
3940 BROKEN_THREAD_SIGNALS code.
3941 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
3942 request_list): Remove caller_pid member used for
3943 BROKEN_THREAD_SIGNALS.
3944 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
3945 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
3946 Remove BROKEN_THREAD_SIGNALS support.
3947 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3948 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
3949
6014c65d
FW
39502017-08-15 Florian Weimer <fweimer@redhat.com>
3951
3952 * gmon/Makefile (tests): Add tst-gmon.
3953 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
3954 Set.
3955 (tests-special): Add tst-gmon-prof.out.
3956 (tst-gmon.out): Depend on clean-tst-gmon-data.
3957 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
3958 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
3959 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
3960 startup object.
3961 * aclocal.m4 (GPROF): Set and substitute.
3962 * config.amke.in (GPROF): Set.
3963 * configure: Regenerate.
3964
ee72219a
GR
39652017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
3966
3967 * elf/elf.h A (NT_PPC_TAR): New macro.
3968 (NT_PPC_PPR): Likewise.
3969 (NT_PPC_DSCR): Likewise.
3970 (NT_PPC_EBB): Likewise.
3971 (NT_PPC_PMU): Likewise.
3972 (NT_PPC_TM_CGPR): Likewise.
3973 (NT_PPC_TM_CFPR): Likewise.
3974 (NT_PPC_TM_CVMX): Likewise.
3975 (NT_PPC_TM_CVSX): Likewise.
3976 (NT_PPC_TM_SPR): Likewise.
3977 (NT_PPC_TM_CTAR): Likewise.
3978 (NT_PPC_TM_CPPR): Likewise.
3979 (NT_PPC_TM_CDSCR): Likewise.
3980
4ebf934e
FW
39812017-08-15 Florian Weimer <fweimer@redhat.com>
3982
3983 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
3984 regparm (2) instead of internal_function.
3985 (_MCOUNT_DECL): Adjust.
3986
e9f57484
SL
39872017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3988
3989 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
3990 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3991
88ff4d55
JM
39922017-08-14 Joseph Myers <joseph@codesourcery.com>
3993
3994 * conform/data/sys/wait.h-data (si_value): Do not expect for
3995 XPG42.
3996
c88ffc23
FW
39972017-08-14 Florian Weimer <fweimer@redhat.com>
3998
3999 [BZ #21962]
4000 NSS: Create stubs for accidentally exported lookup functions.
4001 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
4002 Remove declaration.
4003 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
4004 (ether_hostton): Call __nss_ethers_lookup2 instead.
4005 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
4006 (ether_ntohost): Call __nss_ethers_lookup2 instead.
4007 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
4008 (setup): Call __nss_netgroup_lookup2 instead.
4009 * nss/Makefile (routines): Add compat-lookup.
4010 * nss/Versions (GLIBC_2.27): Add symbol version.
4011 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
4012 (DB_COMPAT_FCT): Remove.
4013 * nss/compat-lookup.c: New file.
4014 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
4015 from databases.def.
4016 * nss/service-lookup.c (NO_COMPAT): Remove definition.
4017 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
4018 (netname2user): Call __nss_publickey_lookup2 instead.
4019 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
4020 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
4021 instead.
4022
35a29136 40232017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
4024 Sergei Trofimovich <slyfox@inbox.ru>
4025
4026 [BZ #21908]
4027 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
4028 Rename to MMAP2_PAGE_UNIT.
4029 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
4030 __OFF_T_MATCHES_OFF64_T is not defined.
4031 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
4032 uint64_t.
4033 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
4034 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
4035
fbdc1e3e
FW
40362017-08-14 Florian Weimer <fweimer@redhat.com>
4037
4038 i386: Do not set internal_function.
4039 * config.h.in (USE_REGPARMS, internal_function): Remove.
4040 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
4041 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
4042
b3f85fd2
FW
40432017-08-14 Florian Weimer <fweimer@redhat.com>
4044
4045 * elf/dl-init.c (_dl_init): Remove internal_function.
4046 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
4047 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
4048
630bf491
FW
40492017-08-14 Florian Weimer <fweimer@redhat.com>
4050
4051 * elf/rtld.c (_dl_start): Remove internal_function.
4052 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
4053 _dl_start.
4054
9fa7449b
FW
40552017-08-14 Florian Weimer <fweimer@redhat.com>
4056
4057 * elf/dl-fini.c (_dl_fini): Remove internal_function
4058 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4059
73322d5f
L
40602017-08-14 H.J. Lu <hongjiu.lu@intel.com>
4061
4062 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
4063 (bit_cpu_SHSTK): Likewise.
4064 (index_cpu_IBT): Likewise.
4065 (index_cpu_SHSTK): Likewise.
4066 (reg_IBT): Likewise.
4067 (reg_SHSTK): Likewise.
4068 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4069 Handle index_cpu_IBT and index_cpu_SHSTK.
4070
dbc303ef
MF
40712017-08-14 Mike FABIAN <mfabian@redhat.com>
4072
4073 [BZ #19982]
4074 * po/fr.po: Fix spelling mistake.
4075
3012cfb0
FW
40762017-08-13 Florian Weimer <fweimer@redhat.com>
4077
4078 * elf/dl-addr.c (_dl_addr): Remove internal_function.
4079 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
4080 (_dl_catch_error, _dl_receive_error): Likewise.
4081 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
4082 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
4083 (_dl_deallocate_tls): Likewise.
4084 * include/dlfcn.h (_dl_addr): Likewise.
4085 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
4086 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
4087 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
4088 Likewise.
4089
52bcdf26
FW
40902017-08-13 Florian Weimer <fweimer@redhat.com>
4091
4092 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
4093 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
4094 internal_function.
4095 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
4096
e1d2ae8d
FW
40972017-08-13 Florian Weimer <fweimer@redhat.com>
4098
4099 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
4100 internal_function.
4101 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
4102 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
4103 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
4104 internal_function from _dl_make_stack_executable_hook member.
4105 (_dl_make_stack_executable): Remove internal_function.
4106 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/dl-execstack.c
4109 (_dl_make_stack_executable): Likewise.
4110
c4ce0382
FW
41112017-08-13 Florian Weimer <fweimer@redhat.com>
4112
4113 * sysdeps/unix/sysv/linux/netlinkaccess.h
4114 (__netlink_assert_response): Remove internal_function.
4115 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4116 (__netlink_assert_response): Likewise.
4117
c4d767f7
FW
41182017-08-13 Florian Weimer <fweimer@redhat.com>
4119
4120 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
4121 internal_function.
4122 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
4123
b2297409
FW
41242017-08-13 Florian Weimer <fweimer@redhat.com>
4125
4126 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
4127 internal_function.
4128 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
4129 * inet/netgroup.h (__internal_setnetgrent)
4130 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4131 * inet/getnetgrent_r.c (__internal_setnetgrent)
4132 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4133 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
4134 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
4135 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
4136 * nss/nsswitch.h (db_lookup_function): Likewise.
4137
1b0bfc69
FW
41382017-08-13 Florian Weimer <fweimer@redhat.com>
4139
4140 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
4141 Remove internal_function.
4142 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
4143 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
4144 message argument on the stack.
4145 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
4146 Likeweise.
4147
a6bd8722
MF
41482017-08-12 Mike FABIAN <mfabian@redhat.com>
4149
4150 Adapt test case data to the changes in the thousands
4151 separators.
4152
4153 [BZ #20756]
4154 * localedata/tst-langinfo.sh: Adapt test case data.
4155 * stdlib/tst-strfmon_l.c: Likewise.
4156 * stdlib/tst-strtod4.c: Likewise.
4157 * stdlib/tst-strtod5i.c: Likewise.
4158
8b2c63e4
FW
41592017-08-11 Florian Weimer <fweimer@redhat.com>
4160
4161 [BZ #21242]
4162 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
4163 Suppress pedantic warning resulting from statement expression.
4164 (__ASSERT_FUNCTION): Add missing __extension__.
4165
61c98291
SP
41662017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4167
86c6519e
SP
4168 * benchtests/bench-memmove-large.c: Print output in JSON
4169 format.
4170 * benchtests/bench-memmove.c: Likewise.
4171
61c98291
SP
4172 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
4173 * benchtests/bench-memchr.c (do_one_test): Likewise.
4174 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
4175 * benchtests/bench-memcpy.c (do_one_test): Likewise.
4176 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
4177 * benchtests/bench-memmove.c (do_one_test): Likewise.
4178 * benchtests/bench-memset-large.c (do_one_test): Likewise.
4179 * benchtests/bench-memset.c (do_one_test): Likewise.
4180 * benchtests/bench-string.h (test_init): Remove memsets.
4181
925733a9
RJ
41822017-08-10 Rical Jasan <ricaljasan@pacific.net>
4183
4184 * manual/lang.texi
4185 (Computing the Width of an Integer Data Type): Rename section to
4186 "Width of an Integer Type". Remove inaccurate statement regarding
4187 lack of C language facilities for determining width of integer
4188 types, and reorder content to improve flow and context of
4189 discussion.
4190
4fcdfbfc
RJ
41912017-08-10 Rical Jasan <ricaljasan@pacific.net>
4192
4193 * lang.texi (va_copy): Change standard from ISO to C99.
4194 (__va_copy): Add standard and header annotation.
4195 Update description for clarity of origins and current use.
4196
4d98ace9
GG
41972017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4198
4199 [BZ #21941]
4200 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
4201 xssqrtqp requires operands to be in Vector Registers
4202 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
4203 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
4204 (__ieee754_sqrtf128): Likewise.
4205
92236903
WD
42062017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4207
4208 * sysdeps/aarch64/memcmp.S (memcmp):
4209 Rewrite of optimized memcmp.
4210
2449ae7b
FW
42112017-08-10 Florian Weimer <fweimer@redhat.com>
4212
4213 Introduce ld.so exceptions.
4214 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
4215 (_dl_exception_create, _dl_exception_create_format)
4216 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
4217 (_dl_catch_exception): Declare.
4218 (_dl_catch_error): Update comment.
4219 * elf/dl-error-skeleton.c (struct catch): Replace objname,
4220 errstring, malloced members with exception member.
4221 (_dl_out_of_memory): Remove.
4222 (fatal_error): New function, extracted from _dl_signal_error.
4223 (_dl_signal_exception, _dl_signal_cexception): New functions.
4224 (_dl_signal_error): Call _dl_exception_create to allocate an
4225 exception object.
4226 (_dl_catch_exception): New function, based on _dl_catch_error.
4227 (_dl_catch_error): Implement using _dl_catch_exception.
4228 * elf/dl-exception.c: New file.
4229 * elf/Makefile (dl-routines): Add dl-exception.
4230 (elide-routines.os): Likewise.
4231 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
4232 _dl_exception_create_format, _dl_exception_free.
4233 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
4234 _dl_signal_exception.
4235 * elf/dl-lookup.c (make_string): Remove.
4236 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
4237 _dl_signal_cexception, _dl_exception_free.
4238 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
4239 _dl_signal_exception.
4240 * elf/dl-sym.c (do_sym): Likewise.
4241 * elf/dl-version.c (make_string): Remove.
4242 (match_symbol): Use _dl_exception_create_format,
4243 _dl_signal_cexception, _dl_exception_free.
4244 (_dl_check_map_versions): Likewise.
4245 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
4246 _dl_catch_exception.
4247 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4248 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4249 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4250 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4251 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4252 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4253 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4254 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4255 Likewise.
4256 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4258 (ld.so): Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4260 (ld.so): Likewise.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4262 Likewise.
4263 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4264 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4265 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4266 Likewise.
4267 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4268 Likewise.
4269 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4270
f87cc2bf
FW
42712017-08-10 Florian Weimer <fweimer@redhat.com>
4272
4273 * inet/net-internal.h (__inet6_scopeid_pton): Remove
4274 attribute_hidden, internal_function.
4275 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
4276 internal_function.
4277
eac43cbb
FW
42782017-08-10 Florian Weimer <fweimer@redhat.com>
4279
4280 * malloc/malloc.c (get_max_fast): Reimplement as an inline
4281 function which calls __builtin_unreachable.
4282
bd80111e
MF
42832017-08-10 Mike FABIAN <mfabian@redhat.com>
4284
4285 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
4286 Indian monetary formatting
4287 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
4288 test cases.
4289
60e2846e
DL
42902017-08-09 Dmitry V. Levin <ldv@altlinux.org>
4291
68dc02d1
DL
4292 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
4293 Fix typo in comment.
4294
60e2846e
DL
4295 [BZ #21928]
4296 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
4297 PTRACE_SEIZE_DEVEL): Remove.
4298 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4299 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4303
3d452dab
JM
43042017-08-09 Joseph Myers <joseph@codesourcery.com>
4305
24d9f53a
JM
4306 * posix/bits/types.h (__qaddr_t): Remove.
4307
3d452dab
JM
4308 [BZ #21457]
4309 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
4310 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4311 __glibc_reserved1.
4312 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
4313 (ucontext_t): Use __ctx with uc_flags.
4314 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
4315 (__ctxt): Likewise.
4316 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4317 __glibc_reserved1.
4318 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
4319 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4320 __glibc_reserved1.
4321 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
4322 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4323 __glibc_reserved1.
4324 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
4325 macro.
4326 (ucontext_t): Use __ctx with uc_flags.
4327 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
4328 (ucontext_t): Use __ctx with uc_flags.
4329 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
4330 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
4331 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
4332 (ucontext_t): Use __ctx with uc_flags.
4333 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
4334 undefine further down.
4335 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4336 __glibc_reserved1.
4337 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
4338 undefine further down.
4339 (ucontext_t): Use __ctx with uc_flags.
4340 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
4341 undefine further down.
4342 (ucontext_t): Use __ctx with uc_flags.
4343 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
4344 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
4345 Rename uc_pad to __glibc_reserved1.
4346 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
4347 undefine further down.
4348 (ucontext_t): Use __ctx with uc_flags.
4349 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
4350 further down.
4351 (ucontext_t): Use __ctx with uc_flags.
4352 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
4353 __ctx with uc_flags.
4354 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
4355 (ucontext_t): Use __ctx with uc_flags.
4356 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
4357 __ctx with uc_flags.
4358
30161498
FW
43592017-08-09 Florian Weimer <fweimer@redhat.com>
4360
4361 [BZ #21932]
4362 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
4363 before early return.
4364
5797b410
AS
43652017-08-09 Andreas Schwab <schwab@suse.de>
4366
139237a4 4367 [BZ #21041]
5797b410
AS
4368 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
4369 renamed alias.
4370
139237a4 4371 [BZ #21041]
40c06a3d
AS
4372 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
4373 tst-compat-forwarder.
4374 (modules-names): Add tst-compat-forwarder-mod.
4375 ($(objpfx)tst-compat-forwarder): Depend on
4376 $(objpfx)tst-compat-forwarder-mod.so.
4377 * nptl/tst-compat-forwarder.c: New file.
4378 * nptl/tst-compat-forwarder-mod.c: New file.
4379
36ada5f6
SP
43802017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
4381
0e02b510
SP
4382 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
4383 comments.
4384
36ada5f6
SP
4385 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
4386 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4387 memcpy_falkor.
4388 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
4389 Bump.
4390 (__libc_ifunc_impl_list): Add __memcpy_falkor.
4391 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4392 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
4393 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4394 Add falkor.
4395 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
4396 New macro.
4397
9995c839
AZ
43982017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4399
4400 [BZ #759]
4401 * manual/setjmp.texi (getcontex): Document uc_stack value
4402 compatibility differences.
4403
f17a4233
JM
44042017-08-08 Joseph Myers <joseph@codesourcery.com>
4405
4406 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
4407 (old_malloc_hook): Likewise.
4408 (old_memalign_hook): Likewise.
4409 (old_realloc_hook): Likewise.
4410 (struct hdr): Likewise.
4411 (flood): Likewise.
4412 (freehook): Likewise.
4413 (mallochook): Likewise.
4414 (memalignhook): Likewise.
4415 (reallochook): Likewise.
4416 (mprobe): Likewise.
4417 * malloc/mtrace.c (mallwatch): Likewise.
4418 (tr_old_free_hook): Likewise.
4419 (tr_old_malloc_hook): Likewise.
4420 (tr_old_realloc_hook): Likewise.
4421 (tr_old_memalign_hook): Likewise.
4422 (tr_where): Likewise.
4423 (lock_and_info): Likewise.
4424 (tr_freehook): Likewise.
4425 (tr_mallochook): Likewise.
4426 (tr_reallochook): Likewise.
4427 (tr_memalignhook): Likewise.
4428 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
4429 * misc/mmap.c (__mmap): Likewise.
4430 * misc/mmap64.c (__mmap64): Likewise.
4431 * misc/mprotect.c (__mprotect): Likewise.
4432 * misc/msync.c (msync): Likewise.
4433 * misc/munmap.c (__munmap): Likewise.
4434 * posix/posix_madvise.c (posix_madvise): Likewise.
4435 * socket/send.c (__send): Likewise.
4436 * socket/sendto.c (__sendto): Likewise.
4437 * socket/setsockopt.c (__setsockopt): Likewise.
4438 * string/memcmp.c (__ptr_t): Remove macro.
4439 (MEMCMP): Use void * instead of ptr_t.
4440 * string/memrchr.c (__ptr_t): Remove macro.
4441 (__memrchr): Use void * instead of ptr_t.
4442 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
4443 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4444 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4445 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
4446 * sysdeps/mach/msync.c (msync): Likewise.
4447 * sysdeps/mach/munmap.c (__munmap): Likewise.
4448 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
4449 Likewise.
4450 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4451 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
4452 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
4453 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
4454 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4455 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4456 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
4457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
4458 Likewise.
4459 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4460 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
4461 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
4462 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
4463 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
4464 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
4465 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
4466 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
4467 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
4468 Likewise.
4469 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
4470 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
4471 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
4472 (MEMCMP): Use void * instead of ptr_t.
4473 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
4474 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
4475
0df595b2
FW
44762017-08-08 Florian Weimer <fweimer@redhat.com>
4477
4478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
4479 return statement.
4480
086df229
L
44812017-08-08 H.J. Lu <hongjiu.lu@intel.com>
4482
4483 [BZ #21913]
4484 * csu/libc-tls.c: Include <startup.h> first.
4485 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
4486 * elf/dl-tunables.c: Include <startup.h> first.
4487 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
4488 * sysdeps/generic/startup.h: New file.
4489 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
4490 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
4491 (I386_USE_SYSENTER): New. Defined to 0.
4492
fc5ad702
AS
44932017-08-08 Andreas Schwab <schwab@suse.de>
4494
4495 [BZ #21041]
4496 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
4497 * nptl/pt-system.c (system): Likewise.
4498
852d6312
AZ
44992017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4500
4501 [BZ #21780]
4502 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
4503 EOPNOTSUPP.
4504 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4505 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4506 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
4507 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4508 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4509 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4510 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4511
8b164787
JM
45122017-08-07 Joseph Myers <joseph@codesourcery.com>
4513
cd65836b
JM
4514 [BZ #21899]
4515 * bits/sigaction.h (struct sigaction): Define sa_handler and
4516 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
4517 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4518 [__USE_XOPEN_EXTENDED].
4519 (SA_RESTART): Likewise.
4520 (SA_NODEFER): Likewise.
4521 (SA_RESETHAND): Likewise.
4522 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4523 (struct sigaction): Define sa_handler and sa_sigaction using union
4524 also for [__USE_XOPEN_EXTENDED].
4525 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4526 [__USE_XOPEN_EXTENDED].
4527 (SA_RESTART): Likewise.
4528 (SA_NODEFER): Likewise.
4529 (SA_RESETHAND): Likewise.
4530 * sysdeps/unix/sysv/linux/bits/sigaction.h
4531 (struct sigaction): Define sa_handler and sa_sigaction using union
4532 also for [__USE_XOPEN_EXTENDED].
4533 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4534 [__USE_XOPEN_EXTENDED].
4535 (SA_RESTART): Likewise.
4536 (SA_NODEFER): Likewise.
4537 (SA_RESETHAND): Likewise.
4538 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4539 (struct sigaction): Define sa_handler and sa_sigaction using union
4540 also for [__USE_XOPEN_EXTENDED].
4541 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4542 [__USE_XOPEN_EXTENDED].
4543 (SA_RESTART): Likewise.
4544 (SA_NODEFER): Likewise.
4545 (SA_RESETHAND): Likewise.
4546 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4547 (struct sigaction): Define sa_handler and sa_sigaction using union
4548 also for [__USE_XOPEN_EXTENDED].
4549 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4550 [__USE_XOPEN_EXTENDED].
4551 (SA_RESTART): Likewise.
4552 (SA_NODEFER): Likewise.
4553 (SA_RESETHAND): Likewise.
4554 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4555 (struct sigaction): Define sa_handler and sa_sigaction using union
4556 also for [__USE_XOPEN_EXTENDED].
4557 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4558 [__USE_XOPEN_EXTENDED].
4559 (SA_RESTART): Likewise.
4560 (SA_NODEFER): Likewise.
4561 (SA_RESETHAND): Likewise.
4562 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4563 (struct sigaction): Define sa_handler and sa_sigaction using union
4564 also for [__USE_XOPEN_EXTENDED].
4565 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4566 [__USE_XOPEN_EXTENDED].
4567 (SA_RESTART): Likewise.
4568 (SA_NODEFER): Likewise.
4569 (SA_RESETHAND): Likewise.
4570 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4571 (struct sigaction): Define sa_handler and sa_sigaction using union
4572 also for [__USE_XOPEN_EXTENDED].
4573 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4574 [__USE_XOPEN_EXTENDED].
4575 (SA_RESTART): Likewise.
4576 (SA_NODEFER): Likewise. Define directly rather than as alias.
4577 (SA_RESETHAND): Likewise.
4578 (SA_INTERRUPT): Define only for [__USE_MISC].
4579 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4580 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4581 [__USE_MISC].
4582 (SA_STACK): Define only for [__USE_MISC].
4583 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4584 (struct sigaction): Define sa_handler and sa_sigaction using union
4585 also for [__USE_XOPEN_EXTENDED].
4586 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4587 [__USE_XOPEN_EXTENDED].
4588 (SA_RESTART): Likewise.
4589 (SA_NODEFER): Likewise.
4590 (SA_RESETHAND): Likewise.
4591 (SA_NOPTRACE): Define only for [__USE_MISC].
4592
d9fee042
JM
4593 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4594 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4595 (struct catalog_info): Likewise.
4596 * inet/htontest.c (lo): Likewise.
4597 (foo): Likewise.
4598 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4599 * inet/inet_net.c (inet_network): Likewise.
4600 * inet/inet_netof.c (inet_netof): Likewise.
4601 * inet/rcmd.c (__ivaliduser): Likewise.
4602 (iruserok): Likewise.
4603 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4604 * locale/programs/locale-spec.c (locale_special): Likewise.
4605 * nis/nis_findserv.c (struct findserv_req): Likewise.
4606 (__nis_findfastest_with_timeout): Likewise.
4607 * nss/test-netdb.c (test_network): Likewise.
4608 * resolv/inet_neta.c (inet_neta): Likewise.
4609 * resolv/ns_date.c (ns_datetosecs): Likewise.
4610 (SECS_PER_DAY): Likewise.
4611 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4612 Likewise.
4613 * resolv/res_comp.c (__putlong): Likewise.
4614 (__putshort): Likewise.
4615 (_getlong): Likewise.
4616 (_getshort): Likewise.
4617 * resolv/res_debug.c (p_time): Likewise.
4618 (precsize_ntoa): Likewise.
4619 (precsize_aton): Likewise.
4620 (latlon2ul): Likewise.
4621 (loc_aton): Likewise.
4622 (loc_ntoa): Likewise.
4623 * resolv/res_hconf.c (struct netaddr): Likewise.
4624 (_res_hconf_reorder_addrs): Likewise.
4625 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4626 (clnttcp_control): Likewise.
4627 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4628 (clntudp_control): Likewise.
4629 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4630 (clntunix_control): Likewise.
4631 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4632 * sunrpc/rpc/auth.h (union des_block): Likewise.
4633 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4634 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4635 (xdrrec_create): Likewise.
4636 (xdrrec_endofrecord): Likewise.
4637 (flush_out): Likewise.
4638 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
4639 (xdrstdio_putlong): Likewise.
4640 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
4641 Likewise.
4642
8b164787
JM
4643 * misc/sys/cdefs.h (__long_double_t): Remove.
4644 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
4645 instead of __long_double_t,
4646 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
4647
7ee38e60
SP
46482017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4649
dd3e86ad
SP
4650 * benchtests/scripts/compare_strings.py: Avoid display error when
4651 running on a text terminal.
4652
b115e819
SP
4653 * benchtests/scripts/compare_strings.py (main): Add an
4654 optional -base option.
4655 (process_results): New argument base_func.
4656
7ee38e60
SP
4657 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
4658 hardcoding memcpy.
4659 * benchtests/bench-memcpy-large.c (test_name): Likewise.
4660 * benchtests/bench-memcpy-random.c (test_name): Likewise.
4661
d5afb385
AS
46622017-08-07 Andreas Schwab <schwab@suse.de>
4663
4664 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
4665 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4666 * intl/Makefile ($(objpfx)tst-gettext.out)
4667 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
4668 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
4669 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4670 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4671 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
4672 * posix/Makefile ($(objpfx)globtest.out)
4673 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
4674 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
4675 ($(objpfx)tst-printf.out): Likewise.
4676 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
4677 ($(objpfx)tst-setcontext3.out): Likewise.
4678
57a72fa3
L
46792017-08-07 H.J. Lu <hongjiu.lu@intel.com>
4680
4681 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4682 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
4683 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
4684 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
4685 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
4686 and mptan-fma.
4687 (CFLAGS-doasin-fma.c): New.
4688 (CFLAGS-dosincos-fma.c): Likewise.
4689 (CFLAGS-e_asin-fma.c): Likewise.
4690 (CFLAGS-e_atan2-fma.c): Likewise.
4691 (CFLAGS-e_exp-fma.c): Likewise.
4692 (CFLAGS-e_log-fma.c): Likewise.
4693 (CFLAGS-e_pow-fma.c): Likewise.
4694 (CFLAGS-halfulp-fma.c): Likewise.
4695 (CFLAGS-mpa-fma.c): Likewise.
4696 (CFLAGS-mpatan-fma.c): Likewise.
4697 (CFLAGS-mpatan2-fma.c): Likewise.
4698 (CFLAGS-mpexp-fma.c): Likewise.
4699 (CFLAGS-mplog-fma.c): Likewise.
4700 (CFLAGS-mpsqrt-fma.c): Likewise.
4701 (CFLAGS-mptan-fma.c): Likewise.
4702 (CFLAGS-s_atan-fma.c): Likewise.
4703 (CFLAGS-sincos32-fma.c): Likewise.
4704 (CFLAGS-slowexp-fma.c): Likewise.
4705 (CFLAGS-slowpow-fma.c): Likewise.
4706 (CFLAGS-s_sin-fma.c): Likewise.
4707 (CFLAGS-s_tan-fma.c): Likewise.
4708 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
4709 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
4710 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
4711 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
4712 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
4713 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
4714 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
4715 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
4716 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
4717 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
4718 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
4719 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
4720 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
4721 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
4722 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
4723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
4724 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
4725 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
4726 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
4727 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
4728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
4729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
4731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
4732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4735 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
4736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4739
219dd320
JM
47402017-08-04 Joseph Myers <joseph@codesourcery.com>
4741
4742 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
4743 (min_of_type_f): New macro.
4744 (min_of_type_): Likewise.
4745 (min_of_type_l): Likewise.
4746 (min_of_type_f128): Likewise.
4747 (min_of_type): Define using __MATH_TG and taking an expression
4748 argument.
4749 (math_check_force_underflow): Pass expression instead of type to
4750 min_of_type.
4751 (math_check_force_underflow_nonneg): Likewise.
4752
64d4dea6
L
47532017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4754
4755 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
4756 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
4757 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
4758
973da22a
L
47592017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4762 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
4763 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
4764 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
4765 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
4766 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
4767 memcpy_chk-nonshared, mempcpy_chk-nonshared,
4768 memmove_chk-nonshared and memset_chk-nonshared
4769 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
4770 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
4771 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
4772 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
4773 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
4774 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
4775 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
4776 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
4777 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
4778 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
4779 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
4780 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
4781 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
4782 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
4783 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
4784 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
4785 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
4786 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
4787 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
4788 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
4789 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
4790 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
4791 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
4792 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
4794 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
4795 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
4796 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
4797 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
4799 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
4800 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
4801 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
4802 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4803 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
4804 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
4805 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
4806 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
4807 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
4808 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
4809 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
4810 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
4811 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
4812 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
4813 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
4814 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
4815 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
4816 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
4817 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
4818 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
4819 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
4820 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
4821 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
4822 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
4823 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
4824 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
4825 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
4826 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
4827 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
4828 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
4829 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
4830 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
4831 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
4832 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
4833 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
4834 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
4835 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
4836 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
4837 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
4838 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4839 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
4840 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4841 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4842 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4843 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4844 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4845 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4846 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4847 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4848 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4849 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4850 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4851 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4852 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4853 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4854 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4855 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4856 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4857 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4858 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4859 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4860 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4861 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4863 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4864 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4865 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4866 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4867 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4868 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4869 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4877
8537e0f6
L
48782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4879
4880 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
4881 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
4882 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
4883 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
4884 svml_d_log2_core-sse2, svml_d_log4_core-sse,
4885 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
4886 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
4887 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
4888 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
4889 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
4890 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
4891 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
4892 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
4893 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
4894 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
4895 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
4896 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
4897 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
4898 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
4899 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
4900 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
4901 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
4902 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
4903 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
4904 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
4905 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
4906 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
4907 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
4908 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
4909 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
4910 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
4911 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
4912 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
4913 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
4914 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
4915 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
4916 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
4917 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
4918 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
4919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
4920 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
4921 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
4922 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
4923 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
4924 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
4925 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
4926 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
4927 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
4928 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
4929 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
4930 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
4931 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
4932 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
4933 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
4934 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
4935 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
4936 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
4937 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
4938 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
4939 ...
4940 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
4941 Don't include <sysdep.h> nor <init-arch.h>.
4942 (_ZGVbN2v_cos): Removed.
4943 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
4944 ...
4945 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
4946 Don't include <sysdep.h> nor <init-arch.h>.
4947 (_ZGVdN4v_cos): Removed.
4948 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
4949 ...
4950 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
4951 Don't include <sysdep.h> nor <init-arch.h>.
4952 (_ZGVeN8v_cos): Removed.
4953 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
4954 ...
4955 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
4956 Don't include <sysdep.h> nor <init-arch.h>.
4957 (_ZGVbN2v_exp): Removed.
4958 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
4959 ...
4960 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
4961 Don't include <sysdep.h> nor <init-arch.h>.
4962 (_ZGVdN4v_exp): Removed.
4963 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
4964 ...
4965 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
4966 Don't include <sysdep.h> nor <init-arch.h>.
4967 (_ZGVeN8v_exp): Removed.
4968 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
4969 ...
4970 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
4971 Don't include <sysdep.h> nor <init-arch.h>.
4972 (_ZGVbN2v_log): Removed.
4973 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
4974 ...
4975 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
4976 Don't include <sysdep.h> nor <init-arch.h>.
4977 (_ZGVdN4v_log): Removed.
4978 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
4979 ...
4980 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
4981 Don't include <sysdep.h> nor <init-arch.h>.
4982 (_ZGVeN8v_log): Removed.
4983 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
4984 ...
4985 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
4986 Don't include <sysdep.h> nor <init-arch.h>.
4987 (_ZGVbN2vv_pow): Removed.
4988 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
4989 ...
4990 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
4991 Don't include <sysdep.h> nor <init-arch.h>.
4992 (_ZGVdN4vv_pow): Removed.
4993 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
4994 ...
4995 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
4996 Don't include <sysdep.h> nor <init-arch.h>.
4997 (_ZGVeN8vv_pow): Removed.
4998 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
4999 ...
5000 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
5001 Don't include <sysdep.h> nor <init-arch.h>.
5002 (_ZGVbN2v_sin): Removed.
5003 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
5004 ...
5005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
5006 Don't include <sysdep.h> nor <init-arch.h>.
5007 (_ZGVbN4v_sin): Removed.
5008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
5009 ...
5010 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
5011 Don't include <sysdep.h> nor <init-arch.h>.
5012 (_ZGVbN8v_sin): Removed.
5013 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
5014 ...
5015 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
5016 Don't include <sysdep.h> nor <init-arch.h>.
5017 (_ZGVbN2vvv_sincos): Removed.
5018 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
5019 ...
5020 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
5021 Don't include <sysdep.h> nor <init-arch.h>.
5022 (_ZGVdN4vvv_sincos): Removed.
5023 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
5024 ...
5025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
5026 Don't include <sysdep.h> nor <init-arch.h>.
5027 (_ZGVeN8vvv_sincos): Removed.
5028 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
5029 ...
5030 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
5031 Don't include <sysdep.h> nor <init-arch.h>.
5032 (_ZGVeN16v_cosf): Removed.
5033 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
5034 ...
5035 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
5036 Don't include <sysdep.h> nor <init-arch.h>.
5037 (_ZGVbN4v_cosf): Removed.
5038 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
5039 ...
5040 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
5041 Don't include <sysdep.h> nor <init-arch.h>.
5042 (_ZGVdN8v_cosf): Removed.
5043 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
5044 ...
5045 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
5046 Don't include <sysdep.h> nor <init-arch.h>.
5047 (_ZGVeN16v_expf): Removed.
5048 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
5049 ...
5050 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
5051 Don't include <sysdep.h> nor <init-arch.h>.
5052 (_ZGVbN4v_expf): Removed.
5053 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
5054 ...
5055 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
5056 Don't include <sysdep.h> nor <init-arch.h>.
5057 (_ZGVdN8v_expf): Removed.
5058 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
5059 ...
5060 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
5061 Don't include <sysdep.h> nor <init-arch.h>.
5062 (_ZGVeN16v_logf): Removed.
5063 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
5064 ...
5065 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
5066 Don't include <sysdep.h> nor <init-arch.h>.
5067 (_ZGVbN4v_logf): Removed.
5068 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
5069 ...
5070 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
5071 Don't include <sysdep.h> nor <init-arch.h>.
5072 (_ZGVdN8v_logf): Removed.
5073 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
5074 ...
5075 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
5076 Don't include <sysdep.h> nor <init-arch.h>.
5077 (_ZGVeN16vv_powf): Removed.
5078 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
5079 ...
5080 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
5081 Don't include <sysdep.h> nor <init-arch.h>.
5082 (_ZGVbN4vv_powf): Removed.
5083 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
5084 ...
5085 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
5086 Don't include <sysdep.h> nor <init-arch.h>.
5087 (_ZGVdN8vv_powf): Removed.
5088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
5089 ...
5090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
5091 Don't include <sysdep.h> nor <init-arch.h>.
5092 (_ZGVeN16vvv_sincosf): Removed.
5093 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
5094 ...
5095 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
5096 Don't include <sysdep.h> nor <init-arch.h>.
5097 (_ZGVbN4vvv_sincosf): Removed.
5098 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
5099 ...
5100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
5101 Don't include <sysdep.h> nor <init-arch.h>.
5102 (_ZGVdN8vvv_sincosf): Removed.
5103 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
5104 ...
5105 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
5106 Don't include <sysdep.h> nor <init-arch.h>.
5107 (_ZGVeN16v_sinf): Removed.
5108 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
5109 ...
5110 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
5111 Don't include <sysdep.h> nor <init-arch.h>.
5112 (_ZGVbN4v_sinf): Removed.
5113 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
5114 ...
5115 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
5116 Don't include <sysdep.h> nor <init-arch.h>.
5117 (_ZGVdN8v_sinf): Removed.
5118
10a87ca4
L
51192017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5122 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
5123 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
5124 s_rint-sse4_1 and s_rintf-sse4_1.
5125 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
5126 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5127 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5128 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5129 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5130 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
5131 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
5132 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5133 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5134 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
5135 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
5136 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5137 (__ceil): Removed.
5138 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
5139 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
5140 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5141 (__ceilf): Removed.
5142 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
5143 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
5144 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5145 (__floor): Removed.
5146 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
5147 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
5148 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5149 (__floorf): Removed.
5150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
5151 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
5152 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5153 (__nearbyint): Removed.
5154 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
5155 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
5156 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5157 (__nearbyintf): Removed.
5158 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
5159 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
5160 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5161 (__rint): Removed.
5162 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
5163 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
5164 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5165 (__rintf): Removed.
5166
1e8e527d
L
51672017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5168
5169 * sysdeps/i386/start.S (_start): Check Check PIC instead of
5170 SHARED. Avoid dynamic relocation against main in static PIE.
5171
e13daad7
L
51722017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 [BZ #21815]
5175 * elf/Makefile (CFLAGS-tst-prelink.c): New.
5176 (LDFLAGS-tst-prelink): Likewise.
5177
627c69c8
L
51782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5179
5180 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
5181 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
5182 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
5183 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5184 (INTERNAL_SYSCALL_NCS): Likewise.
5185 (LOADARGS_1): Likewise.
5186 (LOADARGS_5): Likewise.
5187 (RESTOREARGS_1): Likewise.
5188 (RESTOREARGS_5): Likewise.
5189
fc11ff8d
L
51902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5191
5192 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
5193 (MEMPCPY_SYMBOL): Likewise.
5194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5195 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
5196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
5197 in libc.a.
5198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5199 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5200 Likewise.
5201 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
5202 (__hidden_ver1): Don't use in libc.a.
5203 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5204 (__mempcpy): Don't create a weak alias in libc.a.
5205 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
5206 libc.a.
5207 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
5208 (__hidden_ver1): Don't use in libc.a.
5209
19f1a11e
L
52102017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5211
5212 * config.make.in (have-insert): New.
5213 * configure.ac (libc_cv_insert): New. Set to yes if linker
5214 supports INSERT in linker script.
5215 (AC_SUBST(libc_cv_insert): New.
5216 * configure: Regenerated.
5217 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
5218 if $(have-insert) == yes.
5219
3093fd5e
L
52202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5221
5222 * elf/Makefile (tests): Add vismain only if
5223 $(have-protected-data) == yes.
5224 (tests-pie): Likewise.
5225
d2cf37c0
L
52262017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5227
5228 [BZ #21871]
5229 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5230 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
5231
c8a0e6ec
L
52322017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5233
5234 [BZ #21790]
5235 * sysdeps/i386/i586/memset.S
5236 (__memset_zero_constant_len_parameter): Removed.
5237 * sysdeps/i386/i686/memset.S
5238 (__memset_zero_constant_len_parameter): Likewise.
5239 * sysdeps/i386/i686/multiarch/memset_chk.S
5240 (__memset_zero_constant_len_parameter): Likewise.
5241 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
5242 Likewise.
5243
2b34e271
AJ
52442017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5245
5246 * stdlib/getentropy.c (getentropy): Change return type to int.
5247
144bdab0
AJ
52482017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5249
5250 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5251
24ab7723
JM
52522017-08-03 Joseph Myers <joseph@codesourcery.com>
5253
5254 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
5255 u_intN_t.
5256 * math/s_nexttowardf.c (__nexttowardf): Likewise.
5257 * sysdeps/generic/math_private.h (ieee_double_shape_type):
5258 Likewise.
5259 (ieee_float_shape_type): Likewise.
5260 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
5261 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
5262 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5263 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5264 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5265 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
5266 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
5267 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5268 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5269 Likewise.
5270 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5271 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5272 (__ieee754_yn): Likewise.
5273 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5274 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
5276 Likewise.
5277 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5278 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
5279 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
5280 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
5281 (__erfc): Likewise.
5282 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5283 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
5284 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
5285 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
5286 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
5287 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
5288 Likewise.
5289 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5290 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
5291 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5292 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
5293 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5294 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
5295 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
5296 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
5297 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
5298 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5299 (__issignaling): Likewise.
5300 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
5301 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
5302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5303 Likewise.
5304 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5305 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5306 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
5307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
5308 Likewise.
5309 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
5310 Likewise.
5311 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
5312 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
5313 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
5314 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5315 (__erfcf): Likewise.
5316 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5317 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5318 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
5319 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
5320 Likewise.
5321 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
5322 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
5323 Likewise.
5324 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5325 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
5326 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5327 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
5328 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
5329 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5330 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
5331 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
5332 Likewise.
5333 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
5334 Likewise.
5335 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5336 Likewise.
5337 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
5338 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5339 Likewise.
5340 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5341 Likewise.
5342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5343 (__ieee754_ynl): Likewise.
5344 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5345 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
5346 Likewise.
5347 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
5348 Likewise.
5349 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5350 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
5351 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5352 Likewise.
5353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5354 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
5355 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
5356 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
5357 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
5358 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5359 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
5360 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
5361 Likewise.
5362 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5363 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
5364 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
5365 Likewise.
5366 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
5367 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
5368 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5369 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5370 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
5371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5372 Likewise.
5373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5374 Likewise.
5375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5376 Likewise.
5377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5378 Likewise.
5379 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
5380 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5381 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
5383 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5384 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
5385 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
5386 Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5388 Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5391 Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5393 (__ieee754_remainderl): Likewise.
5394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5398 Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5401 Likewise.
5402 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5403 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
5404 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5405 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5406 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5407 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5408 Likewise.
5409 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5411 (__ieee754_y0l): Likewise.
5412 (pzero): Likewise.
5413 (qzero): Likewise.
5414 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5415 (__ieee754_y1l): Likewise.
5416 (pone): Likewise.
5417 (qone): Likewise.
5418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5419 (__ieee754_ynl): Likewise.
5420 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5421 (__ieee754_lgammal_r): Likewise.
5422 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
5423 Likewise.
5424 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5425 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
5426 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5427 (__erfcl): Likewise.
5428 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5429 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
5430 Likewise.
5431 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
5432 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
5433 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5434 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
5435 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
5436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5438 Likewise.
5439 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
5440 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5441 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
5442 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
5443 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5444 Likewise.
5445 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
5446 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
5447 Likewise.
5448 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
5449 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
5450 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
5451 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5452 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5453
964263bb
FW
54542017-08-03 Florian Weimer <fweimer@redhat.com>
5455
5456 [BZ #21885]
5457 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
5458 on memory allocation failure.
5459
e98c925f
AM
54602017-08-03 Alan Modra <amodra@gmail.com>
5461
5462 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
5463 tst-tlsopt-powerpc.c with function name change and no test harness.
5464 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
5465 Call tls_get_addr_opt_test.
5466 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
5467 (modules-names): Add mod-tlsopt-powerpc.
5468 (mod-tlsopt-powerpc.so-no-z-defs): Define.
5469 (tst-tlsopt-powerpc): Depend on .so.
5470 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
5471 define. Expand use in TLS_GD and TLS_LD.
5472
8ee1abdb
ST
54732017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5474
5475 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
5476 function.
3da5756e 5477 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 5478
42df8d59
JM
54792017-08-02 Joseph Myers <joseph@codesourcery.com>
5480
5481 [BZ #21686]
5482 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
5483 comparing size with that of double.
5484 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5485 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5486 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5487 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5488 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5489 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
5490 unsigned __int128 types.
5491
b7f95f49
SE
54922017-08-02 Steve Ellcey <sellcey@cavium.com>
5493
5494 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
5495 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5496 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
5497 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
5498 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
5499
5b736bc9
L
55002017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5501
5502 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
5503
dfc93c41
L
55042017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5505
5506 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
5507 of SHARED.
5508 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5509 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5511 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5512 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5515
2fee621d
JM
55162017-08-02 Joseph Myers <joseph@codesourcery.com>
5517
5518 [BZ #21685]
5519 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
5520 bit-field expressions passed to sizeof or typeof.
5521 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5522 (__TGMATH_F128): Likewise.
5523 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5524 (__TGMATH_CF128): Likewise.
5525 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5526 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5527 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5528 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5529 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5530 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5531 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5532 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5533 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5534 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5535 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5536 (__TGMATH_UNARY_IMAG): Likewise.
5537 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5538 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5539 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5540 type.
5541 (define_vars_for_type): Handle bit_field type specially.
5542 (Tests.__init__): Declare structure with bit-field element.
5543
b358255f
L
55442017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5545
5546 [BZ #21791]
5547 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5548 (MEMCPY_CHK): Define only if SHARED is defined.
5549 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5550 Likewise.
5551 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5552 Likewise.
edf66db1
SP
5553
5554See ChangeLog.18 for earlier changes.