]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hurd: Fix sigsetops.h macros
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b794e16b
ST
12017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
4 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
5 parameter.
b794e16b 6
5a80d39d
JM
72017-09-01 Joseph Myers <joseph@codesourcery.com>
8
9 * manual/math.texi (pow10): Do not document.
10 (pow10f): Likewise.
11 (pow10l): Likewise.
12 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
13 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
14 * math/libm-test-exp10.inc (pow10_test): Remove.
15 (do_test): Do not call pow10.
16 * math/w_exp10_compat.c (pow10): Make into compat symbol.
17 [NO_LONG_DOUBLE] (pow10l): Likewise.
18 * math/w_exp10f_compat.c (pow10f): Likewise.
19 * math/w_exp10l_compat.c (pow10l): Likewise.
20 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
21 (pow10): Make into compat symbol.
22 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
23 (pow10f): Make into compat symbol.
24 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
25 (pow10l): Make into compat symbol.
26 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27 pow10.
28 (CFLAGS-nldbl-pow10.c): Remove variable..
29 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33 Undefine and redefine.
34 (pow10l): Make into compat symbol.
35 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
36 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37 * sysdeps/arm/libm-test-ulps: Likewise.
38 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
39 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
41 * sysdeps/microblaze/libm-test-ulps: Likewise.
42 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44 * sysdeps/nios2/libm-test-ulps: Likewise.
45 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48 * sysdeps/sh/libm-test-ulps: Likewise.
49 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50 * sysdeps/tile/libm-test-ulps: Likewise.
51 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52
3824fc38
PP
532017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
54
55 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
56
b3008279
L
572017-09-01 H.J. Lu <hongjiu.lu@intel.com>
58
59 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
60 "../ChangeLog.old/ChangeLog.8".
61 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
62 "../ChangeLog.old/ChangeLog.14".
63
136fa185
L
642017-09-01 H.J. Lu <hongjiu.lu@intel.com>
65
66 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
67 Threads Library.
68
c18d50a2
JM
692017-09-01 Joseph Myers <joseph@codesourcery.com>
70
71 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
72
bedbd859
L
732017-09-01 H.J. Lu <hongjiu.lu@intel.com>
74
75 * csu/version.c (banner): Remove "by Roland McGrath et al.".
76 * nptl/Banner: Remove "by Ulrich Drepper et al.".
77
50c66c7a
PP
782017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
79
80 * stdlib/tst-atexit-common.c (do_test): Test support for at least
81 32 atexit handlers.
82
a617bd11
ZW
832017-09-01 Zack Weinberg <zackw@panix.com>
84
85 * math/math.h (HUGE_VAL): Improve commentary.
86
e0d2eb5a
AZ
872017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
88 Andreas Schwab <schwab@suse.de>
89
90 [BZ #21530]
91 * include/stdio.h (__gen_tempfd): New function.
92 * stdio-common/Makefile (routines): Add gentempfd.
93 * stdio-common/gentempfd.c: New file.
94 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
95 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
96 unnamed file first.
97
f4a6be25
FW
982017-09-01 Florian Weimer <fweimer@redhat.com>
99
100 [BZ #21915]
101 [BZ #21922]
102 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
103 result to determine success or failure, not the errno value.
104 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
105 (tst-nss-files-hosts-erange): Link with -ldl.
106 * nss/tst-nss-files-hosts-erange.c: New file.
107 * nss/tst-resolv-basic.c (response): Handle nodata.example.
108 (do_test): Add NO_DATA tests.
109 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
110 (do_test): Call it.
111
5f8340f5
FW
1122017-09-01 Florian Weimer <fweimer@redhat.com>
113
114 [BZ #21922]
115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
116 coming from gethostbyname2_r.
117
65329bd2
FW
1182017-09-01 Florian Weimer <fweimer@redhat.com>
119
120 * support/namespace.h (struct support_chroot_configuration): Add
121 hosts, host_conf.
122 (struct support_chroot): Add path_hosts, path_host_conf.
123 * support/support_chroot.c (write_file): New function.
124 (support_chroot_create): Call it to process /etc/resolv.conf,
125 /etc/hosts, /etc/host.conf.
126 (support_chroot_free): Update.
127
a2881ef0
FW
1282017-09-01 Florian Weimer <fweimer@redhat.com>
129
130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
131 status indicates it is set.
132
ad816a5e
FW
1332017-09-01 Florian Weimer <fweimer@redhat.com>
134
135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
136 function lookup failures more reliable.
137
53250a21
FW
1382017-09-01 Florian Weimer <fweimer@redhat.com>
139
140 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
141 (getcanonname): Likewise.
142 (gaih_inet): Likewise.
143
924b121c
FW
1442017-09-01 Florian Weimer <fweimer@redhat.com>
145
146 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
147 (getcanonname): Likewise.
148 (gaih_inet): Likewise.
149
d9ff799a
SE
1502017-08-31 Steve Ellcey <sellcey@cavium.com>
151 Richard Henderson <rth@twiddle.net>
152
153 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
154 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
155 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
156 (IREG_SIZE, OREG_SIZE): New macros.
157 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
158 (IREG_SIZE, OREG_SIZE): New macros.
159 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
160 (IREG_SIZE): New macro.
161 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
162 (IREG_SIZE): New macro.
163 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
164 New includes.
165 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
166 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
167 (__CONCATX): Handle exceptions correctly on large values that may
168 set FE_INVALID.
169 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
170 Initialize if not already set.
171 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
172
102dde84
AZ
1732017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
174
175 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
176 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
177 Likewise.
178 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
179 Likewise.
180 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
181 Likewise.
182 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
183 Likewise.
184 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
185 Likewise.
186 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
187 Likewise.
188 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
189 Likewise.
190 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
191 (NO_CANCELLATION): Likewise.
192 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
193 Likewise.
194 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
195 Likewise.
196 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
197 Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
199 (NO_CANCELLATION): Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
201 (NO_CANCELLATION): Likewise.
202 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
203 Likewise
204 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
205 Likewise.
206 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
207 Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
209 Likewise.
210 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
211 hidden prototype.
212 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
213 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
214
9eee633b
SE
2152017-08-31 Steve Ellcey <sellcey@cavium.com>
216
217 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
218 in resolver call.
219
65284eb7
FW
2202017-08-31 Florian Weimer <fweimer@redhat.com>
221
222 * include/libc-symbols.h (internal_function): Remove.
223
41ad5ca6
FW
2242017-08-31 Florian Weimer <fweimer@redhat.com>
225
226 * stdlib/fmtmsg.c (internal_addseverity): Remove
227 internal_function.
228
2fa6d086
FW
2292017-08-31 Florian Weimer <fweimer@redhat.com>
230
231 * stdio-common/printf_fp.c (group_number): Remove
232 internal_function.
233 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
234
b41bd5bc
FW
2352017-08-31 Florian Weimer <fweimer@redhat.com>
236
237 * posix/fnmatch.c (internal_function): Remove definition.
238 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
239 * posix/regcomp.c (peek_token, init_word_char)
240 (duplicate_node_closure, fetch_token, peek_token)
241 (peek_token_bracket, build_range_exp, build_collating_symbol):
242 Likewise.
243 * posix/regex_internal.c (re_string_construct_common)
244 (create_ci_newstate, create_cd_newstate, re_string_allocate)
245 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
246 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
247 (re_string_translate_buffer, re_string_reconstruct)
248 (re_string_peek_byte_case, re_string_fetch_byte_case)
249 (re_string_destruct, re_string_context_at, re_node_set_alloc)
250 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
251 (re_node_set_add_intersect, re_node_set_init_union)
252 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
253 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
254 (re_dfa_add_node, calc_state_hash, re_acquire_state)
255 (re_acquire_state_context): Likewise.
256 * posix/regex_internal.h (internal_function): Remove definition.
257 (re_string_realloc_buffers, build_wcs_buffer)
258 (build_wcs_upper_buffer, build_upper_buffer)
259 (re_string_translate_buffer, re_string_context_at)
260 (re_string_char_size_at, re_string_wchar_at)
261 (re_string_elem_size_at): Likewise.
262 * posix/regexec.c (match_ctx_init, match_ctx_clean)
263 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
264 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
265 (re_search_internal, re_search_2_stub, re_search_stub)
266 (re_copy_regs, prune_impossible_nodes, check_matching)
267 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
268 (free_fail_stack_return, sift_states_iter_mb)
269 (sift_states_backward, build_sifted_states)
270 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
271 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
272 (check_subexp_limits, sift_states_bkref, merge_state_array)
273 (find_recover_state, transit_state, merge_state_with_log)
274 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
275 (transit_state_mb, transit_state_bkref, get_subexp)
276 (get_subexp_sub, find_subexp_node, check_arrival)
277 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
278 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
279 (check_node_accept_bytes, find_collation_sequence_value)
280 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
281 (acquire_init_state_context, check_halt_node_context)
282 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
283 (sub_epsilon_src_nodes): Likewise.
284 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
285 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
286 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
287 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
288 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
289 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
290 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
291 * sysdeps/posix/ttyname.c (getttyname): Likewise.
292 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
293 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
294 (PREADV): Likewise.
295 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
296 (PREADV): Likewise.
297 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
298 (PWRITEV): Likewise.
299 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
300 (PWRITEV): Likewise.
301 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
302 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
303
83b09837
FW
3042017-08-31 Florian Weimer <fweimer@redhat.com>
305
306 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
307 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
308 Remove internal_function.
309 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
310 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
311 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
312 (__deallocate_stack, __libc_pthread_init)
313 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
314 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
315 (__libc_disable_asynccancel, __librt_disable_asynccancel):
316 Likewise.
317 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
318 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
319 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
320 Likewise.
321 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
322 (__pthread_mutex_unlock_usercnt): Likewise.
323
116ac301
FW
3242017-08-31 Florian Weimer <fweimer@redhat.com>
325
326 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
327 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
328 (fts_safe_changedir): Remove internal_function.
329 * io/ftw.c (internal_function): Remove definition.
330 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
331
9da93bd7
FW
3322017-08-31 Florian Weimer <fweimer@redhat.com>
333
334 * inet/deadline.c (__deadline_current_time)
335 (__deadline_from_timeval, __deadline_to_ms): Remove
336 internal_function.
337 * inet/getnameinfo.c (nrl_domainname): Likewise.
338 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
339 * inet/inet6_option.c (add_pad): Likewise.
340 * inet/net-internal.h (__deadline_current_time)
341 (__deadline_from_timeval, __deadline_to_ms): Likewise.
342 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
343 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
344 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
345
a60eca2e
JM
3462017-08-31 Joseph Myers <joseph@codesourcery.com>
347
c0c49d60
JM
348 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
349 include <bits/nan.h>.
350 * math/Makefile (headers): Remove bits/nan.h.
351 * bits/nan.h: Remove.
352 * sysdeps/ieee754/bits/nan.h: Likewise.
353 * sysdeps/mips/bits/nan.h: Likewise.
354
5ef1b213
JM
355 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
356 not include <bits/inf.h>.
357 * math/Makefile (headers): Remove bits/inf.h.
358 * bits/inf.h: Remove.
359 * sysdeps/ieee754/bits/inf.h: Likewise.
360
a60eca2e
JM
361 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
362 bits/huge_vall.h or bits/huge_val_flt128.h.
363 (HUGE_VAL): Define directly here.
364 [__USE_ISOC99] (HUGE_VALF): Likewise.
365 [__USE_ISOC99] (HUGE_VALL): Likewise.
366 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
367 (HUGE_VAL_F128): Likewise.
368 * math/Makefile (headers): Remove bits/huge_val.h,
369 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
370 * bits/huge_val.h: Remove.
371 * bits/huge_val_flt128.h: Likewise.
372 * bits/huge_valf.h: Likewise.
373 * bits/huge_vall.h: Likewise.
374 * sysdeps/ia64/bits/huge_vall.h: Likewise.
375 * sysdeps/ieee754/bits/huge_val.h: Likewise.
376 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
377 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
378 * sysdeps/sh/bits/huge_val.h: Likewise.
379 * sysdeps/sparc/bits/huge_vall.h: Likewise.
380 * sysdeps/x86/bits/huge_vall.h: Likewise.
381
17e00cc6
FW
3822017-08-31 Florian Weimer <fweimer@redhat.com>
383
384 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
385 internal_function.
386 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
387 Likewise.
388 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
389 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
390 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
391 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
392 * elf/dl-fini.c (_dl_sort_fini): Likewise.
393 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
394 * elf/dl-libc.c (dlerror_run): Likewise.
395 * elf/dl-load.c (add_name_to_object, decompose_rpath)
396 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
397 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
398 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
399 Likewise.
400 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
401 (_dl_higher_prime_number, _dl_strtoul): Likewise.
402 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
403 * elf/dl-profile.c (_dl_start_profile): Likewise.
404 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
405 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
406 Likewise.
407 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
408 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
409 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
410 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
411 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
412 (_dl_allocate_tls_storage): Likewise.
413 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
414 (_dl_check_all_versions): Likewise.
415 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
416 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
417 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
418 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
419 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
420 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
421 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
422 internal_function from __dl_start.
423 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
424 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
425 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
426 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
427 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
428 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
429 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
430 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
431 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
432 (_dl_next_ld_env_entry, _dl_important_hwcaps)
433 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
434 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
435 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
436 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
437 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
438 Likewise.
439 (struct rtld_global_ro): Remove internal_function from the
440 _dl_lookup_symbol_x member.
441 (_dl_symbol_value): Remove. No longer defined anywhere.
442 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
443 internal_function.
444 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
445 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
446 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
447 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
448 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
449 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
450 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
451 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
452 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
453 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
454 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
455 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
456
8d2f9410
FW
4572017-08-31 Florian Weimer <fweimer@redhat.com>
458
459 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
460 Remove internal_function.
461 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
462 Likewise.
463 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
464 Likewise.
465
86e4919f
FW
4662017-08-31 Florian Weimer <fweimer@redhat.com>
467
468 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
469 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
470 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
471
59bd52b0
FW
4722017-08-31 Florian Weimer <fweimer@redhat.com>
473
474 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
475 (__gai_enqueue_request): Remove internal_function.
476 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
477 (__gai_remove_request, __gai_notify, __gai_notify_only)
478 (__gai_sigqueue): Likewise.
479 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
480 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
481 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
482 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
483 Likewise.
484
fc3d9497
FW
4852017-08-31 Florian Weimer <fweimer@redhat.com>
486
487 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
488 * include/dirent.h (__opendirat, __getdents, __getdents64)
489 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
490 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
491 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
492 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
493 Likewise.
494 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
495
18c54fac
FW
4962017-08-31 Florian Weimer <fweimer@redhat.com>
497
498 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
499 internal_function.
500 (GETCWD_RETURN_TYPE): Likewise.
501
7e01f080
FW
5022017-08-31 Florian Weimer <fweimer@redhat.com>
503
504 * include/time.h (__tz_compute, __strptime_internal): Remove
505 internal_function.
506 * time/strptime_l.c (__strptime_internal): Likewise.
507 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
508
d7ccc6c9
FW
5092017-08-31 Florian Weimer <fweimer@redhat.com>
510
511 * iconv/gconv.c (__gconv): Remove internal_function.
512 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
513 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
514 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
515 (__gconv_release_cache): Likewise.
516 * iconv/gconv_close.c (__gconv_close): Likewise.
517 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
518 (read_conf_file, __gconv_get_path): Likewise.
519 * iconv/gconv_db.c (derivation_lookup, add_derivation)
520 (__gconv_release_step, gen_steps, increment_counter)
521 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
522 (__gconv_close_transform, free_modules_db): Likewise.
523 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
524 Likewise.
525 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
526 (__gconv_find_transform, __gconv_lookup_cache)
527 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
528 (__gconv_close_transform, __gconv_release_cache)
529 (__gconv_loaded_object, __gconv_release_shlib)
530 (__gconv_compare_alias): Likewise.
531 * iconv/gconv_open.c (__gconv_open): Likewise.
532 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
533 * iconv/iconvconfig.c (add_module): Likewise.
534 * intl/dcigettext.c (plural_lookup, guess_category_value)
535 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
536 * intl/eval-plural.h (plural_eval): Likewise.
537 * intl/finddomain.c (_nl_find_domain): Likewise.
538 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
539 (_nl_load_domain, _nl_find_msg): Likewise.
540 (internal_function): Remove definition.
541 * intl/loadinfo.h (internal_function): Likewise.
542 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
543 internal_function.
544 * intl/localealias.c (internal_function): Remove definition.
545 (read_alias_file): Remove internal_function.
546 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
547 * intl/plural-exp.h (internal_function): Remove definition.
548 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
549 internal_function.
550 * intl/plural.c: Regenerate.
551 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
552 * locale/coll-lookup.c (__collidx_table_lookup)
553 (__collseq_table_lookup): Likewise.
554 * locale/coll-lookup.h (__collidx_table_lookup)
555 (__collseq_table_lookup): Likewise.
556 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
557 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
558 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
559 (_nl_unload_locale): Likewise.
560 * locale/localeinfo.h (struct __locale_data): Remove
561 internal_function from cleanup member.
562 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
563 (_nl_remove_locale, _nl_load_locale_from_archive)
564 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
565 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
566 (_nl_cleanup_time): Remove internal_function.
567 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
568 (_nl_parse_alt_digit): Likewise.
569 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
570 (_nl_select_era_entry): Likewise.
571 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
572 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
573 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
574 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
575 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 576
dab0eece
FW
5772017-08-31 Florian Weimer <fweimer@redhat.com>
578
579 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
580 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
581 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
582 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
583 Likewise.
584 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
585 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
586 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
587 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
588 Likewise.
589 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
590
ab5bf7cf
FW
5912017-08-31 Florian Weimer <fweimer@redhat.com>
592
593 * misc/getttyent.c (skip, value): Remove internal_function.
594 * misc/syslog.c (openlog_internal): Likewise.
595 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
596
75b3047e
FW
5972017-08-31 Florian Weimer <fweimer@redhat.com>
598
599 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
600 (__nss_rewrite_field): Remove internal_function.
601 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
602 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
603 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
604 * nss/nsswitch.c (nss_parse_file, nss_getline)
605 (nss_parse_service_list, nss_new_service): Likewise.
606 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
607 * nss/valid_field.c (__nss_valid_field): Likewise.
608 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
609
0c71122c
FW
6102017-08-31 Florian Weimer <fweimer@redhat.com>
611
612 * malloc/arena.c (__malloc_fork_lock_parent)
613 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
614 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
615 internal_function from defintions.
616 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
617 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
618 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
619 internal_function from declarations.
620 * malloc/malloc.c (internal_function): Do not define.
621 (mem2mem_check): Remove internal_function from declaration.
622 (munmap_chunk, mremap_chunk): Remove internal_function.
623 * malloc/mtrace.c (tr_where): Likewise.
624
ca4ec803
FW
6252017-08-31 Florian Weimer <fweimer@redhat.com>
626
627 * include/rpc/pmap_clnt.h (__get_socket): Remove
628 internal_function.
629 * sunrpc/auth_des.c (synchronize): Likewise.
630 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
631 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
632 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
633 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
634 (key_call): Likewise.
635 * sunrpc/pm_getport.c (__get_socket): Likewise.
636 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
637 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
638 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
639 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
640 (invalidate): Likewise.
641 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
642 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
643 (set_input_fragment, get_input_bytes): Likewise.
644
24cffce7
FW
6452017-08-31 Florian Weimer <fweimer@redhat.com>
646
647 * malloc/malloc.c (_int_free): Remove locked variable and related
648 asserts.
649
ecd0747d
L
6502017-08-31 H.J. Lu <hongjiu.lu@intel.com>
651
652 [BZ #22051]
653 * Makerules (build-module-helper-objlist): Filter out
654 $(elf-objpfx)sofini.os.
655 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
656 needed.
657
5f0704b6
FW
6582017-08-31 Florian Weimer <fweimer@redhat.com>
659
660 * libio/fcloseall.c: Assume weak_alias is defined.
661 * libio/feof.c: Likewise.
662 * libio/fileno.c: Likewise.
663 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
664 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
665 definitions.
666 (_IO_file_open): Call __open directly.
667 (_IO_new_file_sync): Assume ESPIPE is defined.
668 (_IO_file_seekoff_maybe_mmap): Call __read directly.
669 (_IO_new_file_write): Call __write directly.
670 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
671 * libio/ftello64.c (__ftello64): Assume EIO is defined.
672 * libio/genops.c: Assume _LIBC is defined.
673 (save_for_backup): Remove internal_function.
674 * libio/getc.c: Assume weak_alias is defined.
675 * libio/getwc.c: Likewise.
676 * libio/iofclose.c: Assume _LIBC is defined.
677 * libio/iofdopen.c: Likewise.
678 (_IO_fcntl): Remove macro definition.
679 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
680 Call __fcntl directly.
681 * libio/iofflush.c: Assume weak_alias is defined.
682 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
683 defined.
684 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
685 * libio/iofgets.c: Likewise.
686 * libio/iofopen.c: Assume _LIBC is defined.
687 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
688 * libio/iofputs.c: Assume weak_alias is defined.
689 * libio/iofread.c: Likewise.
690 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
691 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
692 * libio/ioftell.c: Assume weak_alias is defined.
693 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
694 * libio/iofwide.c: Assume _LIBC is defined.
695 (_IO_fwide): Drop SHARED conditional because it is implied by
696 SHLIB_COMPAT.
697 * libio/iofwrite.c: Assume weak_alias is defined.
698 * libio/iogetdelim.c: Likewise.
699 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
700 * libio/iogetwline.c (wmemcpy): Remove macro definition.
701 (_IO_getwline): Call __wmemcpy directly.
702 * libio/iopopen.c: Assume _LIBC is defined.
703 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
704 (_IO_close): Remove macro definitions.
705 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
706 _exit directly.
707 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
708 directly.
709 * libio/ioputs.c: Assume weak_alias is defined.
710 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
711 * libio/iosetbuffer.c: Assume weak_alias is defined.
712 * libio/iosetvbuf.c: Likewise.
713 * libio/ioungetc.c: Likewise.
714 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
715 libc_hidden_def, libc_hidden_weak, NULL are defined.
716 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
717 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
718 defined.
719 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
720 definitions.
721 (_IO_old_file_init_internal): Drop SHARED conditional because it
722 is implied by SHLIB_COMPAT.
723 (_IO_old_file_fopen): Call __open directly.
724 (_IO_old_file_sync): Assume ESPIPE is defined.
725 (_IO_old_file_write): Call __write directly.
726 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
727 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
728 Call __fcntl directly.
729 * libio/oldiofgetpos.c: Assume weak_alias is defined.
730 (_IO_old_fgetpos): Assume EIO is defined.
731 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
732 (_IO_old_fgetpos64): Assume EIO is defined.
733 * libio/oldiofsetpos.c: Assume weak_alias is defined.
734 (_IO_old_fsetpos): Assume EIO is defined.
735 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
736 (_IO_old_fsetpos64): Assume EIO is defined.
737 * libio/oldiopopen.c: Assume _LIBC is defined.
738 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
739 (_IO_close): Remove macro definitions.
740 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
741 directly.
742 (_IO_old_proc_close): Call __close, __waitpid directly.
743 * libio/put.c: Assume weak_alias is defined.
744 * libio/stdfiles.c: Assume _LIBC is defined.
745 * libio/stdio.c: Likewise.
746 * libio/wfileops.c: Likewise.
747 (_IO_wfile_sync): Assume ESPIPE is defined.
748 * libio/wgenops.c: Assume _LIBC is defined.
749 (save_for_wbackup): Remove internal_function.
750
5129873a
FW
7512017-08-31 Florian Weimer <fweimer@redhat.com>
752
753 * malloc/malloc.c (top_check): Change return type to void. Remove
754 internal_function.
755 * malloc/hooks.c (top_check): Likewise.
756 (malloc_check, realloc_check, memalign_check): Adjust.
757
4fa9b3bf
JM
7582017-08-30 Joseph Myers <joseph@codesourcery.com>
759
760 [BZ #21457]
761 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
762 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
763 sigcontext and namespace requirements.
764 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
765 * sysdeps/m68k/sys/ucontext.h: Likewise.
766 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
767 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
768 <bits/sigcontext.h>.
769 (__ctx): Define earlier.
770 (mcontext_t): Define structure contents rather than using struct
771 sigcontext.
772 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
773 __glibc_reserved1 instead of __reserved.
774 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
775 <bits/sigcontext.h>.
776 (__ctx): Define earlier.
777 (mcontext_t): Define structure contents rather than using struct
778 sigcontext.
779 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
780 mcontext_t instead of struct sigcontext.
781 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
782 <bits/sigcontext.h>.
783 (__ctx): Define earlier.
784 (mcontext_t): Define structure contents rather than using struct
785 sigcontext.
786 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
787 <bits/sigcontext.h>.
788 (__ctx): Define earlier.
789 (mcontext_t): Define structure contents rather than using struct
790 sigcontext.
791 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
792 mcontext_t instead of struct sigcontext.
793 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
794 mcontext_t instead of struct sigcontext.
795 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
796 <bits/sigcontext.h>.
797 (__ctx): New macro.
798 (struct __ia64_fpreg_mcontext): New type.
799 (mcontext_t): Define structure contents rather than using struct
800 sigcontext.
801 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
802 (uc_sigmask): Define using __ctx.
803 (uc_stack): Likewise.
804 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
805 <bits/sigcontext.h>.
806 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
807 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
808 <bits/sigcontext.h>.
809 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
810 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
811 <bits/sigcontext.h>.
812 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
813 <bits/sigcontext.h>.
814 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
815 <bits/sigcontext.h>.
816 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
817 <bits/sigcontext.h>.
818 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
819 <bits/sigcontext.h>.
820 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
821 <bits/sigcontext.h>.
822 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
823 <bits/sigcontext.h>.
824 (__ctx): Define earlier.
825 (mcontext_t): Define structure contents rather than using struct
826 sigcontext.
827 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
828 <bits/sigcontext.h>. Include <bits/types.h>.
829 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
830 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
831 (test-xfail-XPG42/ucontext.h/conform): Likewise.
832 (test-xfail-UNIX98/signal.h/conform): Likewise.
833 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
834 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
835 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
836 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
837 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
838 (test-xfail-POSIX2008/signal.h/conform): Likewise.
839 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
840 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
841 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
842
5898f454
FW
8432017-08-30 Florian Weimer <fweimer@redhat.com>
844
845 * malloc/dynarray_emplace_enlarge.c
846 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
847 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
848 * malloc/tst-dynarray.c (test_long_overflow): New function.
849 (do_test): Call it.
850
a9da0bb2
FW
8512017-08-30 Florian Weimer <fweimer@redhat.com>
852
853 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
854 (set_arena_corrupt): Remove definitions.
855 (mtrim): Do not check for corrupt arena.
856 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
857 Likewise.
858
ac3ed168
FW
8592017-08-30 Florian Weimer <fweimer@redhat.com>
860
861 [BZ #21754]
862 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
863 check_action.
864 (ptmalloc_init): Do not set or use check_action.
865 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
866 call to malloc_printerr. Remove return statement.
867 (free_check): Likewise. Remove arena unlock.
868 (top_check): Update comment. Adjust call to malloc_printerr.
869 Remove heap repair code.
870 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
871 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
872 (sysmalloc): Adjust call to malloc_printerr.
873 (munmap_chunk, __libc_realloc): Likewise. Remove return
874 statement.
875 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
876 Remove errout label and corresponding gotos.
877 (_int_free): Likewise. Remove arena unlock.
878 (do_set_mallopt_check): Do not set check_action.
879 (malloc_printerr): Adjust parameter list. Do not mark arena as
880 corrupt.
881 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
882 comment.
883 * manual/probes.texi (Memory Allocation Probes): Remove
884 memory_mallopt_check_action.
885
44bcba80
SE
8862017-08-30 Steve Ellcey <sellcey@cavium.com>
887
888 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
889 Use pointer to uint64_t instead of long int for sp.
890
ec2c1fce
FW
8912017-08-30 Florian Weimer <fweimer@redhat.com>
892
893 [BZ #21754]
894 * malloc/malloc.c (malloc_printerr): Always terminate the process,
895 without printing a backtrace. Do not leak any information in the
896 error message.
897 * manual/memory.texi (Heap Consistency Checking): Update.
898 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
899
9ce673b6
FW
9002017-08-30 Florian Weimer <fweimer@redhat.com>
901
902 Do not scale NPTL tests with available number of CPUs.
903 * nptl/tst-cond16.c (count): Set to constant value of 8.
904 * nptl/tst-cond18.c (count): Likewise.
905
2f1aef19
JM
9062017-08-29 Joseph Myers <joseph@codesourcery.com>
907
908 [BZ #22035]
909 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
910 Define to take a second argument that is a macro that
911 concatentates a suffix, not the suffix itself.
912 (__CONCAT_d): New macro.
913 (__CONCAT_f): Likewise.
914 (__CONCAT_l): Likewise.
915
8325b477
PP
9162017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
917
918 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
919 by child.
920
319cbbf6
AZ
9212017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
922 Aurelien Jarno <aurelien@aurel32.net>
923 Maciej W. Rozycki <macro@imgtec.com>
924
925 [BZ #21956]
926 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
927 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
928 `mips16-syscall6' and `mips16-syscall7'.
929 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
930 (CFLAGS-mips16-syscall7.c): Remove.
931 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
932 Remove `__mips16_syscall5', `__mips16_syscall6' and
933 `__mips16_syscall7'.
934 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
935 (__mips16_syscall0): Rename `__mips16_syscall_return' to
936 `__mips_syscall_return'.
937 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
938 (__mips16_syscall1): Likewise.
939 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
940 (__mips16_syscall2): Likewise.
941 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
942 (__mips16_syscall3): Likewise.
943 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
944 (__mips16_syscall4): Likewise.
945 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
946 Remove.
947 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
948 Remove.
949 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
950 Remove.
951 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
952 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
953 `__mips16_syscall5'. Remove prototype.
954 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
955 `__mips16_syscall6'. Remove prototype.
956 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
957 `__mips16_syscall7'. Remove prototype.
958 (__nomips16, __mips16_syscall_return): Move to...
959 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
960 (__nomips16, __mips_syscall_return): ... here.
961 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
962 `__mips16_syscall_return' to `__mips_syscall_return'.
963 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
964 `internal_syscall##nr'.
965 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
966 `internal_syscall##nr'.
967 (FORCE_FRAME_POINTER): Remove.
968 (__mips_syscall5): New prototype.
969 (internal_syscall5): Rewrite to call `__mips_syscall5'.
970 (__mips_syscall6): New prototype.
971 (internal_syscall6): Rewrite to call `__mips_syscall6'.
972 (__mips_syscall7): New prototype.
973 (internal_syscall7): Rewrite to call `__mips_syscall7'.
974 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
975 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
976 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
977 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
978 (sysdep_routines): Add libc-do-syscall.
979 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
980 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
981
01b87c65
AZ
9822017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
983
984 [BZ #21672]
985 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
986 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
987 (advise_stack_range): New function.
988 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
989 stack non required to advise_stack_range at allocatestack.c
990
16f138a4
SN
9912017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
992
993 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
994
251bccfa
FW
9952017-08-29 Florian Weimer <fweimer@redhat.com>
996
997 [BZ #22026]
998 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
999 __end_fct. Mangle __end_fct after setting it to NULL.
1000 * iconv/Makefile (tests): Add tst-gconv-init-failure.
1001 (modules-names, modules-names-tests): Add
1002 tst-gconv-init-failure-mod.
1003 (gconv-modules): New target.
1004 (tst-gconv-init-failure-mod.so): Link against libsupport.
1005 (tst-gconv-init-failure): Depend on gconv-modules,
1006 tst-gconv-init-failure-mod.so.
1007 * iconv/tst-gconv-init-failure-mod.c: New file.
1008 * iconv/tst-gconv-init-failure.c: Likewise.
1009 * iconv/test-gconv-modules: Likewise.
1010
e7c18b9d
FW
10112017-08-29 Florian Weimer <fweimer@redhat.com>
1012
1013 [BZ #22025]
1014 * iconv/gconv_db.c (free_derivation): Remove redundant
1015 parentheses.
1016 (gen_steps): Unconditionally mangle __btowc_fct after
1017 initialization.
1018 (increment_counter): Likewise. Do not call init_fct for internal
1019 modules.
1020
7daada03
JM
10212017-08-29 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #22028]
1024 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1025 (_MSUF_): Remove macro.
1026 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
1027 Likewise.
1028 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
1029 (__REDIRFROM_X): New macro.
1030 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
1031 Likewise.
1032 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
1033 (__REDIRTO_X): Likewise.
1034 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
1035 arguments.
1036 (__MATH_REDIRCALL_2): Likewise.
1037 (__MATH_REDIRCALL_INTERNAL): Likewise.
1038 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1039 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
1040 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
1041 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1042 * math/test-finite-macros.c: New file.
1043 * math/Makefile (tests): Add test-finite-macros.
1044 (CFLAGS-test-finite-macros.c): New variable.
1045
1cf1232c
PF
10462017-08-29 Patsy Franklin <pfrankli@redhat.com>
1047 Jeff Law <law@redhat.com>
1048
1049 [BZ #22025]
1050 Mangle NULL pointers in iconv/gconv.
1051 * iconv/gconv_cache.c (find_module): Demangle init_fct before
1052 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
1053 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
1054 is non-NULL before demangling the end_fct. Check for NULL
1055 end_fct after demangling.
1056 (__gconv_release_step): Demangle the end_fct before checking
1057 it for NULL. Remove assert on __shlibc_handle != NULL.
1058 (gen_steps): Don't check btowc_fct for NULL before mangling.
1059 Demangle init_fct before checking for NULL.
1060 (increment_counter): Likewise.
1061 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
1062 end_fct for NULL before mangling.
1063 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
1064 for NULL.
1065
f8de9568
AK
10662017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
1067
1068 [BZ #21971]
1069 * locale/iso-639.def: add Morisyen.
1070
42496114
GG
10712017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1072
1073 [BZ #21930]
1074 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
1075 (iszero): New C++ implementation that does not use
1076 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
1077 signaling nans are enabled, since __builtin_types_compatible_p
1078 is a C-only feature.
1079 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
1080 defined, include ieee754_float128.h for access to the union and
1081 member ieee854_float128.ieee.
1082 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
1083 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
1084 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1085 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
1086 options of test-math-zero on powerpc64le.
1087
5e2bc4ff
L
10882017-08-28 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
1091 Change double to float.
1092
a48c0fb4
JM
10932017-08-28 Joseph Myers <joseph@codesourcery.com>
1094
1095 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
1096 unconditional.
1097 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
1098 conditional code; define contents only for [LIBM_SVID_COMPAT].
1099
ee17d4e9
FW
11002017-08-28 Florian Weimer <fweimer@redhat.com>
1101
1102 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
1103 (abi-lp64_be-options): Remove.
1104 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
1105 (abi-hard-options): Likewise.
1106 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
1107 (abi-o32_hard-options, abi-o32_soft_2008-options)
1108 (abi-o32_hard_2008-options, abi-n32_soft-options)
1109 (abi-n32_hard-options, abi-n32_soft_2008-options)
1110 (abi-n32_hard_2008-options, abi-n64_soft-options)
1111 (abi-n64_hard-options, abi-n64_soft_2008-options)
1112 (abi-n64_hard_2008-options): Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
1114 (abi-64-v1-options, abi-64-v2-options): Likewise.
1115 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
1116 (abi-64-options): Likewise.
1117 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
1118 (abi-64-options): Likewise.
1119 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
1120 (abi-64-options): Likewise.
1121 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
1122 (abi-64-options, abi-x32-options): Likewise.
1123
2dba5ce7
FW
11242017-08-28 Florian Weimer <fweimer@redhat.com>
1125
1126 Store supported list of SYS_* system calls in the source tree.
1127 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1128 (bits/syscall.h): Generate from list file.
1129 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
1130 [$(subdir) = misc] (tests): Add tst-syscall-list.
1131 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
1132 [$(subdir) = misc] (tst-syscall-list-macros.list)
1133 [$(subdir) = misc] (tst-syscall-list-nr.list)
1134 (tst-syscall-list-sys.list): Helper targets for new
1135 tst-syscall-list test.
1136 [$(subdir) = misc] (tst-syscall-list.out): Run test script
1137 tst-syscall-list.sh.
1138 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
1139 target. Do not include bits/syscall.d.
1140 [$(subdir) = misc] (generated): Do not update.
1141 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
1142 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
1143 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
1144 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
1145
5f3b183d
PP
11462017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1147
1148 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
1149 (tst-cxa_atexit, tst-on_exit): Likewise.
1150 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
1151 tst-cxa_atexit, and tst-on_exit.
1152 * stdlib/tst-atexit-common.c: New file.
1153 * stdlib/tst-atexit.c: New file.
1154 * stdlib/tst-at_quick_exit.c: New file.
1155 * stdlib/tst-cxa_atexit.c: New file.
1156 * stdlib/tst-on_exit.c: New file.
1157
2ef8d469
ST
11582017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1159
1160 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
1161 * mach/stack_chk_fail_local.c: New file.
1162 * hurd/stack_chk_fail_local.c: New file.
1163 * mach/Machrules ($(interface-library)-routines): Add
1164 stack_chk_fail_local.
99ee4d26
ST
1165 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
1166 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
1167 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
1168 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
1169 * hurd/Makefile (CFLAGS-hurdstartup.o,
1170 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 1171
7ab70c98
L
11722017-08-25 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
1175 (index_cpu_*, index_arch_*): Removed.
1176
39e7a5a6
SN
11772017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1178
1179 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
1180 Use uint64_t instead of unsigned long.
1181
bba5c930
JM
11822017-08-25 Joseph Myers <joseph@codesourcery.com>
1183
a6ccdb08
JM
1184 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
1185 [__HAVE_DISTINCT_FLOAT128].
1186
23761119
JM
1187 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
1188 of <bits/math-finite.h>.
1189 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
1190 inclusion of <bits/math-finite.h>.
1191 * math/bits/math-finite.h (__REDIRTO_X): Do not define
1192 conditionally on [__MATH_DECLARING_LDOUBLE && defined
1193 __NO_LONG_DOUBLE_MATH].
1194 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
1195 (__MATH_REDIRCALL_2): Likewise.
1196 (__MATH_REDIRCALL_INTERNAL): Likewise.
1197 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
1198 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
1199 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
1200
bba5c930
JM
1201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1202 Remove file.
1203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1204 Likewise.
1205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1206 Likewise.
1207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1208 Likewise.
1209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1210 Likewise.
1211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1212 Likewise.
1213 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1214 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1215 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1216 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1218 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
1219 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
1220 w_sqrtf_compat-ppc32.
1221
3d7b66f6
GG
12222017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1223
1224 * math/math.h [defined __cplusplus] (issignaling): In the long
1225 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
1226 is not defined. Call __issignaling, otherwise.
1227
ebd6f007
AZ
12282017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1229
1230 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
1231 syscall definitions and replace __builtin_expect with __glibc_likely.
1232 * sysdeps/unix/syscall-template.S: Update comment about cancellable
1233 syscall.
1234 (SYSCALL_CANCELLABLE): Removedefinition
1235 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
1236 definition.
1237 (PSEUDO_END): Likewise.
1238 [IS_IN (libpthread)] (CENABLE): Likewise.
1239 [IS_IN (libpthread)] (CDISABLE): Likewise.
1240 [IS_IN (libc)] (CENABLE): Likewise.
1241 [IS_IN (libc)] (CENABLE): Likewise.
1242 [IS_IN (librt)] (CDISABLE): Likewise.
1243 [IS_IN (librt)] (CDISABLE): Likewise.
1244 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1245 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
1246 definition.
1247 (PSEUDO_END): Likewise.
1248 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
1249 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
1250 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1251 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1252 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1253 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1254 (CENABLE): Likewise.
1255 (CDISABLE): Likewise.
1256 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1257 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
1258 defintion.
1259 (PSEUDO_END): Likewise.
1260 [IS_IN (libpthread)] (CENABLE): Likewise.
1261 [IS_IN (libpthread)] (CDISABLE): Likewise.
1262 [IS_IN (libc)] (CENABLE): Likewise.
1263 [IS_IN (libc)] (CENABLE): Likewise.
1264 [IS_IN (librt)] (CDISABLE): Likewise.
1265 [IS_IN (librt)] (CDISABLE): Likewise.
1266 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1267 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
1268 definition.
1269 (PSEUDO_END): Likewise.
1270 [IS_IN (libpthread)] (CENABLE): Likewise.
1271 [IS_IN (libpthread)] (CDISABLE): Likewise.
1272 [IS_IN (libc)] (CENABLE): Likewise.
1273 [IS_IN (libc)] (CENABLE): Likewise.
1274 [IS_IN (librt)] (CDISABLE): Likewise.
1275 [IS_IN (librt)] (CDISABLE): Likewise.
1276 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1277 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
1278 definition.
1279 (PSEUDO_END): Likewise.
1280 [IS_IN (libpthread)] (CENABLE): Likewise.
1281 [IS_IN (libpthread)] (CDISABLE): Likewise.
1282 [IS_IN (libc)] (CENABLE): Likewise.
1283 [IS_IN (libc)] (CENABLE): Likewise.
1284 [IS_IN (librt)] (CDISABLE): Likewise.
1285 [IS_IN (librt)] (CDISABLE): Likewise.
1286 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1287 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
1288 definition.
1289 (PSEUDO_END): Likewise.
1290 [IS_IN (libpthread)] (CENABLE): Likewise.
1291 [IS_IN (libpthread)] (CDISABLE): Likewise.
1292 [IS_IN (libc)] (CENABLE): Likewise.
1293 [IS_IN (libc)] (CENABLE): Likewise.
1294 [IS_IN (librt)] (CDISABLE): Likewise.
1295 [IS_IN (librt)] (CDISABLE): Likewise.
1296 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1297 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
1298 definition.
1299 (PSEUDO_END): Likewise.
1300 [IS_IN (libpthread)] (CENABLE): Likewise.
1301 [IS_IN (libpthread)] (CDISABLE): Likewise.
1302 [IS_IN (libc)] (CENABLE): Likewise.
1303 [IS_IN (libc)] (CENABLE): Likewise.
1304 [IS_IN (librt)] (CDISABLE): Likewise.
1305 [IS_IN (librt)] (CDISABLE): Likewise.
1306 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1307 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
1308 definition.
1309 (PSEUDO_END): Likewise.
1310 [IS_IN (libpthread)] (CENABLE): Likewise.
1311 [IS_IN (libpthread)] (CDISABLE): Likewise.
1312 [IS_IN (libc)] (CENABLE): Likewise.
1313 [IS_IN (libc)] (CENABLE): Likewise.
1314 [IS_IN (librt)] (CDISABLE): Likewise.
1315 [IS_IN (librt)] (CDISABLE): Likewise.
1316 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1317 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
1318 Remove definition.
1319 (PSEUDO_END): Likewise.
1320 [IS_IN (libpthread)] (CENABLE): Likewise.
1321 [IS_IN (libpthread)] (CDISABLE): Likewise.
1322 [IS_IN (libc)] (CENABLE): Likewise.
1323 [IS_IN (libc)] (CENABLE): Likewise.
1324 [IS_IN (librt)] (CDISABLE): Likewise.
1325 [IS_IN (librt)] (CDISABLE): Likewise.
1326 (SINGLE_THREAD_P): Likewise.
1327 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
1328 definition.
1329 (PSEUDO_END): Likewise.
1330 [IS_IN (libpthread)] (CENABLE): Likewise.
1331 [IS_IN (libpthread)] (CDISABLE): Likewise.
1332 [IS_IN (libc)] (CENABLE): Likewise.
1333 [IS_IN (libc)] (CENABLE): Likewise.
1334 [IS_IN (librt)] (CDISABLE): Likewise.
1335 [IS_IN (librt)] (CDISABLE): Likewise.
1336 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1337 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
1338 definition.
1339 (PSEUDO_END): Likewise.
1340 [IS_IN (libpthread)] (CENABLE): Likewise.
1341 [IS_IN (libpthread)] (CDISABLE): Likewise.
1342 [IS_IN (libc)] (CENABLE): Likewise.
1343 [IS_IN (libc)] (CENABLE): Likewise.
1344 [IS_IN (librt)] (CDISABLE): Likewise.
1345 [IS_IN (librt)] (CDISABLE): Likewise.
1346 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1347 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
1348 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
1350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
1351 definition.
1352 (PSEUDO_END): Likewise.
1353 [IS_IN (libpthread)] (CENABLE): Likewise.
1354 [IS_IN (libpthread)] (CDISABLE): Likewise.
1355 [IS_IN (libc)] (CENABLE): Likewise.
1356 [IS_IN (libc)] (CENABLE): Likewise.
1357 [IS_IN (librt)] (CDISABLE): Likewise.
1358 [IS_IN (librt)] (CDISABLE): Likewise.
1359 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
1361 definition.
1362 (PSEUDO_END): Likewise.
1363 [IS_IN (libpthread)] (CENABLE): Likewise.
1364 [IS_IN (libpthread)] (CDISABLE): Likewise.
1365 [IS_IN (libc)] (CENABLE): Likewise.
1366 [IS_IN (libc)] (CENABLE): Likewise.
1367 [IS_IN (librt)] (CDISABLE): Likewise.
1368 [IS_IN (librt)] (CDISABLE): Likewise.
1369 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1370 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
1371 definition.
1372 (PSEUDO_END): Likewise.
1373 [IS_IN (libpthread)] (CENABLE): Likewise.
1374 [IS_IN (libpthread)] (CDISABLE): Likewise.
1375 [IS_IN (libc)] (CENABLE): Likewise.
1376 [IS_IN (libc)] (CENABLE): Likewise.
1377 [IS_IN (librt)] (CDISABLE): Likewise.
1378 [IS_IN (librt)] (CDISABLE): Likewise.
1379 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1382 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
1383 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
1384 definition.
1385 (PSEUDO_END): Likewise.
1386 [IS_IN (libpthread)] (CENABLE): Likewise.
1387 [IS_IN (libpthread)] (CDISABLE): Likewise.
1388 [IS_IN (libc)] (CENABLE): Likewise.
1389 [IS_IN (libc)] (CENABLE): Likewise.
1390 [IS_IN (librt)] (CDISABLE): Likewise.
1391 [IS_IN (librt)] (CDISABLE): Likewise.
1392 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
1394 definition.
1395 (PSEUDO_END): Likewise.
1396 [IS_IN (libpthread)] (CENABLE): Likewise.
1397 [IS_IN (libpthread)] (CDISABLE): Likewise.
1398 [IS_IN (libc)] (CENABLE): Likewise.
1399 [IS_IN (libc)] (CENABLE): Likewise.
1400 [IS_IN (librt)] (CDISABLE): Likewise.
1401 [IS_IN (librt)] (CDISABLE): Likewise.
1402 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1403
8aa48656
SN
14042017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1405
1406 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
1407
fcaaca41
L
14082017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1409
1410 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1411
376b40a2
L
14122017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 [BZ #21982]
1415 * string/stratcliff.c (do_test): Declare size, nchars, inner,
1416 middle and outer with size_t instead of int. Repleace %d and
1417 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
1418 "MAX (outer, nchars - 64)" to support unsigned outer and
1419 nchars. Also exit loop when outer == 0.
1420
2b0b9a1c
AZ
14212017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1422
1423 * include/fcntl.h (__fcntl_nocancel): Remove definition.
1424 * include/signal.h (__sigsuspend_nocancel): Likewise.
1425 * include/time.h (__nanosleep_nocancel): Likewise.
1426 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
1427 * login/utmp_file.c: Include non cancellable syscall header.
1428 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
1429 prototype.
1430
b9eaca8f
L
14312017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
1434 .byte sequences with AVX512F instructions.
1435 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
1436 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1437 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
1439 Likewise.
1440 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1441 Likewise.
1442
5a706f64
SE
14432017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1444 Steve Ellcey <sellcey@cavium.com>
1445
1446 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
1447 Use PTR_REG macro in cmp instruction.
1448
b513da7e
GG
14492017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1450
1451 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
1452 Change the return type of the ifunc resolver to match the return
1453 type of the target function.
1454
78ca091c
AZ
14552017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1456
b70b6026
AZ
1457 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
1458 (preadv64): Likewise.
1459 (pwrite64(: Likewise.
1460 (pwritev64): Likewise.
1461
78ca091c
AZ
1462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1463 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
1464 (LOAD_ARGS_0): Likewise.
1465 (LOAD_ARGS_1): Likewise.
1466 (LOAD_ARGS_2): Likewise.
1467 (LOAD_ARGS_3): Likewise.
1468 (LOAD_ARGS_4): Likewise.
1469 (LOAD_ARGS_5): Likewise.
1470 (LOAD_ARGS_6): Likewise.
1471 (LOAD_REGS_0): Likewise.
1472 (LOAD_REGS_1): Likewise.
1473 (LOAD_REGS_2): Likewise.
1474 (LOAD_REGS_3): Likewise.
1475 (LOAD_REGS_4): Likewise.
1476 (LOAD_REGS_5): Likewise.
1477 (LOAD_REGS_6): Likewise.
1478 (ASM_ARGS_0): Likewise.
1479 (ASM_ARGS_1): Likewise.
1480 (ASM_ARGS_2): Likewise.
1481 (ASM_ARGS_3): Likewise.
1482 (ASM_ARGS_4): Likewise.
1483 (ASM_ARGS_5): Likewise.
1484 (ASM_ARGS_6): Likewise.
1485 (LOAD_ARGS_TYPES_1): Likewise.
1486 (LOAD_ARGS_TYPES_2): Likewise.
1487 (LOAD_ARGS_TYPES_3): Likewise.
1488 (LOAD_ARGS_TYPES_4): Likewise.
1489 (LOAD_ARGS_TYPES_5): Likewise.
1490 (LOAD_ARGS_TYPES_6): Likewise.
1491 (LOAD_REGS_TYPES_1): Likewise.
1492 (LOAD_REGS_TYPES_2): Likewise.
1493 (LOAD_REGS_TYPES_3): Likewise.
1494 (LOAD_REGS_TYPES_4): Likewise.
1495 (LOAD_REGS_TYPES_5): Likewise.
1496 (LOAD_REGS_TYPES_6): Likewise.
1497 (TYPEFY): New define.
1498 (ARGIFY): Likewise.
1499 (internal_syscall0): Likewise.
1500 (internal_syscall1): Likewise.
1501 (internal_syscall2): Likewise.
1502 (internal_syscall3): Likewise.
1503 (internal_syscall4): Likewise.
1504 (internal_syscall5): Likewise.
1505 (internal_syscall6): Likewise.
1506 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
1507 (INTERNAL_SYSCALL_NCS): Remove define.
1508 (internal_syscall1): Add define.
1509
453a493d
GG
15102017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1511
1512 * math/w_remainder_compat.c: Remove duplicate inclusion of
1513 math-svid-compat.h.
1514 * math/w_remainderf_compat.c: Likewise.
1515 * math/w_remainderl_compat.c: Likewise.
1516
f2f048a5
GG
15172017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1518
1519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1520
d9bef9c0
JM
15212017-08-22 Joseph Myers <joseph@codesourcery.com>
1522
1523 [BZ #21684]
1524 * math/tgmath.h (__floating_type): Simplify definitions.
1525 (__real_integer_type): New macro.
1526 (__complex_integer_type): Likewise.
1527 (__expr_is_real): Likewise.
1528 (__tgmath_real_type_sub): Update comment to describe handling of
1529 complex types.
1530 (__tgmath_complex_type_sub): New macro.
1531 (__tgmath_complex_type): Likewise.
1532 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1533 (__TGMATH_CF128): Use __expr_is_real.
1534 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
1535 __expr_is_real.
1536 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1537 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
1538 * math/gen-tgmath-tests.py (Type.create_type): Create complex
1539 integer types.
1540
08d6eb46
AZ
15412017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1542
988f991b
AZ
1543 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
1544 macro.
1545 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
1546 alias.
1547 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
1548 Likewise.
1549
6f33fd04
AZ
1550 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
1551 nanosleep_not_cancel with __nanosleep_nocancel.
1552 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
1553 (__nanosleep_nocancel): New macro.
1554 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
1555 function.
1556 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
1557 macro.
1558 (__nanosleep_nocancel): New prototype.
1559
08d6eb46
AZ
1560 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
1561 pause_not_cancel with __pause_nocancel.
1562 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
1563 (__pause_nocancel): New macro.
1564 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
1565 macro.
1566 (__pause_nocancel): New prototype.
1567 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
1568
ee4e992e
MS
15692017-08-22 Martin Sebor <msebor@redhat.com>
1570
1571 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
1572 to return a pointer to the same type as the target function.
1573
20962acb
L
15742017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 [BZ #18822]
1577 [BZ #21986]
1578 * include/printf.h (__printf_fphex): Add attribute_hidden.
1579 (__guess_grouping): New prototype.
1580 * stdio-common/printf_fp.c (__guess_grouping): Removed.
1581 * stdio-common/reg-printf.c (__register_printf_specifier): Add
1582 libc_hidden_proto and libc_hidden_def.
1583 * stdlib/strfmon_l.c (__guess_grouping): Removed.
1584 (__vstrfmon_l): Remove the third argument passed to
1585 __guess_grouping.
1586
a16e8bc0
GG
15872017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1588
1589 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
1590 definition for issignaling that does not rely on __MATH_TG,
1591 since __MATH_TG uses __builtin_types_compatible_p, which is only
1592 available in C mode.
1593 (CFLAGS-test-math-issignaling.cc): New variable.
1594 * math/Makefile [CXX] (tests): Add test-math-issignaling.
1595 * math/test-math-issignaling.cc: New test for C++ implementation
1596 of type-generic issignaling.
1597 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1598 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
1599 options of test-math-issignaling on powerpc64le.
1600
8d2ec553
L
16012017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1602
1603 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1604 building libc.a.
1605 (hidden_proto): Likewise.
1606 (hidden_tls_proto): Likewise.
1607 (__hidden_proto): Likewise.
1608
a4d57b79
FW
16092017-08-22 Florian Weimer <fweimer@redhat.com>
1610
1611 math: Statically link tests of internal functionality.
1612 * math/Makefile (tests): Remove atest-exp, atest-sincos,
1613 atest-exp2.
1614 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
1615 (gmp-objs): Remove assignment.
1616 (atest-exp, atest-sincos, atest-exp2): Remove targets.
1617
75dfe623
JM
16182017-08-22 Joseph Myers <joseph@codesourcery.com>
1619
80f91666
JM
1620 [BZ #21987]
1621 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
1622 and copy to ...
1623 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
1624 ... here.
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
1626 ... and here.
1627
75dfe623
JM
1628 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
1629 variable definitions above inclusion of ../Rules.
1630
ea99fcd0
JM
16312017-08-21 Joseph Myers <joseph@codesourcery.com>
1632
1633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
1634 case calling __builtin_unreachable.
1635
19926de9
AZ
16362017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1637
a8410a5f
AZ
1638 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
1639 __waitpid_nocancel.
1640 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
1641 (__waitpid_nocancel): New macro.
1642 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
1643 macro.
1644 (__waitpid_nocancel): Replace macro with a function.
1645 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
1646 function.
1647
7369800c
AZ
1648 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
1649 __fcntl_nocancel.
1650 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
1651 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
1652
19926de9
AZ
1653 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
1654 __writev_nocancel_nostatus.
1655 (write_call_graph): Likewise.
1656 (write_bb_counts): Likewise.
1657 * resolv/herror.c (herror): Likewise.
1658 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
1659 macro.
1660 (__writev_nocancel_nostatus): New macro.
1661 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
1662 Remove macro.
1663 (__writev_nocancel_nostatus): New function.
1664
813378e9
JM
16652017-08-21 Joseph Myers <joseph@codesourcery.com>
1666
df1deda6
JM
1667 Revert:
1668 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1669
1670 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1671 building libc.a.
1672 (hidden_proto): Likewise.
1673 (hidden_tls_proto): Likewise.
1674 (__hidden_proto): Likewise.
1675
831bbd55
JM
1676 [BZ #21973]
1677 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
1678 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1680 Likewise.
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1682 Likewise.
1683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1684 Likewise.
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1686 Likewise.
1687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1689 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1690 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1691 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1692 GLIBC_2.0 sqrtl symbol.
1693
813378e9
JM
1694 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
1695 [__USE_MISC] (_LIB_VERSION): Likewise.
1696 [__USE_MISC] (struct exception): Likewise.
1697 [__USE_MISC] (matherr): Likewise.
1698 [__USE_MISC] (DOMAIN): Likewise.
1699 [__USE_MISC] (SING): Likewise.
1700 [__USE_MISC] (OVERFLOW): Likewise.
1701 [__USE_MISC] (UNDERFLOW): Likewise.
1702 [__USE_MISC] (TLOSS): Likewise.
1703 [__USE_MISC] (PLOSS): Likewise.
1704 [__USE_MISC] (HUGE): Likewise.
1705 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
1706 * math/math-svid-compat.h: New file.
1707 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
1708 and matherrl.
1709 * include/math.h [!_ISOMAC] (__matherr): Remove.
1710 * manual/arith.texi (FP Exceptions): Do not document matherr.
1711 * math/Makefile (tests): Change test-matherr to test-matherr-3.
1712 (tests-internal): New variable.
1713 (install-lib): Do not add libieee.a.
1714 (non-lib.a): Likewise.
1715 (extra-objs): Do not add libieee.a and ieee-math.o.
1716 (CPPFLAGS-s_lib_version.c): Remove variable.
1717 ($(objpfx)libieee.a): Remove rule.
1718 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
1719 * math/ieee-math.c: Remove.
1720 * math/libm-test-support.c (matherr): Remove.
1721 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
1722 and license notices. Include <math-svid-compat.h> and
1723 <shlib-compat.h>.
1724 (matherr): Undefine as macro. Use compat_symbol_reference.
1725 (_LIB_VERSION): Likewise.
1726 * math/test-matherr-2.c: New file.
1727 * math/test-matherr-3.c: Likewise.
1728 * sysdeps/generic/math_private.h (__kernel_standard): Remove
1729 declaration.
1730 (__kernel_standard_f): Likewise.
1731 (__kernel_standard_l): Likewise.
1732 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
1733 <math_private.h>. Include <math-svid-compat.h>.
1734 (_LIB_VERSION): Undefine as macro.
1735 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
1736 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
1737 [LIBM_SVID_COMPAT], use compat_symbol.
1738 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
1739 <math_private.h>. Include <math-svid-compat.h>.
1740 (matherr): Undefine as macro.
1741 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
1742 compat_symbol.
1743 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
1744 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
1745 compat_symbol_reference.
1746 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
1747 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
1748 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
1749 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
1750 (MATHERR_D): Remove declaration.
1751 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
1752 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
1753 [LIBM_BUILD] (pmatherrf): Likewise.
1754 [LIBM_BUILD] (pmatherr): Likewise.
1755 [LIBM_BUILD] (pmatherrl): Likewise.
1756 (DOMAIN): Likewise.
1757 (SING): Likewise.
1758 (OVERFLOW): Likewise.
1759 (UNDERFLOW): Likewise.
1760 (TLOSS): Likewise.
1761 (PLOSS): Likewise.
1762 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
1763 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
1764 compat_symbol.
1765 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
1766 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
1767 compat_symbol.
1768 * math/lgamma-compat.h: Include <math-svid-compat.h>.
1769 * math/w_acos_compat.c: Likewise.
1770 * math/w_acosf_compat.c: Likewise.
1771 * math/w_acosh_compat.c: Likewise.
1772 * math/w_acoshf_compat.c: Likewise.
1773 * math/w_acoshl_compat.c: Likewise.
1774 * math/w_acosl_compat.c: Likewise.
1775 * math/w_asin_compat.c: Likewise.
1776 * math/w_asinf_compat.c: Likewise.
1777 * math/w_asinl_compat.c: Likewise.
1778 * math/w_atan2_compat.c: Likewise.
1779 * math/w_atan2f_compat.c: Likewise.
1780 * math/w_atan2l_compat.c: Likewise.
1781 * math/w_atanh_compat.c: Likewise.
1782 * math/w_atanhf_compat.c: Likewise.
1783 * math/w_atanhl_compat.c: Likewise.
1784 * math/w_cosh_compat.c: Likewise.
1785 * math/w_coshf_compat.c: Likewise.
1786 * math/w_coshl_compat.c: Likewise.
1787 * math/w_exp10_compat.c: Likewise.
1788 * math/w_exp10f_compat.c: Likewise.
1789 * math/w_exp10l_compat.c: Likewise.
1790 * math/w_exp2_compat.c: Likewise.
1791 * math/w_exp2f_compat.c: Likewise.
1792 * math/w_exp2l_compat.c: Likewise.
1793 * math/w_fmod_compat.c: Likewise.
1794 * math/w_fmodf_compat.c: Likewise.
1795 * math/w_fmodl_compat.c: Likewise.
1796 * math/w_hypot_compat.c: Likewise.
1797 * math/w_hypotf_compat.c: Likewise.
1798 * math/w_hypotl_compat.c: Likewise.
1799 * math/w_j0_compat.c: Likewise.
1800 * math/w_j0f_compat.c: Likewise.
1801 * math/w_j0l_compat.c: Likewise.
1802 * math/w_j1_compat.c: Likewise.
1803 * math/w_j1f_compat.c: Likewise.
1804 * math/w_j1l_compat.c: Likewise.
1805 * math/w_jn_compat.c: Likewise.
1806 * math/w_jnf_compat.c: Likewise.
1807 * math/w_jnl_compat.c: Likewise.
1808 * math/w_lgamma_main.c: Likewise.
1809 * math/w_lgamma_r_compat.c: Likewise.
1810 * math/w_lgammaf_main.c: Likewise.
1811 * math/w_lgammaf_r_compat.c: Likewise.
1812 * math/w_lgammal_main.c: Likewise.
1813 * math/w_lgammal_r_compat.c: Likewise.
1814 * math/w_log10_compat.c: Likewise.
1815 * math/w_log10f_compat.c: Likewise.
1816 * math/w_log10l_compat.c: Likewise.
1817 * math/w_log2_compat.c: Likewise.
1818 * math/w_log2f_compat.c: Likewise.
1819 * math/w_log2l_compat.c: Likewise.
1820 * math/w_log_compat.c: Likewise.
1821 * math/w_logf_compat.c: Likewise.
1822 * math/w_logl_compat.c: Likewise.
1823 * math/w_pow_compat.c: Likewise.
1824 * math/w_powf_compat.c: Likewise.
1825 * math/w_powl_compat.c: Likewise.
1826 * math/w_remainder_compat.c: Likewise.
1827 * math/w_remainderf_compat.c: Likewise.
1828 * math/w_remainderl_compat.c: Likewise.
1829 * math/w_scalb_compat.c: Likewise.
1830 * math/w_scalbf_compat.c: Likewise.
1831 * math/w_scalbl_compat.c: Likewise.
1832 * math/w_sinh_compat.c: Likewise.
1833 * math/w_sinhf_compat.c: Likewise.
1834 * math/w_sinhl_compat.c: Likewise.
1835 * math/w_sqrt_compat.c: Likewise.
1836 * math/w_sqrtf_compat.c: Likewise.
1837 * math/w_sqrtl_compat.c: Likewise.
1838 * math/w_tgamma_compat.c: Likewise.
1839 * math/w_tgammaf_compat.c: Likewise.
1840 * math/w_tgammal_compat.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1842 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1843 * sysdeps/ieee754/k_standard.c: Likewise.
1844 * sysdeps/ieee754/k_standardf.c: Likewise.
1845 * sysdeps/ieee754/k_standardl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1853 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1854 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1856 Likewise.
1857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1858 Likewise.
1859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1860 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1861 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1862 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1863
4504783c
FW
18642017-08-21 Florian Weimer <fweimer@redhat.com>
1865
1866 [BZ #21864]
1867 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
1868 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
1869 Move before inclusion of ../Rules.
1870
b5889d25
FW
18712017-08-21 Florian Weimer <fweimer@redhat.com>
1872
1873 [BZ #21972]
1874 * assert/assert.h (assert): Use static_cast (bool) for C++.
1875 Use the ternary operator in the warning branch for GNU C.
1876 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
1877 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
1878 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
1879 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
1880 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
1881
41e673c1
L
18822017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 [BZ #18822]
1885 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1886 (__syscall_clock_gettime): Add attribute_hidden.
1887 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
1888 (__start_context): Likewise.
1889
568ff429
L
18902017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1893 building libc.a.
1894 (hidden_proto): Likewise.
1895 (hidden_tls_proto): Likewise.
1896 (__hidden_proto): Likewise.
1897
7c41b4a1
L
18982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * include/libc-symbols.h (attribute_hidden): Enable hidden
1901 visibility in libc.a compiled with PIE.
1902
483d7068
L
19032017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1904
1905 [BZ #18822]
1906 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
1907 Add attribute_hidden.
1908
19092017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1910
1911 [BZ #21864]
1912 * Makerules (all-nonlib): Add $(others-extras).
1913 * catgets/Makefile (others-extras): New.
1914 * elf/Makefile (others-extras): Likewise.
1915 * nss/Makefile (others-extras): Likewise.
1916
54e4b8f2
L
19172017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 [BZ #18822]
1920 * csu/libc-start.c (__libc_multiple_libcs): Removed.
1921 * elf/dl-open.c: Include <libc-internal.h>.
1922 (__libc_multiple_libcs): Removed.
1923 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
1924 <hp-timing.h>.
1925 * include/libc-internal.h (__libc_multiple_libcs): New.
1926 * misc/sbrk.c: Include <libc-internal.h>.
1927 (__libc_multiple_libcs): Removed.
1928
1dbbb1ec
L
19292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 [BZ #18822]
1932 * grp/initgroups.c (__nss_group_database): Removed.
1933 (__nss_initgroups_database): Likewise.
1934 * nscd/gai.c (__nss_hosts_database): Likewise.
1935 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1936 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1937 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1938 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1939 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
1940 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
1941 attribute_hidden.
1942 * nss/nsswitch.c (__nss_database_custom): Define only if
1943 USE_NSCD is defined.
1944 (__nss_configure_lookup): Use __nss_database_custom only if
1945 USE_NSCD is defined.
1946 * nss/nsswitch.h (__nss_database_custom): Declare only if
1947 USE_NSCD is defined. Add attribute_hidden.
1948 (__nss_setent): Add attribute_hidden.
1949 (__nss_endent): Likewise.
1950 (__nss_getent_r): Likewise.
1951 (__nss_getent): Likewise.
1952 (DEFINE_DATABASE): Declare __nss_##arg##_database.
1953
2585d7b8
L
19542017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 [BZ #18822]
1957 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
1958 libc_hidden_proto and libc_hidden_def.
1959
c8dfa99c
L
19602017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1961
1962 [BZ #18822]
1963 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
1964 Add libc_hidden_proto.
1965 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
1966 Add libc_hidden_def.
1967
7ed87317
L
19682017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 [BZ #21974]
1971 * gmon/Makefile (routines): Remove bb_init_func and
1972 bb_exit_func.
1973 (elide-routines.os): Removed.
9476b904
L
1974 * gmon/bb_exit_func.c: Likewise.
1975 * gmon/bb_init_func.c: Likewise.
7ed87317
L
1976 * include/sys/gmon.h (__bb): Likewise.
1977 (__bb_init_func): Likewise.
1978 (__bb_exit_func): Likewise.
91695eb1 1979 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 1980
94e6ba15
L
19812017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
1984 * include/setjmp.h (____longjmp_chk): Here. Add
1985 attribute_hidden.
1986
7550717e
L
19872017-08-19 H.J. Lu <hongjiu.lu@intel.com>
1988
1989 [BZ #18822]
1990 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
1991 attribute_hidden.
1992 (__strspn_sse2): Likewise.
1993
0bb2fabc
AZ
19942017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1995
c181840c
AZ
1996 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
1997 (close_not_cancel_no_status): Likewise.
1998 (__close_nocancel): New macro.
1999 (__close_nocancel_nostatus): Likewise.
2000 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
2001 macro.
2002 (close_not_cancel): Likewise.
2003 (close_not_cancel_no_status): Likewise.
2004 (__close_nocancel): New prototype.
2005 (__close_nocancel_nostatus): New function.
2006 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
2007 * catgets/open_catalog.c (__open_catalog): Replace
2008 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
2009 * gmon/gmon.c (write_gmon): Likewise.
2010 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2011 * intl/loadmsgcat.c (close): Likewise.
2012 * io/ftw.c (open_dir_stream): Likewise.
2013 (ftw_startup): Likewise.
2014 * libio/fileops.c (_IO_file_open): Likewise.
2015 (_IO_file_close_mmap): Likewise.
2016 (_IO_file_close): Likewise.
2017 * libio/iopopen.c (_IO_dup2): Likewise.
2018 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2019 * locale/loadlocale.c (_nl_load_locale): Likewise.
2020 * login/utmp_file.c (pututline_file): Likewise.
2021 (endutent_file): Likewise.
2022 * misc/daemon.c (daemon): Likewise.
2023 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2024 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2025 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2026 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2027 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2028 * nscd/nscd_helper.c (open_socket): Likewise.
2029 (__nscd_open_socket): Likewise.
2030 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2031 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
2032 (__nscd_innetgr): Likewise.
2033 * nss/nss_db/db-open.c (internal_setent): Likewise.
2034 * resolv/res-close.c (__res_iclose): Likewise.
2035 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
2036 * sysdeps/posix/closedir.c (__closedir): Likewise.
2037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2038 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2039 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2040 (opendir_tail): Likewise.
2041 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2042 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
2043 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2044 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2045 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2046 (gethostid): Likewise.
2047 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2048 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2049 Likewise.
2050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2051 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
2052 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2053 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2054 Likewise.
2055 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
2056 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
2057 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2058 Likewise.
2059 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
2060 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2063 Likewise.
2064 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2065 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2066 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2067 __close_nocancel.
2068
0bb2fabc
AZ
2069 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
2070 (openat_not_cancel_3): Likewise.
2071 (openat64_not_cancel_3): Likewise).
2072 (openat_not_cancel_3): Likewise).
2073 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
2074 macro.
2075 (openat_not_cancel_3): Likewise.
2076 (openat64_not_cancel): Likewise.
2077 (openat64_not_cancel_3): Likewise.
2078 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
2079 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
2080 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
2081 __open{64}_nocancel.
2082 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2083 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2084 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2085
65a086db
L
20862017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 [BZ #18822]
2089 * include/argz.h (__argz_create_sep): New function prototype.
2090 (__argz_append): Likewise.
2091 (__argz_add): Likewise.
2092 (__argz_add_sep): Likewise.
2093 (__argz_delete): Likewise.
2094 (__argz_insert): Likewise.
2095 (__argz_replace): Likewise.
2096 * string/argz.h (__argz_create_sep): Removed.
2097 (__argz_append): Likewise.
2098 (__argz_add): Likewise.
2099 (__argz_add_sep): Likewise.
2100 (__argz_delete): Likewise.
2101 (__argz_insert): Likewise.
2102 (__argz_replace): Likewise.
2103
62753d2c
L
21042017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2105
2106 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
2107 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
2108 (GNU_PROPERTY_STACK_SIZE): Likewie.
2109 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
2110 (GNU_PROPERTY_LOPROC): Likewise.
2111 (GNU_PROPERTY_HIPROC): Likewise.
2112 (GNU_PROPERTY_LOUSER): Likewise.
2113 (GNU_PROPERTY_HIUSER): Likewise.
2114 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
2115 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
2116 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
2117 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
2118 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
2119 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
2120 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
2121 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
2122 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
2123 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
2124 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
2125 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
2126 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
2127 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
2128 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
2129 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
2130 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
2131 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
2132 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
2133 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
2134 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
2135 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
2136 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
2137
6913ad65
GG
21382017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2139
2140 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
2141 in C++ mode.
2142
47a67213
GG
21432017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2144
2145 [BZ #21930]
2146 * math/math.h (isinf): Check if in C or C++ mode before using
2147 __builtin_types_compatible_p, since this is a C mode feature.
2148
a748eb31
AZ
21492017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2150
c647fb88
AZ
2151 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
2152 (__write_nocancel): New macro.
2153 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
2154 Rewrite as a function prototype.
2155 (write_not_cancel): Remove macro.
2156 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
2157 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
2158 (write_gmon): Likewise.
2159 * libio/fileops.c (_IO_new_file_write): Likewise.
2160 * login/utmp_file.c (pututline_file): Likewise.
2161 (updwtmp_file): Likewise.
2162 * stdio-common/psiginfo.c (psiginfo): Likewise.
2163 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2164 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2165 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2166 Likewise.
2167 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2168 Likewise.
2169
a748eb31
AZ
2170 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
2171 (__read_nocancel): New macro.
2172 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2173 __read_nocancel.
2174 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
2175 macro.
2176 (__read_nocancel): New prototype.
2177 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
2178 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
2179 with __read_nocancel.
2180 * intl/loadmsgcat.c (read): Likewise.
2181 * libio/fileops.c (_IO_file_read): Likewise.
2182 * locale/loadlocale.c (_nl_load_locale): Likewise.
2183 * login/utmp_file.c (getutent_r_file): Likewise.
2184 (internal_getut_r): Likewise.
2185 (getutline_r_file): Likewise.
2186 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2187 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2188 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2190 Likewise.
2191 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
2192 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2193 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2194 Likewise.
2195 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2196 Likewise.
2197 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2198 Likewise.
2199 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2200 Likewise.
2201 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2202
098b9dd4
L
22032017-08-18 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 [BZ #21966]
2206 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
2207 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
2208 usable.
2209
a3fe6a20
DD
22102017-08-17 DJ Delorie <dj@redhat.com>
2211
2212 * bug17079.c: Update to new test harness.
2213 * test-digits-dots.c: Likewise.
2214 * test-netdb.c: Likewise.
2215 * tst-field.c: Likewise.
2216 * tst-nss-getpwent.c: Likewise.
2217 * tst-nss-static.c: Likewise.
2218 * tst-nss-test1.c: Likewise.
2219 * tst-nss-test2.c: Likewise.
2220 * tst-nss-test3.c: Likewise.
2221 * tst-nss-test4.c: Likewise.
2222 * tst-nss-test5.c: Likewise.
2223
c2284574
AZ
22242017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2225
2226 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
2227 (open_not_cancel_2): Likewise.
2228 (open_nocancel): New macro.
2229 (open64_nocancel): Likewise.
2230 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
2231 (open_not_cancel_2): Likewise.
2232 (__open_nocancel): New prototype.
2233 (__open64_nocancel): Likewise.
2234 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2235 __open_nocancel.
2236 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
2237 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
2238 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
2239 with __open_nocancel.
2240 * csu/check_fds.c (check_one_fd): Likewise.
2241 * gmon/gmon.c (write_gmon): Likewise.
2242 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
2243 * intl/loadmsgcat.c (open): Likewise.
2244 * libio/fileops.c (_IO_file_open): Likewise.
2245 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2246 * locale/loadlocale.c (_nl_load_locale): Likewise.
2247 * login/utmp_file.c (setutent_file): Likewise.
2248 * misc/daemon.c (daemon): Likewise.
2249 * nss/nss_db/db-open.c (internal_setent): Likewise.
2250 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2251 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
2252 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2253 (__opendir): Likewise.
2254 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2255 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2256 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2257 (gethostid): Likewise.
2258 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2260 Likewise.
2261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2262 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
2263 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2264 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2265 Likewise.
2266 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2267 Likewise.
2268 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2269 Likewise.
2270 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2271 Likewise.
2272 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2273 Likewise.
2274 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2277 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2278
d4505b89
WD
22792017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
2280
2281 * benchtests/bench-skeleton.c (main): Add support for
2282 latency benchmarking.
2283 * benchtests/scripts/bench.py: Add support for latency benchmarking.
2284
34d6a3cb
L
22852017-08-17 H.J. Lu <hongjiu.lu@intel.com>
2286
2287 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
2288 the startup object.
2289
038d1caf
FW
22902017-08-17 Florian Weimer <fweimer@redhat.com>
2291
2292 * include/sys/socket.h (__opensock): Remove internal_function.
2293 * socket/opensock.c (__opensock): Likewise.
2294 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
2295
67f0aff0
JM
22962017-08-16 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #21944]
2299 * signal/bits/types/__sigval_t.h: New file.
2300 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
2301 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
2302 and define sigval_t using __sigval_t.
2303 * include/bits/types/__sigval_t.h: New file.
2304 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
2305 instead of <bits/types/__sigval_t.h>.
2306 (struct sigevent): Use __sigval_t instead of sigval_t.
2307 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
2308 instead of <bits/types/__sigval_t.h>.
2309 (siginfo_t): Use __sigval_t instead of sigval_t.
2310 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
2311 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2312 (struct sigevent): Use __sigval_t instead of sigval_t.
2313 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
2314 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2315 (siginfo_t): Use __sigval_t instead of sigval_t.
2316 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
2317
87e7bf4d
L
23182017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 * NEWS: Remove "[Add new features here]" for 2.27.
2321
5047057f
JM
23222017-08-16 Joseph Myers <joseph@codesourcery.com>
2323
2324 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
2325 libc.so.
2326
20c7b195
L
23272017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2328
2329 * NEWS: Mention x86-64 FMA optimization.
2330
24a2e658
L
23312017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 [BZ #21912]
2334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2335 Add e_expf-fma.
2336 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
2337 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
2338 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
2339
eedca977
AS
23402017-08-16 Andreas Schwab <schwab@suse.de>
2341
403143e1
FW
2342 [BZ #16750]
2343 CVE-2009-5064
eedca977
AS
2344 * elf/ldd.bash.in: Never run file directly.
2345
f59f7adb
L
23462017-08-15 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 [BZ #21955]
2349 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
2350 (L(SP_INF_0)): Likewise.
2351
6b11a6ad
FW
23522017-08-15 Florian Weimer <fweimer@redhat.com>
2353
2354 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
2355 run-built-tests.
2356
bbf5c438
FW
23572017-08-15 Florian Weimer <fweimer@redhat.com>
2358
2359 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
2360 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
2361 BROKEN_THREAD_SIGNALS code.
2362 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
2363 request_list): Remove caller_pid member used for
2364 BROKEN_THREAD_SIGNALS.
2365 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
2366 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2367 Remove BROKEN_THREAD_SIGNALS support.
2368 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2369 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
2370
6014c65d
FW
23712017-08-15 Florian Weimer <fweimer@redhat.com>
2372
2373 * gmon/Makefile (tests): Add tst-gmon.
2374 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
2375 Set.
2376 (tests-special): Add tst-gmon-prof.out.
2377 (tst-gmon.out): Depend on clean-tst-gmon-data.
2378 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
2379 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
2380 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
2381 startup object.
2382 * aclocal.m4 (GPROF): Set and substitute.
2383 * config.amke.in (GPROF): Set.
2384 * configure: Regenerate.
2385
ee72219a
GR
23862017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
2387
2388 * elf/elf.h A (NT_PPC_TAR): New macro.
2389 (NT_PPC_PPR): Likewise.
2390 (NT_PPC_DSCR): Likewise.
2391 (NT_PPC_EBB): Likewise.
2392 (NT_PPC_PMU): Likewise.
2393 (NT_PPC_TM_CGPR): Likewise.
2394 (NT_PPC_TM_CFPR): Likewise.
2395 (NT_PPC_TM_CVMX): Likewise.
2396 (NT_PPC_TM_CVSX): Likewise.
2397 (NT_PPC_TM_SPR): Likewise.
2398 (NT_PPC_TM_CTAR): Likewise.
2399 (NT_PPC_TM_CPPR): Likewise.
2400 (NT_PPC_TM_CDSCR): Likewise.
2401
4ebf934e
FW
24022017-08-15 Florian Weimer <fweimer@redhat.com>
2403
2404 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
2405 regparm (2) instead of internal_function.
2406 (_MCOUNT_DECL): Adjust.
2407
e9f57484
SL
24082017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2409
2410 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
2411 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2412
88ff4d55
JM
24132017-08-14 Joseph Myers <joseph@codesourcery.com>
2414
2415 * conform/data/sys/wait.h-data (si_value): Do not expect for
2416 XPG42.
2417
c88ffc23
FW
24182017-08-14 Florian Weimer <fweimer@redhat.com>
2419
2420 [BZ #21962]
2421 NSS: Create stubs for accidentally exported lookup functions.
2422 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
2423 Remove declaration.
2424 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
2425 (ether_hostton): Call __nss_ethers_lookup2 instead.
2426 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
2427 (ether_ntohost): Call __nss_ethers_lookup2 instead.
2428 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
2429 (setup): Call __nss_netgroup_lookup2 instead.
2430 * nss/Makefile (routines): Add compat-lookup.
2431 * nss/Versions (GLIBC_2.27): Add symbol version.
2432 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
2433 (DB_COMPAT_FCT): Remove.
2434 * nss/compat-lookup.c: New file.
2435 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
2436 from databases.def.
2437 * nss/service-lookup.c (NO_COMPAT): Remove definition.
2438 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
2439 (netname2user): Call __nss_publickey_lookup2 instead.
2440 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
2441 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
2442 instead.
2443
1f14d0c3
AZ
24442017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2445 Sergei Trofimovich <slyfox@inbox.ru>
2446
2447 [BZ #21908]
2448 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
2449 Rename to MMAP2_PAGE_UNIT.
2450 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
2451 __OFF_T_MATCHES_OFF64_T is not defined.
2452 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
2453 uint64_t.
2454 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
2455 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
2456
fbdc1e3e
FW
24572017-08-14 Florian Weimer <fweimer@redhat.com>
2458
2459 i386: Do not set internal_function.
2460 * config.h.in (USE_REGPARMS, internal_function): Remove.
2461 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
2462 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
2463
b3f85fd2
FW
24642017-08-14 Florian Weimer <fweimer@redhat.com>
2465
2466 * elf/dl-init.c (_dl_init): Remove internal_function.
2467 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
2468 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
2469
630bf491
FW
24702017-08-14 Florian Weimer <fweimer@redhat.com>
2471
2472 * elf/rtld.c (_dl_start): Remove internal_function.
2473 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
2474 _dl_start.
2475
9fa7449b
FW
24762017-08-14 Florian Weimer <fweimer@redhat.com>
2477
2478 * elf/dl-fini.c (_dl_fini): Remove internal_function
2479 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2480
73322d5f
L
24812017-08-14 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
2484 (bit_cpu_SHSTK): Likewise.
2485 (index_cpu_IBT): Likewise.
2486 (index_cpu_SHSTK): Likewise.
2487 (reg_IBT): Likewise.
2488 (reg_SHSTK): Likewise.
2489 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2490 Handle index_cpu_IBT and index_cpu_SHSTK.
2491
dbc303ef
MF
24922017-08-14 Mike FABIAN <mfabian@redhat.com>
2493
2494 [BZ #19982]
2495 * po/fr.po: Fix spelling mistake.
2496
3012cfb0
FW
24972017-08-13 Florian Weimer <fweimer@redhat.com>
2498
2499 * elf/dl-addr.c (_dl_addr): Remove internal_function.
2500 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
2501 (_dl_catch_error, _dl_receive_error): Likewise.
2502 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
2503 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
2504 (_dl_deallocate_tls): Likewise.
2505 * include/dlfcn.h (_dl_addr): Likewise.
2506 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
2507 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
2508 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
2509 Likewise.
2510
52bcdf26
FW
25112017-08-13 Florian Weimer <fweimer@redhat.com>
2512
2513 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
2514 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
2515 internal_function.
2516 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
2517
e1d2ae8d
FW
25182017-08-13 Florian Weimer <fweimer@redhat.com>
2519
2520 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
2521 internal_function.
2522 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
2523 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
2524 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
2525 internal_function from _dl_make_stack_executable_hook member.
2526 (_dl_make_stack_executable): Remove internal_function.
2527 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
2528 Likewise.
2529 * sysdeps/unix/sysv/linux/dl-execstack.c
2530 (_dl_make_stack_executable): Likewise.
2531
c4ce0382
FW
25322017-08-13 Florian Weimer <fweimer@redhat.com>
2533
2534 * sysdeps/unix/sysv/linux/netlinkaccess.h
2535 (__netlink_assert_response): Remove internal_function.
2536 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2537 (__netlink_assert_response): Likewise.
2538
c4d767f7
FW
25392017-08-13 Florian Weimer <fweimer@redhat.com>
2540
2541 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
2542 internal_function.
2543 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
2544
b2297409
FW
25452017-08-13 Florian Weimer <fweimer@redhat.com>
2546
2547 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
2548 internal_function.
2549 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
2550 * inet/netgroup.h (__internal_setnetgrent)
2551 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2552 * inet/getnetgrent_r.c (__internal_setnetgrent)
2553 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2554 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
2555 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
2556 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
2557 * nss/nsswitch.h (db_lookup_function): Likewise.
2558
1b0bfc69
FW
25592017-08-13 Florian Weimer <fweimer@redhat.com>
2560
2561 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
2562 Remove internal_function.
2563 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
2564 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
2565 message argument on the stack.
2566 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
2567 Likeweise.
2568
a6bd8722
MF
25692017-08-12 Mike FABIAN <mfabian@redhat.com>
2570
2571 Adapt test case data to the changes in the thousands
2572 separators.
2573
2574 [BZ #20756]
2575 * localedata/tst-langinfo.sh: Adapt test case data.
2576 * stdlib/tst-strfmon_l.c: Likewise.
2577 * stdlib/tst-strtod4.c: Likewise.
2578 * stdlib/tst-strtod5i.c: Likewise.
2579
8b2c63e4
FW
25802017-08-11 Florian Weimer <fweimer@redhat.com>
2581
2582 [BZ #21242]
2583 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
2584 Suppress pedantic warning resulting from statement expression.
2585 (__ASSERT_FUNCTION): Add missing __extension__.
2586
61c98291
SP
25872017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2588
86c6519e
SP
2589 * benchtests/bench-memmove-large.c: Print output in JSON
2590 format.
2591 * benchtests/bench-memmove.c: Likewise.
2592
61c98291
SP
2593 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
2594 * benchtests/bench-memchr.c (do_one_test): Likewise.
2595 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
2596 * benchtests/bench-memcpy.c (do_one_test): Likewise.
2597 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
2598 * benchtests/bench-memmove.c (do_one_test): Likewise.
2599 * benchtests/bench-memset-large.c (do_one_test): Likewise.
2600 * benchtests/bench-memset.c (do_one_test): Likewise.
2601 * benchtests/bench-string.h (test_init): Remove memsets.
2602
925733a9
RJ
26032017-08-10 Rical Jasan <ricaljasan@pacific.net>
2604
2605 * manual/lang.texi
2606 (Computing the Width of an Integer Data Type): Rename section to
2607 "Width of an Integer Type". Remove inaccurate statement regarding
2608 lack of C language facilities for determining width of integer
2609 types, and reorder content to improve flow and context of
2610 discussion.
2611
4fcdfbfc
RJ
26122017-08-10 Rical Jasan <ricaljasan@pacific.net>
2613
2614 * lang.texi (va_copy): Change standard from ISO to C99.
2615 (__va_copy): Add standard and header annotation.
2616 Update description for clarity of origins and current use.
2617
4d98ace9
GG
26182017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2619
2620 [BZ #21941]
2621 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
2622 xssqrtqp requires operands to be in Vector Registers
2623 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
2624 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
2625 (__ieee754_sqrtf128): Likewise.
2626
92236903
WD
26272017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
2628
2629 * sysdeps/aarch64/memcmp.S (memcmp):
2630 Rewrite of optimized memcmp.
2631
2449ae7b
FW
26322017-08-10 Florian Weimer <fweimer@redhat.com>
2633
2634 Introduce ld.so exceptions.
2635 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
2636 (_dl_exception_create, _dl_exception_create_format)
2637 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
2638 (_dl_catch_exception): Declare.
2639 (_dl_catch_error): Update comment.
2640 * elf/dl-error-skeleton.c (struct catch): Replace objname,
2641 errstring, malloced members with exception member.
2642 (_dl_out_of_memory): Remove.
2643 (fatal_error): New function, extracted from _dl_signal_error.
2644 (_dl_signal_exception, _dl_signal_cexception): New functions.
2645 (_dl_signal_error): Call _dl_exception_create to allocate an
2646 exception object.
2647 (_dl_catch_exception): New function, based on _dl_catch_error.
2648 (_dl_catch_error): Implement using _dl_catch_exception.
2649 * elf/dl-exception.c: New file.
2650 * elf/Makefile (dl-routines): Add dl-exception.
2651 (elide-routines.os): Likewise.
2652 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
2653 _dl_exception_create_format, _dl_exception_free.
2654 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
2655 _dl_signal_exception.
2656 * elf/dl-lookup.c (make_string): Remove.
2657 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
2658 _dl_signal_cexception, _dl_exception_free.
2659 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
2660 _dl_signal_exception.
2661 * elf/dl-sym.c (do_sym): Likewise.
2662 * elf/dl-version.c (make_string): Remove.
2663 (match_symbol): Use _dl_exception_create_format,
2664 _dl_signal_cexception, _dl_exception_free.
2665 (_dl_check_map_versions): Likewise.
2666 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
2667 _dl_catch_exception.
2668 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2669 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2670 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2671 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2672 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2673 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2674 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2675 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2676 Likewise.
2677 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2679 (ld.so): Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2681 (ld.so): Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2683 Likewise.
2684 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2685 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2686 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2687 Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2689 Likewise.
2690 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2691
f87cc2bf
FW
26922017-08-10 Florian Weimer <fweimer@redhat.com>
2693
2694 * inet/net-internal.h (__inet6_scopeid_pton): Remove
2695 attribute_hidden, internal_function.
2696 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
2697 internal_function.
2698
eac43cbb
FW
26992017-08-10 Florian Weimer <fweimer@redhat.com>
2700
2701 * malloc/malloc.c (get_max_fast): Reimplement as an inline
2702 function which calls __builtin_unreachable.
2703
bd80111e
MF
27042017-08-10 Mike FABIAN <mfabian@redhat.com>
2705
2706 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
2707 Indian monetary formatting
2708 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
2709 test cases.
2710
60e2846e
DL
27112017-08-09 Dmitry V. Levin <ldv@altlinux.org>
2712
68dc02d1
DL
2713 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
2714 Fix typo in comment.
2715
60e2846e
DL
2716 [BZ #21928]
2717 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
2718 PTRACE_SEIZE_DEVEL): Remove.
2719 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
2720 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2724
3d452dab
JM
27252017-08-09 Joseph Myers <joseph@codesourcery.com>
2726
24d9f53a
JM
2727 * posix/bits/types.h (__qaddr_t): Remove.
2728
3d452dab
JM
2729 [BZ #21457]
2730 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
2731 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2732 __glibc_reserved1.
2733 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
2734 (ucontext_t): Use __ctx with uc_flags.
2735 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
2736 (__ctxt): Likewise.
2737 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2738 __glibc_reserved1.
2739 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
2740 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2741 __glibc_reserved1.
2742 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
2743 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2744 __glibc_reserved1.
2745 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
2746 macro.
2747 (ucontext_t): Use __ctx with uc_flags.
2748 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
2749 (ucontext_t): Use __ctx with uc_flags.
2750 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
2751 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
2752 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
2753 (ucontext_t): Use __ctx with uc_flags.
2754 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
2755 undefine further down.
2756 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2757 __glibc_reserved1.
2758 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
2759 undefine further down.
2760 (ucontext_t): Use __ctx with uc_flags.
2761 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
2762 undefine further down.
2763 (ucontext_t): Use __ctx with uc_flags.
2764 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
2765 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
2766 Rename uc_pad to __glibc_reserved1.
2767 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
2768 undefine further down.
2769 (ucontext_t): Use __ctx with uc_flags.
2770 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
2771 further down.
2772 (ucontext_t): Use __ctx with uc_flags.
2773 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
2774 __ctx with uc_flags.
2775 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
2776 (ucontext_t): Use __ctx with uc_flags.
2777 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
2778 __ctx with uc_flags.
2779
30161498
FW
27802017-08-09 Florian Weimer <fweimer@redhat.com>
2781
2782 [BZ #21932]
2783 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
2784 before early return.
2785
5797b410
AS
27862017-08-09 Andreas Schwab <schwab@suse.de>
2787
139237a4 2788 [BZ #21041]
5797b410
AS
2789 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
2790 renamed alias.
2791
139237a4 2792 [BZ #21041]
40c06a3d
AS
2793 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
2794 tst-compat-forwarder.
2795 (modules-names): Add tst-compat-forwarder-mod.
2796 ($(objpfx)tst-compat-forwarder): Depend on
2797 $(objpfx)tst-compat-forwarder-mod.so.
2798 * nptl/tst-compat-forwarder.c: New file.
2799 * nptl/tst-compat-forwarder-mod.c: New file.
2800
36ada5f6
SP
28012017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2802
0e02b510
SP
2803 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
2804 comments.
2805
36ada5f6
SP
2806 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
2807 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
2808 memcpy_falkor.
2809 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
2810 Bump.
2811 (__libc_ifunc_impl_list): Add __memcpy_falkor.
2812 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2813 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
2814 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2815 Add falkor.
2816 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
2817 New macro.
2818
9995c839
AZ
28192017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2820
2821 [BZ #759]
2822 * manual/setjmp.texi (getcontex): Document uc_stack value
2823 compatibility differences.
2824
f17a4233
JM
28252017-08-08 Joseph Myers <joseph@codesourcery.com>
2826
2827 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
2828 (old_malloc_hook): Likewise.
2829 (old_memalign_hook): Likewise.
2830 (old_realloc_hook): Likewise.
2831 (struct hdr): Likewise.
2832 (flood): Likewise.
2833 (freehook): Likewise.
2834 (mallochook): Likewise.
2835 (memalignhook): Likewise.
2836 (reallochook): Likewise.
2837 (mprobe): Likewise.
2838 * malloc/mtrace.c (mallwatch): Likewise.
2839 (tr_old_free_hook): Likewise.
2840 (tr_old_malloc_hook): Likewise.
2841 (tr_old_realloc_hook): Likewise.
2842 (tr_old_memalign_hook): Likewise.
2843 (tr_where): Likewise.
2844 (lock_and_info): Likewise.
2845 (tr_freehook): Likewise.
2846 (tr_mallochook): Likewise.
2847 (tr_reallochook): Likewise.
2848 (tr_memalignhook): Likewise.
2849 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
2850 * misc/mmap.c (__mmap): Likewise.
2851 * misc/mmap64.c (__mmap64): Likewise.
2852 * misc/mprotect.c (__mprotect): Likewise.
2853 * misc/msync.c (msync): Likewise.
2854 * misc/munmap.c (__munmap): Likewise.
2855 * posix/posix_madvise.c (posix_madvise): Likewise.
2856 * socket/send.c (__send): Likewise.
2857 * socket/sendto.c (__sendto): Likewise.
2858 * socket/setsockopt.c (__setsockopt): Likewise.
2859 * string/memcmp.c (__ptr_t): Remove macro.
2860 (MEMCMP): Use void * instead of ptr_t.
2861 * string/memrchr.c (__ptr_t): Remove macro.
2862 (__memrchr): Use void * instead of ptr_t.
2863 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
2864 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2865 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
2866 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
2867 * sysdeps/mach/msync.c (msync): Likewise.
2868 * sysdeps/mach/munmap.c (__munmap): Likewise.
2869 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
2870 Likewise.
2871 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2872 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
2873 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
2874 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
2875 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2876 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2877 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
2878 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
2879 Likewise.
2880 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2881 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
2882 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
2883 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
2884 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
2885 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
2886 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
2887 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
2888 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
2889 Likewise.
2890 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
2891 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
2892 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
2893 (MEMCMP): Use void * instead of ptr_t.
2894 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
2895 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
2896
0df595b2
FW
28972017-08-08 Florian Weimer <fweimer@redhat.com>
2898
2899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
2900 return statement.
2901
086df229
L
29022017-08-08 H.J. Lu <hongjiu.lu@intel.com>
2903
2904 [BZ #21913]
2905 * csu/libc-tls.c: Include <startup.h> first.
2906 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
2907 * elf/dl-tunables.c: Include <startup.h> first.
2908 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
2909 * sysdeps/generic/startup.h: New file.
2910 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
2911 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
2912 (I386_USE_SYSENTER): New. Defined to 0.
2913
fc5ad702
AS
29142017-08-08 Andreas Schwab <schwab@suse.de>
2915
2916 [BZ #21041]
2917 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
2918 * nptl/pt-system.c (system): Likewise.
2919
852d6312
AZ
29202017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2921
2922 [BZ #21780]
2923 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
2924 EOPNOTSUPP.
2925 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2926 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2927 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
2928 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2929 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2930 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2931 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2932
8b164787
JM
29332017-08-07 Joseph Myers <joseph@codesourcery.com>
2934
cd65836b
JM
2935 [BZ #21899]
2936 * bits/sigaction.h (struct sigaction): Define sa_handler and
2937 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
2938 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2939 [__USE_XOPEN_EXTENDED].
2940 (SA_RESTART): Likewise.
2941 (SA_NODEFER): Likewise.
2942 (SA_RESETHAND): Likewise.
2943 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
2944 (struct sigaction): Define sa_handler and sa_sigaction using union
2945 also for [__USE_XOPEN_EXTENDED].
2946 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2947 [__USE_XOPEN_EXTENDED].
2948 (SA_RESTART): Likewise.
2949 (SA_NODEFER): Likewise.
2950 (SA_RESETHAND): Likewise.
2951 * sysdeps/unix/sysv/linux/bits/sigaction.h
2952 (struct sigaction): Define sa_handler and sa_sigaction using union
2953 also for [__USE_XOPEN_EXTENDED].
2954 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2955 [__USE_XOPEN_EXTENDED].
2956 (SA_RESTART): Likewise.
2957 (SA_NODEFER): Likewise.
2958 (SA_RESETHAND): Likewise.
2959 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
2960 (struct sigaction): Define sa_handler and sa_sigaction using union
2961 also for [__USE_XOPEN_EXTENDED].
2962 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2963 [__USE_XOPEN_EXTENDED].
2964 (SA_RESTART): Likewise.
2965 (SA_NODEFER): Likewise.
2966 (SA_RESETHAND): Likewise.
2967 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
2968 (struct sigaction): Define sa_handler and sa_sigaction using union
2969 also for [__USE_XOPEN_EXTENDED].
2970 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2971 [__USE_XOPEN_EXTENDED].
2972 (SA_RESTART): Likewise.
2973 (SA_NODEFER): Likewise.
2974 (SA_RESETHAND): Likewise.
2975 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2976 (struct sigaction): Define sa_handler and sa_sigaction using union
2977 also for [__USE_XOPEN_EXTENDED].
2978 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2979 [__USE_XOPEN_EXTENDED].
2980 (SA_RESTART): Likewise.
2981 (SA_NODEFER): Likewise.
2982 (SA_RESETHAND): Likewise.
2983 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2984 (struct sigaction): Define sa_handler and sa_sigaction using union
2985 also for [__USE_XOPEN_EXTENDED].
2986 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2987 [__USE_XOPEN_EXTENDED].
2988 (SA_RESTART): Likewise.
2989 (SA_NODEFER): Likewise.
2990 (SA_RESETHAND): Likewise.
2991 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2992 (struct sigaction): Define sa_handler and sa_sigaction using union
2993 also for [__USE_XOPEN_EXTENDED].
2994 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2995 [__USE_XOPEN_EXTENDED].
2996 (SA_RESTART): Likewise.
2997 (SA_NODEFER): Likewise. Define directly rather than as alias.
2998 (SA_RESETHAND): Likewise.
2999 (SA_INTERRUPT): Define only for [__USE_MISC].
3000 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
3001 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
3002 [__USE_MISC].
3003 (SA_STACK): Define only for [__USE_MISC].
3004 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
3005 (struct sigaction): Define sa_handler and sa_sigaction using union
3006 also for [__USE_XOPEN_EXTENDED].
3007 (SA_ONSTACK): Change [__USE_UNIX98] condition to
3008 [__USE_XOPEN_EXTENDED].
3009 (SA_RESTART): Likewise.
3010 (SA_NODEFER): Likewise.
3011 (SA_RESETHAND): Likewise.
3012 (SA_NOPTRACE): Define only for [__USE_MISC].
3013
d9fee042
JM
3014 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
3015 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
3016 (struct catalog_info): Likewise.
3017 * inet/htontest.c (lo): Likewise.
3018 (foo): Likewise.
3019 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3020 * inet/inet_net.c (inet_network): Likewise.
3021 * inet/inet_netof.c (inet_netof): Likewise.
3022 * inet/rcmd.c (__ivaliduser): Likewise.
3023 (iruserok): Likewise.
3024 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
3025 * locale/programs/locale-spec.c (locale_special): Likewise.
3026 * nis/nis_findserv.c (struct findserv_req): Likewise.
3027 (__nis_findfastest_with_timeout): Likewise.
3028 * nss/test-netdb.c (test_network): Likewise.
3029 * resolv/inet_neta.c (inet_neta): Likewise.
3030 * resolv/ns_date.c (ns_datetosecs): Likewise.
3031 (SECS_PER_DAY): Likewise.
3032 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
3033 Likewise.
3034 * resolv/res_comp.c (__putlong): Likewise.
3035 (__putshort): Likewise.
3036 (_getlong): Likewise.
3037 (_getshort): Likewise.
3038 * resolv/res_debug.c (p_time): Likewise.
3039 (precsize_ntoa): Likewise.
3040 (precsize_aton): Likewise.
3041 (latlon2ul): Likewise.
3042 (loc_aton): Likewise.
3043 (loc_ntoa): Likewise.
3044 * resolv/res_hconf.c (struct netaddr): Likewise.
3045 (_res_hconf_reorder_addrs): Likewise.
3046 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3047 (clnttcp_control): Likewise.
3048 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3049 (clntudp_control): Likewise.
3050 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3051 (clntunix_control): Likewise.
3052 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3053 * sunrpc/rpc/auth.h (union des_block): Likewise.
3054 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
3055 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
3056 (xdrrec_create): Likewise.
3057 (xdrrec_endofrecord): Likewise.
3058 (flush_out): Likewise.
3059 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
3060 (xdrstdio_putlong): Likewise.
3061 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
3062 Likewise.
3063
8b164787
JM
3064 * misc/sys/cdefs.h (__long_double_t): Remove.
3065 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
3066 instead of __long_double_t,
3067 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
3068
7ee38e60
SP
30692017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3070
dd3e86ad
SP
3071 * benchtests/scripts/compare_strings.py: Avoid display error when
3072 running on a text terminal.
3073
b115e819
SP
3074 * benchtests/scripts/compare_strings.py (main): Add an
3075 optional -base option.
3076 (process_results): New argument base_func.
3077
7ee38e60
SP
3078 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
3079 hardcoding memcpy.
3080 * benchtests/bench-memcpy-large.c (test_name): Likewise.
3081 * benchtests/bench-memcpy-random.c (test_name): Likewise.
3082
d5afb385
AS
30832017-08-07 Andreas Schwab <schwab@suse.de>
3084
3085 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
3086 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3087 * intl/Makefile ($(objpfx)tst-gettext.out)
3088 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
3089 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
3090 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3091 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3092 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
3093 * posix/Makefile ($(objpfx)globtest.out)
3094 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
3095 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
3096 ($(objpfx)tst-printf.out): Likewise.
3097 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
3098 ($(objpfx)tst-setcontext3.out): Likewise.
3099
57a72fa3
L
31002017-08-07 H.J. Lu <hongjiu.lu@intel.com>
3101
3102 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3103 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
3104 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
3105 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
3106 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
3107 and mptan-fma.
3108 (CFLAGS-doasin-fma.c): New.
3109 (CFLAGS-dosincos-fma.c): Likewise.
3110 (CFLAGS-e_asin-fma.c): Likewise.
3111 (CFLAGS-e_atan2-fma.c): Likewise.
3112 (CFLAGS-e_exp-fma.c): Likewise.
3113 (CFLAGS-e_log-fma.c): Likewise.
3114 (CFLAGS-e_pow-fma.c): Likewise.
3115 (CFLAGS-halfulp-fma.c): Likewise.
3116 (CFLAGS-mpa-fma.c): Likewise.
3117 (CFLAGS-mpatan-fma.c): Likewise.
3118 (CFLAGS-mpatan2-fma.c): Likewise.
3119 (CFLAGS-mpexp-fma.c): Likewise.
3120 (CFLAGS-mplog-fma.c): Likewise.
3121 (CFLAGS-mpsqrt-fma.c): Likewise.
3122 (CFLAGS-mptan-fma.c): Likewise.
3123 (CFLAGS-s_atan-fma.c): Likewise.
3124 (CFLAGS-sincos32-fma.c): Likewise.
3125 (CFLAGS-slowexp-fma.c): Likewise.
3126 (CFLAGS-slowpow-fma.c): Likewise.
3127 (CFLAGS-s_sin-fma.c): Likewise.
3128 (CFLAGS-s_tan-fma.c): Likewise.
3129 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
3130 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
3131 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
3132 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
3133 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
3134 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3135 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
3136 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
3137 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
3138 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
3139 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
3140 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
3141 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
3142 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3143 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
3145 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
3146 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
3147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
3148 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
3149 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
3150 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3151 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3152 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
3153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3156 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3160
219dd320
JM
31612017-08-04 Joseph Myers <joseph@codesourcery.com>
3162
3163 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
3164 (min_of_type_f): New macro.
3165 (min_of_type_): Likewise.
3166 (min_of_type_l): Likewise.
3167 (min_of_type_f128): Likewise.
3168 (min_of_type): Define using __MATH_TG and taking an expression
3169 argument.
3170 (math_check_force_underflow): Pass expression instead of type to
3171 min_of_type.
3172 (math_check_force_underflow_nonneg): Likewise.
3173
64d4dea6
L
31742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3175
3176 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3177 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
3178 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
3179
973da22a
L
31802017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3183 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
3184 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
3185 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
3186 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
3187 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
3188 memcpy_chk-nonshared, mempcpy_chk-nonshared,
3189 memmove_chk-nonshared and memset_chk-nonshared
3190 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
3191 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
3192 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
3193 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
3194 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
3195 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
3196 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
3197 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
3198 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
3199 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
3200 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
3201 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
3202 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
3203 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
3204 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
3205 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
3206 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
3207 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
3208 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
3209 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
3210 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
3211 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
3212 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
3213 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
3214 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
3215 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
3216 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
3217 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
3218 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
3219 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
3220 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
3221 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
3222 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
3223 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3224 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
3225 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
3226 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
3227 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
3228 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
3229 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
3230 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
3231 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
3232 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
3233 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
3234 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
3235 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
3236 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
3237 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
3238 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
3239 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
3240 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
3241 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
3242 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
3243 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
3244 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
3245 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
3246 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
3247 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
3248 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
3249 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
3250 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
3251 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
3252 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
3253 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
3254 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
3255 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
3256 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
3257 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
3258 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
3259 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3260 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
3261 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3262 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3263 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3264 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3265 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3266 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3267 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3268 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3269 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3270 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3272 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3273 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3274 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3275 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3277 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3282 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3284 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3285 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3286 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3287 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3288 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3289 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3290 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3291 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3292 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3293 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3294 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3295 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3296 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3297 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3298
8537e0f6
L
32992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
3302 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
3303 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
3304 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
3305 svml_d_log2_core-sse2, svml_d_log4_core-sse,
3306 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
3307 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
3308 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
3309 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
3310 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
3311 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
3312 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
3313 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
3314 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
3315 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
3316 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
3317 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
3318 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
3319 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
3320 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
3321 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
3322 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
3323 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
3324 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
3325 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
3326 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
3327 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
3328 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
3329 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
3330 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
3331 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
3332 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
3333 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
3334 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
3335 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
3336 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
3337 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
3338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
3339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
3340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
3341 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
3342 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
3343 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
3344 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
3345 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
3346 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
3347 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
3348 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
3349 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
3350 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
3351 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
3352 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
3353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
3354 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
3355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
3356 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
3357 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
3358 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
3359 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
3360 ...
3361 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
3362 Don't include <sysdep.h> nor <init-arch.h>.
3363 (_ZGVbN2v_cos): Removed.
3364 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
3365 ...
3366 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
3367 Don't include <sysdep.h> nor <init-arch.h>.
3368 (_ZGVdN4v_cos): Removed.
3369 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
3370 ...
3371 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
3372 Don't include <sysdep.h> nor <init-arch.h>.
3373 (_ZGVeN8v_cos): Removed.
3374 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
3375 ...
3376 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
3377 Don't include <sysdep.h> nor <init-arch.h>.
3378 (_ZGVbN2v_exp): Removed.
3379 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
3380 ...
3381 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
3382 Don't include <sysdep.h> nor <init-arch.h>.
3383 (_ZGVdN4v_exp): Removed.
3384 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
3385 ...
3386 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
3387 Don't include <sysdep.h> nor <init-arch.h>.
3388 (_ZGVeN8v_exp): Removed.
3389 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
3390 ...
3391 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
3392 Don't include <sysdep.h> nor <init-arch.h>.
3393 (_ZGVbN2v_log): Removed.
3394 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
3395 ...
3396 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
3397 Don't include <sysdep.h> nor <init-arch.h>.
3398 (_ZGVdN4v_log): Removed.
3399 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
3400 ...
3401 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
3402 Don't include <sysdep.h> nor <init-arch.h>.
3403 (_ZGVeN8v_log): Removed.
3404 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
3405 ...
3406 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
3407 Don't include <sysdep.h> nor <init-arch.h>.
3408 (_ZGVbN2vv_pow): Removed.
3409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
3410 ...
3411 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
3412 Don't include <sysdep.h> nor <init-arch.h>.
3413 (_ZGVdN4vv_pow): Removed.
3414 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
3415 ...
3416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
3417 Don't include <sysdep.h> nor <init-arch.h>.
3418 (_ZGVeN8vv_pow): Removed.
3419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
3420 ...
3421 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
3422 Don't include <sysdep.h> nor <init-arch.h>.
3423 (_ZGVbN2v_sin): Removed.
3424 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
3425 ...
3426 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
3427 Don't include <sysdep.h> nor <init-arch.h>.
3428 (_ZGVbN4v_sin): Removed.
3429 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
3430 ...
3431 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
3432 Don't include <sysdep.h> nor <init-arch.h>.
3433 (_ZGVbN8v_sin): Removed.
3434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
3435 ...
3436 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
3437 Don't include <sysdep.h> nor <init-arch.h>.
3438 (_ZGVbN2vvv_sincos): Removed.
3439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
3440 ...
3441 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
3442 Don't include <sysdep.h> nor <init-arch.h>.
3443 (_ZGVdN4vvv_sincos): Removed.
3444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
3445 ...
3446 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
3447 Don't include <sysdep.h> nor <init-arch.h>.
3448 (_ZGVeN8vvv_sincos): Removed.
3449 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
3450 ...
3451 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
3452 Don't include <sysdep.h> nor <init-arch.h>.
3453 (_ZGVeN16v_cosf): Removed.
3454 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
3455 ...
3456 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
3457 Don't include <sysdep.h> nor <init-arch.h>.
3458 (_ZGVbN4v_cosf): Removed.
3459 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
3460 ...
3461 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
3462 Don't include <sysdep.h> nor <init-arch.h>.
3463 (_ZGVdN8v_cosf): Removed.
3464 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
3465 ...
3466 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
3467 Don't include <sysdep.h> nor <init-arch.h>.
3468 (_ZGVeN16v_expf): Removed.
3469 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
3470 ...
3471 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
3472 Don't include <sysdep.h> nor <init-arch.h>.
3473 (_ZGVbN4v_expf): Removed.
3474 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
3475 ...
3476 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
3477 Don't include <sysdep.h> nor <init-arch.h>.
3478 (_ZGVdN8v_expf): Removed.
3479 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
3480 ...
3481 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
3482 Don't include <sysdep.h> nor <init-arch.h>.
3483 (_ZGVeN16v_logf): Removed.
3484 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
3485 ...
3486 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
3487 Don't include <sysdep.h> nor <init-arch.h>.
3488 (_ZGVbN4v_logf): Removed.
3489 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
3490 ...
3491 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
3492 Don't include <sysdep.h> nor <init-arch.h>.
3493 (_ZGVdN8v_logf): Removed.
3494 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
3495 ...
3496 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
3497 Don't include <sysdep.h> nor <init-arch.h>.
3498 (_ZGVeN16vv_powf): Removed.
3499 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
3500 ...
3501 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
3502 Don't include <sysdep.h> nor <init-arch.h>.
3503 (_ZGVbN4vv_powf): Removed.
3504 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
3505 ...
3506 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
3507 Don't include <sysdep.h> nor <init-arch.h>.
3508 (_ZGVdN8vv_powf): Removed.
3509 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
3510 ...
3511 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
3512 Don't include <sysdep.h> nor <init-arch.h>.
3513 (_ZGVeN16vvv_sincosf): Removed.
3514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
3515 ...
3516 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
3517 Don't include <sysdep.h> nor <init-arch.h>.
3518 (_ZGVbN4vvv_sincosf): Removed.
3519 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
3520 ...
3521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
3522 Don't include <sysdep.h> nor <init-arch.h>.
3523 (_ZGVdN8vvv_sincosf): Removed.
3524 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
3525 ...
3526 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
3527 Don't include <sysdep.h> nor <init-arch.h>.
3528 (_ZGVeN16v_sinf): Removed.
3529 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
3530 ...
3531 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
3532 Don't include <sysdep.h> nor <init-arch.h>.
3533 (_ZGVbN4v_sinf): Removed.
3534 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
3535 ...
3536 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
3537 Don't include <sysdep.h> nor <init-arch.h>.
3538 (_ZGVdN8v_sinf): Removed.
3539
10a87ca4
L
35402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3543 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
3544 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
3545 s_rint-sse4_1 and s_rintf-sse4_1.
3546 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
3547 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3548 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3549 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3550 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3551 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
3552 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
3553 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3554 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3555 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
3556 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
3557 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3558 (__ceil): Removed.
3559 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
3560 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
3561 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3562 (__ceilf): Removed.
3563 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
3564 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
3565 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3566 (__floor): Removed.
3567 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
3568 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
3569 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3570 (__floorf): Removed.
3571 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
3572 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
3573 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3574 (__nearbyint): Removed.
3575 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
3576 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
3577 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3578 (__nearbyintf): Removed.
3579 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
3580 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
3581 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3582 (__rint): Removed.
3583 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
3584 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
3585 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3586 (__rintf): Removed.
3587
1e8e527d
L
35882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * sysdeps/i386/start.S (_start): Check Check PIC instead of
3591 SHARED. Avoid dynamic relocation against main in static PIE.
3592
e13daad7
L
35932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3594
3595 [BZ #21815]
3596 * elf/Makefile (CFLAGS-tst-prelink.c): New.
3597 (LDFLAGS-tst-prelink): Likewise.
3598
627c69c8
L
35992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3600
3601 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
3602 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
3603 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
3604 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3605 (INTERNAL_SYSCALL_NCS): Likewise.
3606 (LOADARGS_1): Likewise.
3607 (LOADARGS_5): Likewise.
3608 (RESTOREARGS_1): Likewise.
3609 (RESTOREARGS_5): Likewise.
3610
fc11ff8d
L
36112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
3614 (MEMPCPY_SYMBOL): Likewise.
3615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3616 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
3617 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
3618 in libc.a.
3619 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3620 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3621 Likewise.
3622 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
3623 (__hidden_ver1): Don't use in libc.a.
3624 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3625 (__mempcpy): Don't create a weak alias in libc.a.
3626 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
3627 libc.a.
3628 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
3629 (__hidden_ver1): Don't use in libc.a.
3630
19f1a11e
L
36312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 * config.make.in (have-insert): New.
3634 * configure.ac (libc_cv_insert): New. Set to yes if linker
3635 supports INSERT in linker script.
3636 (AC_SUBST(libc_cv_insert): New.
3637 * configure: Regenerated.
3638 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
3639 if $(have-insert) == yes.
3640
3093fd5e
L
36412017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3642
3643 * elf/Makefile (tests): Add vismain only if
3644 $(have-protected-data) == yes.
3645 (tests-pie): Likewise.
3646
d2cf37c0
L
36472017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 [BZ #21871]
3650 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3651 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
3652
c8a0e6ec
L
36532017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 [BZ #21790]
3656 * sysdeps/i386/i586/memset.S
3657 (__memset_zero_constant_len_parameter): Removed.
3658 * sysdeps/i386/i686/memset.S
3659 (__memset_zero_constant_len_parameter): Likewise.
3660 * sysdeps/i386/i686/multiarch/memset_chk.S
3661 (__memset_zero_constant_len_parameter): Likewise.
3662 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
3663 Likewise.
3664
2b34e271
AJ
36652017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3666
3667 * stdlib/getentropy.c (getentropy): Change return type to int.
3668
144bdab0
AJ
36692017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3670
3671 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3672
24ab7723
JM
36732017-08-03 Joseph Myers <joseph@codesourcery.com>
3674
3675 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
3676 u_intN_t.
3677 * math/s_nexttowardf.c (__nexttowardf): Likewise.
3678 * sysdeps/generic/math_private.h (ieee_double_shape_type):
3679 Likewise.
3680 (ieee_float_shape_type): Likewise.
3681 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
3682 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
3683 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3684 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3685 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3686 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
3687 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
3688 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3689 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3690 Likewise.
3691 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3692 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3693 (__ieee754_yn): Likewise.
3694 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3695 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
3697 Likewise.
3698 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3699 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
3700 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
3701 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
3702 (__erfc): Likewise.
3703 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3704 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
3705 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
3706 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
3707 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
3708 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
3709 Likewise.
3710 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3711 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
3712 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3713 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
3714 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3715 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
3716 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
3717 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
3718 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
3719 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3720 (__issignaling): Likewise.
3721 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
3722 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
3723 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3724 Likewise.
3725 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3726 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3727 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
3728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
3729 Likewise.
3730 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
3731 Likewise.
3732 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
3733 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
3734 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
3735 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3736 (__erfcf): Likewise.
3737 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3738 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3739 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
3740 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
3741 Likewise.
3742 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
3743 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
3744 Likewise.
3745 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3746 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
3747 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3748 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
3749 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
3750 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3751 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
3752 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
3753 Likewise.
3754 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
3755 Likewise.
3756 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3757 Likewise.
3758 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
3759 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3760 Likewise.
3761 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3762 Likewise.
3763 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3764 (__ieee754_ynl): Likewise.
3765 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3766 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
3767 Likewise.
3768 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
3769 Likewise.
3770 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3771 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
3772 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3773 Likewise.
3774 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3775 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
3776 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
3777 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
3778 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
3779 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3780 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
3781 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
3782 Likewise.
3783 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3784 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
3785 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
3786 Likewise.
3787 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
3788 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
3789 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3790 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3791 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
3792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3793 Likewise.
3794 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3795 Likewise.
3796 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3797 Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3799 Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
3806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
3807 Likewise.
3808 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3809 Likewise.
3810 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3811 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3812 Likewise.
3813 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3814 (__ieee754_remainderl): Likewise.
3815 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3816 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3819 Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3822 Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3824 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
3825 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3826 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3827 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3828 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3829 Likewise.
3830 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3831 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
3832 (__ieee754_y0l): Likewise.
3833 (pzero): Likewise.
3834 (qzero): Likewise.
3835 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3836 (__ieee754_y1l): Likewise.
3837 (pone): Likewise.
3838 (qone): Likewise.
3839 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3840 (__ieee754_ynl): Likewise.
3841 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3842 (__ieee754_lgammal_r): Likewise.
3843 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
3844 Likewise.
3845 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3846 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3848 (__erfcl): Likewise.
3849 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3850 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
3851 Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
3854 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3855 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
3856 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
3857 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3859 Likewise.
3860 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
3863 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
3864 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3865 Likewise.
3866 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
3867 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
3868 Likewise.
3869 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
3870 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
3871 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
3872 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3873 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
3874
964263bb
FW
38752017-08-03 Florian Weimer <fweimer@redhat.com>
3876
3877 [BZ #21885]
3878 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
3879 on memory allocation failure.
3880
e98c925f
AM
38812017-08-03 Alan Modra <amodra@gmail.com>
3882
3883 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
3884 tst-tlsopt-powerpc.c with function name change and no test harness.
3885 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
3886 Call tls_get_addr_opt_test.
3887 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
3888 (modules-names): Add mod-tlsopt-powerpc.
3889 (mod-tlsopt-powerpc.so-no-z-defs): Define.
3890 (tst-tlsopt-powerpc): Depend on .so.
3891 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
3892 define. Expand use in TLS_GD and TLS_LD.
3893
8ee1abdb
ST
38942017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3895
3896 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
3897 function.
3da5756e 3898 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 3899
42df8d59
JM
39002017-08-02 Joseph Myers <joseph@codesourcery.com>
3901
3902 [BZ #21686]
3903 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
3904 comparing size with that of double.
3905 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3906 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3907 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3908 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3909 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3910 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
3911 unsigned __int128 types.
3912
b7f95f49
SE
39132017-08-02 Steve Ellcey <sellcey@cavium.com>
3914
3915 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
3916 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
3917 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
3918 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
3919 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
3920
5b736bc9
L
39212017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3922
3923 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
3924
dfc93c41
L
39252017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
3928 of SHARED.
3929 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3930 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3934 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3935 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3936
2fee621d
JM
39372017-08-02 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #21685]
3940 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
3941 bit-field expressions passed to sizeof or typeof.
3942 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3943 (__TGMATH_F128): Likewise.
3944 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3945 (__TGMATH_CF128): Likewise.
3946 (__TGMATH_UNARY_REAL_ONLY): Likewise.
3947 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
3948 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
3949 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
3950 (__TGMATH_BINARY_REAL_ONLY): Likewise.
3951 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3952 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3953 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3954 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3955 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
3956 (__TGMATH_UNARY_REAL_IMAG): Likewise.
3957 (__TGMATH_UNARY_IMAG): Likewise.
3958 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
3959 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3960 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
3961 type.
3962 (define_vars_for_type): Handle bit_field type specially.
3963 (Tests.__init__): Declare structure with bit-field element.
3964
b358255f
L
39652017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 [BZ #21791]
3968 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
3969 (MEMCPY_CHK): Define only if SHARED is defined.
3970 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
3971 Likewise.
3972 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
3973 Likewise.
edf66db1
SP
3974
3975See ChangeLog.18 for earlier changes.