1 2017-08-31 Florian Weimer <fweimer@redhat.com>
3 * posix/fnmatch.c (internal_function): Remove definition.
4 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
5 * posix/regcomp.c (peek_token, init_word_char)
6 (duplicate_node_closure, fetch_token, peek_token)
7 (peek_token_bracket, build_range_exp, build_collating_symbol):
9 * posix/regex_internal.c (re_string_construct_common)
10 (create_ci_newstate, create_cd_newstate, re_string_allocate)
11 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
12 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
13 (re_string_translate_buffer, re_string_reconstruct)
14 (re_string_peek_byte_case, re_string_fetch_byte_case)
15 (re_string_destruct, re_string_context_at, re_node_set_alloc)
16 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
17 (re_node_set_add_intersect, re_node_set_init_union)
18 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
19 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
20 (re_dfa_add_node, calc_state_hash, re_acquire_state)
21 (re_acquire_state_context): Likewise.
22 * posix/regex_internal.h (internal_function): Remove definition.
23 (re_string_realloc_buffers, build_wcs_buffer)
24 (build_wcs_upper_buffer, build_upper_buffer)
25 (re_string_translate_buffer, re_string_context_at)
26 (re_string_char_size_at, re_string_wchar_at)
27 (re_string_elem_size_at): Likewise.
28 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31 (re_search_internal, re_search_2_stub, re_search_stub)
32 (re_copy_regs, prune_impossible_nodes, check_matching)
33 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34 (free_fail_stack_return, sift_states_iter_mb)
35 (sift_states_backward, build_sifted_states)
36 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
37 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
38 (check_subexp_limits, sift_states_bkref, merge_state_array)
39 (find_recover_state, transit_state, merge_state_with_log)
40 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
41 (transit_state_mb, transit_state_bkref, get_subexp)
42 (get_subexp_sub, find_subexp_node, check_arrival)
43 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
44 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
45 (check_node_accept_bytes, find_collation_sequence_value)
46 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
47 (acquire_init_state_context, check_halt_node_context)
48 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
49 (sub_epsilon_src_nodes): Likewise.
50 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
51 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
52 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
53 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
54 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
55 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
56 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
57 * sysdeps/posix/ttyname.c (getttyname): Likewise.
58 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
59 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
61 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
63 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
65 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
67 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
68 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
70 2017-08-31 Florian Weimer <fweimer@redhat.com>
72 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
73 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
74 Remove internal_function.
75 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
76 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
77 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
78 (__deallocate_stack, __libc_pthread_init)
79 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
80 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
81 (__libc_disable_asynccancel, __librt_disable_asynccancel):
83 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
84 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
85 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
87 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
88 (__pthread_mutex_unlock_usercnt): Likewise.
90 2017-08-31 Florian Weimer <fweimer@redhat.com>
92 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
93 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
94 (fts_safe_changedir): Remove internal_function.
95 * io/ftw.c (internal_function): Remove definition.
96 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
98 2017-08-31 Florian Weimer <fweimer@redhat.com>
100 * inet/deadline.c (__deadline_current_time)
101 (__deadline_from_timeval, __deadline_to_ms): Remove
103 * inet/getnameinfo.c (nrl_domainname): Likewise.
104 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
105 * inet/inet6_option.c (add_pad): Likewise.
106 * inet/net-internal.h (__deadline_current_time)
107 (__deadline_from_timeval, __deadline_to_ms): Likewise.
108 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
109 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
110 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
112 2017-08-31 Joseph Myers <joseph@codesourcery.com>
114 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
115 include <bits/nan.h>.
116 * math/Makefile (headers): Remove bits/nan.h.
117 * bits/nan.h: Remove.
118 * sysdeps/ieee754/bits/nan.h: Likewise.
119 * sysdeps/mips/bits/nan.h: Likewise.
121 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
122 not include <bits/inf.h>.
123 * math/Makefile (headers): Remove bits/inf.h.
124 * bits/inf.h: Remove.
125 * sysdeps/ieee754/bits/inf.h: Likewise.
127 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
128 bits/huge_vall.h or bits/huge_val_flt128.h.
129 (HUGE_VAL): Define directly here.
130 [__USE_ISOC99] (HUGE_VALF): Likewise.
131 [__USE_ISOC99] (HUGE_VALL): Likewise.
132 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
133 (HUGE_VAL_F128): Likewise.
134 * math/Makefile (headers): Remove bits/huge_val.h,
135 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
136 * bits/huge_val.h: Remove.
137 * bits/huge_val_flt128.h: Likewise.
138 * bits/huge_valf.h: Likewise.
139 * bits/huge_vall.h: Likewise.
140 * sysdeps/ia64/bits/huge_vall.h: Likewise.
141 * sysdeps/ieee754/bits/huge_val.h: Likewise.
142 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
143 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
144 * sysdeps/sh/bits/huge_val.h: Likewise.
145 * sysdeps/sparc/bits/huge_vall.h: Likewise.
146 * sysdeps/x86/bits/huge_vall.h: Likewise.
148 2017-08-31 Florian Weimer <fweimer@redhat.com>
150 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
152 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
154 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
155 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
156 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
157 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
158 * elf/dl-fini.c (_dl_sort_fini): Likewise.
159 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
160 * elf/dl-libc.c (dlerror_run): Likewise.
161 * elf/dl-load.c (add_name_to_object, decompose_rpath)
162 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
163 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
164 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
166 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
167 (_dl_higher_prime_number, _dl_strtoul): Likewise.
168 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
169 * elf/dl-profile.c (_dl_start_profile): Likewise.
170 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
171 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
173 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
174 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
175 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
176 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
177 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
178 (_dl_allocate_tls_storage): Likewise.
179 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
180 (_dl_check_all_versions): Likewise.
181 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
182 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
183 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
184 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
185 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
186 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
187 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
188 internal_function from __dl_start.
189 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
190 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
191 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
192 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
193 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
194 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
195 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
196 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
197 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
198 (_dl_next_ld_env_entry, _dl_important_hwcaps)
199 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
200 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
201 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
202 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
203 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
205 (struct rtld_global_ro): Remove internal_function from the
206 _dl_lookup_symbol_x member.
207 (_dl_symbol_value): Remove. No longer defined anywhere.
208 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
210 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
211 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
212 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
213 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
214 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
215 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
216 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
217 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
218 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
219 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
220 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
221 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
223 2017-08-31 Florian Weimer <fweimer@redhat.com>
225 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
226 Remove internal_function.
227 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
229 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
232 2017-08-31 Florian Weimer <fweimer@redhat.com>
234 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
235 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
236 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
238 2017-08-31 Florian Weimer <fweimer@redhat.com>
240 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
241 (__gai_enqueue_request): Remove internal_function.
242 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
243 (__gai_remove_request, __gai_notify, __gai_notify_only)
244 (__gai_sigqueue): Likewise.
245 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
246 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
247 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
248 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
251 2017-08-31 Florian Weimer <fweimer@redhat.com>
253 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
254 * include/dirent.h (__opendirat, __getdents, __getdents64)
255 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
256 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
257 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
258 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
260 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
262 2017-08-31 Florian Weimer <fweimer@redhat.com>
264 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
266 (GETCWD_RETURN_TYPE): Likewise.
268 2017-08-31 Florian Weimer <fweimer@redhat.com>
270 * include/time.h (__tz_compute, __strptime_internal): Remove
272 * time/strptime_l.c (__strptime_internal): Likewise.
273 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
275 2017-08-31 Florian Weimer <fweimer@redhat.com>
277 * iconv/gconv.c (__gconv): Remove internal_function.
278 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
279 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
280 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
281 (__gconv_release_cache): Likewise.
282 * iconv/gconv_close.c (__gconv_close): Likewise.
283 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
284 (read_conf_file, __gconv_get_path): Likewise.
285 * iconv/gconv_db.c (derivation_lookup, add_derivation)
286 (__gconv_release_step, gen_steps, increment_counter)
287 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
288 (__gconv_close_transform, free_modules_db): Likewise.
289 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
291 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
292 (__gconv_find_transform, __gconv_lookup_cache)
293 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
294 (__gconv_close_transform, __gconv_release_cache)
295 (__gconv_loaded_object, __gconv_release_shlib)
296 (__gconv_compare_alias): Likewise.
297 * iconv/gconv_open.c (__gconv_open): Likewise.
298 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
299 * iconv/iconvconfig.c (add_module): Likewise.
300 * intl/dcigettext.c (plural_lookup, guess_category_value)
301 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
302 * intl/eval-plural.h (plural_eval): Likewise.
303 * intl/finddomain.c (_nl_find_domain): Likewise.
304 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
305 (_nl_load_domain, _nl_find_msg): Likewise.
306 (internal_function): Remove definition.
307 * intl/loadinfo.h (internal_function): Likewise.
308 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
310 * intl/localealias.c (internal_function): Remove definition.
311 (read_alias_file): Remove internal_function.
312 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
313 * intl/plural-exp.h (internal_function): Remove definition.
314 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
316 * intl/plural.c: Regenerate.
317 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
318 * locale/coll-lookup.c (__collidx_table_lookup)
319 (__collseq_table_lookup): Likewise.
320 * locale/coll-lookup.h (__collidx_table_lookup)
321 (__collseq_table_lookup): Likewise.
322 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
323 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
324 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
325 (_nl_unload_locale): Likewise.
326 * locale/localeinfo.h (struct __locale_data): Remove
327 internal_function from cleanup member.
328 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
329 (_nl_remove_locale, _nl_load_locale_from_archive)
330 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
331 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
332 (_nl_cleanup_time): Remove internal_function.
333 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
334 (_nl_parse_alt_digit): Likewise.
335 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
336 (_nl_select_era_entry): Likewise.
337 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
338 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
339 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
340 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
341 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
343 2017-08-31 Florian Weimer <fweimer@redhat.com>
345 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
346 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
347 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
348 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
350 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
351 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
352 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
353 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
355 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
357 2017-08-31 Florian Weimer <fweimer@redhat.com>
359 * misc/getttyent.c (skip, value): Remove internal_function.
360 * misc/syslog.c (openlog_internal): Likewise.
361 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
363 2017-08-31 Florian Weimer <fweimer@redhat.com>
365 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
366 (__nss_rewrite_field): Remove internal_function.
367 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
368 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
369 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
370 * nss/nsswitch.c (nss_parse_file, nss_getline)
371 (nss_parse_service_list, nss_new_service): Likewise.
372 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
373 * nss/valid_field.c (__nss_valid_field): Likewise.
374 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
376 2017-08-31 Florian Weimer <fweimer@redhat.com>
378 * malloc/arena.c (__malloc_fork_lock_parent)
379 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
380 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
381 internal_function from defintions.
382 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
383 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
384 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
385 internal_function from declarations.
386 * malloc/malloc.c (internal_function): Do not define.
387 (mem2mem_check): Remove internal_function from declaration.
388 (munmap_chunk, mremap_chunk): Remove internal_function.
389 * malloc/mtrace.c (tr_where): Likewise.
391 2017-08-31 Florian Weimer <fweimer@redhat.com>
393 * include/rpc/pmap_clnt.h (__get_socket): Remove
395 * sunrpc/auth_des.c (synchronize): Likewise.
396 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
397 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
398 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
399 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
400 (key_call): Likewise.
401 * sunrpc/pm_getport.c (__get_socket): Likewise.
402 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
403 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
404 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
405 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
406 (invalidate): Likewise.
407 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
408 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
409 (set_input_fragment, get_input_bytes): Likewise.
411 2017-08-31 Florian Weimer <fweimer@redhat.com>
413 * malloc/malloc.c (_int_free): Remove locked variable and related
416 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
419 * Makerules (build-module-helper-objlist): Filter out
420 $(elf-objpfx)sofini.os.
421 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
424 2017-08-31 Florian Weimer <fweimer@redhat.com>
426 * libio/fcloseall.c: Assume weak_alias is defined.
427 * libio/feof.c: Likewise.
428 * libio/fileno.c: Likewise.
429 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
430 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
432 (_IO_file_open): Call __open directly.
433 (_IO_new_file_sync): Assume ESPIPE is defined.
434 (_IO_file_seekoff_maybe_mmap): Call __read directly.
435 (_IO_new_file_write): Call __write directly.
436 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
437 * libio/ftello64.c (__ftello64): Assume EIO is defined.
438 * libio/genops.c: Assume _LIBC is defined.
439 (save_for_backup): Remove internal_function.
440 * libio/getc.c: Assume weak_alias is defined.
441 * libio/getwc.c: Likewise.
442 * libio/iofclose.c: Assume _LIBC is defined.
443 * libio/iofdopen.c: Likewise.
444 (_IO_fcntl): Remove macro definition.
445 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
446 Call __fcntl directly.
447 * libio/iofflush.c: Assume weak_alias is defined.
448 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
450 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
451 * libio/iofgets.c: Likewise.
452 * libio/iofopen.c: Assume _LIBC is defined.
453 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
454 * libio/iofputs.c: Assume weak_alias is defined.
455 * libio/iofread.c: Likewise.
456 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
457 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
458 * libio/ioftell.c: Assume weak_alias is defined.
459 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
460 * libio/iofwide.c: Assume _LIBC is defined.
461 (_IO_fwide): Drop SHARED conditional because it is implied by
463 * libio/iofwrite.c: Assume weak_alias is defined.
464 * libio/iogetdelim.c: Likewise.
465 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
466 * libio/iogetwline.c (wmemcpy): Remove macro definition.
467 (_IO_getwline): Call __wmemcpy directly.
468 * libio/iopopen.c: Assume _LIBC is defined.
469 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
470 (_IO_close): Remove macro definitions.
471 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
473 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
475 * libio/ioputs.c: Assume weak_alias is defined.
476 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
477 * libio/iosetbuffer.c: Assume weak_alias is defined.
478 * libio/iosetvbuf.c: Likewise.
479 * libio/ioungetc.c: Likewise.
480 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
481 libc_hidden_def, libc_hidden_weak, NULL are defined.
482 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
483 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
485 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
487 (_IO_old_file_init_internal): Drop SHARED conditional because it
488 is implied by SHLIB_COMPAT.
489 (_IO_old_file_fopen): Call __open directly.
490 (_IO_old_file_sync): Assume ESPIPE is defined.
491 (_IO_old_file_write): Call __write directly.
492 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
493 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
494 Call __fcntl directly.
495 * libio/oldiofgetpos.c: Assume weak_alias is defined.
496 (_IO_old_fgetpos): Assume EIO is defined.
497 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
498 (_IO_old_fgetpos64): Assume EIO is defined.
499 * libio/oldiofsetpos.c: Assume weak_alias is defined.
500 (_IO_old_fsetpos): Assume EIO is defined.
501 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
502 (_IO_old_fsetpos64): Assume EIO is defined.
503 * libio/oldiopopen.c: Assume _LIBC is defined.
504 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
505 (_IO_close): Remove macro definitions.
506 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
508 (_IO_old_proc_close): Call __close, __waitpid directly.
509 * libio/put.c: Assume weak_alias is defined.
510 * libio/stdfiles.c: Assume _LIBC is defined.
511 * libio/stdio.c: Likewise.
512 * libio/wfileops.c: Likewise.
513 (_IO_wfile_sync): Assume ESPIPE is defined.
514 * libio/wgenops.c: Assume _LIBC is defined.
515 (save_for_wbackup): Remove internal_function.
517 2017-08-31 Florian Weimer <fweimer@redhat.com>
519 * malloc/malloc.c (top_check): Change return type to void. Remove
521 * malloc/hooks.c (top_check): Likewise.
522 (malloc_check, realloc_check, memalign_check): Adjust.
524 2017-08-30 Joseph Myers <joseph@codesourcery.com>
527 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
528 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
529 sigcontext and namespace requirements.
530 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
531 * sysdeps/m68k/sys/ucontext.h: Likewise.
532 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
533 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
535 (__ctx): Define earlier.
536 (mcontext_t): Define structure contents rather than using struct
538 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
539 __glibc_reserved1 instead of __reserved.
540 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
542 (__ctx): Define earlier.
543 (mcontext_t): Define structure contents rather than using struct
545 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
546 mcontext_t instead of struct sigcontext.
547 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
549 (__ctx): Define earlier.
550 (mcontext_t): Define structure contents rather than using struct
552 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
554 (__ctx): Define earlier.
555 (mcontext_t): Define structure contents rather than using struct
557 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
558 mcontext_t instead of struct sigcontext.
559 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
560 mcontext_t instead of struct sigcontext.
561 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
564 (struct __ia64_fpreg_mcontext): New type.
565 (mcontext_t): Define structure contents rather than using struct
567 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
568 (uc_sigmask): Define using __ctx.
569 (uc_stack): Likewise.
570 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
573 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
575 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
576 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
578 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
580 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
582 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
584 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
586 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
588 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
590 (__ctx): Define earlier.
591 (mcontext_t): Define structure contents rather than using struct
593 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
594 <bits/sigcontext.h>. Include <bits/types.h>.
595 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
596 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
597 (test-xfail-XPG42/ucontext.h/conform): Likewise.
598 (test-xfail-UNIX98/signal.h/conform): Likewise.
599 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
600 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
601 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
602 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
603 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
604 (test-xfail-POSIX2008/signal.h/conform): Likewise.
605 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
606 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
607 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
609 2017-08-30 Florian Weimer <fweimer@redhat.com>
611 * malloc/dynarray_emplace_enlarge.c
612 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
613 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
614 * malloc/tst-dynarray.c (test_long_overflow): New function.
617 2017-08-30 Florian Weimer <fweimer@redhat.com>
619 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
620 (set_arena_corrupt): Remove definitions.
621 (mtrim): Do not check for corrupt arena.
622 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
625 2017-08-30 Florian Weimer <fweimer@redhat.com>
628 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
630 (ptmalloc_init): Do not set or use check_action.
631 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
632 call to malloc_printerr. Remove return statement.
633 (free_check): Likewise. Remove arena unlock.
634 (top_check): Update comment. Adjust call to malloc_printerr.
635 Remove heap repair code.
636 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
637 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
638 (sysmalloc): Adjust call to malloc_printerr.
639 (munmap_chunk, __libc_realloc): Likewise. Remove return
641 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
642 Remove errout label and corresponding gotos.
643 (_int_free): Likewise. Remove arena unlock.
644 (do_set_mallopt_check): Do not set check_action.
645 (malloc_printerr): Adjust parameter list. Do not mark arena as
647 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
649 * manual/probes.texi (Memory Allocation Probes): Remove
650 memory_mallopt_check_action.
652 2017-08-30 Steve Ellcey <sellcey@cavium.com>
654 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
655 Use pointer to uint64_t instead of long int for sp.
657 2017-08-30 Florian Weimer <fweimer@redhat.com>
660 * malloc/malloc.c (malloc_printerr): Always terminate the process,
661 without printing a backtrace. Do not leak any information in the
663 * manual/memory.texi (Heap Consistency Checking): Update.
664 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
666 2017-08-30 Florian Weimer <fweimer@redhat.com>
668 Do not scale NPTL tests with available number of CPUs.
669 * nptl/tst-cond16.c (count): Set to constant value of 8.
670 * nptl/tst-cond18.c (count): Likewise.
672 2017-08-29 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
676 Define to take a second argument that is a macro that
677 concatentates a suffix, not the suffix itself.
678 (__CONCAT_d): New macro.
679 (__CONCAT_f): Likewise.
680 (__CONCAT_l): Likewise.
682 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
684 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
687 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
688 Aurelien Jarno <aurelien@aurel32.net>
689 Maciej W. Rozycki <macro@imgtec.com>
692 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
693 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
694 `mips16-syscall6' and `mips16-syscall7'.
695 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
696 (CFLAGS-mips16-syscall7.c): Remove.
697 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
698 Remove `__mips16_syscall5', `__mips16_syscall6' and
700 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
701 (__mips16_syscall0): Rename `__mips16_syscall_return' to
702 `__mips_syscall_return'.
703 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
704 (__mips16_syscall1): Likewise.
705 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
706 (__mips16_syscall2): Likewise.
707 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
708 (__mips16_syscall3): Likewise.
709 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
710 (__mips16_syscall4): Likewise.
711 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
713 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
715 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
717 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
718 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
719 `__mips16_syscall5'. Remove prototype.
720 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
721 `__mips16_syscall6'. Remove prototype.
722 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
723 `__mips16_syscall7'. Remove prototype.
724 (__nomips16, __mips16_syscall_return): Move to...
725 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
726 (__nomips16, __mips_syscall_return): ... here.
727 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
728 `__mips16_syscall_return' to `__mips_syscall_return'.
729 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
730 `internal_syscall##nr'.
731 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
732 `internal_syscall##nr'.
733 (FORCE_FRAME_POINTER): Remove.
734 (__mips_syscall5): New prototype.
735 (internal_syscall5): Rewrite to call `__mips_syscall5'.
736 (__mips_syscall6): New prototype.
737 (internal_syscall6): Rewrite to call `__mips_syscall6'.
738 (__mips_syscall7): New prototype.
739 (internal_syscall7): Rewrite to call `__mips_syscall7'.
740 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
741 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
742 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
743 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
744 (sysdep_routines): Add libc-do-syscall.
745 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
746 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
748 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
751 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
752 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
753 (advise_stack_range): New function.
754 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
755 stack non required to advise_stack_range at allocatestack.c
757 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
759 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
761 2017-08-29 Florian Weimer <fweimer@redhat.com>
764 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
765 __end_fct. Mangle __end_fct after setting it to NULL.
766 * iconv/Makefile (tests): Add tst-gconv-init-failure.
767 (modules-names, modules-names-tests): Add
768 tst-gconv-init-failure-mod.
769 (gconv-modules): New target.
770 (tst-gconv-init-failure-mod.so): Link against libsupport.
771 (tst-gconv-init-failure): Depend on gconv-modules,
772 tst-gconv-init-failure-mod.so.
773 * iconv/tst-gconv-init-failure-mod.c: New file.
774 * iconv/tst-gconv-init-failure.c: Likewise.
775 * iconv/test-gconv-modules: Likewise.
777 2017-08-29 Florian Weimer <fweimer@redhat.com>
780 * iconv/gconv_db.c (free_derivation): Remove redundant
782 (gen_steps): Unconditionally mangle __btowc_fct after
784 (increment_counter): Likewise. Do not call init_fct for internal
787 2017-08-29 Joseph Myers <joseph@codesourcery.com>
790 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
791 (_MSUF_): Remove macro.
792 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
794 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
795 (__REDIRFROM_X): New macro.
796 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
798 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
799 (__REDIRTO_X): Likewise.
800 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
802 (__MATH_REDIRCALL_2): Likewise.
803 (__MATH_REDIRCALL_INTERNAL): Likewise.
804 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
805 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
806 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
807 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
808 * math/test-finite-macros.c: New file.
809 * math/Makefile (tests): Add test-finite-macros.
810 (CFLAGS-test-finite-macros.c): New variable.
812 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
813 Jeff Law <law@redhat.com>
816 Mangle NULL pointers in iconv/gconv.
817 * iconv/gconv_cache.c (find_module): Demangle init_fct before
818 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
819 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
820 is non-NULL before demangling the end_fct. Check for NULL
821 end_fct after demangling.
822 (__gconv_release_step): Demangle the end_fct before checking
823 it for NULL. Remove assert on __shlibc_handle != NULL.
824 (gen_steps): Don't check btowc_fct for NULL before mangling.
825 Demangle init_fct before checking for NULL.
826 (increment_counter): Likewise.
827 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
828 end_fct for NULL before mangling.
829 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
832 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
835 * locale/iso-639.def: add Morisyen.
837 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
840 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
841 (iszero): New C++ implementation that does not use
842 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
843 signaling nans are enabled, since __builtin_types_compatible_p
845 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
846 defined, include ieee754_float128.h for access to the union and
847 member ieee854_float128.ieee.
848 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
849 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
850 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
851 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
852 options of test-math-zero on powerpc64le.
854 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
856 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
857 Change double to float.
859 2017-08-28 Joseph Myers <joseph@codesourcery.com>
861 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
863 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
864 conditional code; define contents only for [LIBM_SVID_COMPAT].
866 2017-08-28 Florian Weimer <fweimer@redhat.com>
868 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
869 (abi-lp64_be-options): Remove.
870 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
871 (abi-hard-options): Likewise.
872 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
873 (abi-o32_hard-options, abi-o32_soft_2008-options)
874 (abi-o32_hard_2008-options, abi-n32_soft-options)
875 (abi-n32_hard-options, abi-n32_soft_2008-options)
876 (abi-n32_hard_2008-options, abi-n64_soft-options)
877 (abi-n64_hard-options, abi-n64_soft_2008-options)
878 (abi-n64_hard_2008-options): Likewise.
879 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
880 (abi-64-v1-options, abi-64-v2-options): Likewise.
881 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
882 (abi-64-options): Likewise.
883 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
884 (abi-64-options): Likewise.
885 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
886 (abi-64-options): Likewise.
887 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
888 (abi-64-options, abi-x32-options): Likewise.
890 2017-08-28 Florian Weimer <fweimer@redhat.com>
892 Store supported list of SYS_* system calls in the source tree.
893 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
894 (bits/syscall.h): Generate from list file.
895 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
896 [$(subdir) = misc] (tests): Add tst-syscall-list.
897 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
898 [$(subdir) = misc] (tst-syscall-list-macros.list)
899 [$(subdir) = misc] (tst-syscall-list-nr.list)
900 (tst-syscall-list-sys.list): Helper targets for new
901 tst-syscall-list test.
902 [$(subdir) = misc] (tst-syscall-list.out): Run test script
904 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
905 target. Do not include bits/syscall.d.
906 [$(subdir) = misc] (generated): Do not update.
907 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
908 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
909 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
910 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
912 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
914 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
915 (tst-cxa_atexit, tst-on_exit): Likewise.
916 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
917 tst-cxa_atexit, and tst-on_exit.
918 * stdlib/tst-atexit-common.c: New file.
919 * stdlib/tst-atexit.c: New file.
920 * stdlib/tst-at_quick_exit.c: New file.
921 * stdlib/tst-cxa_atexit.c: New file.
922 * stdlib/tst-on_exit.c: New file.
924 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
926 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
927 * mach/stack_chk_fail_local.c: New file.
928 * hurd/stack_chk_fail_local.c: New file.
929 * mach/Machrules ($(interface-library)-routines): Add
930 stack_chk_fail_local.
931 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
932 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
933 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
934 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
935 * hurd/Makefile (CFLAGS-hurdstartup.o,
936 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
938 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
940 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
941 (index_cpu_*, index_arch_*): Removed.
943 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
945 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
946 Use uint64_t instead of unsigned long.
948 2017-08-25 Joseph Myers <joseph@codesourcery.com>
950 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
951 [__HAVE_DISTINCT_FLOAT128].
953 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
954 of <bits/math-finite.h>.
955 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
956 inclusion of <bits/math-finite.h>.
957 * math/bits/math-finite.h (__REDIRTO_X): Do not define
958 conditionally on [__MATH_DECLARING_LDOUBLE && defined
959 __NO_LONG_DOUBLE_MATH].
960 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
961 (__MATH_REDIRCALL_2): Likewise.
962 (__MATH_REDIRCALL_INTERNAL): Likewise.
963 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
964 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
965 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
979 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
980 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
981 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
982 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
984 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
985 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
986 w_sqrtf_compat-ppc32.
988 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
990 * math/math.h [defined __cplusplus] (issignaling): In the long
991 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
992 is not defined. Call __issignaling, otherwise.
994 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
996 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
997 syscall definitions and replace __builtin_expect with __glibc_likely.
998 * sysdeps/unix/syscall-template.S: Update comment about cancellable
1000 (SYSCALL_CANCELLABLE): Removedefinition
1001 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
1003 (PSEUDO_END): Likewise.
1004 [IS_IN (libpthread)] (CENABLE): Likewise.
1005 [IS_IN (libpthread)] (CDISABLE): Likewise.
1006 [IS_IN (libc)] (CENABLE): Likewise.
1007 [IS_IN (libc)] (CENABLE): Likewise.
1008 [IS_IN (librt)] (CDISABLE): Likewise.
1009 [IS_IN (librt)] (CDISABLE): Likewise.
1010 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1011 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
1013 (PSEUDO_END): Likewise.
1014 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
1015 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
1016 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1017 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
1018 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1019 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
1020 (CENABLE): Likewise.
1021 (CDISABLE): Likewise.
1022 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1023 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
1025 (PSEUDO_END): Likewise.
1026 [IS_IN (libpthread)] (CENABLE): Likewise.
1027 [IS_IN (libpthread)] (CDISABLE): Likewise.
1028 [IS_IN (libc)] (CENABLE): Likewise.
1029 [IS_IN (libc)] (CENABLE): Likewise.
1030 [IS_IN (librt)] (CDISABLE): Likewise.
1031 [IS_IN (librt)] (CDISABLE): Likewise.
1032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1033 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
1035 (PSEUDO_END): Likewise.
1036 [IS_IN (libpthread)] (CENABLE): Likewise.
1037 [IS_IN (libpthread)] (CDISABLE): Likewise.
1038 [IS_IN (libc)] (CENABLE): Likewise.
1039 [IS_IN (libc)] (CENABLE): Likewise.
1040 [IS_IN (librt)] (CDISABLE): Likewise.
1041 [IS_IN (librt)] (CDISABLE): Likewise.
1042 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1043 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
1045 (PSEUDO_END): Likewise.
1046 [IS_IN (libpthread)] (CENABLE): Likewise.
1047 [IS_IN (libpthread)] (CDISABLE): Likewise.
1048 [IS_IN (libc)] (CENABLE): Likewise.
1049 [IS_IN (libc)] (CENABLE): Likewise.
1050 [IS_IN (librt)] (CDISABLE): Likewise.
1051 [IS_IN (librt)] (CDISABLE): Likewise.
1052 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1053 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
1055 (PSEUDO_END): Likewise.
1056 [IS_IN (libpthread)] (CENABLE): Likewise.
1057 [IS_IN (libpthread)] (CDISABLE): Likewise.
1058 [IS_IN (libc)] (CENABLE): Likewise.
1059 [IS_IN (libc)] (CENABLE): Likewise.
1060 [IS_IN (librt)] (CDISABLE): Likewise.
1061 [IS_IN (librt)] (CDISABLE): Likewise.
1062 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1063 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
1065 (PSEUDO_END): Likewise.
1066 [IS_IN (libpthread)] (CENABLE): Likewise.
1067 [IS_IN (libpthread)] (CDISABLE): Likewise.
1068 [IS_IN (libc)] (CENABLE): Likewise.
1069 [IS_IN (libc)] (CENABLE): Likewise.
1070 [IS_IN (librt)] (CDISABLE): Likewise.
1071 [IS_IN (librt)] (CDISABLE): Likewise.
1072 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1073 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
1075 (PSEUDO_END): Likewise.
1076 [IS_IN (libpthread)] (CENABLE): Likewise.
1077 [IS_IN (libpthread)] (CDISABLE): Likewise.
1078 [IS_IN (libc)] (CENABLE): Likewise.
1079 [IS_IN (libc)] (CENABLE): Likewise.
1080 [IS_IN (librt)] (CDISABLE): Likewise.
1081 [IS_IN (librt)] (CDISABLE): Likewise.
1082 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1083 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
1085 (PSEUDO_END): Likewise.
1086 [IS_IN (libpthread)] (CENABLE): Likewise.
1087 [IS_IN (libpthread)] (CDISABLE): Likewise.
1088 [IS_IN (libc)] (CENABLE): Likewise.
1089 [IS_IN (libc)] (CENABLE): Likewise.
1090 [IS_IN (librt)] (CDISABLE): Likewise.
1091 [IS_IN (librt)] (CDISABLE): Likewise.
1092 (SINGLE_THREAD_P): Likewise.
1093 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
1095 (PSEUDO_END): Likewise.
1096 [IS_IN (libpthread)] (CENABLE): Likewise.
1097 [IS_IN (libpthread)] (CDISABLE): Likewise.
1098 [IS_IN (libc)] (CENABLE): Likewise.
1099 [IS_IN (libc)] (CENABLE): Likewise.
1100 [IS_IN (librt)] (CDISABLE): Likewise.
1101 [IS_IN (librt)] (CDISABLE): Likewise.
1102 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1103 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
1105 (PSEUDO_END): Likewise.
1106 [IS_IN (libpthread)] (CENABLE): Likewise.
1107 [IS_IN (libpthread)] (CDISABLE): Likewise.
1108 [IS_IN (libc)] (CENABLE): Likewise.
1109 [IS_IN (libc)] (CENABLE): Likewise.
1110 [IS_IN (librt)] (CDISABLE): Likewise.
1111 [IS_IN (librt)] (CDISABLE): Likewise.
1112 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1113 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
1114 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1115 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
1116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
1118 (PSEUDO_END): Likewise.
1119 [IS_IN (libpthread)] (CENABLE): Likewise.
1120 [IS_IN (libpthread)] (CDISABLE): Likewise.
1121 [IS_IN (libc)] (CENABLE): Likewise.
1122 [IS_IN (libc)] (CENABLE): Likewise.
1123 [IS_IN (librt)] (CDISABLE): Likewise.
1124 [IS_IN (librt)] (CDISABLE): Likewise.
1125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
1128 (PSEUDO_END): Likewise.
1129 [IS_IN (libpthread)] (CENABLE): Likewise.
1130 [IS_IN (libpthread)] (CDISABLE): Likewise.
1131 [IS_IN (libc)] (CENABLE): Likewise.
1132 [IS_IN (libc)] (CENABLE): Likewise.
1133 [IS_IN (librt)] (CDISABLE): Likewise.
1134 [IS_IN (librt)] (CDISABLE): Likewise.
1135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1136 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
1138 (PSEUDO_END): Likewise.
1139 [IS_IN (libpthread)] (CENABLE): Likewise.
1140 [IS_IN (libpthread)] (CDISABLE): Likewise.
1141 [IS_IN (libc)] (CENABLE): Likewise.
1142 [IS_IN (libc)] (CENABLE): Likewise.
1143 [IS_IN (librt)] (CDISABLE): Likewise.
1144 [IS_IN (librt)] (CDISABLE): Likewise.
1145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
1147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
1149 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
1151 (PSEUDO_END): Likewise.
1152 [IS_IN (libpthread)] (CENABLE): Likewise.
1153 [IS_IN (libpthread)] (CDISABLE): Likewise.
1154 [IS_IN (libc)] (CENABLE): Likewise.
1155 [IS_IN (libc)] (CENABLE): Likewise.
1156 [IS_IN (librt)] (CDISABLE): Likewise.
1157 [IS_IN (librt)] (CDISABLE): Likewise.
1158 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
1161 (PSEUDO_END): Likewise.
1162 [IS_IN (libpthread)] (CENABLE): Likewise.
1163 [IS_IN (libpthread)] (CDISABLE): Likewise.
1164 [IS_IN (libc)] (CENABLE): Likewise.
1165 [IS_IN (libc)] (CENABLE): Likewise.
1166 [IS_IN (librt)] (CDISABLE): Likewise.
1167 [IS_IN (librt)] (CDISABLE): Likewise.
1168 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
1170 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1172 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
1174 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1178 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1181 * string/stratcliff.c (do_test): Declare size, nchars, inner,
1182 middle and outer with size_t instead of int. Repleace %d and
1183 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
1184 "MAX (outer, nchars - 64)" to support unsigned outer and
1185 nchars. Also exit loop when outer == 0.
1187 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1189 * include/fcntl.h (__fcntl_nocancel): Remove definition.
1190 * include/signal.h (__sigsuspend_nocancel): Likewise.
1191 * include/time.h (__nanosleep_nocancel): Likewise.
1192 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
1193 * login/utmp_file.c: Include non cancellable syscall header.
1194 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
1197 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
1199 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
1200 .byte sequences with AVX512F instructions.
1201 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
1202 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1203 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1204 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
1206 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1209 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1210 Steve Ellcey <sellcey@cavium.com>
1212 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
1213 Use PTR_REG macro in cmp instruction.
1215 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1217 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
1218 Change the return type of the ifunc resolver to match the return
1219 type of the target function.
1221 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1223 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
1224 (preadv64): Likewise.
1225 (pwrite64(: Likewise.
1226 (pwritev64): Likewise.
1228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1229 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
1230 (LOAD_ARGS_0): Likewise.
1231 (LOAD_ARGS_1): Likewise.
1232 (LOAD_ARGS_2): Likewise.
1233 (LOAD_ARGS_3): Likewise.
1234 (LOAD_ARGS_4): Likewise.
1235 (LOAD_ARGS_5): Likewise.
1236 (LOAD_ARGS_6): Likewise.
1237 (LOAD_REGS_0): Likewise.
1238 (LOAD_REGS_1): Likewise.
1239 (LOAD_REGS_2): Likewise.
1240 (LOAD_REGS_3): Likewise.
1241 (LOAD_REGS_4): Likewise.
1242 (LOAD_REGS_5): Likewise.
1243 (LOAD_REGS_6): Likewise.
1244 (ASM_ARGS_0): Likewise.
1245 (ASM_ARGS_1): Likewise.
1246 (ASM_ARGS_2): Likewise.
1247 (ASM_ARGS_3): Likewise.
1248 (ASM_ARGS_4): Likewise.
1249 (ASM_ARGS_5): Likewise.
1250 (ASM_ARGS_6): Likewise.
1251 (LOAD_ARGS_TYPES_1): Likewise.
1252 (LOAD_ARGS_TYPES_2): Likewise.
1253 (LOAD_ARGS_TYPES_3): Likewise.
1254 (LOAD_ARGS_TYPES_4): Likewise.
1255 (LOAD_ARGS_TYPES_5): Likewise.
1256 (LOAD_ARGS_TYPES_6): Likewise.
1257 (LOAD_REGS_TYPES_1): Likewise.
1258 (LOAD_REGS_TYPES_2): Likewise.
1259 (LOAD_REGS_TYPES_3): Likewise.
1260 (LOAD_REGS_TYPES_4): Likewise.
1261 (LOAD_REGS_TYPES_5): Likewise.
1262 (LOAD_REGS_TYPES_6): Likewise.
1263 (TYPEFY): New define.
1265 (internal_syscall0): Likewise.
1266 (internal_syscall1): Likewise.
1267 (internal_syscall2): Likewise.
1268 (internal_syscall3): Likewise.
1269 (internal_syscall4): Likewise.
1270 (internal_syscall5): Likewise.
1271 (internal_syscall6): Likewise.
1272 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
1273 (INTERNAL_SYSCALL_NCS): Remove define.
1274 (internal_syscall1): Add define.
1276 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1278 * math/w_remainder_compat.c: Remove duplicate inclusion of
1280 * math/w_remainderf_compat.c: Likewise.
1281 * math/w_remainderl_compat.c: Likewise.
1283 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1287 2017-08-22 Joseph Myers <joseph@codesourcery.com>
1290 * math/tgmath.h (__floating_type): Simplify definitions.
1291 (__real_integer_type): New macro.
1292 (__complex_integer_type): Likewise.
1293 (__expr_is_real): Likewise.
1294 (__tgmath_real_type_sub): Update comment to describe handling of
1296 (__tgmath_complex_type_sub): New macro.
1297 (__tgmath_complex_type): Likewise.
1298 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1299 (__TGMATH_CF128): Use __expr_is_real.
1300 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
1302 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1303 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
1304 * math/gen-tgmath-tests.py (Type.create_type): Create complex
1307 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1309 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
1311 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
1313 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
1316 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
1317 nanosleep_not_cancel with __nanosleep_nocancel.
1318 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
1319 (__nanosleep_nocancel): New macro.
1320 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
1322 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
1324 (__nanosleep_nocancel): New prototype.
1326 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
1327 pause_not_cancel with __pause_nocancel.
1328 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
1329 (__pause_nocancel): New macro.
1330 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
1332 (__pause_nocancel): New prototype.
1333 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
1335 2017-08-22 Martin Sebor <msebor@redhat.com>
1337 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
1338 to return a pointer to the same type as the target function.
1340 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1344 * include/printf.h (__printf_fphex): Add attribute_hidden.
1345 (__guess_grouping): New prototype.
1346 * stdio-common/printf_fp.c (__guess_grouping): Removed.
1347 * stdio-common/reg-printf.c (__register_printf_specifier): Add
1348 libc_hidden_proto and libc_hidden_def.
1349 * stdlib/strfmon_l.c (__guess_grouping): Removed.
1350 (__vstrfmon_l): Remove the third argument passed to
1353 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1355 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
1356 definition for issignaling that does not rely on __MATH_TG,
1357 since __MATH_TG uses __builtin_types_compatible_p, which is only
1358 available in C mode.
1359 (CFLAGS-test-math-issignaling.cc): New variable.
1360 * math/Makefile [CXX] (tests): Add test-math-issignaling.
1361 * math/test-math-issignaling.cc: New test for C++ implementation
1362 of type-generic issignaling.
1363 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1364 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
1365 options of test-math-issignaling on powerpc64le.
1367 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1369 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1371 (hidden_proto): Likewise.
1372 (hidden_tls_proto): Likewise.
1373 (__hidden_proto): Likewise.
1375 2017-08-22 Florian Weimer <fweimer@redhat.com>
1377 math: Statically link tests of internal functionality.
1378 * math/Makefile (tests): Remove atest-exp, atest-sincos,
1380 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
1381 (gmp-objs): Remove assignment.
1382 (atest-exp, atest-sincos, atest-exp2): Remove targets.
1384 2017-08-22 Joseph Myers <joseph@codesourcery.com>
1387 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
1391 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
1394 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
1395 variable definitions above inclusion of ../Rules.
1397 2017-08-21 Joseph Myers <joseph@codesourcery.com>
1399 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
1400 case calling __builtin_unreachable.
1402 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1404 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
1406 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
1407 (__waitpid_nocancel): New macro.
1408 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
1410 (__waitpid_nocancel): Replace macro with a function.
1411 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
1414 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
1416 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
1417 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
1419 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
1420 __writev_nocancel_nostatus.
1421 (write_call_graph): Likewise.
1422 (write_bb_counts): Likewise.
1423 * resolv/herror.c (herror): Likewise.
1424 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
1426 (__writev_nocancel_nostatus): New macro.
1427 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
1429 (__writev_nocancel_nostatus): New function.
1431 2017-08-21 Joseph Myers <joseph@codesourcery.com>
1434 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1436 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1438 (hidden_proto): Likewise.
1439 (hidden_tls_proto): Likewise.
1440 (__hidden_proto): Likewise.
1443 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
1444 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1455 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1456 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1458 GLIBC_2.0 sqrtl symbol.
1460 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
1461 [__USE_MISC] (_LIB_VERSION): Likewise.
1462 [__USE_MISC] (struct exception): Likewise.
1463 [__USE_MISC] (matherr): Likewise.
1464 [__USE_MISC] (DOMAIN): Likewise.
1465 [__USE_MISC] (SING): Likewise.
1466 [__USE_MISC] (OVERFLOW): Likewise.
1467 [__USE_MISC] (UNDERFLOW): Likewise.
1468 [__USE_MISC] (TLOSS): Likewise.
1469 [__USE_MISC] (PLOSS): Likewise.
1470 [__USE_MISC] (HUGE): Likewise.
1471 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
1472 * math/math-svid-compat.h: New file.
1473 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
1475 * include/math.h [!_ISOMAC] (__matherr): Remove.
1476 * manual/arith.texi (FP Exceptions): Do not document matherr.
1477 * math/Makefile (tests): Change test-matherr to test-matherr-3.
1478 (tests-internal): New variable.
1479 (install-lib): Do not add libieee.a.
1480 (non-lib.a): Likewise.
1481 (extra-objs): Do not add libieee.a and ieee-math.o.
1482 (CPPFLAGS-s_lib_version.c): Remove variable.
1483 ($(objpfx)libieee.a): Remove rule.
1484 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
1485 * math/ieee-math.c: Remove.
1486 * math/libm-test-support.c (matherr): Remove.
1487 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
1488 and license notices. Include <math-svid-compat.h> and
1490 (matherr): Undefine as macro. Use compat_symbol_reference.
1491 (_LIB_VERSION): Likewise.
1492 * math/test-matherr-2.c: New file.
1493 * math/test-matherr-3.c: Likewise.
1494 * sysdeps/generic/math_private.h (__kernel_standard): Remove
1496 (__kernel_standard_f): Likewise.
1497 (__kernel_standard_l): Likewise.
1498 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
1499 <math_private.h>. Include <math-svid-compat.h>.
1500 (_LIB_VERSION): Undefine as macro.
1501 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
1502 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
1503 [LIBM_SVID_COMPAT], use compat_symbol.
1504 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
1505 <math_private.h>. Include <math-svid-compat.h>.
1506 (matherr): Undefine as macro.
1507 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
1509 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
1510 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
1511 compat_symbol_reference.
1512 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
1513 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
1514 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
1515 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
1516 (MATHERR_D): Remove declaration.
1517 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
1518 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
1519 [LIBM_BUILD] (pmatherrf): Likewise.
1520 [LIBM_BUILD] (pmatherr): Likewise.
1521 [LIBM_BUILD] (pmatherrl): Likewise.
1524 (OVERFLOW): Likewise.
1525 (UNDERFLOW): Likewise.
1528 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
1529 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
1531 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
1532 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
1534 * math/lgamma-compat.h: Include <math-svid-compat.h>.
1535 * math/w_acos_compat.c: Likewise.
1536 * math/w_acosf_compat.c: Likewise.
1537 * math/w_acosh_compat.c: Likewise.
1538 * math/w_acoshf_compat.c: Likewise.
1539 * math/w_acoshl_compat.c: Likewise.
1540 * math/w_acosl_compat.c: Likewise.
1541 * math/w_asin_compat.c: Likewise.
1542 * math/w_asinf_compat.c: Likewise.
1543 * math/w_asinl_compat.c: Likewise.
1544 * math/w_atan2_compat.c: Likewise.
1545 * math/w_atan2f_compat.c: Likewise.
1546 * math/w_atan2l_compat.c: Likewise.
1547 * math/w_atanh_compat.c: Likewise.
1548 * math/w_atanhf_compat.c: Likewise.
1549 * math/w_atanhl_compat.c: Likewise.
1550 * math/w_cosh_compat.c: Likewise.
1551 * math/w_coshf_compat.c: Likewise.
1552 * math/w_coshl_compat.c: Likewise.
1553 * math/w_exp10_compat.c: Likewise.
1554 * math/w_exp10f_compat.c: Likewise.
1555 * math/w_exp10l_compat.c: Likewise.
1556 * math/w_exp2_compat.c: Likewise.
1557 * math/w_exp2f_compat.c: Likewise.
1558 * math/w_exp2l_compat.c: Likewise.
1559 * math/w_fmod_compat.c: Likewise.
1560 * math/w_fmodf_compat.c: Likewise.
1561 * math/w_fmodl_compat.c: Likewise.
1562 * math/w_hypot_compat.c: Likewise.
1563 * math/w_hypotf_compat.c: Likewise.
1564 * math/w_hypotl_compat.c: Likewise.
1565 * math/w_j0_compat.c: Likewise.
1566 * math/w_j0f_compat.c: Likewise.
1567 * math/w_j0l_compat.c: Likewise.
1568 * math/w_j1_compat.c: Likewise.
1569 * math/w_j1f_compat.c: Likewise.
1570 * math/w_j1l_compat.c: Likewise.
1571 * math/w_jn_compat.c: Likewise.
1572 * math/w_jnf_compat.c: Likewise.
1573 * math/w_jnl_compat.c: Likewise.
1574 * math/w_lgamma_main.c: Likewise.
1575 * math/w_lgamma_r_compat.c: Likewise.
1576 * math/w_lgammaf_main.c: Likewise.
1577 * math/w_lgammaf_r_compat.c: Likewise.
1578 * math/w_lgammal_main.c: Likewise.
1579 * math/w_lgammal_r_compat.c: Likewise.
1580 * math/w_log10_compat.c: Likewise.
1581 * math/w_log10f_compat.c: Likewise.
1582 * math/w_log10l_compat.c: Likewise.
1583 * math/w_log2_compat.c: Likewise.
1584 * math/w_log2f_compat.c: Likewise.
1585 * math/w_log2l_compat.c: Likewise.
1586 * math/w_log_compat.c: Likewise.
1587 * math/w_logf_compat.c: Likewise.
1588 * math/w_logl_compat.c: Likewise.
1589 * math/w_pow_compat.c: Likewise.
1590 * math/w_powf_compat.c: Likewise.
1591 * math/w_powl_compat.c: Likewise.
1592 * math/w_remainder_compat.c: Likewise.
1593 * math/w_remainderf_compat.c: Likewise.
1594 * math/w_remainderl_compat.c: Likewise.
1595 * math/w_scalb_compat.c: Likewise.
1596 * math/w_scalbf_compat.c: Likewise.
1597 * math/w_scalbl_compat.c: Likewise.
1598 * math/w_sinh_compat.c: Likewise.
1599 * math/w_sinhf_compat.c: Likewise.
1600 * math/w_sinhl_compat.c: Likewise.
1601 * math/w_sqrt_compat.c: Likewise.
1602 * math/w_sqrtf_compat.c: Likewise.
1603 * math/w_sqrtl_compat.c: Likewise.
1604 * math/w_tgamma_compat.c: Likewise.
1605 * math/w_tgammaf_compat.c: Likewise.
1606 * math/w_tgammal_compat.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1608 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1609 * sysdeps/ieee754/k_standard.c: Likewise.
1610 * sysdeps/ieee754/k_standardf.c: Likewise.
1611 * sysdeps/ieee754/k_standardl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1614 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1616 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1617 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1618 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1619 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1620 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1627 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1628 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1630 2017-08-21 Florian Weimer <fweimer@redhat.com>
1633 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
1634 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
1635 Move before inclusion of ../Rules.
1637 2017-08-21 Florian Weimer <fweimer@redhat.com>
1640 * assert/assert.h (assert): Use static_cast (bool) for C++.
1641 Use the ternary operator in the warning branch for GNU C.
1642 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
1643 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
1644 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
1645 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
1646 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
1648 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1651 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1652 (__syscall_clock_gettime): Add attribute_hidden.
1653 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
1654 (__start_context): Likewise.
1656 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1658 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1660 (hidden_proto): Likewise.
1661 (hidden_tls_proto): Likewise.
1662 (__hidden_proto): Likewise.
1664 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1666 * include/libc-symbols.h (attribute_hidden): Enable hidden
1667 visibility in libc.a compiled with PIE.
1669 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1672 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
1673 Add attribute_hidden.
1675 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1678 * Makerules (all-nonlib): Add $(others-extras).
1679 * catgets/Makefile (others-extras): New.
1680 * elf/Makefile (others-extras): Likewise.
1681 * nss/Makefile (others-extras): Likewise.
1683 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1686 * csu/libc-start.c (__libc_multiple_libcs): Removed.
1687 * elf/dl-open.c: Include <libc-internal.h>.
1688 (__libc_multiple_libcs): Removed.
1689 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
1691 * include/libc-internal.h (__libc_multiple_libcs): New.
1692 * misc/sbrk.c: Include <libc-internal.h>.
1693 (__libc_multiple_libcs): Removed.
1695 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1698 * grp/initgroups.c (__nss_group_database): Removed.
1699 (__nss_initgroups_database): Likewise.
1700 * nscd/gai.c (__nss_hosts_database): Likewise.
1701 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1702 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1703 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1704 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1705 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
1706 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
1708 * nss/nsswitch.c (__nss_database_custom): Define only if
1709 USE_NSCD is defined.
1710 (__nss_configure_lookup): Use __nss_database_custom only if
1711 USE_NSCD is defined.
1712 * nss/nsswitch.h (__nss_database_custom): Declare only if
1713 USE_NSCD is defined. Add attribute_hidden.
1714 (__nss_setent): Add attribute_hidden.
1715 (__nss_endent): Likewise.
1716 (__nss_getent_r): Likewise.
1717 (__nss_getent): Likewise.
1718 (DEFINE_DATABASE): Declare __nss_##arg##_database.
1720 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1723 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
1724 libc_hidden_proto and libc_hidden_def.
1726 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1729 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
1730 Add libc_hidden_proto.
1731 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
1732 Add libc_hidden_def.
1734 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1737 * gmon/Makefile (routines): Remove bb_init_func and
1739 (elide-routines.os): Removed.
1740 * gmon/bb_exit_func.c: Likewise.
1741 * gmon/bb_init_func.c: Likewise.
1742 * include/sys/gmon.h (__bb): Likewise.
1743 (__bb_init_func): Likewise.
1744 (__bb_exit_func): Likewise.
1745 * sysdeps/alpha/bb_init_func.S: Likewise.
1747 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1749 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
1750 * include/setjmp.h (____longjmp_chk): Here. Add
1753 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
1756 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
1758 (__strspn_sse2): Likewise.
1760 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1762 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
1763 (close_not_cancel_no_status): Likewise.
1764 (__close_nocancel): New macro.
1765 (__close_nocancel_nostatus): Likewise.
1766 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
1768 (close_not_cancel): Likewise.
1769 (close_not_cancel_no_status): Likewise.
1770 (__close_nocancel): New prototype.
1771 (__close_nocancel_nostatus): New function.
1772 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
1773 * catgets/open_catalog.c (__open_catalog): Replace
1774 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
1775 * gmon/gmon.c (write_gmon): Likewise.
1776 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1777 * intl/loadmsgcat.c (close): Likewise.
1778 * io/ftw.c (open_dir_stream): Likewise.
1779 (ftw_startup): Likewise.
1780 * libio/fileops.c (_IO_file_open): Likewise.
1781 (_IO_file_close_mmap): Likewise.
1782 (_IO_file_close): Likewise.
1783 * libio/iopopen.c (_IO_dup2): Likewise.
1784 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1785 * locale/loadlocale.c (_nl_load_locale): Likewise.
1786 * login/utmp_file.c (pututline_file): Likewise.
1787 (endutent_file): Likewise.
1788 * misc/daemon.c (daemon): Likewise.
1789 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1790 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1791 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1792 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1793 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1794 * nscd/nscd_helper.c (open_socket): Likewise.
1795 (__nscd_open_socket): Likewise.
1796 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1797 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
1798 (__nscd_innetgr): Likewise.
1799 * nss/nss_db/db-open.c (internal_setent): Likewise.
1800 * resolv/res-close.c (__res_iclose): Likewise.
1801 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1802 * sysdeps/posix/closedir.c (__closedir): Likewise.
1803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1804 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1805 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
1806 (opendir_tail): Likewise.
1807 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1808 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
1809 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1810 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1811 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1812 (gethostid): Likewise.
1813 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1816 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1817 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
1818 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1819 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1821 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
1822 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
1823 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1825 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
1826 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1828 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1830 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1831 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1832 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1835 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
1836 (openat_not_cancel_3): Likewise.
1837 (openat64_not_cancel_3): Likewise).
1838 (openat_not_cancel_3): Likewise).
1839 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
1841 (openat_not_cancel_3): Likewise.
1842 (openat64_not_cancel): Likewise.
1843 (openat64_not_cancel_3): Likewise.
1844 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
1845 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
1846 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
1847 __open{64}_nocancel.
1848 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1849 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1850 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1852 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1855 * include/argz.h (__argz_create_sep): New function prototype.
1856 (__argz_append): Likewise.
1857 (__argz_add): Likewise.
1858 (__argz_add_sep): Likewise.
1859 (__argz_delete): Likewise.
1860 (__argz_insert): Likewise.
1861 (__argz_replace): Likewise.
1862 * string/argz.h (__argz_create_sep): Removed.
1863 (__argz_append): Likewise.
1864 (__argz_add): Likewise.
1865 (__argz_add_sep): Likewise.
1866 (__argz_delete): Likewise.
1867 (__argz_insert): Likewise.
1868 (__argz_replace): Likewise.
1870 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1872 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
1873 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
1874 (GNU_PROPERTY_STACK_SIZE): Likewie.
1875 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
1876 (GNU_PROPERTY_LOPROC): Likewise.
1877 (GNU_PROPERTY_HIPROC): Likewise.
1878 (GNU_PROPERTY_LOUSER): Likewise.
1879 (GNU_PROPERTY_HIUSER): Likewise.
1880 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
1881 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
1882 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
1883 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
1884 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
1885 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
1886 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
1887 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
1888 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
1889 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
1890 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
1891 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
1892 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
1893 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
1894 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
1895 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
1896 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
1897 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
1898 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
1899 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
1900 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
1901 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
1902 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
1904 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1906 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
1909 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1912 * math/math.h (isinf): Check if in C or C++ mode before using
1913 __builtin_types_compatible_p, since this is a C mode feature.
1915 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1917 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
1918 (__write_nocancel): New macro.
1919 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
1920 Rewrite as a function prototype.
1921 (write_not_cancel): Remove macro.
1922 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
1923 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
1924 (write_gmon): Likewise.
1925 * libio/fileops.c (_IO_new_file_write): Likewise.
1926 * login/utmp_file.c (pututline_file): Likewise.
1927 (updwtmp_file): Likewise.
1928 * stdio-common/psiginfo.c (psiginfo): Likewise.
1929 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1930 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1931 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1933 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1936 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
1937 (__read_nocancel): New macro.
1938 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1940 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
1942 (__read_nocancel): New prototype.
1943 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
1944 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
1945 with __read_nocancel.
1946 * intl/loadmsgcat.c (read): Likewise.
1947 * libio/fileops.c (_IO_file_read): Likewise.
1948 * locale/loadlocale.c (_nl_load_locale): Likewise.
1949 * login/utmp_file.c (getutent_r_file): Likewise.
1950 (internal_getut_r): Likewise.
1951 (getutline_r_file): Likewise.
1952 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1953 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1954 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1957 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
1958 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1959 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1961 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1963 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1965 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1967 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1969 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1972 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
1973 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
1976 2017-08-17 DJ Delorie <dj@redhat.com>
1978 * bug17079.c: Update to new test harness.
1979 * test-digits-dots.c: Likewise.
1980 * test-netdb.c: Likewise.
1981 * tst-field.c: Likewise.
1982 * tst-nss-getpwent.c: Likewise.
1983 * tst-nss-static.c: Likewise.
1984 * tst-nss-test1.c: Likewise.
1985 * tst-nss-test2.c: Likewise.
1986 * tst-nss-test3.c: Likewise.
1987 * tst-nss-test4.c: Likewise.
1988 * tst-nss-test5.c: Likewise.
1990 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1992 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
1993 (open_not_cancel_2): Likewise.
1994 (open_nocancel): New macro.
1995 (open64_nocancel): Likewise.
1996 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
1997 (open_not_cancel_2): Likewise.
1998 (__open_nocancel): New prototype.
1999 (__open64_nocancel): Likewise.
2000 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
2002 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
2003 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
2004 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
2005 with __open_nocancel.
2006 * csu/check_fds.c (check_one_fd): Likewise.
2007 * gmon/gmon.c (write_gmon): Likewise.
2008 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
2009 * intl/loadmsgcat.c (open): Likewise.
2010 * libio/fileops.c (_IO_file_open): Likewise.
2011 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2012 * locale/loadlocale.c (_nl_load_locale): Likewise.
2013 * login/utmp_file.c (setutent_file): Likewise.
2014 * misc/daemon.c (daemon): Likewise.
2015 * nss/nss_db/db-open.c (internal_setent): Likewise.
2016 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2017 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
2018 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
2019 (__opendir): Likewise.
2020 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2021 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
2022 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
2023 (gethostid): Likewise.
2024 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
2025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2028 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
2029 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
2030 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
2032 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
2034 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
2036 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2038 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2040 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2042 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2043 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
2045 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
2047 * benchtests/bench-skeleton.c (main): Add support for
2048 latency benchmarking.
2049 * benchtests/scripts/bench.py: Add support for latency benchmarking.
2051 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
2053 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
2056 2017-08-17 Florian Weimer <fweimer@redhat.com>
2058 * include/sys/socket.h (__opensock): Remove internal_function.
2059 * socket/opensock.c (__opensock): Likewise.
2060 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
2062 2017-08-16 Joseph Myers <joseph@codesourcery.com>
2065 * signal/bits/types/__sigval_t.h: New file.
2066 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
2067 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
2068 and define sigval_t using __sigval_t.
2069 * include/bits/types/__sigval_t.h: New file.
2070 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
2071 instead of <bits/types/__sigval_t.h>.
2072 (struct sigevent): Use __sigval_t instead of sigval_t.
2073 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
2074 instead of <bits/types/__sigval_t.h>.
2075 (siginfo_t): Use __sigval_t instead of sigval_t.
2076 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
2077 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2078 (struct sigevent): Use __sigval_t instead of sigval_t.
2079 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
2080 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
2081 (siginfo_t): Use __sigval_t instead of sigval_t.
2082 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
2084 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2086 * NEWS: Remove "[Add new features here]" for 2.27.
2088 2017-08-16 Joseph Myers <joseph@codesourcery.com>
2090 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
2093 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2095 * NEWS: Mention x86-64 FMA optimization.
2097 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
2100 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2102 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
2103 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
2104 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
2106 2017-08-16 Andreas Schwab <schwab@suse.de>
2110 * elf/ldd.bash.in: Never run file directly.
2112 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
2115 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
2116 (L(SP_INF_0)): Likewise.
2118 2017-08-15 Florian Weimer <fweimer@redhat.com>
2120 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
2123 2017-08-15 Florian Weimer <fweimer@redhat.com>
2125 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
2126 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
2127 BROKEN_THREAD_SIGNALS code.
2128 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
2129 request_list): Remove caller_pid member used for
2130 BROKEN_THREAD_SIGNALS.
2131 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
2132 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2133 Remove BROKEN_THREAD_SIGNALS support.
2134 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2135 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
2137 2017-08-15 Florian Weimer <fweimer@redhat.com>
2139 * gmon/Makefile (tests): Add tst-gmon.
2140 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
2142 (tests-special): Add tst-gmon-prof.out.
2143 (tst-gmon.out): Depend on clean-tst-gmon-data.
2144 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
2145 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
2146 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
2148 * aclocal.m4 (GPROF): Set and substitute.
2149 * config.amke.in (GPROF): Set.
2150 * configure: Regenerate.
2152 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
2154 * elf/elf.h A (NT_PPC_TAR): New macro.
2155 (NT_PPC_PPR): Likewise.
2156 (NT_PPC_DSCR): Likewise.
2157 (NT_PPC_EBB): Likewise.
2158 (NT_PPC_PMU): Likewise.
2159 (NT_PPC_TM_CGPR): Likewise.
2160 (NT_PPC_TM_CFPR): Likewise.
2161 (NT_PPC_TM_CVMX): Likewise.
2162 (NT_PPC_TM_CVSX): Likewise.
2163 (NT_PPC_TM_SPR): Likewise.
2164 (NT_PPC_TM_CTAR): Likewise.
2165 (NT_PPC_TM_CPPR): Likewise.
2166 (NT_PPC_TM_CDSCR): Likewise.
2168 2017-08-15 Florian Weimer <fweimer@redhat.com>
2170 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
2171 regparm (2) instead of internal_function.
2172 (_MCOUNT_DECL): Adjust.
2174 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2176 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
2177 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2179 2017-08-14 Joseph Myers <joseph@codesourcery.com>
2181 * conform/data/sys/wait.h-data (si_value): Do not expect for
2184 2017-08-14 Florian Weimer <fweimer@redhat.com>
2187 NSS: Create stubs for accidentally exported lookup functions.
2188 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
2190 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
2191 (ether_hostton): Call __nss_ethers_lookup2 instead.
2192 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
2193 (ether_ntohost): Call __nss_ethers_lookup2 instead.
2194 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
2195 (setup): Call __nss_netgroup_lookup2 instead.
2196 * nss/Makefile (routines): Add compat-lookup.
2197 * nss/Versions (GLIBC_2.27): Add symbol version.
2198 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
2199 (DB_COMPAT_FCT): Remove.
2200 * nss/compat-lookup.c: New file.
2201 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
2203 * nss/service-lookup.c (NO_COMPAT): Remove definition.
2204 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
2205 (netname2user): Call __nss_publickey_lookup2 instead.
2206 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
2207 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
2210 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2211 Sergei Trofimovich <slyfox@inbox.ru>
2214 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
2215 Rename to MMAP2_PAGE_UNIT.
2216 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
2217 __OFF_T_MATCHES_OFF64_T is not defined.
2218 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
2220 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
2221 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
2223 2017-08-14 Florian Weimer <fweimer@redhat.com>
2225 i386: Do not set internal_function.
2226 * config.h.in (USE_REGPARMS, internal_function): Remove.
2227 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
2228 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
2230 2017-08-14 Florian Weimer <fweimer@redhat.com>
2232 * elf/dl-init.c (_dl_init): Remove internal_function.
2233 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
2234 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
2236 2017-08-14 Florian Weimer <fweimer@redhat.com>
2238 * elf/rtld.c (_dl_start): Remove internal_function.
2239 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
2242 2017-08-14 Florian Weimer <fweimer@redhat.com>
2244 * elf/dl-fini.c (_dl_fini): Remove internal_function
2245 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2247 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
2249 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
2250 (bit_cpu_SHSTK): Likewise.
2251 (index_cpu_IBT): Likewise.
2252 (index_cpu_SHSTK): Likewise.
2253 (reg_IBT): Likewise.
2254 (reg_SHSTK): Likewise.
2255 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2256 Handle index_cpu_IBT and index_cpu_SHSTK.
2258 2017-08-14 Mike FABIAN <mfabian@redhat.com>
2261 * po/fr.po: Fix spelling mistake.
2263 2017-08-13 Florian Weimer <fweimer@redhat.com>
2265 * elf/dl-addr.c (_dl_addr): Remove internal_function.
2266 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
2267 (_dl_catch_error, _dl_receive_error): Likewise.
2268 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
2269 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
2270 (_dl_deallocate_tls): Likewise.
2271 * include/dlfcn.h (_dl_addr): Likewise.
2272 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
2273 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
2274 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
2277 2017-08-13 Florian Weimer <fweimer@redhat.com>
2279 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
2280 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
2282 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
2284 2017-08-13 Florian Weimer <fweimer@redhat.com>
2286 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
2288 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
2289 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
2290 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
2291 internal_function from _dl_make_stack_executable_hook member.
2292 (_dl_make_stack_executable): Remove internal_function.
2293 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
2295 * sysdeps/unix/sysv/linux/dl-execstack.c
2296 (_dl_make_stack_executable): Likewise.
2298 2017-08-13 Florian Weimer <fweimer@redhat.com>
2300 * sysdeps/unix/sysv/linux/netlinkaccess.h
2301 (__netlink_assert_response): Remove internal_function.
2302 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2303 (__netlink_assert_response): Likewise.
2305 2017-08-13 Florian Weimer <fweimer@redhat.com>
2307 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
2309 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
2311 2017-08-13 Florian Weimer <fweimer@redhat.com>
2313 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
2315 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
2316 * inet/netgroup.h (__internal_setnetgrent)
2317 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2318 * inet/getnetgrent_r.c (__internal_setnetgrent)
2319 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2320 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
2321 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
2322 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
2323 * nss/nsswitch.h (db_lookup_function): Likewise.
2325 2017-08-13 Florian Weimer <fweimer@redhat.com>
2327 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
2328 Remove internal_function.
2329 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
2330 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
2331 message argument on the stack.
2332 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
2335 2017-08-12 Mike FABIAN <mfabian@redhat.com>
2337 Adapt test case data to the changes in the thousands
2341 * localedata/tst-langinfo.sh: Adapt test case data.
2342 * stdlib/tst-strfmon_l.c: Likewise.
2343 * stdlib/tst-strtod4.c: Likewise.
2344 * stdlib/tst-strtod5i.c: Likewise.
2346 2017-08-11 Florian Weimer <fweimer@redhat.com>
2349 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
2350 Suppress pedantic warning resulting from statement expression.
2351 (__ASSERT_FUNCTION): Add missing __extension__.
2353 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2355 * benchtests/bench-memmove-large.c: Print output in JSON
2357 * benchtests/bench-memmove.c: Likewise.
2359 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
2360 * benchtests/bench-memchr.c (do_one_test): Likewise.
2361 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
2362 * benchtests/bench-memcpy.c (do_one_test): Likewise.
2363 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
2364 * benchtests/bench-memmove.c (do_one_test): Likewise.
2365 * benchtests/bench-memset-large.c (do_one_test): Likewise.
2366 * benchtests/bench-memset.c (do_one_test): Likewise.
2367 * benchtests/bench-string.h (test_init): Remove memsets.
2369 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
2372 (Computing the Width of an Integer Data Type): Rename section to
2373 "Width of an Integer Type". Remove inaccurate statement regarding
2374 lack of C language facilities for determining width of integer
2375 types, and reorder content to improve flow and context of
2378 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
2380 * lang.texi (va_copy): Change standard from ISO to C99.
2381 (__va_copy): Add standard and header annotation.
2382 Update description for clarity of origins and current use.
2384 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2387 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
2388 xssqrtqp requires operands to be in Vector Registers
2389 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
2390 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
2391 (__ieee754_sqrtf128): Likewise.
2393 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
2395 * sysdeps/aarch64/memcmp.S (memcmp):
2396 Rewrite of optimized memcmp.
2398 2017-08-10 Florian Weimer <fweimer@redhat.com>
2400 Introduce ld.so exceptions.
2401 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
2402 (_dl_exception_create, _dl_exception_create_format)
2403 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
2404 (_dl_catch_exception): Declare.
2405 (_dl_catch_error): Update comment.
2406 * elf/dl-error-skeleton.c (struct catch): Replace objname,
2407 errstring, malloced members with exception member.
2408 (_dl_out_of_memory): Remove.
2409 (fatal_error): New function, extracted from _dl_signal_error.
2410 (_dl_signal_exception, _dl_signal_cexception): New functions.
2411 (_dl_signal_error): Call _dl_exception_create to allocate an
2413 (_dl_catch_exception): New function, based on _dl_catch_error.
2414 (_dl_catch_error): Implement using _dl_catch_exception.
2415 * elf/dl-exception.c: New file.
2416 * elf/Makefile (dl-routines): Add dl-exception.
2417 (elide-routines.os): Likewise.
2418 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
2419 _dl_exception_create_format, _dl_exception_free.
2420 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
2421 _dl_signal_exception.
2422 * elf/dl-lookup.c (make_string): Remove.
2423 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
2424 _dl_signal_cexception, _dl_exception_free.
2425 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
2426 _dl_signal_exception.
2427 * elf/dl-sym.c (do_sym): Likewise.
2428 * elf/dl-version.c (make_string): Remove.
2429 (match_symbol): Use _dl_exception_create_format,
2430 _dl_signal_cexception, _dl_exception_free.
2431 (_dl_check_map_versions): Likewise.
2432 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
2433 _dl_catch_exception.
2434 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2435 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2436 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2437 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2438 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2439 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2440 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2441 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2443 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2450 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2451 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2454 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2456 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2458 2017-08-10 Florian Weimer <fweimer@redhat.com>
2460 * inet/net-internal.h (__inet6_scopeid_pton): Remove
2461 attribute_hidden, internal_function.
2462 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
2465 2017-08-10 Florian Weimer <fweimer@redhat.com>
2467 * malloc/malloc.c (get_max_fast): Reimplement as an inline
2468 function which calls __builtin_unreachable.
2470 2017-08-10 Mike FABIAN <mfabian@redhat.com>
2472 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
2473 Indian monetary formatting
2474 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
2477 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
2479 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
2480 Fix typo in comment.
2483 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
2484 PTRACE_SEIZE_DEVEL): Remove.
2485 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
2486 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2491 2017-08-09 Joseph Myers <joseph@codesourcery.com>
2493 * posix/bits/types.h (__qaddr_t): Remove.
2496 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
2497 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2499 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
2500 (ucontext_t): Use __ctx with uc_flags.
2501 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
2503 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2505 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
2506 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2508 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
2509 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2511 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
2513 (ucontext_t): Use __ctx with uc_flags.
2514 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
2515 (ucontext_t): Use __ctx with uc_flags.
2516 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
2517 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
2518 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
2519 (ucontext_t): Use __ctx with uc_flags.
2520 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
2521 undefine further down.
2522 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2524 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
2525 undefine further down.
2526 (ucontext_t): Use __ctx with uc_flags.
2527 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
2528 undefine further down.
2529 (ucontext_t): Use __ctx with uc_flags.
2530 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
2531 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
2532 Rename uc_pad to __glibc_reserved1.
2533 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
2534 undefine further down.
2535 (ucontext_t): Use __ctx with uc_flags.
2536 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
2538 (ucontext_t): Use __ctx with uc_flags.
2539 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
2540 __ctx with uc_flags.
2541 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
2542 (ucontext_t): Use __ctx with uc_flags.
2543 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
2544 __ctx with uc_flags.
2546 2017-08-09 Florian Weimer <fweimer@redhat.com>
2549 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
2550 before early return.
2552 2017-08-09 Andreas Schwab <schwab@suse.de>
2555 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
2559 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
2560 tst-compat-forwarder.
2561 (modules-names): Add tst-compat-forwarder-mod.
2562 ($(objpfx)tst-compat-forwarder): Depend on
2563 $(objpfx)tst-compat-forwarder-mod.so.
2564 * nptl/tst-compat-forwarder.c: New file.
2565 * nptl/tst-compat-forwarder-mod.c: New file.
2567 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2569 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
2572 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
2573 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
2575 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
2577 (__libc_ifunc_impl_list): Add __memcpy_falkor.
2578 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2579 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
2580 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2582 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
2585 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2588 * manual/setjmp.texi (getcontex): Document uc_stack value
2589 compatibility differences.
2591 2017-08-08 Joseph Myers <joseph@codesourcery.com>
2593 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
2594 (old_malloc_hook): Likewise.
2595 (old_memalign_hook): Likewise.
2596 (old_realloc_hook): Likewise.
2597 (struct hdr): Likewise.
2599 (freehook): Likewise.
2600 (mallochook): Likewise.
2601 (memalignhook): Likewise.
2602 (reallochook): Likewise.
2604 * malloc/mtrace.c (mallwatch): Likewise.
2605 (tr_old_free_hook): Likewise.
2606 (tr_old_malloc_hook): Likewise.
2607 (tr_old_realloc_hook): Likewise.
2608 (tr_old_memalign_hook): Likewise.
2609 (tr_where): Likewise.
2610 (lock_and_info): Likewise.
2611 (tr_freehook): Likewise.
2612 (tr_mallochook): Likewise.
2613 (tr_reallochook): Likewise.
2614 (tr_memalignhook): Likewise.
2615 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
2616 * misc/mmap.c (__mmap): Likewise.
2617 * misc/mmap64.c (__mmap64): Likewise.
2618 * misc/mprotect.c (__mprotect): Likewise.
2619 * misc/msync.c (msync): Likewise.
2620 * misc/munmap.c (__munmap): Likewise.
2621 * posix/posix_madvise.c (posix_madvise): Likewise.
2622 * socket/send.c (__send): Likewise.
2623 * socket/sendto.c (__sendto): Likewise.
2624 * socket/setsockopt.c (__setsockopt): Likewise.
2625 * string/memcmp.c (__ptr_t): Remove macro.
2626 (MEMCMP): Use void * instead of ptr_t.
2627 * string/memrchr.c (__ptr_t): Remove macro.
2628 (__memrchr): Use void * instead of ptr_t.
2629 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
2630 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2631 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
2632 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
2633 * sysdeps/mach/msync.c (msync): Likewise.
2634 * sysdeps/mach/munmap.c (__munmap): Likewise.
2635 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
2637 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2638 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
2639 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
2640 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
2641 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2642 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2643 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
2644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
2646 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2647 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
2648 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
2649 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
2650 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
2651 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
2652 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
2653 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
2654 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
2656 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
2657 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
2658 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
2659 (MEMCMP): Use void * instead of ptr_t.
2660 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
2661 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
2663 2017-08-08 Florian Weimer <fweimer@redhat.com>
2665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
2668 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
2671 * csu/libc-tls.c: Include <startup.h> first.
2672 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
2673 * elf/dl-tunables.c: Include <startup.h> first.
2674 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
2675 * sysdeps/generic/startup.h: New file.
2676 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
2677 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
2678 (I386_USE_SYSENTER): New. Defined to 0.
2680 2017-08-08 Andreas Schwab <schwab@suse.de>
2683 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
2684 * nptl/pt-system.c (system): Likewise.
2686 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2689 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
2691 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2692 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2693 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
2694 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2695 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2696 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2697 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2699 2017-08-07 Joseph Myers <joseph@codesourcery.com>
2702 * bits/sigaction.h (struct sigaction): Define sa_handler and
2703 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
2704 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2705 [__USE_XOPEN_EXTENDED].
2706 (SA_RESTART): Likewise.
2707 (SA_NODEFER): Likewise.
2708 (SA_RESETHAND): Likewise.
2709 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
2710 (struct sigaction): Define sa_handler and sa_sigaction using union
2711 also for [__USE_XOPEN_EXTENDED].
2712 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2713 [__USE_XOPEN_EXTENDED].
2714 (SA_RESTART): Likewise.
2715 (SA_NODEFER): Likewise.
2716 (SA_RESETHAND): Likewise.
2717 * sysdeps/unix/sysv/linux/bits/sigaction.h
2718 (struct sigaction): Define sa_handler and sa_sigaction using union
2719 also for [__USE_XOPEN_EXTENDED].
2720 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2721 [__USE_XOPEN_EXTENDED].
2722 (SA_RESTART): Likewise.
2723 (SA_NODEFER): Likewise.
2724 (SA_RESETHAND): Likewise.
2725 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
2726 (struct sigaction): Define sa_handler and sa_sigaction using union
2727 also for [__USE_XOPEN_EXTENDED].
2728 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2729 [__USE_XOPEN_EXTENDED].
2730 (SA_RESTART): Likewise.
2731 (SA_NODEFER): Likewise.
2732 (SA_RESETHAND): Likewise.
2733 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
2734 (struct sigaction): Define sa_handler and sa_sigaction using union
2735 also for [__USE_XOPEN_EXTENDED].
2736 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2737 [__USE_XOPEN_EXTENDED].
2738 (SA_RESTART): Likewise.
2739 (SA_NODEFER): Likewise.
2740 (SA_RESETHAND): Likewise.
2741 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2742 (struct sigaction): Define sa_handler and sa_sigaction using union
2743 also for [__USE_XOPEN_EXTENDED].
2744 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2745 [__USE_XOPEN_EXTENDED].
2746 (SA_RESTART): Likewise.
2747 (SA_NODEFER): Likewise.
2748 (SA_RESETHAND): Likewise.
2749 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2750 (struct sigaction): Define sa_handler and sa_sigaction using union
2751 also for [__USE_XOPEN_EXTENDED].
2752 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2753 [__USE_XOPEN_EXTENDED].
2754 (SA_RESTART): Likewise.
2755 (SA_NODEFER): Likewise.
2756 (SA_RESETHAND): Likewise.
2757 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2758 (struct sigaction): Define sa_handler and sa_sigaction using union
2759 also for [__USE_XOPEN_EXTENDED].
2760 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2761 [__USE_XOPEN_EXTENDED].
2762 (SA_RESTART): Likewise.
2763 (SA_NODEFER): Likewise. Define directly rather than as alias.
2764 (SA_RESETHAND): Likewise.
2765 (SA_INTERRUPT): Define only for [__USE_MISC].
2766 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
2767 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
2769 (SA_STACK): Define only for [__USE_MISC].
2770 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
2771 (struct sigaction): Define sa_handler and sa_sigaction using union
2772 also for [__USE_XOPEN_EXTENDED].
2773 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2774 [__USE_XOPEN_EXTENDED].
2775 (SA_RESTART): Likewise.
2776 (SA_NODEFER): Likewise.
2777 (SA_RESETHAND): Likewise.
2778 (SA_NOPTRACE): Define only for [__USE_MISC].
2780 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
2781 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
2782 (struct catalog_info): Likewise.
2783 * inet/htontest.c (lo): Likewise.
2785 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2786 * inet/inet_net.c (inet_network): Likewise.
2787 * inet/inet_netof.c (inet_netof): Likewise.
2788 * inet/rcmd.c (__ivaliduser): Likewise.
2789 (iruserok): Likewise.
2790 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
2791 * locale/programs/locale-spec.c (locale_special): Likewise.
2792 * nis/nis_findserv.c (struct findserv_req): Likewise.
2793 (__nis_findfastest_with_timeout): Likewise.
2794 * nss/test-netdb.c (test_network): Likewise.
2795 * resolv/inet_neta.c (inet_neta): Likewise.
2796 * resolv/ns_date.c (ns_datetosecs): Likewise.
2797 (SECS_PER_DAY): Likewise.
2798 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
2800 * resolv/res_comp.c (__putlong): Likewise.
2801 (__putshort): Likewise.
2802 (_getlong): Likewise.
2803 (_getshort): Likewise.
2804 * resolv/res_debug.c (p_time): Likewise.
2805 (precsize_ntoa): Likewise.
2806 (precsize_aton): Likewise.
2807 (latlon2ul): Likewise.
2808 (loc_aton): Likewise.
2809 (loc_ntoa): Likewise.
2810 * resolv/res_hconf.c (struct netaddr): Likewise.
2811 (_res_hconf_reorder_addrs): Likewise.
2812 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2813 (clnttcp_control): Likewise.
2814 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2815 (clntudp_control): Likewise.
2816 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2817 (clntunix_control): Likewise.
2818 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2819 * sunrpc/rpc/auth.h (union des_block): Likewise.
2820 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
2821 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
2822 (xdrrec_create): Likewise.
2823 (xdrrec_endofrecord): Likewise.
2824 (flush_out): Likewise.
2825 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
2826 (xdrstdio_putlong): Likewise.
2827 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
2830 * misc/sys/cdefs.h (__long_double_t): Remove.
2831 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
2832 instead of __long_double_t,
2833 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
2835 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2837 * benchtests/scripts/compare_strings.py: Avoid display error when
2838 running on a text terminal.
2840 * benchtests/scripts/compare_strings.py (main): Add an
2841 optional -base option.
2842 (process_results): New argument base_func.
2844 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
2846 * benchtests/bench-memcpy-large.c (test_name): Likewise.
2847 * benchtests/bench-memcpy-random.c (test_name): Likewise.
2849 2017-08-07 Andreas Schwab <schwab@suse.de>
2851 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
2852 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2853 * intl/Makefile ($(objpfx)tst-gettext.out)
2854 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
2855 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
2856 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2858 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
2859 * posix/Makefile ($(objpfx)globtest.out)
2860 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
2861 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
2862 ($(objpfx)tst-printf.out): Likewise.
2863 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
2864 ($(objpfx)tst-setcontext3.out): Likewise.
2866 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
2868 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2869 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
2870 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
2871 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
2872 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
2874 (CFLAGS-doasin-fma.c): New.
2875 (CFLAGS-dosincos-fma.c): Likewise.
2876 (CFLAGS-e_asin-fma.c): Likewise.
2877 (CFLAGS-e_atan2-fma.c): Likewise.
2878 (CFLAGS-e_exp-fma.c): Likewise.
2879 (CFLAGS-e_log-fma.c): Likewise.
2880 (CFLAGS-e_pow-fma.c): Likewise.
2881 (CFLAGS-halfulp-fma.c): Likewise.
2882 (CFLAGS-mpa-fma.c): Likewise.
2883 (CFLAGS-mpatan-fma.c): Likewise.
2884 (CFLAGS-mpatan2-fma.c): Likewise.
2885 (CFLAGS-mpexp-fma.c): Likewise.
2886 (CFLAGS-mplog-fma.c): Likewise.
2887 (CFLAGS-mpsqrt-fma.c): Likewise.
2888 (CFLAGS-mptan-fma.c): Likewise.
2889 (CFLAGS-s_atan-fma.c): Likewise.
2890 (CFLAGS-sincos32-fma.c): Likewise.
2891 (CFLAGS-slowexp-fma.c): Likewise.
2892 (CFLAGS-slowpow-fma.c): Likewise.
2893 (CFLAGS-s_sin-fma.c): Likewise.
2894 (CFLAGS-s_tan-fma.c): Likewise.
2895 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
2896 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
2900 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
2901 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
2902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
2903 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
2904 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
2905 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
2906 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
2907 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
2908 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
2909 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
2910 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
2911 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
2912 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
2913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
2914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
2915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
2916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
2917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
2918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
2919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2922 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2923 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2924 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2927 2017-08-04 Joseph Myers <joseph@codesourcery.com>
2929 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
2930 (min_of_type_f): New macro.
2931 (min_of_type_): Likewise.
2932 (min_of_type_l): Likewise.
2933 (min_of_type_f128): Likewise.
2934 (min_of_type): Define using __MATH_TG and taking an expression
2936 (math_check_force_underflow): Pass expression instead of type to
2938 (math_check_force_underflow_nonneg): Likewise.
2940 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2942 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2943 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
2944 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
2946 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2949 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
2950 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
2951 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
2952 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
2953 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
2954 memcpy_chk-nonshared, mempcpy_chk-nonshared,
2955 memmove_chk-nonshared and memset_chk-nonshared
2956 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
2957 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
2958 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
2959 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
2960 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
2961 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
2962 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
2963 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
2964 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
2965 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
2966 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
2967 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
2968 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
2969 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
2970 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
2971 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
2972 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
2973 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
2974 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
2975 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
2976 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
2977 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
2978 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
2979 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
2980 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
2981 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
2982 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
2983 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
2984 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
2985 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
2986 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
2987 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
2988 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
2989 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
2992 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
2994 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
2995 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
2996 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
2997 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
2998 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
2999 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
3000 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
3001 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
3002 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
3003 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
3004 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
3005 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
3006 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
3007 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
3008 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
3009 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
3010 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
3011 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
3012 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
3013 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
3014 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
3016 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
3018 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
3020 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
3021 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
3022 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
3023 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
3024 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
3025 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3026 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
3027 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3029 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3030 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3031 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3032 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3033 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3034 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3035 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3036 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3037 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3038 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3039 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3040 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3047 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3065 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3067 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
3068 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
3069 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
3070 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
3071 svml_d_log2_core-sse2, svml_d_log4_core-sse,
3072 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
3073 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
3074 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
3075 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
3076 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
3077 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
3078 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
3079 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
3080 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
3081 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
3082 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
3083 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
3084 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
3085 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
3086 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
3087 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
3088 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
3089 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
3090 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
3091 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
3092 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
3093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
3094 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
3095 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
3096 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
3097 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
3098 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
3099 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
3100 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
3101 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
3102 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
3103 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
3104 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
3105 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
3106 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
3107 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
3108 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
3109 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
3110 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
3111 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
3112 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
3113 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
3114 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
3115 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
3116 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
3117 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
3118 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
3119 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
3120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
3121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
3122 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
3123 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
3124 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
3125 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
3127 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
3128 Don't include <sysdep.h> nor <init-arch.h>.
3129 (_ZGVbN2v_cos): Removed.
3130 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
3132 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
3133 Don't include <sysdep.h> nor <init-arch.h>.
3134 (_ZGVdN4v_cos): Removed.
3135 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
3137 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
3138 Don't include <sysdep.h> nor <init-arch.h>.
3139 (_ZGVeN8v_cos): Removed.
3140 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
3142 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
3143 Don't include <sysdep.h> nor <init-arch.h>.
3144 (_ZGVbN2v_exp): Removed.
3145 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
3147 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
3148 Don't include <sysdep.h> nor <init-arch.h>.
3149 (_ZGVdN4v_exp): Removed.
3150 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
3152 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
3153 Don't include <sysdep.h> nor <init-arch.h>.
3154 (_ZGVeN8v_exp): Removed.
3155 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
3157 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
3158 Don't include <sysdep.h> nor <init-arch.h>.
3159 (_ZGVbN2v_log): Removed.
3160 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
3162 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
3163 Don't include <sysdep.h> nor <init-arch.h>.
3164 (_ZGVdN4v_log): Removed.
3165 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
3167 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
3168 Don't include <sysdep.h> nor <init-arch.h>.
3169 (_ZGVeN8v_log): Removed.
3170 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
3172 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
3173 Don't include <sysdep.h> nor <init-arch.h>.
3174 (_ZGVbN2vv_pow): Removed.
3175 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
3177 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
3178 Don't include <sysdep.h> nor <init-arch.h>.
3179 (_ZGVdN4vv_pow): Removed.
3180 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
3182 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
3183 Don't include <sysdep.h> nor <init-arch.h>.
3184 (_ZGVeN8vv_pow): Removed.
3185 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
3187 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
3188 Don't include <sysdep.h> nor <init-arch.h>.
3189 (_ZGVbN2v_sin): Removed.
3190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
3192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
3193 Don't include <sysdep.h> nor <init-arch.h>.
3194 (_ZGVbN4v_sin): Removed.
3195 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
3197 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
3198 Don't include <sysdep.h> nor <init-arch.h>.
3199 (_ZGVbN8v_sin): Removed.
3200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
3202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
3203 Don't include <sysdep.h> nor <init-arch.h>.
3204 (_ZGVbN2vvv_sincos): Removed.
3205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
3207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
3208 Don't include <sysdep.h> nor <init-arch.h>.
3209 (_ZGVdN4vvv_sincos): Removed.
3210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
3212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
3213 Don't include <sysdep.h> nor <init-arch.h>.
3214 (_ZGVeN8vvv_sincos): Removed.
3215 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
3217 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
3218 Don't include <sysdep.h> nor <init-arch.h>.
3219 (_ZGVeN16v_cosf): Removed.
3220 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
3222 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
3223 Don't include <sysdep.h> nor <init-arch.h>.
3224 (_ZGVbN4v_cosf): Removed.
3225 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
3227 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
3228 Don't include <sysdep.h> nor <init-arch.h>.
3229 (_ZGVdN8v_cosf): Removed.
3230 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
3232 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
3233 Don't include <sysdep.h> nor <init-arch.h>.
3234 (_ZGVeN16v_expf): Removed.
3235 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
3237 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
3238 Don't include <sysdep.h> nor <init-arch.h>.
3239 (_ZGVbN4v_expf): Removed.
3240 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
3242 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
3243 Don't include <sysdep.h> nor <init-arch.h>.
3244 (_ZGVdN8v_expf): Removed.
3245 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
3247 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
3248 Don't include <sysdep.h> nor <init-arch.h>.
3249 (_ZGVeN16v_logf): Removed.
3250 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
3252 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
3253 Don't include <sysdep.h> nor <init-arch.h>.
3254 (_ZGVbN4v_logf): Removed.
3255 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
3257 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
3258 Don't include <sysdep.h> nor <init-arch.h>.
3259 (_ZGVdN8v_logf): Removed.
3260 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
3262 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
3263 Don't include <sysdep.h> nor <init-arch.h>.
3264 (_ZGVeN16vv_powf): Removed.
3265 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
3267 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
3268 Don't include <sysdep.h> nor <init-arch.h>.
3269 (_ZGVbN4vv_powf): Removed.
3270 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
3272 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
3273 Don't include <sysdep.h> nor <init-arch.h>.
3274 (_ZGVdN8vv_powf): Removed.
3275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
3277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
3278 Don't include <sysdep.h> nor <init-arch.h>.
3279 (_ZGVeN16vvv_sincosf): Removed.
3280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
3282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
3283 Don't include <sysdep.h> nor <init-arch.h>.
3284 (_ZGVbN4vvv_sincosf): Removed.
3285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
3287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
3288 Don't include <sysdep.h> nor <init-arch.h>.
3289 (_ZGVdN8vvv_sincosf): Removed.
3290 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
3292 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
3293 Don't include <sysdep.h> nor <init-arch.h>.
3294 (_ZGVeN16v_sinf): Removed.
3295 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
3297 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
3298 Don't include <sysdep.h> nor <init-arch.h>.
3299 (_ZGVbN4v_sinf): Removed.
3300 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
3302 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
3303 Don't include <sysdep.h> nor <init-arch.h>.
3304 (_ZGVdN8v_sinf): Removed.
3306 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3308 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3309 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
3310 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
3311 s_rint-sse4_1 and s_rintf-sse4_1.
3312 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
3313 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3314 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3315 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3316 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3317 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
3318 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
3319 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3320 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3321 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
3322 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
3323 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3325 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
3326 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
3327 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3329 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
3330 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
3331 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3333 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
3334 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
3335 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3336 (__floorf): Removed.
3337 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
3338 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
3339 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3340 (__nearbyint): Removed.
3341 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
3342 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
3343 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3344 (__nearbyintf): Removed.
3345 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
3346 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
3347 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3349 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
3350 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
3351 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3354 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3356 * sysdeps/i386/start.S (_start): Check Check PIC instead of
3357 SHARED. Avoid dynamic relocation against main in static PIE.
3359 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3362 * elf/Makefile (CFLAGS-tst-prelink.c): New.
3363 (LDFLAGS-tst-prelink): Likewise.
3365 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3367 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
3368 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
3369 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
3370 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3371 (INTERNAL_SYSCALL_NCS): Likewise.
3372 (LOADARGS_1): Likewise.
3373 (LOADARGS_5): Likewise.
3374 (RESTOREARGS_1): Likewise.
3375 (RESTOREARGS_5): Likewise.
3377 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3379 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
3380 (MEMPCPY_SYMBOL): Likewise.
3381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3382 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
3383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
3385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3386 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3388 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
3389 (__hidden_ver1): Don't use in libc.a.
3390 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3391 (__mempcpy): Don't create a weak alias in libc.a.
3392 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
3394 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
3395 (__hidden_ver1): Don't use in libc.a.
3397 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3399 * config.make.in (have-insert): New.
3400 * configure.ac (libc_cv_insert): New. Set to yes if linker
3401 supports INSERT in linker script.
3402 (AC_SUBST(libc_cv_insert): New.
3403 * configure: Regenerated.
3404 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
3405 if $(have-insert) == yes.
3407 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3409 * elf/Makefile (tests): Add vismain only if
3410 $(have-protected-data) == yes.
3411 (tests-pie): Likewise.
3413 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3416 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3417 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
3419 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3422 * sysdeps/i386/i586/memset.S
3423 (__memset_zero_constant_len_parameter): Removed.
3424 * sysdeps/i386/i686/memset.S
3425 (__memset_zero_constant_len_parameter): Likewise.
3426 * sysdeps/i386/i686/multiarch/memset_chk.S
3427 (__memset_zero_constant_len_parameter): Likewise.
3428 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
3431 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3433 * stdlib/getentropy.c (getentropy): Change return type to int.
3435 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3437 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3439 2017-08-03 Joseph Myers <joseph@codesourcery.com>
3441 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
3443 * math/s_nexttowardf.c (__nexttowardf): Likewise.
3444 * sysdeps/generic/math_private.h (ieee_double_shape_type):
3446 (ieee_float_shape_type): Likewise.
3447 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
3448 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
3449 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3450 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3451 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3452 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
3453 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
3454 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3455 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3457 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3458 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3459 (__ieee754_yn): Likewise.
3460 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3461 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3462 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
3464 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3465 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
3466 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
3467 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
3469 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3470 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
3471 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
3472 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
3473 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
3474 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
3476 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3477 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
3478 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3479 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
3480 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3481 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
3482 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
3483 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
3484 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
3485 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3486 (__issignaling): Likewise.
3487 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
3488 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
3489 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3491 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3492 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3493 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
3494 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
3496 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
3498 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
3499 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
3500 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
3501 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3502 (__erfcf): Likewise.
3503 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3504 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3505 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
3506 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
3508 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
3509 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
3511 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3512 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
3513 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3514 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
3515 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
3516 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3517 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
3518 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
3520 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
3522 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3524 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
3525 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3527 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3529 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3530 (__ieee754_ynl): Likewise.
3531 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3532 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
3534 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
3536 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3537 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
3538 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3540 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3541 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
3542 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
3543 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
3544 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
3545 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3546 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
3547 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
3549 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3550 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
3551 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
3553 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
3554 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
3555 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3556 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3557 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
3558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3562 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3564 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3566 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
3567 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3568 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3569 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
3570 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3571 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
3574 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3579 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3580 (__ieee754_remainderl): Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3586 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3589 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3590 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
3591 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3592 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3593 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3594 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3596 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3597 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
3598 (__ieee754_y0l): Likewise.
3601 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3602 (__ieee754_y1l): Likewise.
3605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3606 (__ieee754_ynl): Likewise.
3607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3608 (__ieee754_lgammal_r): Likewise.
3609 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
3611 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3612 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
3613 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3614 (__erfcl): Likewise.
3615 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3616 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
3618 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
3619 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
3620 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3621 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
3622 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
3623 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3624 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3626 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
3627 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3628 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
3629 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
3630 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3632 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
3633 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
3635 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
3636 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
3637 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
3638 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3639 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
3641 2017-08-03 Florian Weimer <fweimer@redhat.com>
3644 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
3645 on memory allocation failure.
3647 2017-08-03 Alan Modra <amodra@gmail.com>
3649 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
3650 tst-tlsopt-powerpc.c with function name change and no test harness.
3651 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
3652 Call tls_get_addr_opt_test.
3653 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
3654 (modules-names): Add mod-tlsopt-powerpc.
3655 (mod-tlsopt-powerpc.so-no-z-defs): Define.
3656 (tst-tlsopt-powerpc): Depend on .so.
3657 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
3658 define. Expand use in TLS_GD and TLS_LD.
3660 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3662 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
3664 * sysdeps/posix/shm_open.c: Include <pthread.h>.
3666 2017-08-02 Joseph Myers <joseph@codesourcery.com>
3669 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
3670 comparing size with that of double.
3671 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3672 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3673 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3674 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3675 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3676 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
3677 unsigned __int128 types.
3679 2017-08-02 Steve Ellcey <sellcey@cavium.com>
3681 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
3682 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
3683 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
3684 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
3685 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
3687 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3689 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
3691 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3693 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
3695 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3703 2017-08-02 Joseph Myers <joseph@codesourcery.com>
3706 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
3707 bit-field expressions passed to sizeof or typeof.
3708 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3709 (__TGMATH_F128): Likewise.
3710 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3711 (__TGMATH_CF128): Likewise.
3712 (__TGMATH_UNARY_REAL_ONLY): Likewise.
3713 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
3714 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
3715 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
3716 (__TGMATH_BINARY_REAL_ONLY): Likewise.
3717 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3718 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3719 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3720 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3721 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
3722 (__TGMATH_UNARY_REAL_IMAG): Likewise.
3723 (__TGMATH_UNARY_IMAG): Likewise.
3724 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
3725 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3726 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
3728 (define_vars_for_type): Handle bit_field type specially.
3729 (Tests.__init__): Declare structure with bit-field element.
3731 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3734 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
3735 (MEMCPY_CHK): Define only if SHARED is defined.
3736 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
3738 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
3741 See ChangeLog.18 for earlier changes.