]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix $(error) use in Makefile
[thirdparty/glibc.git] / ChangeLog
CommitLineData
00c3da43
ST
12017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
4 seconds.
65b22ebc 5 * elf/rtld-Rules: Fix $(error) use.
00c3da43 6
96480903
MF
72017-09-09 Mike FABIAN <mfabian@redhat.com>
8
9 [BZ #14925]
10 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
11 * locale/iso-639.def: Change “Bengali” to “Bangla”.
12 * localedata/locales/bn_BD: “Bengali” was still used in some
13 comments. Change it to “Bangla”.
14
4c03a696
MT
152017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
16
17 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
18
9c9ec581
SE
192017-09-08 Steve Ellcey <sellcey@cavium.com>
20
21 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
22 thunderx2t99p1 to list of cpu names.
23 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
24 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
25
f00bce74
SE
262017-09-08 Steve Ellcey <sellcey@cavium.com>
27
28 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29 Use strcmp instead of tunable_is_name.
30
27342d17
JM
312017-09-08 Joseph Myers <joseph@codesourcery.com>
32
af1b7c8c
JM
33 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34 (F_GET_RW_HINT): New macro.
35 [__USE_GNU] (F_SET_RW_HINT): Likewise.
36 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
37 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
38 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
39 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
40 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
41 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
42 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
43 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
44
27342d17
JM
45 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46 (F_ADD_SEALS): New macro.
47 [__USE_GNU] (F_GET_SEALS): Likewise.
48 [__USE_GNU] (F_SEAL_SEAL): Likewise.
49 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
50 [__USE_GNU] (F_SEAL_GROW): Likewise.
51 [__USE_GNU] (F_SEAL_WRITE): Likewise.
52
c66c9082
AZ
532017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
54
07b4f49d
AZ
55 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
56 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
57 * posix/glob_internal.h (__glob_pattern_type):
58 * posix/glob.c (glob):
59 * posix/glob_pattern_p.c (__glob_pattern_p):
60 Use them.
61
116f1c64
AZ
62 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
63 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
65 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
66 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
68 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
69 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
70 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
71 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
72 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
73 * sysdeps/wordsize-64/glob.c: Likewise.
74 * sysdeps/wordsize-64/glob64.c: Likewise.
75 * sysdeps/wordsize-64/globfree.c: Likewise.
76 * sysdeps/wordsize-64/globfree64.c: Likewise.
77 * sysdeps/unix/sysv/linux/glob.c: New file.
78 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
79 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
80 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
81 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
82 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
83 adds !GLOB_NO_OLD_VERSION as an extra condition.
84 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
85 using relative path instead of absolute one.
86 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
87 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
88 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
89 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
90 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
91 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
92
ffca8901
AZ
93 [BZ #1062]
94 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
95 (glob): Use the same scratch buffer for both getlogin_r and
96 getpwnam_r. Don’t require preallocation of the login name. This
97 simplifies storage allocation, and corrects the handling of
98 long login names.
99
5a79f975
AZ
100 [BZ #1062]
101 * posix/glob.c (glob): Port recent patches to platforms
102 lacking getpwnam_r.
103 (glob): Fix longstanding misuse of errno after getpwnam_r, which
104 returns an error number rather than setting errno.
105
e00f2425
AZ
106 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
107 instead of GCC extension.
108 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
109 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
110 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
111
5554304f
AZ
112 [BZ #866]
113 [BZ #1062]
114 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
115 * posix/bug-glob1.c: Remove file.
116 * posix/tst-glob_symlinks.c: New file.
117 * posix/glob.c (__lstat64): New macro.
118 (is_dir): New function.
119 (glob, glob_in_dir): Match symlinks even if they are dangling.
120 (link_stat, link_exists_p): Remove. All uses removed.
121
686f2ea1
AZ
122 [BZ #1062]
123 [BZ #19971]
124 * posix/glob.c (struct readdir_result): Remove skip_entry member.
125 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
126 All uses removed.
127
c66c9082
AZ
128 [BZ #1062]
129 * posix/Makefile (routines): Add globfree, globfree64, and
130 glob_pattern_p.
131 * posix/flexmember.h: New file.
132 * posix/glob_internal.h: Likewise.
133 * posix/glob_pattern_p.c: Likewise.
134 * posix/globfree.c: Likewise.
135 * posix/globfree64.c: Likewise.
136 * sysdeps/gnu/globfree64.c: Likewise.
137 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
138 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
139 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
140 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
142 * sysdeps/wordsize-64/globfree.c: Likewise.
143 * sysdeps/wordsize-64/globfree64.c: Likewise.
144 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
145 [NDEBUG): Remove comments.
146 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
147 (dirent_type): New type. Use uint_fast8_t not
148 uint8_t, as C99 does not require uint8_t.
149 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
150 (struct readdir_result): Use dirent_type. Do not define skip_entry
151 unless it is needed; this saves a byte on platforms lacking d_ino.
152 (readdir_result_type, readdir_result_skip_entry):
153 New functions, replacing ...
154 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
155 these functions, which were removed. This makes the callers
156 easier to read. All callers changed.
157 (D_INO_TO_RESULT): Now empty if there is no d_ino.
158 (size_add_wrapv, glob_use_alloca): New static functions.
159 (glob, glob_in_dir): Check for size_t overflow in several places,
160 and fix some size_t checks that were not quite right.
161 Remove old code using SHELL since Bash no longer
162 uses this.
163 (glob, prefix_array): Separate MS code better.
164 (glob_in_dir): Remove old Amiga and VMS code.
165 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
166 separate files.
167 (glob_in_dir): Do not rely on undefined behavior in accessing
168 struct members beyond their bounds. Use a flexible array member
169 instead
170 (link_stat): Rename from link_exists2_p and return -1/0 instead of
171 0/1. Caller changed.
172 (glob): Fix memory leaks.
173 * posix/glob64 (globfree64): Move to separate file.
174 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
175 (globfree64): Remove hidden alias.
176 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
177 oldglob.
178 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
179 separate file.
180 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
181 define.
182 Move compat code to separate file.
183 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
184 separate file.
185
78bfa877
L
1862017-09-07 H.J. Lu <hongjiu.lu@intel.com>
187
188 * resolv/tst-resolv-qtypes.c (domain): Changed to
189 "const char domain[] =".
190
05f0011f
JM
1912017-09-07 Joseph Myers <joseph@codesourcery.com>
192
85bec0f2
JM
193 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
194 version to 3.1.6.
195
5c23ee6e
JM
196 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
197 (TCP_MD5SIG_EXT): Likewise.
198 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
199 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
200 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
201
05f0011f
JM
202 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
203
7c9c5be9
MF
2042017-09-07 Mike FABIAN <mfabian@redhat.com>
205
206 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
207
ae214523
AK
2082017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
209
210 [BZ #22100]
211 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
212
507fe027
ST
2132017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
214
215 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
216 before assuming that the file is empty. Avoid testing buffer content
217 when nread == 0.
218
65687ac7
AZ
2192017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
220
7bbbb4b9 221 [BZ #18858]
65687ac7
AZ
222 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
223 Remove define.
224 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
225 Likewise.
226 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
227 Likewise.
228 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
229 Likewise.
230 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
231 Likewise.
232 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
233 Likewise.
234 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
235 Likewise.
236
ab5ac271
FW
2372017-09-06 Florian Weimer <fweimer@redhat.com>
238
239 * malloc/dynarray_emplace_enlarge.c
240 (__libc_dynarray_emplace_enlarge): Add missing else.
241
a8304730
FW
2422017-09-06 Florian Weimer <fweimer@redhat.com>
243
244 [BZ #22096]
245 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
246 case of failure to obtain the global conf object.
247
5670c4ab
FW
2482017-09-06 Florian Weimer <fweimer@redhat.com>
249
250 [BZ #22095]
251 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
252 dynarray allocation failure.
253
c77eb969
FW
2542017-09-06 Florian Weimer <fweimer@redhat.com>
255
256 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
257 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
258 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
259 New functions.
260 (response): Call them. Add 'p', '6' flag processing.
261 (test_reverse): New function.
262 (test_get2_any): Call it.
263 (test_no_inet6): Add 'p' test.
264 (test_inet6): Likewise.
265
5e9c4d17
FW
2662017-09-06 Florian Weimer <fweimer@redhat.com>
267
268 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
269 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
270 the QNAME.
271 (test_gai): Adjust query names. Add additional tests.
272 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
273 test_get2. Adjust query names. Add additional tests.
274 (test_no_inet6): New function, extracted from threadfunc.
275 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
276 Add additional tests.
277
2ae5be04
MF
2782017-09-06 Mike FABIAN <mfabian@redhat.com>
279
280 [BZ #22070]
281 * localedata/unicode-gen/utf8_gen.py: Set the width for
282 characters with Prepended_Concatenation_Mark property to 1
283 * localedata/charmaps/UTF-8: Updated using the improved script.
284
af83ed5c
MF
2852017-09-06 Mike FABIAN <mfabian@redhat.com>
286
287 [BZ #21750]
288 * localedata/unicode-gen/utf8_gen.py: Improve the script to
289 use the range notation for all ranges of neighbouring characters
290 with the same width.
291
4f3647e4
JM
2922017-09-05 Joseph Myers <joseph@codesourcery.com>
293
294 * sysdeps/generic/math-type-macros-double.h: Include
295 <math-svid-compat.h>.
296 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
297 * sysdeps/generic/math-type-macros-float.h: Include
298 <math-svid-compat.h>.
299 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
300 * sysdeps/generic/math-type-macros-ldouble.h: Include
301 <math-svid-compat.h>.
302 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
303 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
304 condition.
305 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
306 * math/w_acosf_compat.c: Likewise.
307 * math/w_acosh_compat.c: Likewise.
308 * math/w_acoshf_compat.c: Likewise.
309 * math/w_acoshl_compat.c: Likewise.
310 * math/w_acosl_compat.c: Likewise.
311 * math/w_asin_compat.c: Likewise.
312 * math/w_asinf_compat.c: Likewise.
313 * math/w_asinl_compat.c: Likewise.
314 * math/w_atan2_compat.c: Likewise.
315 * math/w_atan2f_compat.c: Likewise.
316 * math/w_atan2l_compat.c: Likewise.
317 * math/w_atanh_compat.c: Likewise.
318 * math/w_atanhf_compat.c: Likewise.
319 * math/w_atanhl_compat.c: Likewise.
320 * math/w_cosh_compat.c: Likewise.
321 * math/w_coshf_compat.c: Likewise.
322 * math/w_coshl_compat.c: Likewise.
323 * math/w_exp10_compat.c: Likewise.
324 * math/w_exp10f_compat.c: Likewise.
325 * math/w_exp10l_compat.c: Likewise.
326 * math/w_exp2_compat.c: Likewise.
327 * math/w_exp2f_compat.c: Likewise.
328 * math/w_exp2l_compat.c: Likewise.
329 * math/w_fmod_compat.c: Likewise.
330 * math/w_fmodf_compat.c: Likewise.
331 * math/w_fmodl_compat.c: Likewise.
332 * math/w_hypot_compat.c: Likewise.
333 * math/w_hypotf_compat.c: Likewise.
334 * math/w_hypotl_compat.c: Likewise.
335 * math/w_j0_compat.c: Likewise.
336 * math/w_j0f_compat.c: Likewise.
337 * math/w_j0l_compat.c: Likewise.
338 * math/w_j1_compat.c: Likewise.
339 * math/w_j1f_compat.c: Likewise.
340 * math/w_j1l_compat.c: Likewise.
341 * math/w_jn_compat.c: Likewise.
342 * math/w_jnf_compat.c: Likewise.
343 * math/w_jnl_compat.c: Likewise.
344 * math/w_lgamma_r_compat.c: Likewise.
345 * math/w_lgammaf_r_compat.c: Likewise.
346 * math/w_lgammal_r_compat.c: Likewise.
347 * math/w_log10_compat.c: Likewise.
348 * math/w_log10f_compat.c: Likewise.
349 * math/w_log10l_compat.c: Likewise.
350 * math/w_log2_compat.c: Likewise.
351 * math/w_log2f_compat.c: Likewise.
352 * math/w_log2l_compat.c: Likewise.
353 * math/w_log_compat.c: Likewise.
354 * math/w_logf_compat.c: Likewise.
355 * math/w_logl_compat.c: Likewise.
356 * math/w_pow_compat.c: Likewise.
357 * math/w_powf_compat.c: Likewise.
358 * math/w_powl_compat.c: Likewise.
359 * math/w_remainder_compat.c: Likewise.
360 * math/w_remainderf_compat.c: Likewise.
361 * math/w_remainderl_compat.c: Likewise.
362 * math/w_sinh_compat.c: Likewise.
363 * math/w_sinhf_compat.c: Likewise.
364 * math/w_sinhl_compat.c: Likewise.
365 * math/w_sqrt_compat.c: Likewise.
366 * math/w_sqrtf_compat.c: Likewise.
367 * math/w_sqrtl_compat.c: Likewise.
368 * math/w_tgamma_compat.c: Likewise.
369 * math/w_tgammaf_compat.c: Likewise.
370 * math/w_tgammal_compat.c: Likewise.
371 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
372 [LIBM_SVID_COMPAT].
373 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
374 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
375 [LIBM_SVID_COMPAT].
376 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
377 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
378 [LIBM_SVID_COMPAT].
379 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
380 * sysdeps/i386/fpu/w_sqrt.c: New file.
381 * sysdeps/ia64/fpu/w_acos.c: Likewise.
382 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
383 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
384 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
385 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
386 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
387 * sysdeps/ia64/fpu/w_asin.c: Likewise.
388 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
389 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
390 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
391 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
392 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
393 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
394 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
395 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
396 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
397 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
398 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
399 * sysdeps/ia64/fpu/w_exp.c: Likewise.
400 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
401 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
402 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
403 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
404 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
405 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
406 * sysdeps/ia64/fpu/w_expf.c: Likewise.
407 * sysdeps/ia64/fpu/w_expl.c: Likewise.
408 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
409 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
410 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
411 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
412 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
413 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
414 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
415 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
416 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
417 * sysdeps/ia64/fpu/w_log.c: Likewise.
418 * sysdeps/ia64/fpu/w_log10.c: Likewise.
419 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
420 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
421 * sysdeps/ia64/fpu/w_log2.c: Likewise.
422 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
423 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
424 * sysdeps/ia64/fpu/w_logf.c: Likewise.
425 * sysdeps/ia64/fpu/w_logl.c: Likewise.
426 * sysdeps/ia64/fpu/w_pow.c: Likewise.
427 * sysdeps/ia64/fpu/w_powf.c: Likewise.
428 * sysdeps/ia64/fpu/w_powl.c: Likewise.
429 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
430 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
431 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
432 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
433 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
434 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
435 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
436 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
437 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
438 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
439 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
440 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
441 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
442 [LIBM_SVID_COMPAT].
443 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
444 * sysdeps/ieee754/k_standard.c: Likewise.
445 * sysdeps/ieee754/k_standardf.c: Likewise.
446 * sysdeps/ieee754/k_standardl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
448 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
449 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
450 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
451 long_double_symbol call on [LIBM_SVID_COMPAT].
452 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
453 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
454 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
455 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
456 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
457 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
458 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
459 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
460 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
461 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
462 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
463 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
464 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
465 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
466 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
467 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
468 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
469 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
470 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
471 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
472 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
473 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
474
05b38d64
SE
4752017-09-05 Steve Ellcey <sellcey@cavium.com>
476
477 * include/shlib-compat.h (TEST_COMPAT): New Macro.
478 * malloc/tst-mallocstate.c: Convert from test-skeleton
479 to test-driver. Ifdef code using TEST_COMPAT macro.
480 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
481 * math/test-matherr.c: Likewise.
482
99d67918
JM
4832017-09-05 Joseph Myers <joseph@codesourcery.com>
484
485 [BZ #22086]
486 * debug/pcprofiledump.c (main): Use byte-swapped mask when
487 comparing word with byte-swapped constant.
488
3f802aeb
MF
4892017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
490
491 [BZ #20498]
492 * locale/iso-639.def: add Miskito.
493 * localedata/SUPPORTED: Add miq_NI/UTF-8.
494 * localedata/locales/miq_NI: New file.
495
0a587a8a
L
4962017-09-04 H.J. Lu <hongjiu.lu@intel.com>
497
498 [BZ #18822]
499 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
500 (__mkdir): Likewise.
501 * io/chmod.c (__chmod): Add libc_hidden_def.
502 * io/mkdir.c (__mkdir): Likewise.
503 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
504 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
505 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
506 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
507
f3a129b8
JM
5082017-09-04 Joseph Myers <joseph@codesourcery.com>
509
1650e192
JM
510 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
511 version to 4.13.
512
f3a129b8
JM
513 [BZ #22082]
514 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
515 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
516
b38042f5
FW
5172017-09-04 Florian Weimer <fweimer@redhat.com>
518
519 * math/math.h: Issue warning if log is defined.
520
059b6404
JM
5212017-09-04 Joseph Myers <joseph@codesourcery.com>
522
523 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
524 kernel version to 4.13.
525
b794e16b
ST
5262017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
527
528 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
529 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
530 parameter.
01969395
ST
531 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
532 just <bits/types.h>.
dd2b31de 533 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 534 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 535 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 536 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
537 * misc/preadv2.c: Include <errno.h>.
538 * misc/preadv64v2.c: Include <errno.h>.
539 * misc/pwritev2.c: Include <errno.h>.
540 * misc/pwritev64v2.c: Include <errno.h>.
541 * sysdeps/posix/preadv2.c: Include <errno.h>.
542 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
543 Fix <unistd.h> inclusion.
544 * sysdeps/posix/pwritev2.c: Include <errno.h>.
545 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
546 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
547 __strtoul_internal): New functions.
127e7773
ST
548 * sysdeps/posix/pause.c: Include <sigsetops.h>.
549 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
550 * sysdeps/mach/hurd/i386/Makefile
551 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
552 [$(subdir) = csu] (sysdep-only-routines): Likewise.
553 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
554 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
555 __feraiseexcept_renamed to feraiseexcept instead of
556 __GI_feraiseexcept.
56bf5497 557 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 558 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
559 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
560 RWF_NOWAIT): Define to 0 if undefined already.
561 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
562 boils down to 0.
6547ec0a
ST
563 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
564 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 565
5a80d39d
JM
5662017-09-01 Joseph Myers <joseph@codesourcery.com>
567
568 * manual/math.texi (pow10): Do not document.
569 (pow10f): Likewise.
570 (pow10l): Likewise.
571 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
572 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
573 * math/libm-test-exp10.inc (pow10_test): Remove.
574 (do_test): Do not call pow10.
575 * math/w_exp10_compat.c (pow10): Make into compat symbol.
576 [NO_LONG_DOUBLE] (pow10l): Likewise.
577 * math/w_exp10f_compat.c (pow10f): Likewise.
578 * math/w_exp10l_compat.c (pow10l): Likewise.
579 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
580 (pow10): Make into compat symbol.
581 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
582 (pow10f): Make into compat symbol.
583 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
584 (pow10l): Make into compat symbol.
585 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
586 pow10.
587 (CFLAGS-nldbl-pow10.c): Remove variable..
588 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
589 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
590 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
591 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
592 Undefine and redefine.
593 (pow10l): Make into compat symbol.
594 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
595 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
596 * sysdeps/arm/libm-test-ulps: Likewise.
597 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
598 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
599 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
600 * sysdeps/microblaze/libm-test-ulps: Likewise.
601 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
602 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
603 * sysdeps/nios2/libm-test-ulps: Likewise.
604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
605 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
607 * sysdeps/sh/libm-test-ulps: Likewise.
608 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
609 * sysdeps/tile/libm-test-ulps: Likewise.
610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611
3824fc38
PP
6122017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
613
614 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
615
b3008279
L
6162017-09-01 H.J. Lu <hongjiu.lu@intel.com>
617
618 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
619 "../ChangeLog.old/ChangeLog.8".
620 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
621 "../ChangeLog.old/ChangeLog.14".
622
136fa185
L
6232017-09-01 H.J. Lu <hongjiu.lu@intel.com>
624
625 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
626 Threads Library.
627
c18d50a2
JM
6282017-09-01 Joseph Myers <joseph@codesourcery.com>
629
630 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
631
bedbd859
L
6322017-09-01 H.J. Lu <hongjiu.lu@intel.com>
633
634 * csu/version.c (banner): Remove "by Roland McGrath et al.".
635 * nptl/Banner: Remove "by Ulrich Drepper et al.".
636
50c66c7a
PP
6372017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
638
639 * stdlib/tst-atexit-common.c (do_test): Test support for at least
640 32 atexit handlers.
641
a617bd11
ZW
6422017-09-01 Zack Weinberg <zackw@panix.com>
643
644 * math/math.h (HUGE_VAL): Improve commentary.
645
e0d2eb5a
AZ
6462017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
647 Andreas Schwab <schwab@suse.de>
648
649 [BZ #21530]
650 * include/stdio.h (__gen_tempfd): New function.
651 * stdio-common/Makefile (routines): Add gentempfd.
652 * stdio-common/gentempfd.c: New file.
653 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
654 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
655 unnamed file first.
656
f4a6be25
FW
6572017-09-01 Florian Weimer <fweimer@redhat.com>
658
659 [BZ #21915]
660 [BZ #21922]
661 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
662 result to determine success or failure, not the errno value.
663 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
664 (tst-nss-files-hosts-erange): Link with -ldl.
665 * nss/tst-nss-files-hosts-erange.c: New file.
666 * nss/tst-resolv-basic.c (response): Handle nodata.example.
667 (do_test): Add NO_DATA tests.
668 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
669 (do_test): Call it.
670
5f8340f5
FW
6712017-09-01 Florian Weimer <fweimer@redhat.com>
672
673 [BZ #21922]
674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
675 coming from gethostbyname2_r.
676
65329bd2
FW
6772017-09-01 Florian Weimer <fweimer@redhat.com>
678
679 * support/namespace.h (struct support_chroot_configuration): Add
680 hosts, host_conf.
681 (struct support_chroot): Add path_hosts, path_host_conf.
682 * support/support_chroot.c (write_file): New function.
683 (support_chroot_create): Call it to process /etc/resolv.conf,
684 /etc/hosts, /etc/host.conf.
685 (support_chroot_free): Update.
686
a2881ef0
FW
6872017-09-01 Florian Weimer <fweimer@redhat.com>
688
689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
690 status indicates it is set.
691
ad816a5e
FW
6922017-09-01 Florian Weimer <fweimer@redhat.com>
693
694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
695 function lookup failures more reliable.
696
53250a21
FW
6972017-09-01 Florian Weimer <fweimer@redhat.com>
698
699 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
700 (getcanonname): Likewise.
701 (gaih_inet): Likewise.
702
924b121c
FW
7032017-09-01 Florian Weimer <fweimer@redhat.com>
704
705 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
706 (getcanonname): Likewise.
707 (gaih_inet): Likewise.
708
d9ff799a
SE
7092017-08-31 Steve Ellcey <sellcey@cavium.com>
710 Richard Henderson <rth@twiddle.net>
711
712 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
713 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
714 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
715 (IREG_SIZE, OREG_SIZE): New macros.
716 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
717 (IREG_SIZE, OREG_SIZE): New macros.
718 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
719 (IREG_SIZE): New macro.
720 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
721 (IREG_SIZE): New macro.
722 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
723 New includes.
724 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
725 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
726 (__CONCATX): Handle exceptions correctly on large values that may
727 set FE_INVALID.
728 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
729 Initialize if not already set.
730 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
731
102dde84
AZ
7322017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
733
734 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
735 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
736 Likewise.
737 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
738 Likewise.
739 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
740 Likewise.
741 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
742 Likewise.
743 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
744 Likewise.
745 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
746 Likewise.
747 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
748 Likewise.
749 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
750 (NO_CANCELLATION): Likewise.
751 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
752 Likewise.
753 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
754 Likewise.
755 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
756 Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
758 (NO_CANCELLATION): Likewise.
759 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
760 (NO_CANCELLATION): Likewise.
761 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
762 Likewise
763 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
764 Likewise.
765 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
766 Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
768 Likewise.
769 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
770 hidden prototype.
771 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
772 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
773
9eee633b
SE
7742017-08-31 Steve Ellcey <sellcey@cavium.com>
775
776 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
777 in resolver call.
778
65284eb7
FW
7792017-08-31 Florian Weimer <fweimer@redhat.com>
780
781 * include/libc-symbols.h (internal_function): Remove.
782
41ad5ca6
FW
7832017-08-31 Florian Weimer <fweimer@redhat.com>
784
785 * stdlib/fmtmsg.c (internal_addseverity): Remove
786 internal_function.
787
2fa6d086
FW
7882017-08-31 Florian Weimer <fweimer@redhat.com>
789
790 * stdio-common/printf_fp.c (group_number): Remove
791 internal_function.
792 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
793
b41bd5bc
FW
7942017-08-31 Florian Weimer <fweimer@redhat.com>
795
796 * posix/fnmatch.c (internal_function): Remove definition.
797 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
798 * posix/regcomp.c (peek_token, init_word_char)
799 (duplicate_node_closure, fetch_token, peek_token)
800 (peek_token_bracket, build_range_exp, build_collating_symbol):
801 Likewise.
802 * posix/regex_internal.c (re_string_construct_common)
803 (create_ci_newstate, create_cd_newstate, re_string_allocate)
804 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
805 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
806 (re_string_translate_buffer, re_string_reconstruct)
807 (re_string_peek_byte_case, re_string_fetch_byte_case)
808 (re_string_destruct, re_string_context_at, re_node_set_alloc)
809 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
810 (re_node_set_add_intersect, re_node_set_init_union)
811 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
812 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
813 (re_dfa_add_node, calc_state_hash, re_acquire_state)
814 (re_acquire_state_context): Likewise.
815 * posix/regex_internal.h (internal_function): Remove definition.
816 (re_string_realloc_buffers, build_wcs_buffer)
817 (build_wcs_upper_buffer, build_upper_buffer)
818 (re_string_translate_buffer, re_string_context_at)
819 (re_string_char_size_at, re_string_wchar_at)
820 (re_string_elem_size_at): Likewise.
821 * posix/regexec.c (match_ctx_init, match_ctx_clean)
822 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
823 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
824 (re_search_internal, re_search_2_stub, re_search_stub)
825 (re_copy_regs, prune_impossible_nodes, check_matching)
826 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
827 (free_fail_stack_return, sift_states_iter_mb)
828 (sift_states_backward, build_sifted_states)
829 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
830 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
831 (check_subexp_limits, sift_states_bkref, merge_state_array)
832 (find_recover_state, transit_state, merge_state_with_log)
833 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
834 (transit_state_mb, transit_state_bkref, get_subexp)
835 (get_subexp_sub, find_subexp_node, check_arrival)
836 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
837 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
838 (check_node_accept_bytes, find_collation_sequence_value)
839 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
840 (acquire_init_state_context, check_halt_node_context)
841 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
842 (sub_epsilon_src_nodes): Likewise.
843 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
844 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
845 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
846 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
847 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
848 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
849 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
850 * sysdeps/posix/ttyname.c (getttyname): Likewise.
851 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
852 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
853 (PREADV): Likewise.
854 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
855 (PREADV): Likewise.
856 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
857 (PWRITEV): Likewise.
858 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
859 (PWRITEV): Likewise.
860 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
861 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
862
83b09837
FW
8632017-08-31 Florian Weimer <fweimer@redhat.com>
864
865 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
866 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
867 Remove internal_function.
868 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
869 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
870 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
871 (__deallocate_stack, __libc_pthread_init)
872 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
873 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
874 (__libc_disable_asynccancel, __librt_disable_asynccancel):
875 Likewise.
876 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
877 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
878 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
879 Likewise.
880 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
881 (__pthread_mutex_unlock_usercnt): Likewise.
882
116ac301
FW
8832017-08-31 Florian Weimer <fweimer@redhat.com>
884
885 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
886 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
887 (fts_safe_changedir): Remove internal_function.
888 * io/ftw.c (internal_function): Remove definition.
889 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
890
9da93bd7
FW
8912017-08-31 Florian Weimer <fweimer@redhat.com>
892
893 * inet/deadline.c (__deadline_current_time)
894 (__deadline_from_timeval, __deadline_to_ms): Remove
895 internal_function.
896 * inet/getnameinfo.c (nrl_domainname): Likewise.
897 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
898 * inet/inet6_option.c (add_pad): Likewise.
899 * inet/net-internal.h (__deadline_current_time)
900 (__deadline_from_timeval, __deadline_to_ms): Likewise.
901 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
902 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
903 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
904
a60eca2e
JM
9052017-08-31 Joseph Myers <joseph@codesourcery.com>
906
c0c49d60
JM
907 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
908 include <bits/nan.h>.
909 * math/Makefile (headers): Remove bits/nan.h.
910 * bits/nan.h: Remove.
911 * sysdeps/ieee754/bits/nan.h: Likewise.
912 * sysdeps/mips/bits/nan.h: Likewise.
913
5ef1b213
JM
914 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
915 not include <bits/inf.h>.
916 * math/Makefile (headers): Remove bits/inf.h.
917 * bits/inf.h: Remove.
918 * sysdeps/ieee754/bits/inf.h: Likewise.
919
a60eca2e
JM
920 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
921 bits/huge_vall.h or bits/huge_val_flt128.h.
922 (HUGE_VAL): Define directly here.
923 [__USE_ISOC99] (HUGE_VALF): Likewise.
924 [__USE_ISOC99] (HUGE_VALL): Likewise.
925 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
926 (HUGE_VAL_F128): Likewise.
927 * math/Makefile (headers): Remove bits/huge_val.h,
928 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
929 * bits/huge_val.h: Remove.
930 * bits/huge_val_flt128.h: Likewise.
931 * bits/huge_valf.h: Likewise.
932 * bits/huge_vall.h: Likewise.
933 * sysdeps/ia64/bits/huge_vall.h: Likewise.
934 * sysdeps/ieee754/bits/huge_val.h: Likewise.
935 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
936 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
937 * sysdeps/sh/bits/huge_val.h: Likewise.
938 * sysdeps/sparc/bits/huge_vall.h: Likewise.
939 * sysdeps/x86/bits/huge_vall.h: Likewise.
940
17e00cc6
FW
9412017-08-31 Florian Weimer <fweimer@redhat.com>
942
943 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
944 internal_function.
945 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
946 Likewise.
947 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
948 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
949 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
950 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
952 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
953 * elf/dl-libc.c (dlerror_run): Likewise.
954 * elf/dl-load.c (add_name_to_object, decompose_rpath)
955 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
956 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
957 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
958 Likewise.
959 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
960 (_dl_higher_prime_number, _dl_strtoul): Likewise.
961 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
962 * elf/dl-profile.c (_dl_start_profile): Likewise.
963 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
964 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
965 Likewise.
966 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
967 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
968 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
969 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
970 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
971 (_dl_allocate_tls_storage): Likewise.
972 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
973 (_dl_check_all_versions): Likewise.
974 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
975 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
976 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
977 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
978 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
979 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
980 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
981 internal_function from __dl_start.
982 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
983 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
984 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
985 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
986 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
987 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
988 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
989 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
990 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
991 (_dl_next_ld_env_entry, _dl_important_hwcaps)
992 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
993 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
994 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
995 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
996 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
997 Likewise.
998 (struct rtld_global_ro): Remove internal_function from the
999 _dl_lookup_symbol_x member.
1000 (_dl_symbol_value): Remove. No longer defined anywhere.
1001 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
1002 internal_function.
1003 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1004 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1005 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
1006 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
1007 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
1008 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
1009 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
1010 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
1011 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
1012 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1013 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
1014 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1015
8d2f9410
FW
10162017-08-31 Florian Weimer <fweimer@redhat.com>
1017
1018 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
1019 Remove internal_function.
1020 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1021 Likewise.
1022 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
1023 Likewise.
1024
86e4919f
FW
10252017-08-31 Florian Weimer <fweimer@redhat.com>
1026
1027 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
1028 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
1029 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
1030
59bd52b0
FW
10312017-08-31 Florian Weimer <fweimer@redhat.com>
1032
1033 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
1034 (__gai_enqueue_request): Remove internal_function.
1035 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
1036 (__gai_remove_request, __gai_notify, __gai_notify_only)
1037 (__gai_sigqueue): Likewise.
1038 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
1039 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1040 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1041 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1042 Likewise.
1043
fc3d9497
FW
10442017-08-31 Florian Weimer <fweimer@redhat.com>
1045
1046 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
1047 * include/dirent.h (__opendirat, __getdents, __getdents64)
1048 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
1049 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
1050 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1051 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
1052 Likewise.
1053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
1054
18c54fac
FW
10552017-08-31 Florian Weimer <fweimer@redhat.com>
1056
1057 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
1058 internal_function.
1059 (GETCWD_RETURN_TYPE): Likewise.
1060
7e01f080
FW
10612017-08-31 Florian Weimer <fweimer@redhat.com>
1062
1063 * include/time.h (__tz_compute, __strptime_internal): Remove
1064 internal_function.
1065 * time/strptime_l.c (__strptime_internal): Likewise.
1066 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
1067
d7ccc6c9
FW
10682017-08-31 Florian Weimer <fweimer@redhat.com>
1069
1070 * iconv/gconv.c (__gconv): Remove internal_function.
1071 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
1072 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
1073 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
1074 (__gconv_release_cache): Likewise.
1075 * iconv/gconv_close.c (__gconv_close): Likewise.
1076 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
1077 (read_conf_file, __gconv_get_path): Likewise.
1078 * iconv/gconv_db.c (derivation_lookup, add_derivation)
1079 (__gconv_release_step, gen_steps, increment_counter)
1080 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
1081 (__gconv_close_transform, free_modules_db): Likewise.
1082 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
1083 Likewise.
1084 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
1085 (__gconv_find_transform, __gconv_lookup_cache)
1086 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
1087 (__gconv_close_transform, __gconv_release_cache)
1088 (__gconv_loaded_object, __gconv_release_shlib)
1089 (__gconv_compare_alias): Likewise.
1090 * iconv/gconv_open.c (__gconv_open): Likewise.
1091 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
1092 * iconv/iconvconfig.c (add_module): Likewise.
1093 * intl/dcigettext.c (plural_lookup, guess_category_value)
1094 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
1095 * intl/eval-plural.h (plural_eval): Likewise.
1096 * intl/finddomain.c (_nl_find_domain): Likewise.
1097 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
1098 (_nl_load_domain, _nl_find_msg): Likewise.
1099 (internal_function): Remove definition.
1100 * intl/loadinfo.h (internal_function): Likewise.
1101 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
1102 internal_function.
1103 * intl/localealias.c (internal_function): Remove definition.
1104 (read_alias_file): Remove internal_function.
1105 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1106 * intl/plural-exp.h (internal_function): Remove definition.
1107 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
1108 internal_function.
1109 * intl/plural.c: Regenerate.
1110 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
1111 * locale/coll-lookup.c (__collidx_table_lookup)
1112 (__collseq_table_lookup): Likewise.
1113 * locale/coll-lookup.h (__collidx_table_lookup)
1114 (__collseq_table_lookup): Likewise.
1115 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
1116 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1117 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
1118 (_nl_unload_locale): Likewise.
1119 * locale/localeinfo.h (struct __locale_data): Remove
1120 internal_function from cleanup member.
1121 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
1122 (_nl_remove_locale, _nl_load_locale_from_archive)
1123 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
1124 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
1125 (_nl_cleanup_time): Remove internal_function.
1126 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
1127 (_nl_parse_alt_digit): Likewise.
1128 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
1129 (_nl_select_era_entry): Likewise.
1130 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
1131 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1132 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
1133 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
1134 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 1135
dab0eece
FW
11362017-08-31 Florian Weimer <fweimer@redhat.com>
1137
1138 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
1139 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
1140 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
1141 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
1142 Likewise.
1143 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
1144 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
1145 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
1146 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1147 Likewise.
1148 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
1149
ab5bf7cf
FW
11502017-08-31 Florian Weimer <fweimer@redhat.com>
1151
1152 * misc/getttyent.c (skip, value): Remove internal_function.
1153 * misc/syslog.c (openlog_internal): Likewise.
1154 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
1155
75b3047e
FW
11562017-08-31 Florian Weimer <fweimer@redhat.com>
1157
1158 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
1159 (__nss_rewrite_field): Remove internal_function.
1160 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1161 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1162 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1163 * nss/nsswitch.c (nss_parse_file, nss_getline)
1164 (nss_parse_service_list, nss_new_service): Likewise.
1165 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
1166 * nss/valid_field.c (__nss_valid_field): Likewise.
1167 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
1168
0c71122c
FW
11692017-08-31 Florian Weimer <fweimer@redhat.com>
1170
1171 * malloc/arena.c (__malloc_fork_lock_parent)
1172 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
1173 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
1174 internal_function from defintions.
1175 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
1176 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
1177 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
1178 internal_function from declarations.
1179 * malloc/malloc.c (internal_function): Do not define.
1180 (mem2mem_check): Remove internal_function from declaration.
1181 (munmap_chunk, mremap_chunk): Remove internal_function.
1182 * malloc/mtrace.c (tr_where): Likewise.
1183
ca4ec803
FW
11842017-08-31 Florian Weimer <fweimer@redhat.com>
1185
1186 * include/rpc/pmap_clnt.h (__get_socket): Remove
1187 internal_function.
1188 * sunrpc/auth_des.c (synchronize): Likewise.
1189 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1190 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1191 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
1192 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
1193 (key_call): Likewise.
1194 * sunrpc/pm_getport.c (__get_socket): Likewise.
1195 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
1196 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
1197 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1198 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
1199 (invalidate): Likewise.
1200 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
1201 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
1202 (set_input_fragment, get_input_bytes): Likewise.
1203
24cffce7
FW
12042017-08-31 Florian Weimer <fweimer@redhat.com>
1205
1206 * malloc/malloc.c (_int_free): Remove locked variable and related
1207 asserts.
1208
ecd0747d
L
12092017-08-31 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 [BZ #22051]
1212 * Makerules (build-module-helper-objlist): Filter out
1213 $(elf-objpfx)sofini.os.
1214 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
1215 needed.
1216
5f0704b6
FW
12172017-08-31 Florian Weimer <fweimer@redhat.com>
1218
1219 * libio/fcloseall.c: Assume weak_alias is defined.
1220 * libio/feof.c: Likewise.
1221 * libio/fileno.c: Likewise.
1222 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
1223 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1224 definitions.
1225 (_IO_file_open): Call __open directly.
1226 (_IO_new_file_sync): Assume ESPIPE is defined.
1227 (_IO_file_seekoff_maybe_mmap): Call __read directly.
1228 (_IO_new_file_write): Call __write directly.
1229 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
1230 * libio/ftello64.c (__ftello64): Assume EIO is defined.
1231 * libio/genops.c: Assume _LIBC is defined.
1232 (save_for_backup): Remove internal_function.
1233 * libio/getc.c: Assume weak_alias is defined.
1234 * libio/getwc.c: Likewise.
1235 * libio/iofclose.c: Assume _LIBC is defined.
1236 * libio/iofdopen.c: Likewise.
1237 (_IO_fcntl): Remove macro definition.
1238 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
1239 Call __fcntl directly.
1240 * libio/iofflush.c: Assume weak_alias is defined.
1241 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
1242 defined.
1243 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
1244 * libio/iofgets.c: Likewise.
1245 * libio/iofopen.c: Assume _LIBC is defined.
1246 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
1247 * libio/iofputs.c: Assume weak_alias is defined.
1248 * libio/iofread.c: Likewise.
1249 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
1250 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1251 * libio/ioftell.c: Assume weak_alias is defined.
1252 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
1253 * libio/iofwide.c: Assume _LIBC is defined.
1254 (_IO_fwide): Drop SHARED conditional because it is implied by
1255 SHLIB_COMPAT.
1256 * libio/iofwrite.c: Assume weak_alias is defined.
1257 * libio/iogetdelim.c: Likewise.
1258 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
1259 * libio/iogetwline.c (wmemcpy): Remove macro definition.
1260 (_IO_getwline): Call __wmemcpy directly.
1261 * libio/iopopen.c: Assume _LIBC is defined.
1262 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1263 (_IO_close): Remove macro definitions.
1264 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
1265 _exit directly.
1266 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
1267 directly.
1268 * libio/ioputs.c: Assume weak_alias is defined.
1269 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
1270 * libio/iosetbuffer.c: Assume weak_alias is defined.
1271 * libio/iosetvbuf.c: Likewise.
1272 * libio/ioungetc.c: Likewise.
1273 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
1274 libc_hidden_def, libc_hidden_weak, NULL are defined.
1275 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
1276 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
1277 defined.
1278 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
1279 definitions.
1280 (_IO_old_file_init_internal): Drop SHARED conditional because it
1281 is implied by SHLIB_COMPAT.
1282 (_IO_old_file_fopen): Call __open directly.
1283 (_IO_old_file_sync): Assume ESPIPE is defined.
1284 (_IO_old_file_write): Call __write directly.
1285 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
1286 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
1287 Call __fcntl directly.
1288 * libio/oldiofgetpos.c: Assume weak_alias is defined.
1289 (_IO_old_fgetpos): Assume EIO is defined.
1290 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
1291 (_IO_old_fgetpos64): Assume EIO is defined.
1292 * libio/oldiofsetpos.c: Assume weak_alias is defined.
1293 (_IO_old_fsetpos): Assume EIO is defined.
1294 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
1295 (_IO_old_fsetpos64): Assume EIO is defined.
1296 * libio/oldiopopen.c: Assume _LIBC is defined.
1297 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
1298 (_IO_close): Remove macro definitions.
1299 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
1300 directly.
1301 (_IO_old_proc_close): Call __close, __waitpid directly.
1302 * libio/put.c: Assume weak_alias is defined.
1303 * libio/stdfiles.c: Assume _LIBC is defined.
1304 * libio/stdio.c: Likewise.
1305 * libio/wfileops.c: Likewise.
1306 (_IO_wfile_sync): Assume ESPIPE is defined.
1307 * libio/wgenops.c: Assume _LIBC is defined.
1308 (save_for_wbackup): Remove internal_function.
1309
5129873a
FW
13102017-08-31 Florian Weimer <fweimer@redhat.com>
1311
1312 * malloc/malloc.c (top_check): Change return type to void. Remove
1313 internal_function.
1314 * malloc/hooks.c (top_check): Likewise.
1315 (malloc_check, realloc_check, memalign_check): Adjust.
1316
4fa9b3bf
JM
13172017-08-30 Joseph Myers <joseph@codesourcery.com>
1318
1319 [BZ #21457]
1320 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1321 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
1322 sigcontext and namespace requirements.
1323 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
1324 * sysdeps/m68k/sys/ucontext.h: Likewise.
1325 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
1326 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1327 <bits/sigcontext.h>.
1328 (__ctx): Define earlier.
1329 (mcontext_t): Define structure contents rather than using struct
1330 sigcontext.
1331 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
1332 __glibc_reserved1 instead of __reserved.
1333 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1334 <bits/sigcontext.h>.
1335 (__ctx): Define earlier.
1336 (mcontext_t): Define structure contents rather than using struct
1337 sigcontext.
1338 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
1339 mcontext_t instead of struct sigcontext.
1340 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1341 <bits/sigcontext.h>.
1342 (__ctx): Define earlier.
1343 (mcontext_t): Define structure contents rather than using struct
1344 sigcontext.
1345 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1346 <bits/sigcontext.h>.
1347 (__ctx): Define earlier.
1348 (mcontext_t): Define structure contents rather than using struct
1349 sigcontext.
1350 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
1351 mcontext_t instead of struct sigcontext.
1352 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
1353 mcontext_t instead of struct sigcontext.
1354 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1355 <bits/sigcontext.h>.
1356 (__ctx): New macro.
1357 (struct __ia64_fpreg_mcontext): New type.
1358 (mcontext_t): Define structure contents rather than using struct
1359 sigcontext.
1360 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
1361 (uc_sigmask): Define using __ctx.
1362 (uc_stack): Likewise.
1363 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
1364 <bits/sigcontext.h>.
1365 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1366 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1367 <bits/sigcontext.h>.
1368 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
1369 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1370 <bits/sigcontext.h>.
1371 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1372 <bits/sigcontext.h>.
1373 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1374 <bits/sigcontext.h>.
1375 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1376 <bits/sigcontext.h>.
1377 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1378 <bits/sigcontext.h>.
1379 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1380 <bits/sigcontext.h>.
1381 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1382 <bits/sigcontext.h>.
1383 (__ctx): Define earlier.
1384 (mcontext_t): Define structure contents rather than using struct
1385 sigcontext.
1386 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1387 <bits/sigcontext.h>. Include <bits/types.h>.
1388 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
1389 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
1390 (test-xfail-XPG42/ucontext.h/conform): Likewise.
1391 (test-xfail-UNIX98/signal.h/conform): Likewise.
1392 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1393 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1394 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1395 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1396 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1397 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1398 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1399 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1400 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1401
5898f454
FW
14022017-08-30 Florian Weimer <fweimer@redhat.com>
1403
1404 * malloc/dynarray_emplace_enlarge.c
1405 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
1406 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1407 * malloc/tst-dynarray.c (test_long_overflow): New function.
1408 (do_test): Call it.
1409
a9da0bb2
FW
14102017-08-30 Florian Weimer <fweimer@redhat.com>
1411
1412 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
1413 (set_arena_corrupt): Remove definitions.
1414 (mtrim): Do not check for corrupt arena.
1415 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
1416 Likewise.
1417
ac3ed168
FW
14182017-08-30 Florian Weimer <fweimer@redhat.com>
1419
1420 [BZ #21754]
1421 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
1422 check_action.
1423 (ptmalloc_init): Do not set or use check_action.
1424 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
1425 call to malloc_printerr. Remove return statement.
1426 (free_check): Likewise. Remove arena unlock.
1427 (top_check): Update comment. Adjust call to malloc_printerr.
1428 Remove heap repair code.
1429 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
1430 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
1431 (sysmalloc): Adjust call to malloc_printerr.
1432 (munmap_chunk, __libc_realloc): Likewise. Remove return
1433 statement.
1434 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
1435 Remove errout label and corresponding gotos.
1436 (_int_free): Likewise. Remove arena unlock.
1437 (do_set_mallopt_check): Do not set check_action.
1438 (malloc_printerr): Adjust parameter list. Do not mark arena as
1439 corrupt.
1440 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
1441 comment.
1442 * manual/probes.texi (Memory Allocation Probes): Remove
1443 memory_mallopt_check_action.
1444
44bcba80
SE
14452017-08-30 Steve Ellcey <sellcey@cavium.com>
1446
1447 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
1448 Use pointer to uint64_t instead of long int for sp.
1449
ec2c1fce
FW
14502017-08-30 Florian Weimer <fweimer@redhat.com>
1451
1452 [BZ #21754]
1453 * malloc/malloc.c (malloc_printerr): Always terminate the process,
1454 without printing a backtrace. Do not leak any information in the
1455 error message.
1456 * manual/memory.texi (Heap Consistency Checking): Update.
1457 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
1458
9ce673b6
FW
14592017-08-30 Florian Weimer <fweimer@redhat.com>
1460
1461 Do not scale NPTL tests with available number of CPUs.
1462 * nptl/tst-cond16.c (count): Set to constant value of 8.
1463 * nptl/tst-cond18.c (count): Likewise.
1464
2f1aef19
JM
14652017-08-29 Joseph Myers <joseph@codesourcery.com>
1466
1467 [BZ #22035]
1468 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
1469 Define to take a second argument that is a macro that
1470 concatentates a suffix, not the suffix itself.
1471 (__CONCAT_d): New macro.
1472 (__CONCAT_f): Likewise.
1473 (__CONCAT_l): Likewise.
1474
8325b477
PP
14752017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
1476
1477 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
1478 by child.
1479
319cbbf6
AZ
14802017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1481 Aurelien Jarno <aurelien@aurel32.net>
1482 Maciej W. Rozycki <macro@imgtec.com>
1483
1484 [BZ #21956]
1485 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
1486 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
1487 `mips16-syscall6' and `mips16-syscall7'.
1488 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
1489 (CFLAGS-mips16-syscall7.c): Remove.
1490 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
1491 Remove `__mips16_syscall5', `__mips16_syscall6' and
1492 `__mips16_syscall7'.
1493 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
1494 (__mips16_syscall0): Rename `__mips16_syscall_return' to
1495 `__mips_syscall_return'.
1496 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
1497 (__mips16_syscall1): Likewise.
1498 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
1499 (__mips16_syscall2): Likewise.
1500 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
1501 (__mips16_syscall3): Likewise.
1502 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
1503 (__mips16_syscall4): Likewise.
1504 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
1505 Remove.
1506 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
1507 Remove.
1508 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
1509 Remove.
1510 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
1511 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
1512 `__mips16_syscall5'. Remove prototype.
1513 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
1514 `__mips16_syscall6'. Remove prototype.
1515 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
1516 `__mips16_syscall7'. Remove prototype.
1517 (__nomips16, __mips16_syscall_return): Move to...
1518 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1519 (__nomips16, __mips_syscall_return): ... here.
1520 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
1521 `__mips16_syscall_return' to `__mips_syscall_return'.
1522 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
1523 `internal_syscall##nr'.
1524 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
1525 `internal_syscall##nr'.
1526 (FORCE_FRAME_POINTER): Remove.
1527 (__mips_syscall5): New prototype.
1528 (internal_syscall5): Rewrite to call `__mips_syscall5'.
1529 (__mips_syscall6): New prototype.
1530 (internal_syscall6): Rewrite to call `__mips_syscall6'.
1531 (__mips_syscall7): New prototype.
1532 (internal_syscall7): Rewrite to call `__mips_syscall7'.
1533 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
1534 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
1535 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
1536 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
1537 (sysdep_routines): Add libc-do-syscall.
1538 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
1539 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
1540
01b87c65
AZ
15412017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1542
1543 [BZ #21672]
1544 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
1545 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
1546 (advise_stack_range): New function.
1547 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
1548 stack non required to advise_stack_range at allocatestack.c
1549
16f138a4
SN
15502017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
1551
1552 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
1553
251bccfa
FW
15542017-08-29 Florian Weimer <fweimer@redhat.com>
1555
1556 [BZ #22026]
1557 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
1558 __end_fct. Mangle __end_fct after setting it to NULL.
1559 * iconv/Makefile (tests): Add tst-gconv-init-failure.
1560 (modules-names, modules-names-tests): Add
1561 tst-gconv-init-failure-mod.
1562 (gconv-modules): New target.
1563 (tst-gconv-init-failure-mod.so): Link against libsupport.
1564 (tst-gconv-init-failure): Depend on gconv-modules,
1565 tst-gconv-init-failure-mod.so.
1566 * iconv/tst-gconv-init-failure-mod.c: New file.
1567 * iconv/tst-gconv-init-failure.c: Likewise.
1568 * iconv/test-gconv-modules: Likewise.
1569
e7c18b9d
FW
15702017-08-29 Florian Weimer <fweimer@redhat.com>
1571
1572 [BZ #22025]
1573 * iconv/gconv_db.c (free_derivation): Remove redundant
1574 parentheses.
1575 (gen_steps): Unconditionally mangle __btowc_fct after
1576 initialization.
1577 (increment_counter): Likewise. Do not call init_fct for internal
1578 modules.
1579
7daada03
JM
15802017-08-29 Joseph Myers <joseph@codesourcery.com>
1581
1582 [BZ #22028]
1583 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1584 (_MSUF_): Remove macro.
1585 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
1586 Likewise.
1587 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1588 (__REDIRFROM_X): New macro.
1589 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
1590 Likewise.
1591 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
1592 (__REDIRTO_X): Likewise.
1593 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
1594 arguments.
1595 (__MATH_REDIRCALL_2): Likewise.
1596 (__MATH_REDIRCALL_INTERNAL): Likewise.
1597 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1598 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
1599 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
1600 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1601 * math/test-finite-macros.c: New file.
1602 * math/Makefile (tests): Add test-finite-macros.
1603 (CFLAGS-test-finite-macros.c): New variable.
1604
1cf1232c
PF
16052017-08-29 Patsy Franklin <pfrankli@redhat.com>
1606 Jeff Law <law@redhat.com>
1607
1608 [BZ #22025]
1609 Mangle NULL pointers in iconv/gconv.
1610 * iconv/gconv_cache.c (find_module): Demangle init_fct before
1611 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
1612 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
1613 is non-NULL before demangling the end_fct. Check for NULL
1614 end_fct after demangling.
1615 (__gconv_release_step): Demangle the end_fct before checking
1616 it for NULL. Remove assert on __shlibc_handle != NULL.
1617 (gen_steps): Don't check btowc_fct for NULL before mangling.
1618 Demangle init_fct before checking for NULL.
1619 (increment_counter): Likewise.
1620 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
1621 end_fct for NULL before mangling.
1622 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
1623 for NULL.
1624
f8de9568
AK
16252017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
1626
1627 [BZ #21971]
1628 * locale/iso-639.def: add Morisyen.
1629
42496114
GG
16302017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1631
1632 [BZ #21930]
1633 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
1634 (iszero): New C++ implementation that does not use
1635 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
1636 signaling nans are enabled, since __builtin_types_compatible_p
1637 is a C-only feature.
1638 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
1639 defined, include ieee754_float128.h for access to the union and
1640 member ieee854_float128.ieee.
1641 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
1642 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
1643 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1644 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
1645 options of test-math-zero on powerpc64le.
1646
5e2bc4ff
L
16472017-08-28 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1650 Change double to float.
1651
a48c0fb4
JM
16522017-08-28 Joseph Myers <joseph@codesourcery.com>
1653
1654 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
1655 unconditional.
1656 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
1657 conditional code; define contents only for [LIBM_SVID_COMPAT].
1658
ee17d4e9
FW
16592017-08-28 Florian Weimer <fweimer@redhat.com>
1660
1661 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
1662 (abi-lp64_be-options): Remove.
1663 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
1664 (abi-hard-options): Likewise.
1665 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
1666 (abi-o32_hard-options, abi-o32_soft_2008-options)
1667 (abi-o32_hard_2008-options, abi-n32_soft-options)
1668 (abi-n32_hard-options, abi-n32_soft_2008-options)
1669 (abi-n32_hard_2008-options, abi-n64_soft-options)
1670 (abi-n64_hard-options, abi-n64_soft_2008-options)
1671 (abi-n64_hard_2008-options): Likewise.
1672 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
1673 (abi-64-v1-options, abi-64-v2-options): Likewise.
1674 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
1675 (abi-64-options): Likewise.
1676 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
1677 (abi-64-options): Likewise.
1678 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
1679 (abi-64-options): Likewise.
1680 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
1681 (abi-64-options, abi-x32-options): Likewise.
1682
2dba5ce7
FW
16832017-08-28 Florian Weimer <fweimer@redhat.com>
1684
1685 Store supported list of SYS_* system calls in the source tree.
1686 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1687 (bits/syscall.h): Generate from list file.
1688 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
1689 [$(subdir) = misc] (tests): Add tst-syscall-list.
1690 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
1691 [$(subdir) = misc] (tst-syscall-list-macros.list)
1692 [$(subdir) = misc] (tst-syscall-list-nr.list)
1693 (tst-syscall-list-sys.list): Helper targets for new
1694 tst-syscall-list test.
1695 [$(subdir) = misc] (tst-syscall-list.out): Run test script
1696 tst-syscall-list.sh.
1697 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
1698 target. Do not include bits/syscall.d.
1699 [$(subdir) = misc] (generated): Do not update.
1700 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
1701 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
1702 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
1703 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
1704
5f3b183d
PP
17052017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1706
1707 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
1708 (tst-cxa_atexit, tst-on_exit): Likewise.
1709 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
1710 tst-cxa_atexit, and tst-on_exit.
1711 * stdlib/tst-atexit-common.c: New file.
1712 * stdlib/tst-atexit.c: New file.
1713 * stdlib/tst-at_quick_exit.c: New file.
1714 * stdlib/tst-cxa_atexit.c: New file.
1715 * stdlib/tst-on_exit.c: New file.
1716
2ef8d469
ST
17172017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1718
1719 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
1720 * mach/stack_chk_fail_local.c: New file.
1721 * hurd/stack_chk_fail_local.c: New file.
1722 * mach/Machrules ($(interface-library)-routines): Add
1723 stack_chk_fail_local.
99ee4d26
ST
1724 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
1725 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
1726 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
1727 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
1728 * hurd/Makefile (CFLAGS-hurdstartup.o,
1729 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 1730
7ab70c98
L
17312017-08-25 H.J. Lu <hongjiu.lu@intel.com>
1732
1733 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1734 (index_cpu_*, index_arch_*): Removed.
1735
39e7a5a6
SN
17362017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1737
1738 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
1739 Use uint64_t instead of unsigned long.
1740
bba5c930
JM
17412017-08-25 Joseph Myers <joseph@codesourcery.com>
1742
a6ccdb08
JM
1743 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
1744 [__HAVE_DISTINCT_FLOAT128].
1745
23761119
JM
1746 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
1747 of <bits/math-finite.h>.
1748 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
1749 inclusion of <bits/math-finite.h>.
1750 * math/bits/math-finite.h (__REDIRTO_X): Do not define
1751 conditionally on [__MATH_DECLARING_LDOUBLE && defined
1752 __NO_LONG_DOUBLE_MATH].
1753 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
1754 (__MATH_REDIRCALL_2): Likewise.
1755 (__MATH_REDIRCALL_INTERNAL): Likewise.
1756 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1757 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
1758 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1759
bba5c930
JM
1760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1761 Remove file.
1762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1763 Likewise.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1765 Likewise.
1766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1767 Likewise.
1768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1769 Likewise.
1770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1771 Likewise.
1772 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1773 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1774 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1775 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1777 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
1778 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
1779 w_sqrtf_compat-ppc32.
1780
3d7b66f6
GG
17812017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1782
1783 * math/math.h [defined __cplusplus] (issignaling): In the long
1784 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
1785 is not defined. Call __issignaling, otherwise.
1786
ebd6f007
AZ
17872017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1788
1789 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
1790 syscall definitions and replace __builtin_expect with __glibc_likely.
1791 * sysdeps/unix/syscall-template.S: Update comment about cancellable
1792 syscall.
1793 (SYSCALL_CANCELLABLE): Removedefinition
1794 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
1795 definition.
1796 (PSEUDO_END): Likewise.
1797 [IS_IN (libpthread)] (CENABLE): Likewise.
1798 [IS_IN (libpthread)] (CDISABLE): Likewise.
1799 [IS_IN (libc)] (CENABLE): Likewise.
1800 [IS_IN (libc)] (CENABLE): Likewise.
1801 [IS_IN (librt)] (CDISABLE): Likewise.
1802 [IS_IN (librt)] (CDISABLE): Likewise.
1803 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1804 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
1805 definition.
1806 (PSEUDO_END): Likewise.
1807 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
1808 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
1809 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1810 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1811 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1812 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1813 (CENABLE): Likewise.
1814 (CDISABLE): Likewise.
1815 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1816 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
1817 defintion.
1818 (PSEUDO_END): Likewise.
1819 [IS_IN (libpthread)] (CENABLE): Likewise.
1820 [IS_IN (libpthread)] (CDISABLE): Likewise.
1821 [IS_IN (libc)] (CENABLE): Likewise.
1822 [IS_IN (libc)] (CENABLE): Likewise.
1823 [IS_IN (librt)] (CDISABLE): Likewise.
1824 [IS_IN (librt)] (CDISABLE): Likewise.
1825 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1826 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
1827 definition.
1828 (PSEUDO_END): Likewise.
1829 [IS_IN (libpthread)] (CENABLE): Likewise.
1830 [IS_IN (libpthread)] (CDISABLE): Likewise.
1831 [IS_IN (libc)] (CENABLE): Likewise.
1832 [IS_IN (libc)] (CENABLE): Likewise.
1833 [IS_IN (librt)] (CDISABLE): Likewise.
1834 [IS_IN (librt)] (CDISABLE): Likewise.
1835 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1836 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
1837 definition.
1838 (PSEUDO_END): Likewise.
1839 [IS_IN (libpthread)] (CENABLE): Likewise.
1840 [IS_IN (libpthread)] (CDISABLE): Likewise.
1841 [IS_IN (libc)] (CENABLE): Likewise.
1842 [IS_IN (libc)] (CENABLE): Likewise.
1843 [IS_IN (librt)] (CDISABLE): Likewise.
1844 [IS_IN (librt)] (CDISABLE): Likewise.
1845 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1846 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
1847 definition.
1848 (PSEUDO_END): Likewise.
1849 [IS_IN (libpthread)] (CENABLE): Likewise.
1850 [IS_IN (libpthread)] (CDISABLE): Likewise.
1851 [IS_IN (libc)] (CENABLE): Likewise.
1852 [IS_IN (libc)] (CENABLE): Likewise.
1853 [IS_IN (librt)] (CDISABLE): Likewise.
1854 [IS_IN (librt)] (CDISABLE): Likewise.
1855 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1856 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
1857 definition.
1858 (PSEUDO_END): Likewise.
1859 [IS_IN (libpthread)] (CENABLE): Likewise.
1860 [IS_IN (libpthread)] (CDISABLE): Likewise.
1861 [IS_IN (libc)] (CENABLE): Likewise.
1862 [IS_IN (libc)] (CENABLE): Likewise.
1863 [IS_IN (librt)] (CDISABLE): Likewise.
1864 [IS_IN (librt)] (CDISABLE): Likewise.
1865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1866 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
1867 definition.
1868 (PSEUDO_END): Likewise.
1869 [IS_IN (libpthread)] (CENABLE): Likewise.
1870 [IS_IN (libpthread)] (CDISABLE): Likewise.
1871 [IS_IN (libc)] (CENABLE): Likewise.
1872 [IS_IN (libc)] (CENABLE): Likewise.
1873 [IS_IN (librt)] (CDISABLE): Likewise.
1874 [IS_IN (librt)] (CDISABLE): Likewise.
1875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1876 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
1877 Remove definition.
1878 (PSEUDO_END): Likewise.
1879 [IS_IN (libpthread)] (CENABLE): Likewise.
1880 [IS_IN (libpthread)] (CDISABLE): Likewise.
1881 [IS_IN (libc)] (CENABLE): Likewise.
1882 [IS_IN (libc)] (CENABLE): Likewise.
1883 [IS_IN (librt)] (CDISABLE): Likewise.
1884 [IS_IN (librt)] (CDISABLE): Likewise.
1885 (SINGLE_THREAD_P): Likewise.
1886 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
1887 definition.
1888 (PSEUDO_END): Likewise.
1889 [IS_IN (libpthread)] (CENABLE): Likewise.
1890 [IS_IN (libpthread)] (CDISABLE): Likewise.
1891 [IS_IN (libc)] (CENABLE): Likewise.
1892 [IS_IN (libc)] (CENABLE): Likewise.
1893 [IS_IN (librt)] (CDISABLE): Likewise.
1894 [IS_IN (librt)] (CDISABLE): Likewise.
1895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1896 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
1897 definition.
1898 (PSEUDO_END): Likewise.
1899 [IS_IN (libpthread)] (CENABLE): Likewise.
1900 [IS_IN (libpthread)] (CDISABLE): Likewise.
1901 [IS_IN (libc)] (CENABLE): Likewise.
1902 [IS_IN (libc)] (CENABLE): Likewise.
1903 [IS_IN (librt)] (CDISABLE): Likewise.
1904 [IS_IN (librt)] (CDISABLE): Likewise.
1905 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1906 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
1907 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
1910 definition.
1911 (PSEUDO_END): Likewise.
1912 [IS_IN (libpthread)] (CENABLE): Likewise.
1913 [IS_IN (libpthread)] (CDISABLE): Likewise.
1914 [IS_IN (libc)] (CENABLE): Likewise.
1915 [IS_IN (libc)] (CENABLE): Likewise.
1916 [IS_IN (librt)] (CDISABLE): Likewise.
1917 [IS_IN (librt)] (CDISABLE): Likewise.
1918 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
1920 definition.
1921 (PSEUDO_END): Likewise.
1922 [IS_IN (libpthread)] (CENABLE): Likewise.
1923 [IS_IN (libpthread)] (CDISABLE): Likewise.
1924 [IS_IN (libc)] (CENABLE): Likewise.
1925 [IS_IN (libc)] (CENABLE): Likewise.
1926 [IS_IN (librt)] (CDISABLE): Likewise.
1927 [IS_IN (librt)] (CDISABLE): Likewise.
1928 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1929 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
1930 definition.
1931 (PSEUDO_END): Likewise.
1932 [IS_IN (libpthread)] (CENABLE): Likewise.
1933 [IS_IN (libpthread)] (CDISABLE): Likewise.
1934 [IS_IN (libc)] (CENABLE): Likewise.
1935 [IS_IN (libc)] (CENABLE): Likewise.
1936 [IS_IN (librt)] (CDISABLE): Likewise.
1937 [IS_IN (librt)] (CDISABLE): Likewise.
1938 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
1942 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
1943 definition.
1944 (PSEUDO_END): Likewise.
1945 [IS_IN (libpthread)] (CENABLE): Likewise.
1946 [IS_IN (libpthread)] (CDISABLE): Likewise.
1947 [IS_IN (libc)] (CENABLE): Likewise.
1948 [IS_IN (libc)] (CENABLE): Likewise.
1949 [IS_IN (librt)] (CDISABLE): Likewise.
1950 [IS_IN (librt)] (CDISABLE): Likewise.
1951 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
1953 definition.
1954 (PSEUDO_END): Likewise.
1955 [IS_IN (libpthread)] (CENABLE): Likewise.
1956 [IS_IN (libpthread)] (CDISABLE): Likewise.
1957 [IS_IN (libc)] (CENABLE): Likewise.
1958 [IS_IN (libc)] (CENABLE): Likewise.
1959 [IS_IN (librt)] (CDISABLE): Likewise.
1960 [IS_IN (librt)] (CDISABLE): Likewise.
1961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1962
8aa48656
SN
19632017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1964
1965 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
1966
fcaaca41
L
19672017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1968
1969 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1970
376b40a2
L
19712017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1972
1973 [BZ #21982]
1974 * string/stratcliff.c (do_test): Declare size, nchars, inner,
1975 middle and outer with size_t instead of int. Repleace %d and
1976 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
1977 "MAX (outer, nchars - 64)" to support unsigned outer and
1978 nchars. Also exit loop when outer == 0.
1979
2b0b9a1c
AZ
19802017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1981
1982 * include/fcntl.h (__fcntl_nocancel): Remove definition.
1983 * include/signal.h (__sigsuspend_nocancel): Likewise.
1984 * include/time.h (__nanosleep_nocancel): Likewise.
1985 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
1986 * login/utmp_file.c: Include non cancellable syscall header.
1987 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
1988 prototype.
1989
b9eaca8f
L
19902017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
1993 .byte sequences with AVX512F instructions.
1994 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
1995 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1996 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
1998 Likewise.
1999 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2000 Likewise.
2001
5a706f64
SE
20022017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2003 Steve Ellcey <sellcey@cavium.com>
2004
2005 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
2006 Use PTR_REG macro in cmp instruction.
2007
b513da7e
GG
20082017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2009
2010 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
2011 Change the return type of the ifunc resolver to match the return
2012 type of the target function.
2013
78ca091c
AZ
20142017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2015
b70b6026
AZ
2016 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
2017 (preadv64): Likewise.
2018 (pwrite64(: Likewise.
2019 (pwritev64): Likewise.
2020
78ca091c
AZ
2021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2022 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
2023 (LOAD_ARGS_0): Likewise.
2024 (LOAD_ARGS_1): Likewise.
2025 (LOAD_ARGS_2): Likewise.
2026 (LOAD_ARGS_3): Likewise.
2027 (LOAD_ARGS_4): Likewise.
2028 (LOAD_ARGS_5): Likewise.
2029 (LOAD_ARGS_6): Likewise.
2030 (LOAD_REGS_0): Likewise.
2031 (LOAD_REGS_1): Likewise.
2032 (LOAD_REGS_2): Likewise.
2033 (LOAD_REGS_3): Likewise.
2034 (LOAD_REGS_4): Likewise.
2035 (LOAD_REGS_5): Likewise.
2036 (LOAD_REGS_6): Likewise.
2037 (ASM_ARGS_0): Likewise.
2038 (ASM_ARGS_1): Likewise.
2039 (ASM_ARGS_2): Likewise.
2040 (ASM_ARGS_3): Likewise.
2041 (ASM_ARGS_4): Likewise.
2042 (ASM_ARGS_5): Likewise.
2043 (ASM_ARGS_6): Likewise.
2044 (LOAD_ARGS_TYPES_1): Likewise.
2045 (LOAD_ARGS_TYPES_2): Likewise.
2046 (LOAD_ARGS_TYPES_3): Likewise.
2047 (LOAD_ARGS_TYPES_4): Likewise.
2048 (LOAD_ARGS_TYPES_5): Likewise.
2049 (LOAD_ARGS_TYPES_6): Likewise.
2050 (LOAD_REGS_TYPES_1): Likewise.
2051 (LOAD_REGS_TYPES_2): Likewise.
2052 (LOAD_REGS_TYPES_3): Likewise.
2053 (LOAD_REGS_TYPES_4): Likewise.
2054 (LOAD_REGS_TYPES_5): Likewise.
2055 (LOAD_REGS_TYPES_6): Likewise.
2056 (TYPEFY): New define.
2057 (ARGIFY): Likewise.
2058 (internal_syscall0): Likewise.
2059 (internal_syscall1): Likewise.
2060 (internal_syscall2): Likewise.
2061 (internal_syscall3): Likewise.
2062 (internal_syscall4): Likewise.
2063 (internal_syscall5): Likewise.
2064 (internal_syscall6): Likewise.
2065 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
2066 (INTERNAL_SYSCALL_NCS): Remove define.
2067 (internal_syscall1): Add define.
2068
453a493d
GG
20692017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2070
2071 * math/w_remainder_compat.c: Remove duplicate inclusion of
2072 math-svid-compat.h.
2073 * math/w_remainderf_compat.c: Likewise.
2074 * math/w_remainderl_compat.c: Likewise.
2075
f2f048a5
GG
20762017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2077
2078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2079
d9bef9c0
JM
20802017-08-22 Joseph Myers <joseph@codesourcery.com>
2081
2082 [BZ #21684]
2083 * math/tgmath.h (__floating_type): Simplify definitions.
2084 (__real_integer_type): New macro.
2085 (__complex_integer_type): Likewise.
2086 (__expr_is_real): Likewise.
2087 (__tgmath_real_type_sub): Update comment to describe handling of
2088 complex types.
2089 (__tgmath_complex_type_sub): New macro.
2090 (__tgmath_complex_type): Likewise.
2091 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2092 (__TGMATH_CF128): Use __expr_is_real.
2093 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
2094 __expr_is_real.
2095 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2096 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
2097 * math/gen-tgmath-tests.py (Type.create_type): Create complex
2098 integer types.
2099
08d6eb46
AZ
21002017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2101
988f991b
AZ
2102 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
2103 macro.
2104 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
2105 alias.
2106 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
2107 Likewise.
2108
6f33fd04
AZ
2109 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
2110 nanosleep_not_cancel with __nanosleep_nocancel.
2111 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
2112 (__nanosleep_nocancel): New macro.
2113 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
2114 function.
2115 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
2116 macro.
2117 (__nanosleep_nocancel): New prototype.
2118
08d6eb46
AZ
2119 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
2120 pause_not_cancel with __pause_nocancel.
2121 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
2122 (__pause_nocancel): New macro.
2123 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
2124 macro.
2125 (__pause_nocancel): New prototype.
2126 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
2127
ee4e992e
MS
21282017-08-22 Martin Sebor <msebor@redhat.com>
2129
2130 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
2131 to return a pointer to the same type as the target function.
2132
20962acb
L
21332017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 [BZ #18822]
2136 [BZ #21986]
2137 * include/printf.h (__printf_fphex): Add attribute_hidden.
2138 (__guess_grouping): New prototype.
2139 * stdio-common/printf_fp.c (__guess_grouping): Removed.
2140 * stdio-common/reg-printf.c (__register_printf_specifier): Add
2141 libc_hidden_proto and libc_hidden_def.
2142 * stdlib/strfmon_l.c (__guess_grouping): Removed.
2143 (__vstrfmon_l): Remove the third argument passed to
2144 __guess_grouping.
2145
a16e8bc0
GG
21462017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2147
2148 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
2149 definition for issignaling that does not rely on __MATH_TG,
2150 since __MATH_TG uses __builtin_types_compatible_p, which is only
2151 available in C mode.
2152 (CFLAGS-test-math-issignaling.cc): New variable.
2153 * math/Makefile [CXX] (tests): Add test-math-issignaling.
2154 * math/test-math-issignaling.cc: New test for C++ implementation
2155 of type-generic issignaling.
2156 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2157 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
2158 options of test-math-issignaling on powerpc64le.
2159
8d2ec553
L
21602017-08-22 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2163 building libc.a.
2164 (hidden_proto): Likewise.
2165 (hidden_tls_proto): Likewise.
2166 (__hidden_proto): Likewise.
2167
a4d57b79
FW
21682017-08-22 Florian Weimer <fweimer@redhat.com>
2169
2170 math: Statically link tests of internal functionality.
2171 * math/Makefile (tests): Remove atest-exp, atest-sincos,
2172 atest-exp2.
2173 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
2174 (gmp-objs): Remove assignment.
2175 (atest-exp, atest-sincos, atest-exp2): Remove targets.
2176
75dfe623
JM
21772017-08-22 Joseph Myers <joseph@codesourcery.com>
2178
80f91666
JM
2179 [BZ #21987]
2180 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
2181 and copy to ...
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
2183 ... here.
2184 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
2185 ... and here.
2186
75dfe623
JM
2187 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
2188 variable definitions above inclusion of ../Rules.
2189
ea99fcd0
JM
21902017-08-21 Joseph Myers <joseph@codesourcery.com>
2191
2192 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
2193 case calling __builtin_unreachable.
2194
19926de9
AZ
21952017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2196
a8410a5f
AZ
2197 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
2198 __waitpid_nocancel.
2199 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
2200 (__waitpid_nocancel): New macro.
2201 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
2202 macro.
2203 (__waitpid_nocancel): Replace macro with a function.
2204 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
2205 function.
2206
7369800c
AZ
2207 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
2208 __fcntl_nocancel.
2209 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
2210 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
2211
19926de9
AZ
2212 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
2213 __writev_nocancel_nostatus.
2214 (write_call_graph): Likewise.
2215 (write_bb_counts): Likewise.
2216 * resolv/herror.c (herror): Likewise.
2217 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
2218 macro.
2219 (__writev_nocancel_nostatus): New macro.
2220 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
2221 Remove macro.
2222 (__writev_nocancel_nostatus): New function.
2223
813378e9
JM
22242017-08-21 Joseph Myers <joseph@codesourcery.com>
2225
df1deda6
JM
2226 Revert:
2227 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2230 building libc.a.
2231 (hidden_proto): Likewise.
2232 (hidden_tls_proto): Likewise.
2233 (__hidden_proto): Likewise.
2234
831bbd55
JM
2235 [BZ #21973]
2236 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
2237 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2239 Likewise.
2240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2241 Likewise.
2242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2243 Likewise.
2244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2245 Likewise.
2246 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
2247 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2248 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2249 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2251 GLIBC_2.0 sqrtl symbol.
2252
813378e9
JM
2253 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
2254 [__USE_MISC] (_LIB_VERSION): Likewise.
2255 [__USE_MISC] (struct exception): Likewise.
2256 [__USE_MISC] (matherr): Likewise.
2257 [__USE_MISC] (DOMAIN): Likewise.
2258 [__USE_MISC] (SING): Likewise.
2259 [__USE_MISC] (OVERFLOW): Likewise.
2260 [__USE_MISC] (UNDERFLOW): Likewise.
2261 [__USE_MISC] (TLOSS): Likewise.
2262 [__USE_MISC] (PLOSS): Likewise.
2263 [__USE_MISC] (HUGE): Likewise.
2264 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
2265 * math/math-svid-compat.h: New file.
2266 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
2267 and matherrl.
2268 * include/math.h [!_ISOMAC] (__matherr): Remove.
2269 * manual/arith.texi (FP Exceptions): Do not document matherr.
2270 * math/Makefile (tests): Change test-matherr to test-matherr-3.
2271 (tests-internal): New variable.
2272 (install-lib): Do not add libieee.a.
2273 (non-lib.a): Likewise.
2274 (extra-objs): Do not add libieee.a and ieee-math.o.
2275 (CPPFLAGS-s_lib_version.c): Remove variable.
2276 ($(objpfx)libieee.a): Remove rule.
2277 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
2278 * math/ieee-math.c: Remove.
2279 * math/libm-test-support.c (matherr): Remove.
2280 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
2281 and license notices. Include <math-svid-compat.h> and
2282 <shlib-compat.h>.
2283 (matherr): Undefine as macro. Use compat_symbol_reference.
2284 (_LIB_VERSION): Likewise.
2285 * math/test-matherr-2.c: New file.
2286 * math/test-matherr-3.c: Likewise.
2287 * sysdeps/generic/math_private.h (__kernel_standard): Remove
2288 declaration.
2289 (__kernel_standard_f): Likewise.
2290 (__kernel_standard_l): Likewise.
2291 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
2292 <math_private.h>. Include <math-svid-compat.h>.
2293 (_LIB_VERSION): Undefine as macro.
2294 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
2295 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
2296 [LIBM_SVID_COMPAT], use compat_symbol.
2297 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
2298 <math_private.h>. Include <math-svid-compat.h>.
2299 (matherr): Undefine as macro.
2300 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
2301 compat_symbol.
2302 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
2303 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
2304 compat_symbol_reference.
2305 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
2306 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
2307 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
2308 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
2309 (MATHERR_D): Remove declaration.
2310 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
2311 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
2312 [LIBM_BUILD] (pmatherrf): Likewise.
2313 [LIBM_BUILD] (pmatherr): Likewise.
2314 [LIBM_BUILD] (pmatherrl): Likewise.
2315 (DOMAIN): Likewise.
2316 (SING): Likewise.
2317 (OVERFLOW): Likewise.
2318 (UNDERFLOW): Likewise.
2319 (TLOSS): Likewise.
2320 (PLOSS): Likewise.
2321 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
2322 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
2323 compat_symbol.
2324 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
2325 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
2326 compat_symbol.
2327 * math/lgamma-compat.h: Include <math-svid-compat.h>.
2328 * math/w_acos_compat.c: Likewise.
2329 * math/w_acosf_compat.c: Likewise.
2330 * math/w_acosh_compat.c: Likewise.
2331 * math/w_acoshf_compat.c: Likewise.
2332 * math/w_acoshl_compat.c: Likewise.
2333 * math/w_acosl_compat.c: Likewise.
2334 * math/w_asin_compat.c: Likewise.
2335 * math/w_asinf_compat.c: Likewise.
2336 * math/w_asinl_compat.c: Likewise.
2337 * math/w_atan2_compat.c: Likewise.
2338 * math/w_atan2f_compat.c: Likewise.
2339 * math/w_atan2l_compat.c: Likewise.
2340 * math/w_atanh_compat.c: Likewise.
2341 * math/w_atanhf_compat.c: Likewise.
2342 * math/w_atanhl_compat.c: Likewise.
2343 * math/w_cosh_compat.c: Likewise.
2344 * math/w_coshf_compat.c: Likewise.
2345 * math/w_coshl_compat.c: Likewise.
2346 * math/w_exp10_compat.c: Likewise.
2347 * math/w_exp10f_compat.c: Likewise.
2348 * math/w_exp10l_compat.c: Likewise.
2349 * math/w_exp2_compat.c: Likewise.
2350 * math/w_exp2f_compat.c: Likewise.
2351 * math/w_exp2l_compat.c: Likewise.
2352 * math/w_fmod_compat.c: Likewise.
2353 * math/w_fmodf_compat.c: Likewise.
2354 * math/w_fmodl_compat.c: Likewise.
2355 * math/w_hypot_compat.c: Likewise.
2356 * math/w_hypotf_compat.c: Likewise.
2357 * math/w_hypotl_compat.c: Likewise.
2358 * math/w_j0_compat.c: Likewise.
2359 * math/w_j0f_compat.c: Likewise.
2360 * math/w_j0l_compat.c: Likewise.
2361 * math/w_j1_compat.c: Likewise.
2362 * math/w_j1f_compat.c: Likewise.
2363 * math/w_j1l_compat.c: Likewise.
2364 * math/w_jn_compat.c: Likewise.
2365 * math/w_jnf_compat.c: Likewise.
2366 * math/w_jnl_compat.c: Likewise.
2367 * math/w_lgamma_main.c: Likewise.
2368 * math/w_lgamma_r_compat.c: Likewise.
2369 * math/w_lgammaf_main.c: Likewise.
2370 * math/w_lgammaf_r_compat.c: Likewise.
2371 * math/w_lgammal_main.c: Likewise.
2372 * math/w_lgammal_r_compat.c: Likewise.
2373 * math/w_log10_compat.c: Likewise.
2374 * math/w_log10f_compat.c: Likewise.
2375 * math/w_log10l_compat.c: Likewise.
2376 * math/w_log2_compat.c: Likewise.
2377 * math/w_log2f_compat.c: Likewise.
2378 * math/w_log2l_compat.c: Likewise.
2379 * math/w_log_compat.c: Likewise.
2380 * math/w_logf_compat.c: Likewise.
2381 * math/w_logl_compat.c: Likewise.
2382 * math/w_pow_compat.c: Likewise.
2383 * math/w_powf_compat.c: Likewise.
2384 * math/w_powl_compat.c: Likewise.
2385 * math/w_remainder_compat.c: Likewise.
2386 * math/w_remainderf_compat.c: Likewise.
2387 * math/w_remainderl_compat.c: Likewise.
2388 * math/w_scalb_compat.c: Likewise.
2389 * math/w_scalbf_compat.c: Likewise.
2390 * math/w_scalbl_compat.c: Likewise.
2391 * math/w_sinh_compat.c: Likewise.
2392 * math/w_sinhf_compat.c: Likewise.
2393 * math/w_sinhl_compat.c: Likewise.
2394 * math/w_sqrt_compat.c: Likewise.
2395 * math/w_sqrtf_compat.c: Likewise.
2396 * math/w_sqrtl_compat.c: Likewise.
2397 * math/w_tgamma_compat.c: Likewise.
2398 * math/w_tgammaf_compat.c: Likewise.
2399 * math/w_tgammal_compat.c: Likewise.
2400 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2401 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2402 * sysdeps/ieee754/k_standard.c: Likewise.
2403 * sysdeps/ieee754/k_standardf.c: Likewise.
2404 * sysdeps/ieee754/k_standardl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2407 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2408 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2409 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2412 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2413 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2415 Likewise.
2416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2417 Likewise.
2418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2420 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2421 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2422
4504783c
FW
24232017-08-21 Florian Weimer <fweimer@redhat.com>
2424
2425 [BZ #21864]
2426 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
2427 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
2428 Move before inclusion of ../Rules.
2429
b5889d25
FW
24302017-08-21 Florian Weimer <fweimer@redhat.com>
2431
2432 [BZ #21972]
2433 * assert/assert.h (assert): Use static_cast (bool) for C++.
2434 Use the ternary operator in the warning branch for GNU C.
2435 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
2436 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
2437 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
2438 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
2439 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
2440
41e673c1
L
24412017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2442
2443 [BZ #18822]
2444 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2445 (__syscall_clock_gettime): Add attribute_hidden.
2446 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
2447 (__start_context): Likewise.
2448
568ff429
L
24492017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
2452 building libc.a.
2453 (hidden_proto): Likewise.
2454 (hidden_tls_proto): Likewise.
2455 (__hidden_proto): Likewise.
2456
7c41b4a1
L
24572017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 * include/libc-symbols.h (attribute_hidden): Enable hidden
2460 visibility in libc.a compiled with PIE.
2461
483d7068
L
24622017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 [BZ #18822]
2465 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
2466 Add attribute_hidden.
2467
24682017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2469
2470 [BZ #21864]
2471 * Makerules (all-nonlib): Add $(others-extras).
2472 * catgets/Makefile (others-extras): New.
2473 * elf/Makefile (others-extras): Likewise.
2474 * nss/Makefile (others-extras): Likewise.
2475
54e4b8f2
L
24762017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2477
2478 [BZ #18822]
2479 * csu/libc-start.c (__libc_multiple_libcs): Removed.
2480 * elf/dl-open.c: Include <libc-internal.h>.
2481 (__libc_multiple_libcs): Removed.
2482 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
2483 <hp-timing.h>.
2484 * include/libc-internal.h (__libc_multiple_libcs): New.
2485 * misc/sbrk.c: Include <libc-internal.h>.
2486 (__libc_multiple_libcs): Removed.
2487
1dbbb1ec
L
24882017-08-21 H.J. Lu <hongjiu.lu@intel.com>
2489
2490 [BZ #18822]
2491 * grp/initgroups.c (__nss_group_database): Removed.
2492 (__nss_initgroups_database): Likewise.
2493 * nscd/gai.c (__nss_hosts_database): Likewise.
2494 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2495 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2496 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2497 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2498 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
2499 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
2500 attribute_hidden.
2501 * nss/nsswitch.c (__nss_database_custom): Define only if
2502 USE_NSCD is defined.
2503 (__nss_configure_lookup): Use __nss_database_custom only if
2504 USE_NSCD is defined.
2505 * nss/nsswitch.h (__nss_database_custom): Declare only if
2506 USE_NSCD is defined. Add attribute_hidden.
2507 (__nss_setent): Add attribute_hidden.
2508 (__nss_endent): Likewise.
2509 (__nss_getent_r): Likewise.
2510 (__nss_getent): Likewise.
2511 (DEFINE_DATABASE): Declare __nss_##arg##_database.
2512
2585d7b8
L
25132017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 [BZ #18822]
2516 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
2517 libc_hidden_proto and libc_hidden_def.
2518
c8dfa99c
L
25192017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 [BZ #18822]
2522 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
2523 Add libc_hidden_proto.
2524 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
2525 Add libc_hidden_def.
2526
7ed87317
L
25272017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2528
2529 [BZ #21974]
2530 * gmon/Makefile (routines): Remove bb_init_func and
2531 bb_exit_func.
2532 (elide-routines.os): Removed.
9476b904
L
2533 * gmon/bb_exit_func.c: Likewise.
2534 * gmon/bb_init_func.c: Likewise.
7ed87317
L
2535 * include/sys/gmon.h (__bb): Likewise.
2536 (__bb_init_func): Likewise.
2537 (__bb_exit_func): Likewise.
91695eb1 2538 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 2539
94e6ba15
L
25402017-08-20 H.J. Lu <hongjiu.lu@intel.com>
2541
2542 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
2543 * include/setjmp.h (____longjmp_chk): Here. Add
2544 attribute_hidden.
2545
7550717e
L
25462017-08-19 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 [BZ #18822]
2549 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
2550 attribute_hidden.
2551 (__strspn_sse2): Likewise.
2552
0bb2fabc
AZ
25532017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2554
c181840c
AZ
2555 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
2556 (close_not_cancel_no_status): Likewise.
2557 (__close_nocancel): New macro.
2558 (__close_nocancel_nostatus): Likewise.
2559 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
2560 macro.
2561 (close_not_cancel): Likewise.
2562 (close_not_cancel_no_status): Likewise.
2563 (__close_nocancel): New prototype.
2564 (__close_nocancel_nostatus): New function.
2565 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
2566 * catgets/open_catalog.c (__open_catalog): Replace
2567 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
2568 * gmon/gmon.c (write_gmon): Likewise.
2569 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2570 * intl/loadmsgcat.c (close): Likewise.
2571 * io/ftw.c (open_dir_stream): Likewise.
2572 (ftw_startup): Likewise.
2573 * libio/fileops.c (_IO_file_open): Likewise.
2574 (_IO_file_close_mmap): Likewise.
2575 (_IO_file_close): Likewise.
2576 * libio/iopopen.c (_IO_dup2): Likewise.
2577 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2578 * locale/loadlocale.c (_nl_load_locale): Likewise.
2579 * login/utmp_file.c (pututline_file): Likewise.
2580 (endutent_file): Likewise.
2581 * misc/daemon.c (daemon): Likewise.
2582 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2583 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2584 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2585 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2587 * nscd/nscd_helper.c (open_socket): Likewise.
2588 (__nscd_open_socket): Likewise.
2589 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2590 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
2591 (__nscd_innetgr): Likewise.
2592 * nss/nss_db/db-open.c (internal_setent): Likewise.
2593 * resolv/res-close.c (__res_iclose): Likewise.
2594 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2595 * sysdeps/posix/closedir.c (__closedir): Likewise.
2596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2597 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2598 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2599 (opendir_tail): Likewise.
2600 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2601 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
2602 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2603 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2604 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2605 (gethostid): Likewise.
2606 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2610 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
2611 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2612 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2613 Likewise.
2614 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
2615 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
2616 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2617 Likewise.
2618 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
2619 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2620 Likewise.
2621 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2622 Likewise.
2623 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2624 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2625 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2626 __close_nocancel.
2627
0bb2fabc
AZ
2628 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
2629 (openat_not_cancel_3): Likewise.
2630 (openat64_not_cancel_3): Likewise).
2631 (openat_not_cancel_3): Likewise).
2632 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
2633 macro.
2634 (openat_not_cancel_3): Likewise.
2635 (openat64_not_cancel): Likewise.
2636 (openat64_not_cancel_3): Likewise.
2637 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
2638 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
2639 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
2640 __open{64}_nocancel.
2641 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2642 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2643 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2644
65a086db
L
26452017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 [BZ #18822]
2648 * include/argz.h (__argz_create_sep): New function prototype.
2649 (__argz_append): Likewise.
2650 (__argz_add): Likewise.
2651 (__argz_add_sep): Likewise.
2652 (__argz_delete): Likewise.
2653 (__argz_insert): Likewise.
2654 (__argz_replace): Likewise.
2655 * string/argz.h (__argz_create_sep): Removed.
2656 (__argz_append): Likewise.
2657 (__argz_add): Likewise.
2658 (__argz_add_sep): Likewise.
2659 (__argz_delete): Likewise.
2660 (__argz_insert): Likewise.
2661 (__argz_replace): Likewise.
2662
62753d2c
L
26632017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2664
2665 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
2666 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
2667 (GNU_PROPERTY_STACK_SIZE): Likewie.
2668 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
2669 (GNU_PROPERTY_LOPROC): Likewise.
2670 (GNU_PROPERTY_HIPROC): Likewise.
2671 (GNU_PROPERTY_LOUSER): Likewise.
2672 (GNU_PROPERTY_HIUSER): Likewise.
2673 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
2674 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
2675 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
2676 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
2677 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
2678 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
2679 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
2680 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
2681 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
2682 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
2683 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
2684 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
2685 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
2686 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
2687 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
2688 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
2689 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
2690 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
2691 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
2692 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
2693 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
2694 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
2695 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
2696
6913ad65
GG
26972017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2698
2699 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
2700 in C++ mode.
2701
47a67213
GG
27022017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2703
2704 [BZ #21930]
2705 * math/math.h (isinf): Check if in C or C++ mode before using
2706 __builtin_types_compatible_p, since this is a C mode feature.
2707
a748eb31
AZ
27082017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2709
c647fb88
AZ
2710 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
2711 (__write_nocancel): New macro.
2712 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
2713 Rewrite as a function prototype.
2714 (write_not_cancel): Remove macro.
2715 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
2716 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
2717 (write_gmon): Likewise.
2718 * libio/fileops.c (_IO_new_file_write): Likewise.
2719 * login/utmp_file.c (pututline_file): Likewise.
2720 (updwtmp_file): Likewise.
2721 * stdio-common/psiginfo.c (psiginfo): Likewise.
2722 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2723 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2724 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2725 Likewise.
2726 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2727 Likewise.
2728
a748eb31
AZ
2729 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
2730 (__read_nocancel): New macro.
2731 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2732 __read_nocancel.
2733 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
2734 macro.
2735 (__read_nocancel): New prototype.
2736 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
2737 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
2738 with __read_nocancel.
2739 * intl/loadmsgcat.c (read): Likewise.
2740 * libio/fileops.c (_IO_file_read): Likewise.
2741 * locale/loadlocale.c (_nl_load_locale): Likewise.
2742 * login/utmp_file.c (getutent_r_file): Likewise.
2743 (internal_getut_r): Likewise.
2744 (getutline_r_file): Likewise.
2745 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2746 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2747 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2748 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2749 Likewise.
2750 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
2751 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2752 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2753 Likewise.
2754 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2755 Likewise.
2756 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2757 Likewise.
2758 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2759 Likewise.
2760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2761
098b9dd4
L
27622017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 [BZ #21966]
2765 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
2766 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
2767 usable.
2768
a3fe6a20
DD
27692017-08-17 DJ Delorie <dj@redhat.com>
2770
2771 * bug17079.c: Update to new test harness.
2772 * test-digits-dots.c: Likewise.
2773 * test-netdb.c: Likewise.
2774 * tst-field.c: Likewise.
2775 * tst-nss-getpwent.c: Likewise.
2776 * tst-nss-static.c: Likewise.
2777 * tst-nss-test1.c: Likewise.
2778 * tst-nss-test2.c: Likewise.
2779 * tst-nss-test3.c: Likewise.
2780 * tst-nss-test4.c: Likewise.
2781 * tst-nss-test5.c: Likewise.
2782
c2284574
AZ
27832017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2784
2785 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
2786 (open_not_cancel_2): Likewise.
2787 (open_nocancel): New macro.
2788 (open64_nocancel): Likewise.
2789 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
2790 (open_not_cancel_2): Likewise.
2791 (__open_nocancel): New prototype.
2792 (__open64_nocancel): Likewise.
2793 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2794 __open_nocancel.
2795 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
2796 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
2797 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
2798 with __open_nocancel.
2799 * csu/check_fds.c (check_one_fd): Likewise.
2800 * gmon/gmon.c (write_gmon): Likewise.
2801 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
2802 * intl/loadmsgcat.c (open): Likewise.
2803 * libio/fileops.c (_IO_file_open): Likewise.
2804 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2805 * locale/loadlocale.c (_nl_load_locale): Likewise.
2806 * login/utmp_file.c (setutent_file): Likewise.
2807 * misc/daemon.c (daemon): Likewise.
2808 * nss/nss_db/db-open.c (internal_setent): Likewise.
2809 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2810 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
2811 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2812 (__opendir): Likewise.
2813 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2814 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2815 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2816 (gethostid): Likewise.
2817 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2819 Likewise.
2820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2821 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
2822 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2823 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2824 Likewise.
2825 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2826 Likewise.
2827 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2828 Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2830 Likewise.
2831 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2832 Likewise.
2833 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2834 Likewise.
2835 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2837
d4505b89
WD
28382017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
2839
2840 * benchtests/bench-skeleton.c (main): Add support for
2841 latency benchmarking.
2842 * benchtests/scripts/bench.py: Add support for latency benchmarking.
2843
34d6a3cb
L
28442017-08-17 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
2847 the startup object.
2848
038d1caf
FW
28492017-08-17 Florian Weimer <fweimer@redhat.com>
2850
2851 * include/sys/socket.h (__opensock): Remove internal_function.
2852 * socket/opensock.c (__opensock): Likewise.
2853 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
2854
67f0aff0
JM
28552017-08-16 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #21944]
2858 * signal/bits/types/__sigval_t.h: New file.
2859 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
2860 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
2861 and define sigval_t using __sigval_t.
2862 * include/bits/types/__sigval_t.h: New file.
2863 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
2864 instead of <bits/types/__sigval_t.h>.
2865 (struct sigevent): Use __sigval_t instead of sigval_t.
2866 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
2867 instead of <bits/types/__sigval_t.h>.
2868 (siginfo_t): Use __sigval_t instead of sigval_t.
2869 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
2870 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2871 (struct sigevent): Use __sigval_t instead of sigval_t.
2872 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
2873 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2874 (siginfo_t): Use __sigval_t instead of sigval_t.
2875 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
2876
87e7bf4d
L
28772017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2878
2879 * NEWS: Remove "[Add new features here]" for 2.27.
2880
5047057f
JM
28812017-08-16 Joseph Myers <joseph@codesourcery.com>
2882
2883 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
2884 libc.so.
2885
20c7b195
L
28862017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2887
2888 * NEWS: Mention x86-64 FMA optimization.
2889
24a2e658
L
28902017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 [BZ #21912]
2893 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2894 Add e_expf-fma.
2895 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
2896 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
2898
eedca977
AS
28992017-08-16 Andreas Schwab <schwab@suse.de>
2900
403143e1
FW
2901 [BZ #16750]
2902 CVE-2009-5064
eedca977
AS
2903 * elf/ldd.bash.in: Never run file directly.
2904
f59f7adb
L
29052017-08-15 H.J. Lu <hongjiu.lu@intel.com>
2906
2907 [BZ #21955]
2908 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
2909 (L(SP_INF_0)): Likewise.
2910
6b11a6ad
FW
29112017-08-15 Florian Weimer <fweimer@redhat.com>
2912
2913 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
2914 run-built-tests.
2915
bbf5c438
FW
29162017-08-15 Florian Weimer <fweimer@redhat.com>
2917
2918 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
2919 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
2920 BROKEN_THREAD_SIGNALS code.
2921 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
2922 request_list): Remove caller_pid member used for
2923 BROKEN_THREAD_SIGNALS.
2924 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
2925 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2926 Remove BROKEN_THREAD_SIGNALS support.
2927 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2928 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
2929
6014c65d
FW
29302017-08-15 Florian Weimer <fweimer@redhat.com>
2931
2932 * gmon/Makefile (tests): Add tst-gmon.
2933 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
2934 Set.
2935 (tests-special): Add tst-gmon-prof.out.
2936 (tst-gmon.out): Depend on clean-tst-gmon-data.
2937 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
2938 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
2939 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
2940 startup object.
2941 * aclocal.m4 (GPROF): Set and substitute.
2942 * config.amke.in (GPROF): Set.
2943 * configure: Regenerate.
2944
ee72219a
GR
29452017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
2946
2947 * elf/elf.h A (NT_PPC_TAR): New macro.
2948 (NT_PPC_PPR): Likewise.
2949 (NT_PPC_DSCR): Likewise.
2950 (NT_PPC_EBB): Likewise.
2951 (NT_PPC_PMU): Likewise.
2952 (NT_PPC_TM_CGPR): Likewise.
2953 (NT_PPC_TM_CFPR): Likewise.
2954 (NT_PPC_TM_CVMX): Likewise.
2955 (NT_PPC_TM_CVSX): Likewise.
2956 (NT_PPC_TM_SPR): Likewise.
2957 (NT_PPC_TM_CTAR): Likewise.
2958 (NT_PPC_TM_CPPR): Likewise.
2959 (NT_PPC_TM_CDSCR): Likewise.
2960
4ebf934e
FW
29612017-08-15 Florian Weimer <fweimer@redhat.com>
2962
2963 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
2964 regparm (2) instead of internal_function.
2965 (_MCOUNT_DECL): Adjust.
2966
e9f57484
SL
29672017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2968
2969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
2970 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2971
88ff4d55
JM
29722017-08-14 Joseph Myers <joseph@codesourcery.com>
2973
2974 * conform/data/sys/wait.h-data (si_value): Do not expect for
2975 XPG42.
2976
c88ffc23
FW
29772017-08-14 Florian Weimer <fweimer@redhat.com>
2978
2979 [BZ #21962]
2980 NSS: Create stubs for accidentally exported lookup functions.
2981 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
2982 Remove declaration.
2983 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
2984 (ether_hostton): Call __nss_ethers_lookup2 instead.
2985 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
2986 (ether_ntohost): Call __nss_ethers_lookup2 instead.
2987 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
2988 (setup): Call __nss_netgroup_lookup2 instead.
2989 * nss/Makefile (routines): Add compat-lookup.
2990 * nss/Versions (GLIBC_2.27): Add symbol version.
2991 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
2992 (DB_COMPAT_FCT): Remove.
2993 * nss/compat-lookup.c: New file.
2994 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
2995 from databases.def.
2996 * nss/service-lookup.c (NO_COMPAT): Remove definition.
2997 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
2998 (netname2user): Call __nss_publickey_lookup2 instead.
2999 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
3000 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
3001 instead.
3002
1f14d0c3
AZ
30032017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3004 Sergei Trofimovich <slyfox@inbox.ru>
3005
3006 [BZ #21908]
3007 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
3008 Rename to MMAP2_PAGE_UNIT.
3009 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
3010 __OFF_T_MATCHES_OFF64_T is not defined.
3011 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
3012 uint64_t.
3013 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
3014 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
3015
fbdc1e3e
FW
30162017-08-14 Florian Weimer <fweimer@redhat.com>
3017
3018 i386: Do not set internal_function.
3019 * config.h.in (USE_REGPARMS, internal_function): Remove.
3020 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
3021 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
3022
b3f85fd2
FW
30232017-08-14 Florian Weimer <fweimer@redhat.com>
3024
3025 * elf/dl-init.c (_dl_init): Remove internal_function.
3026 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
3027 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
3028
630bf491
FW
30292017-08-14 Florian Weimer <fweimer@redhat.com>
3030
3031 * elf/rtld.c (_dl_start): Remove internal_function.
3032 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
3033 _dl_start.
3034
9fa7449b
FW
30352017-08-14 Florian Weimer <fweimer@redhat.com>
3036
3037 * elf/dl-fini.c (_dl_fini): Remove internal_function
3038 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
3039
73322d5f
L
30402017-08-14 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
3043 (bit_cpu_SHSTK): Likewise.
3044 (index_cpu_IBT): Likewise.
3045 (index_cpu_SHSTK): Likewise.
3046 (reg_IBT): Likewise.
3047 (reg_SHSTK): Likewise.
3048 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
3049 Handle index_cpu_IBT and index_cpu_SHSTK.
3050
dbc303ef
MF
30512017-08-14 Mike FABIAN <mfabian@redhat.com>
3052
3053 [BZ #19982]
3054 * po/fr.po: Fix spelling mistake.
3055
3012cfb0
FW
30562017-08-13 Florian Weimer <fweimer@redhat.com>
3057
3058 * elf/dl-addr.c (_dl_addr): Remove internal_function.
3059 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
3060 (_dl_catch_error, _dl_receive_error): Likewise.
3061 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
3062 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
3063 (_dl_deallocate_tls): Likewise.
3064 * include/dlfcn.h (_dl_addr): Likewise.
3065 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
3066 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
3067 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
3068 Likewise.
3069
52bcdf26
FW
30702017-08-13 Florian Weimer <fweimer@redhat.com>
3071
3072 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
3073 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
3074 internal_function.
3075 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
3076
e1d2ae8d
FW
30772017-08-13 Florian Weimer <fweimer@redhat.com>
3078
3079 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
3080 internal_function.
3081 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
3082 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
3083 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
3084 internal_function from _dl_make_stack_executable_hook member.
3085 (_dl_make_stack_executable): Remove internal_function.
3086 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
3087 Likewise.
3088 * sysdeps/unix/sysv/linux/dl-execstack.c
3089 (_dl_make_stack_executable): Likewise.
3090
c4ce0382
FW
30912017-08-13 Florian Weimer <fweimer@redhat.com>
3092
3093 * sysdeps/unix/sysv/linux/netlinkaccess.h
3094 (__netlink_assert_response): Remove internal_function.
3095 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3096 (__netlink_assert_response): Likewise.
3097
c4d767f7
FW
30982017-08-13 Florian Weimer <fweimer@redhat.com>
3099
3100 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
3101 internal_function.
3102 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
3103
b2297409
FW
31042017-08-13 Florian Weimer <fweimer@redhat.com>
3105
3106 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
3107 internal_function.
3108 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
3109 * inet/netgroup.h (__internal_setnetgrent)
3110 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3111 * inet/getnetgrent_r.c (__internal_setnetgrent)
3112 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
3113 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
3114 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
3115 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
3116 * nss/nsswitch.h (db_lookup_function): Likewise.
3117
1b0bfc69
FW
31182017-08-13 Florian Weimer <fweimer@redhat.com>
3119
3120 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
3121 Remove internal_function.
3122 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
3123 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
3124 message argument on the stack.
3125 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
3126 Likeweise.
3127
a6bd8722
MF
31282017-08-12 Mike FABIAN <mfabian@redhat.com>
3129
3130 Adapt test case data to the changes in the thousands
3131 separators.
3132
3133 [BZ #20756]
3134 * localedata/tst-langinfo.sh: Adapt test case data.
3135 * stdlib/tst-strfmon_l.c: Likewise.
3136 * stdlib/tst-strtod4.c: Likewise.
3137 * stdlib/tst-strtod5i.c: Likewise.
3138
8b2c63e4
FW
31392017-08-11 Florian Weimer <fweimer@redhat.com>
3140
3141 [BZ #21242]
3142 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
3143 Suppress pedantic warning resulting from statement expression.
3144 (__ASSERT_FUNCTION): Add missing __extension__.
3145
61c98291
SP
31462017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3147
86c6519e
SP
3148 * benchtests/bench-memmove-large.c: Print output in JSON
3149 format.
3150 * benchtests/bench-memmove.c: Likewise.
3151
61c98291
SP
3152 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
3153 * benchtests/bench-memchr.c (do_one_test): Likewise.
3154 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
3155 * benchtests/bench-memcpy.c (do_one_test): Likewise.
3156 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
3157 * benchtests/bench-memmove.c (do_one_test): Likewise.
3158 * benchtests/bench-memset-large.c (do_one_test): Likewise.
3159 * benchtests/bench-memset.c (do_one_test): Likewise.
3160 * benchtests/bench-string.h (test_init): Remove memsets.
3161
925733a9
RJ
31622017-08-10 Rical Jasan <ricaljasan@pacific.net>
3163
3164 * manual/lang.texi
3165 (Computing the Width of an Integer Data Type): Rename section to
3166 "Width of an Integer Type". Remove inaccurate statement regarding
3167 lack of C language facilities for determining width of integer
3168 types, and reorder content to improve flow and context of
3169 discussion.
3170
4fcdfbfc
RJ
31712017-08-10 Rical Jasan <ricaljasan@pacific.net>
3172
3173 * lang.texi (va_copy): Change standard from ISO to C99.
3174 (__va_copy): Add standard and header annotation.
3175 Update description for clarity of origins and current use.
3176
4d98ace9
GG
31772017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3178
3179 [BZ #21941]
3180 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
3181 xssqrtqp requires operands to be in Vector Registers
3182 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
3183 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
3184 (__ieee754_sqrtf128): Likewise.
3185
92236903
WD
31862017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
3187
3188 * sysdeps/aarch64/memcmp.S (memcmp):
3189 Rewrite of optimized memcmp.
3190
2449ae7b
FW
31912017-08-10 Florian Weimer <fweimer@redhat.com>
3192
3193 Introduce ld.so exceptions.
3194 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
3195 (_dl_exception_create, _dl_exception_create_format)
3196 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
3197 (_dl_catch_exception): Declare.
3198 (_dl_catch_error): Update comment.
3199 * elf/dl-error-skeleton.c (struct catch): Replace objname,
3200 errstring, malloced members with exception member.
3201 (_dl_out_of_memory): Remove.
3202 (fatal_error): New function, extracted from _dl_signal_error.
3203 (_dl_signal_exception, _dl_signal_cexception): New functions.
3204 (_dl_signal_error): Call _dl_exception_create to allocate an
3205 exception object.
3206 (_dl_catch_exception): New function, based on _dl_catch_error.
3207 (_dl_catch_error): Implement using _dl_catch_exception.
3208 * elf/dl-exception.c: New file.
3209 * elf/Makefile (dl-routines): Add dl-exception.
3210 (elide-routines.os): Likewise.
3211 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
3212 _dl_exception_create_format, _dl_exception_free.
3213 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
3214 _dl_signal_exception.
3215 * elf/dl-lookup.c (make_string): Remove.
3216 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
3217 _dl_signal_cexception, _dl_exception_free.
3218 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
3219 _dl_signal_exception.
3220 * elf/dl-sym.c (do_sym): Likewise.
3221 * elf/dl-version.c (make_string): Remove.
3222 (match_symbol): Use _dl_exception_create_format,
3223 _dl_signal_cexception, _dl_exception_free.
3224 (_dl_check_map_versions): Likewise.
3225 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
3226 _dl_catch_exception.
3227 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3228 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3229 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3230 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3231 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3232 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3233 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3234 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3235 Likewise.
3236 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3238 (ld.so): Likewise.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3240 (ld.so): Likewise.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3242 Likewise.
3243 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3244 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3245 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3246 Likewise.
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3248 Likewise.
3249 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3250
f87cc2bf
FW
32512017-08-10 Florian Weimer <fweimer@redhat.com>
3252
3253 * inet/net-internal.h (__inet6_scopeid_pton): Remove
3254 attribute_hidden, internal_function.
3255 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
3256 internal_function.
3257
eac43cbb
FW
32582017-08-10 Florian Weimer <fweimer@redhat.com>
3259
3260 * malloc/malloc.c (get_max_fast): Reimplement as an inline
3261 function which calls __builtin_unreachable.
3262
bd80111e
MF
32632017-08-10 Mike FABIAN <mfabian@redhat.com>
3264
3265 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
3266 Indian monetary formatting
3267 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
3268 test cases.
3269
60e2846e
DL
32702017-08-09 Dmitry V. Levin <ldv@altlinux.org>
3271
68dc02d1
DL
3272 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
3273 Fix typo in comment.
3274
60e2846e
DL
3275 [BZ #21928]
3276 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
3277 PTRACE_SEIZE_DEVEL): Remove.
3278 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3283
3d452dab
JM
32842017-08-09 Joseph Myers <joseph@codesourcery.com>
3285
24d9f53a
JM
3286 * posix/bits/types.h (__qaddr_t): Remove.
3287
3d452dab
JM
3288 [BZ #21457]
3289 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
3290 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3291 __glibc_reserved1.
3292 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
3293 (ucontext_t): Use __ctx with uc_flags.
3294 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
3295 (__ctxt): Likewise.
3296 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3297 __glibc_reserved1.
3298 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
3299 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3300 __glibc_reserved1.
3301 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
3302 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3303 __glibc_reserved1.
3304 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
3305 macro.
3306 (ucontext_t): Use __ctx with uc_flags.
3307 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
3308 (ucontext_t): Use __ctx with uc_flags.
3309 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
3310 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
3311 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
3312 (ucontext_t): Use __ctx with uc_flags.
3313 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
3314 undefine further down.
3315 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
3316 __glibc_reserved1.
3317 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
3318 undefine further down.
3319 (ucontext_t): Use __ctx with uc_flags.
3320 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
3321 undefine further down.
3322 (ucontext_t): Use __ctx with uc_flags.
3323 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
3324 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
3325 Rename uc_pad to __glibc_reserved1.
3326 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
3327 undefine further down.
3328 (ucontext_t): Use __ctx with uc_flags.
3329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
3330 further down.
3331 (ucontext_t): Use __ctx with uc_flags.
3332 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
3333 __ctx with uc_flags.
3334 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
3335 (ucontext_t): Use __ctx with uc_flags.
3336 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
3337 __ctx with uc_flags.
3338
30161498
FW
33392017-08-09 Florian Weimer <fweimer@redhat.com>
3340
3341 [BZ #21932]
3342 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
3343 before early return.
3344
5797b410
AS
33452017-08-09 Andreas Schwab <schwab@suse.de>
3346
139237a4 3347 [BZ #21041]
5797b410
AS
3348 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
3349 renamed alias.
3350
139237a4 3351 [BZ #21041]
40c06a3d
AS
3352 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
3353 tst-compat-forwarder.
3354 (modules-names): Add tst-compat-forwarder-mod.
3355 ($(objpfx)tst-compat-forwarder): Depend on
3356 $(objpfx)tst-compat-forwarder-mod.so.
3357 * nptl/tst-compat-forwarder.c: New file.
3358 * nptl/tst-compat-forwarder-mod.c: New file.
3359
36ada5f6
SP
33602017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3361
0e02b510
SP
3362 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
3363 comments.
3364
36ada5f6
SP
3365 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
3366 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3367 memcpy_falkor.
3368 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3369 Bump.
3370 (__libc_ifunc_impl_list): Add __memcpy_falkor.
3371 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3372 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
3373 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3374 Add falkor.
3375 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
3376 New macro.
3377
9995c839
AZ
33782017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3379
3380 [BZ #759]
3381 * manual/setjmp.texi (getcontex): Document uc_stack value
3382 compatibility differences.
3383
f17a4233
JM
33842017-08-08 Joseph Myers <joseph@codesourcery.com>
3385
3386 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
3387 (old_malloc_hook): Likewise.
3388 (old_memalign_hook): Likewise.
3389 (old_realloc_hook): Likewise.
3390 (struct hdr): Likewise.
3391 (flood): Likewise.
3392 (freehook): Likewise.
3393 (mallochook): Likewise.
3394 (memalignhook): Likewise.
3395 (reallochook): Likewise.
3396 (mprobe): Likewise.
3397 * malloc/mtrace.c (mallwatch): Likewise.
3398 (tr_old_free_hook): Likewise.
3399 (tr_old_malloc_hook): Likewise.
3400 (tr_old_realloc_hook): Likewise.
3401 (tr_old_memalign_hook): Likewise.
3402 (tr_where): Likewise.
3403 (lock_and_info): Likewise.
3404 (tr_freehook): Likewise.
3405 (tr_mallochook): Likewise.
3406 (tr_reallochook): Likewise.
3407 (tr_memalignhook): Likewise.
3408 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
3409 * misc/mmap.c (__mmap): Likewise.
3410 * misc/mmap64.c (__mmap64): Likewise.
3411 * misc/mprotect.c (__mprotect): Likewise.
3412 * misc/msync.c (msync): Likewise.
3413 * misc/munmap.c (__munmap): Likewise.
3414 * posix/posix_madvise.c (posix_madvise): Likewise.
3415 * socket/send.c (__send): Likewise.
3416 * socket/sendto.c (__sendto): Likewise.
3417 * socket/setsockopt.c (__setsockopt): Likewise.
3418 * string/memcmp.c (__ptr_t): Remove macro.
3419 (MEMCMP): Use void * instead of ptr_t.
3420 * string/memrchr.c (__ptr_t): Remove macro.
3421 (__memrchr): Use void * instead of ptr_t.
3422 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
3423 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3424 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
3425 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
3426 * sysdeps/mach/msync.c (msync): Likewise.
3427 * sysdeps/mach/munmap.c (__munmap): Likewise.
3428 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
3429 Likewise.
3430 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3431 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3432 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
3433 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
3434 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3435 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3436 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
3437 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
3438 Likewise.
3439 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3440 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3441 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3442 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
3443 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
3444 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
3445 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
3446 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
3447 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
3448 Likewise.
3449 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
3450 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
3451 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
3452 (MEMCMP): Use void * instead of ptr_t.
3453 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
3454 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
3455
0df595b2
FW
34562017-08-08 Florian Weimer <fweimer@redhat.com>
3457
3458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
3459 return statement.
3460
086df229
L
34612017-08-08 H.J. Lu <hongjiu.lu@intel.com>
3462
3463 [BZ #21913]
3464 * csu/libc-tls.c: Include <startup.h> first.
3465 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
3466 * elf/dl-tunables.c: Include <startup.h> first.
3467 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
3468 * sysdeps/generic/startup.h: New file.
3469 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
3470 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
3471 (I386_USE_SYSENTER): New. Defined to 0.
3472
fc5ad702
AS
34732017-08-08 Andreas Schwab <schwab@suse.de>
3474
3475 [BZ #21041]
3476 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
3477 * nptl/pt-system.c (system): Likewise.
3478
852d6312
AZ
34792017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480
3481 [BZ #21780]
3482 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
3483 EOPNOTSUPP.
3484 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
3485 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
3486 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
3487 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
3488 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3489 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3490 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3491
8b164787
JM
34922017-08-07 Joseph Myers <joseph@codesourcery.com>
3493
cd65836b
JM
3494 [BZ #21899]
3495 * bits/sigaction.h (struct sigaction): Define sa_handler and
3496 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
3497 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3498 [__USE_XOPEN_EXTENDED].
3499 (SA_RESTART): Likewise.
3500 (SA_NODEFER): Likewise.
3501 (SA_RESETHAND): Likewise.
3502 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
3503 (struct sigaction): Define sa_handler and sa_sigaction using union
3504 also for [__USE_XOPEN_EXTENDED].
3505 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3506 [__USE_XOPEN_EXTENDED].
3507 (SA_RESTART): Likewise.
3508 (SA_NODEFER): Likewise.
3509 (SA_RESETHAND): Likewise.
3510 * sysdeps/unix/sysv/linux/bits/sigaction.h
3511 (struct sigaction): Define sa_handler and sa_sigaction using union
3512 also for [__USE_XOPEN_EXTENDED].
3513 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3514 [__USE_XOPEN_EXTENDED].
3515 (SA_RESTART): Likewise.
3516 (SA_NODEFER): Likewise.
3517 (SA_RESETHAND): Likewise.
3518 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
3519 (struct sigaction): Define sa_handler and sa_sigaction using union
3520 also for [__USE_XOPEN_EXTENDED].
3521 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3522 [__USE_XOPEN_EXTENDED].
3523 (SA_RESTART): Likewise.
3524 (SA_NODEFER): Likewise.
3525 (SA_RESETHAND): Likewise.
3526 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
3527 (struct sigaction): Define sa_handler and sa_sigaction using union
3528 also for [__USE_XOPEN_EXTENDED].
3529 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3530 [__USE_XOPEN_EXTENDED].
3531 (SA_RESTART): Likewise.
3532 (SA_NODEFER): Likewise.
3533 (SA_RESETHAND): Likewise.
3534 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3535 (struct sigaction): Define sa_handler and sa_sigaction using union
3536 also for [__USE_XOPEN_EXTENDED].
3537 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3538 [__USE_XOPEN_EXTENDED].
3539 (SA_RESTART): Likewise.
3540 (SA_NODEFER): Likewise.
3541 (SA_RESETHAND): Likewise.
3542 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3543 (struct sigaction): Define sa_handler and sa_sigaction using union
3544 also for [__USE_XOPEN_EXTENDED].
3545 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3546 [__USE_XOPEN_EXTENDED].
3547 (SA_RESTART): Likewise.
3548 (SA_NODEFER): Likewise.
3549 (SA_RESETHAND): Likewise.
3550 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3551 (struct sigaction): Define sa_handler and sa_sigaction using union
3552 also for [__USE_XOPEN_EXTENDED].
3553 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3554 [__USE_XOPEN_EXTENDED].
3555 (SA_RESTART): Likewise.
3556 (SA_NODEFER): Likewise. Define directly rather than as alias.
3557 (SA_RESETHAND): Likewise.
3558 (SA_INTERRUPT): Define only for [__USE_MISC].
3559 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
3560 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
3561 [__USE_MISC].
3562 (SA_STACK): Define only for [__USE_MISC].
3563 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
3564 (struct sigaction): Define sa_handler and sa_sigaction using union
3565 also for [__USE_XOPEN_EXTENDED].
3566 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3567 [__USE_XOPEN_EXTENDED].
3568 (SA_RESTART): Likewise.
3569 (SA_NODEFER): Likewise.
3570 (SA_RESETHAND): Likewise.
3571 (SA_NOPTRACE): Define only for [__USE_MISC].
3572
d9fee042
JM
3573 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
3574 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
3575 (struct catalog_info): Likewise.
3576 * inet/htontest.c (lo): Likewise.
3577 (foo): Likewise.
3578 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3579 * inet/inet_net.c (inet_network): Likewise.
3580 * inet/inet_netof.c (inet_netof): Likewise.
3581 * inet/rcmd.c (__ivaliduser): Likewise.
3582 (iruserok): Likewise.
3583 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
3584 * locale/programs/locale-spec.c (locale_special): Likewise.
3585 * nis/nis_findserv.c (struct findserv_req): Likewise.
3586 (__nis_findfastest_with_timeout): Likewise.
3587 * nss/test-netdb.c (test_network): Likewise.
3588 * resolv/inet_neta.c (inet_neta): Likewise.
3589 * resolv/ns_date.c (ns_datetosecs): Likewise.
3590 (SECS_PER_DAY): Likewise.
3591 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
3592 Likewise.
3593 * resolv/res_comp.c (__putlong): Likewise.
3594 (__putshort): Likewise.
3595 (_getlong): Likewise.
3596 (_getshort): Likewise.
3597 * resolv/res_debug.c (p_time): Likewise.
3598 (precsize_ntoa): Likewise.
3599 (precsize_aton): Likewise.
3600 (latlon2ul): Likewise.
3601 (loc_aton): Likewise.
3602 (loc_ntoa): Likewise.
3603 * resolv/res_hconf.c (struct netaddr): Likewise.
3604 (_res_hconf_reorder_addrs): Likewise.
3605 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3606 (clnttcp_control): Likewise.
3607 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3608 (clntudp_control): Likewise.
3609 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3610 (clntunix_control): Likewise.
3611 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3612 * sunrpc/rpc/auth.h (union des_block): Likewise.
3613 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
3614 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
3615 (xdrrec_create): Likewise.
3616 (xdrrec_endofrecord): Likewise.
3617 (flush_out): Likewise.
3618 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
3619 (xdrstdio_putlong): Likewise.
3620 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
3621 Likewise.
3622
8b164787
JM
3623 * misc/sys/cdefs.h (__long_double_t): Remove.
3624 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
3625 instead of __long_double_t,
3626 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
3627
7ee38e60
SP
36282017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3629
dd3e86ad
SP
3630 * benchtests/scripts/compare_strings.py: Avoid display error when
3631 running on a text terminal.
3632
b115e819
SP
3633 * benchtests/scripts/compare_strings.py (main): Add an
3634 optional -base option.
3635 (process_results): New argument base_func.
3636
7ee38e60
SP
3637 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
3638 hardcoding memcpy.
3639 * benchtests/bench-memcpy-large.c (test_name): Likewise.
3640 * benchtests/bench-memcpy-random.c (test_name): Likewise.
3641
d5afb385
AS
36422017-08-07 Andreas Schwab <schwab@suse.de>
3643
3644 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
3645 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3646 * intl/Makefile ($(objpfx)tst-gettext.out)
3647 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
3648 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
3649 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3650 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3651 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
3652 * posix/Makefile ($(objpfx)globtest.out)
3653 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
3654 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
3655 ($(objpfx)tst-printf.out): Likewise.
3656 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
3657 ($(objpfx)tst-setcontext3.out): Likewise.
3658
57a72fa3
L
36592017-08-07 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3662 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
3663 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
3664 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
3665 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
3666 and mptan-fma.
3667 (CFLAGS-doasin-fma.c): New.
3668 (CFLAGS-dosincos-fma.c): Likewise.
3669 (CFLAGS-e_asin-fma.c): Likewise.
3670 (CFLAGS-e_atan2-fma.c): Likewise.
3671 (CFLAGS-e_exp-fma.c): Likewise.
3672 (CFLAGS-e_log-fma.c): Likewise.
3673 (CFLAGS-e_pow-fma.c): Likewise.
3674 (CFLAGS-halfulp-fma.c): Likewise.
3675 (CFLAGS-mpa-fma.c): Likewise.
3676 (CFLAGS-mpatan-fma.c): Likewise.
3677 (CFLAGS-mpatan2-fma.c): Likewise.
3678 (CFLAGS-mpexp-fma.c): Likewise.
3679 (CFLAGS-mplog-fma.c): Likewise.
3680 (CFLAGS-mpsqrt-fma.c): Likewise.
3681 (CFLAGS-mptan-fma.c): Likewise.
3682 (CFLAGS-s_atan-fma.c): Likewise.
3683 (CFLAGS-sincos32-fma.c): Likewise.
3684 (CFLAGS-slowexp-fma.c): Likewise.
3685 (CFLAGS-slowpow-fma.c): Likewise.
3686 (CFLAGS-s_sin-fma.c): Likewise.
3687 (CFLAGS-s_tan-fma.c): Likewise.
3688 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
3689 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
3690 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
3691 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
3692 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
3693 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3694 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
3695 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
3696 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
3697 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
3698 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
3699 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
3700 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
3701 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3702 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
3704 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
3705 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
3706 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
3707 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
3708 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
3709 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3710 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
3712 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3713 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3714 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3715 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3716 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3717 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3718 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3719
219dd320
JM
37202017-08-04 Joseph Myers <joseph@codesourcery.com>
3721
3722 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
3723 (min_of_type_f): New macro.
3724 (min_of_type_): Likewise.
3725 (min_of_type_l): Likewise.
3726 (min_of_type_f128): Likewise.
3727 (min_of_type): Define using __MATH_TG and taking an expression
3728 argument.
3729 (math_check_force_underflow): Pass expression instead of type to
3730 min_of_type.
3731 (math_check_force_underflow_nonneg): Likewise.
3732
64d4dea6
L
37332017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3734
3735 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3736 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
3737 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
3738
973da22a
L
37392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3742 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
3743 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
3744 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
3745 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
3746 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
3747 memcpy_chk-nonshared, mempcpy_chk-nonshared,
3748 memmove_chk-nonshared and memset_chk-nonshared
3749 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
3750 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
3751 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
3752 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
3753 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
3754 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
3755 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
3756 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
3757 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
3758 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
3759 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
3760 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
3761 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
3762 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
3763 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
3764 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
3765 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
3766 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
3767 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
3768 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
3770 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
3772 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
3774 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
3775 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
3776 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
3777 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
3778 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
3779 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
3780 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
3781 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
3782 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3783 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3784 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
3785 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
3786 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
3787 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
3788 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
3789 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
3790 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
3791 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
3792 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
3793 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
3794 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
3795 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
3796 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
3797 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
3798 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
3799 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
3800 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
3801 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
3802 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
3803 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
3804 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
3805 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
3806 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
3807 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
3808 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
3809 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
3810 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
3811 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
3812 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
3813 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
3814 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
3815 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
3816 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
3817 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
3818 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3819 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
3820 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3831 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3834 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3839 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3840 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3841 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3843 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3844 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3845 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3846 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3847 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3857
8537e0f6
L
38582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
3861 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
3862 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
3863 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
3864 svml_d_log2_core-sse2, svml_d_log4_core-sse,
3865 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
3866 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
3867 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
3868 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
3869 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
3870 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
3871 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
3872 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
3873 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
3874 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
3875 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
3876 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
3877 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
3878 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
3879 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
3880 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
3881 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
3882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
3883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
3884 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
3885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
3886 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
3888 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
3891 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
3892 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
3895 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
3896 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
3898 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
3899 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
3901 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
3903 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
3904 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
3905 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
3906 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
3911 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
3916 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
3917 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
3918 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
3919 ...
3920 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
3921 Don't include <sysdep.h> nor <init-arch.h>.
3922 (_ZGVbN2v_cos): Removed.
3923 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
3924 ...
3925 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
3926 Don't include <sysdep.h> nor <init-arch.h>.
3927 (_ZGVdN4v_cos): Removed.
3928 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
3929 ...
3930 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
3931 Don't include <sysdep.h> nor <init-arch.h>.
3932 (_ZGVeN8v_cos): Removed.
3933 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
3934 ...
3935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
3936 Don't include <sysdep.h> nor <init-arch.h>.
3937 (_ZGVbN2v_exp): Removed.
3938 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
3939 ...
3940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
3941 Don't include <sysdep.h> nor <init-arch.h>.
3942 (_ZGVdN4v_exp): Removed.
3943 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
3944 ...
3945 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
3946 Don't include <sysdep.h> nor <init-arch.h>.
3947 (_ZGVeN8v_exp): Removed.
3948 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
3949 ...
3950 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
3951 Don't include <sysdep.h> nor <init-arch.h>.
3952 (_ZGVbN2v_log): Removed.
3953 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
3954 ...
3955 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
3956 Don't include <sysdep.h> nor <init-arch.h>.
3957 (_ZGVdN4v_log): Removed.
3958 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
3959 ...
3960 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
3961 Don't include <sysdep.h> nor <init-arch.h>.
3962 (_ZGVeN8v_log): Removed.
3963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
3964 ...
3965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
3966 Don't include <sysdep.h> nor <init-arch.h>.
3967 (_ZGVbN2vv_pow): Removed.
3968 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
3969 ...
3970 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
3971 Don't include <sysdep.h> nor <init-arch.h>.
3972 (_ZGVdN4vv_pow): Removed.
3973 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
3974 ...
3975 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
3976 Don't include <sysdep.h> nor <init-arch.h>.
3977 (_ZGVeN8vv_pow): Removed.
3978 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
3979 ...
3980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
3981 Don't include <sysdep.h> nor <init-arch.h>.
3982 (_ZGVbN2v_sin): Removed.
3983 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
3984 ...
3985 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
3986 Don't include <sysdep.h> nor <init-arch.h>.
3987 (_ZGVbN4v_sin): Removed.
3988 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
3989 ...
3990 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
3991 Don't include <sysdep.h> nor <init-arch.h>.
3992 (_ZGVbN8v_sin): Removed.
3993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
3994 ...
3995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
3996 Don't include <sysdep.h> nor <init-arch.h>.
3997 (_ZGVbN2vvv_sincos): Removed.
3998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
3999 ...
4000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
4001 Don't include <sysdep.h> nor <init-arch.h>.
4002 (_ZGVdN4vvv_sincos): Removed.
4003 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
4004 ...
4005 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
4006 Don't include <sysdep.h> nor <init-arch.h>.
4007 (_ZGVeN8vvv_sincos): Removed.
4008 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
4009 ...
4010 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
4011 Don't include <sysdep.h> nor <init-arch.h>.
4012 (_ZGVeN16v_cosf): Removed.
4013 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
4014 ...
4015 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
4016 Don't include <sysdep.h> nor <init-arch.h>.
4017 (_ZGVbN4v_cosf): Removed.
4018 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
4019 ...
4020 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
4021 Don't include <sysdep.h> nor <init-arch.h>.
4022 (_ZGVdN8v_cosf): Removed.
4023 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
4024 ...
4025 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
4026 Don't include <sysdep.h> nor <init-arch.h>.
4027 (_ZGVeN16v_expf): Removed.
4028 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
4029 ...
4030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
4031 Don't include <sysdep.h> nor <init-arch.h>.
4032 (_ZGVbN4v_expf): Removed.
4033 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
4034 ...
4035 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
4036 Don't include <sysdep.h> nor <init-arch.h>.
4037 (_ZGVdN8v_expf): Removed.
4038 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
4039 ...
4040 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
4041 Don't include <sysdep.h> nor <init-arch.h>.
4042 (_ZGVeN16v_logf): Removed.
4043 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
4044 ...
4045 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
4046 Don't include <sysdep.h> nor <init-arch.h>.
4047 (_ZGVbN4v_logf): Removed.
4048 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
4049 ...
4050 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
4051 Don't include <sysdep.h> nor <init-arch.h>.
4052 (_ZGVdN8v_logf): Removed.
4053 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
4054 ...
4055 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
4056 Don't include <sysdep.h> nor <init-arch.h>.
4057 (_ZGVeN16vv_powf): Removed.
4058 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
4059 ...
4060 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
4061 Don't include <sysdep.h> nor <init-arch.h>.
4062 (_ZGVbN4vv_powf): Removed.
4063 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
4064 ...
4065 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
4066 Don't include <sysdep.h> nor <init-arch.h>.
4067 (_ZGVdN8vv_powf): Removed.
4068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
4069 ...
4070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
4071 Don't include <sysdep.h> nor <init-arch.h>.
4072 (_ZGVeN16vvv_sincosf): Removed.
4073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
4074 ...
4075 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
4076 Don't include <sysdep.h> nor <init-arch.h>.
4077 (_ZGVbN4vvv_sincosf): Removed.
4078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
4079 ...
4080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
4081 Don't include <sysdep.h> nor <init-arch.h>.
4082 (_ZGVdN8vvv_sincosf): Removed.
4083 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
4084 ...
4085 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
4086 Don't include <sysdep.h> nor <init-arch.h>.
4087 (_ZGVeN16v_sinf): Removed.
4088 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
4089 ...
4090 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
4091 Don't include <sysdep.h> nor <init-arch.h>.
4092 (_ZGVbN4v_sinf): Removed.
4093 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
4094 ...
4095 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
4096 Don't include <sysdep.h> nor <init-arch.h>.
4097 (_ZGVdN8v_sinf): Removed.
4098
10a87ca4
L
40992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4100
4101 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4102 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
4103 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
4104 s_rint-sse4_1 and s_rintf-sse4_1.
4105 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
4106 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4107 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4108 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4109 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4110 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
4111 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
4112 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4113 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4114 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
4115 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
4116 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4117 (__ceil): Removed.
4118 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
4119 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
4120 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4121 (__ceilf): Removed.
4122 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
4123 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
4124 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4125 (__floor): Removed.
4126 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
4127 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
4128 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4129 (__floorf): Removed.
4130 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
4131 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
4132 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4133 (__nearbyint): Removed.
4134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
4135 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
4136 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4137 (__nearbyintf): Removed.
4138 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
4139 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
4140 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4141 (__rint): Removed.
4142 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
4143 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
4144 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
4145 (__rintf): Removed.
4146
1e8e527d
L
41472017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 * sysdeps/i386/start.S (_start): Check Check PIC instead of
4150 SHARED. Avoid dynamic relocation against main in static PIE.
4151
e13daad7
L
41522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4153
4154 [BZ #21815]
4155 * elf/Makefile (CFLAGS-tst-prelink.c): New.
4156 (LDFLAGS-tst-prelink): Likewise.
4157
627c69c8
L
41582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4159
4160 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
4161 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
4162 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
4163 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4164 (INTERNAL_SYSCALL_NCS): Likewise.
4165 (LOADARGS_1): Likewise.
4166 (LOADARGS_5): Likewise.
4167 (RESTOREARGS_1): Likewise.
4168 (RESTOREARGS_5): Likewise.
4169
fc11ff8d
L
41702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
4173 (MEMPCPY_SYMBOL): Likewise.
4174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4175 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
4176 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
4177 in libc.a.
4178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4179 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4180 Likewise.
4181 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
4182 (__hidden_ver1): Don't use in libc.a.
4183 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4184 (__mempcpy): Don't create a weak alias in libc.a.
4185 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
4186 libc.a.
4187 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
4188 (__hidden_ver1): Don't use in libc.a.
4189
19f1a11e
L
41902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4191
4192 * config.make.in (have-insert): New.
4193 * configure.ac (libc_cv_insert): New. Set to yes if linker
4194 supports INSERT in linker script.
4195 (AC_SUBST(libc_cv_insert): New.
4196 * configure: Regenerated.
4197 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
4198 if $(have-insert) == yes.
4199
3093fd5e
L
42002017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4201
4202 * elf/Makefile (tests): Add vismain only if
4203 $(have-protected-data) == yes.
4204 (tests-pie): Likewise.
4205
d2cf37c0
L
42062017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4207
4208 [BZ #21871]
4209 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4210 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
4211
c8a0e6ec
L
42122017-08-04 H.J. Lu <hongjiu.lu@intel.com>
4213
4214 [BZ #21790]
4215 * sysdeps/i386/i586/memset.S
4216 (__memset_zero_constant_len_parameter): Removed.
4217 * sysdeps/i386/i686/memset.S
4218 (__memset_zero_constant_len_parameter): Likewise.
4219 * sysdeps/i386/i686/multiarch/memset_chk.S
4220 (__memset_zero_constant_len_parameter): Likewise.
4221 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
4222 Likewise.
4223
2b34e271
AJ
42242017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4225
4226 * stdlib/getentropy.c (getentropy): Change return type to int.
4227
144bdab0
AJ
42282017-08-03 Aurelien Jarno <aurelien@aurel32.net>
4229
4230 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4231
24ab7723
JM
42322017-08-03 Joseph Myers <joseph@codesourcery.com>
4233
4234 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
4235 u_intN_t.
4236 * math/s_nexttowardf.c (__nexttowardf): Likewise.
4237 * sysdeps/generic/math_private.h (ieee_double_shape_type):
4238 Likewise.
4239 (ieee_float_shape_type): Likewise.
4240 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
4241 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
4242 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4243 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4244 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4245 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
4246 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
4247 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4248 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4249 Likewise.
4250 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4251 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4252 (__ieee754_yn): Likewise.
4253 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4254 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4255 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
4256 Likewise.
4257 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4258 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
4259 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
4260 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
4261 (__erfc): Likewise.
4262 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4263 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
4264 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
4265 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
4266 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
4267 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
4268 Likewise.
4269 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4270 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
4271 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4272 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
4273 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4274 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
4275 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
4276 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
4277 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
4278 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4279 (__issignaling): Likewise.
4280 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
4281 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
4282 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4283 Likewise.
4284 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
4285 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4286 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
4287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
4288 Likewise.
4289 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
4290 Likewise.
4291 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
4292 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
4293 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
4294 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4295 (__erfcf): Likewise.
4296 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4297 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4298 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
4299 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
4300 Likewise.
4301 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
4302 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
4303 Likewise.
4304 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4305 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
4306 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4307 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
4308 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
4309 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4310 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
4311 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
4312 Likewise.
4313 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
4314 Likewise.
4315 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4316 Likewise.
4317 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
4318 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4319 Likewise.
4320 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4321 Likewise.
4322 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4323 (__ieee754_ynl): Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4325 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
4326 Likewise.
4327 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
4328 Likewise.
4329 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4330 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
4331 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4332 Likewise.
4333 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
4341 Likewise.
4342 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4343 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
4344 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
4345 Likewise.
4346 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
4347 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
4348 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4352 Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4354 Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4356 Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4358 Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
4366 Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4368 Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4371 Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4373 (__ieee754_remainderl): Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4378 Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4381 Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4383 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
4384 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4385 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4386 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4387 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4388 Likewise.
4389 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4390 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
4391 (__ieee754_y0l): Likewise.
4392 (pzero): Likewise.
4393 (qzero): Likewise.
4394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4395 (__ieee754_y1l): Likewise.
4396 (pone): Likewise.
4397 (qone): Likewise.
4398 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4399 (__ieee754_ynl): Likewise.
4400 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4401 (__ieee754_lgammal_r): Likewise.
4402 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
4403 Likewise.
4404 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
4406 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4407 (__erfcl): Likewise.
4408 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4409 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
4410 Likewise.
4411 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
4412 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
4413 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4414 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
4415 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
4416 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4417 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4418 Likewise.
4419 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
4420 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4421 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
4422 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
4423 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4424 Likewise.
4425 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
4426 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
4427 Likewise.
4428 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
4429 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
4430 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
4431 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4432 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4433
964263bb
FW
44342017-08-03 Florian Weimer <fweimer@redhat.com>
4435
4436 [BZ #21885]
4437 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
4438 on memory allocation failure.
4439
e98c925f
AM
44402017-08-03 Alan Modra <amodra@gmail.com>
4441
4442 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
4443 tst-tlsopt-powerpc.c with function name change and no test harness.
4444 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
4445 Call tls_get_addr_opt_test.
4446 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
4447 (modules-names): Add mod-tlsopt-powerpc.
4448 (mod-tlsopt-powerpc.so-no-z-defs): Define.
4449 (tst-tlsopt-powerpc): Depend on .so.
4450 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
4451 define. Expand use in TLS_GD and TLS_LD.
4452
8ee1abdb
ST
44532017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4454
4455 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
4456 function.
3da5756e 4457 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 4458
42df8d59
JM
44592017-08-02 Joseph Myers <joseph@codesourcery.com>
4460
4461 [BZ #21686]
4462 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
4463 comparing size with that of double.
4464 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4465 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4466 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4467 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4468 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4469 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
4470 unsigned __int128 types.
4471
b7f95f49
SE
44722017-08-02 Steve Ellcey <sellcey@cavium.com>
4473
4474 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4475 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
4476 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
4477 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
4478 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
4479
5b736bc9
L
44802017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4481
4482 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
4483
dfc93c41
L
44842017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
4487 of SHARED.
4488 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4489 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4491 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4492 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4495
2fee621d
JM
44962017-08-02 Joseph Myers <joseph@codesourcery.com>
4497
4498 [BZ #21685]
4499 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
4500 bit-field expressions passed to sizeof or typeof.
4501 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4502 (__TGMATH_F128): Likewise.
4503 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4504 (__TGMATH_CF128): Likewise.
4505 (__TGMATH_UNARY_REAL_ONLY): Likewise.
4506 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4507 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
4508 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
4509 (__TGMATH_BINARY_REAL_ONLY): Likewise.
4510 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4511 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4512 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
4513 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4514 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
4515 (__TGMATH_UNARY_REAL_IMAG): Likewise.
4516 (__TGMATH_UNARY_IMAG): Likewise.
4517 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
4518 (__TGMATH_BINARY_REAL_IMAG): Likewise.
4519 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
4520 type.
4521 (define_vars_for_type): Handle bit_field type specially.
4522 (Tests.__init__): Declare structure with bit-field element.
4523
b358255f
L
45242017-08-02 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #21791]
4527 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
4528 (MEMCPY_CHK): Define only if SHARED is defined.
4529 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
4530 Likewise.
4531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
4532 Likewise.
edf66db1
SP
4533
4534See ChangeLog.18 for earlier changes.