tree init_fn_id = get_identifier ("__init_cpu_features_resolver");
tree init_fn_decl = build_decl (UNKNOWN_LOCATION, FUNCTION_DECL,
init_fn_id, init_fn_type);
+ DECL_EXTERNAL (init_fn_decl) = 1;
+ TREE_PUBLIC (init_fn_decl) = 1;
+ DECL_VISIBILITY (init_fn_decl) = VISIBILITY_HIDDEN;
+ DECL_VISIBILITY_SPECIFIED (init_fn_decl) = 1;
tree arg1 = DECL_ARGUMENTS (dispatch_decl);
tree arg2 = TREE_CHAIN (arg1);
ifunc_cpu_init_stmt = gimple_build_call (init_fn_decl, 2, arg1, arg2);
get_identifier ("__aarch64_cpu_features"),
global_type);
DECL_EXTERNAL (global_var) = 1;
+ TREE_PUBLIC (global_var) = 1;
+ DECL_VISIBILITY (global_var) = VISIBILITY_HIDDEN;
+ DECL_VISIBILITY_SPECIFIED (global_var) = 1;
tree mask_var = create_tmp_var (long_long_unsigned_type_node);
tree component_expr = build3 (COMPONENT_REF, long_long_unsigned_type_node,