No functional change.
gas/
* sframe-opt.c (sframe_convert_frag): Use SFRAME_V2_
prefixed macro instead.
libsframe/
* sframe-dump.c (dump_sframe_func_with_fres): Likewise.
* sframe.c (sframe_get_fre_type): Likewise.
(sframe_get_fde_type): Likewise.
(sframe_fde_create_func_info): Likewise.
the fre_type. */
dataS = exp->X_add_symbol;
rest_of_data = (symbol_get_value_expression(dataS))->X_add_number;
- fde_type = SFRAME_V1_FUNC_FDE_TYPE (rest_of_data);
- pauth_key = SFRAME_V1_FUNC_PAUTH_KEY (rest_of_data);
+ fde_type = SFRAME_V2_FUNC_FDE_TYPE (rest_of_data);
+ pauth_key = SFRAME_V2_FUNC_PAUTH_KEY (rest_of_data);
gas_assert (fde_type == SFRAME_FDE_TYPE_PCINC);
/* Calculate the applicable fre_type. */
fre_type = SFRAME_FRE_TYPE_ADDR4;
/* Create the new function info. */
- value = SFRAME_V1_FUNC_INFO (fde_type, fre_type);
- value = SFRAME_V1_FUNC_INFO_UPDATE_PAUTH_KEY (pauth_key, value);
+ value = SFRAME_V2_FUNC_INFO (fde_type, fre_type);
+ value = SFRAME_V2_FUNC_INFO_UPDATE_PAUTH_KEY (pauth_key, value);
frag->fr_literal[frag->fr_fix] = value;
}
/* Mark FDEs with [m] where the FRE start address is interpreted as a
mask. */
- int fde_type_addrmask_p = (SFRAME_V1_FUNC_FDE_TYPE (func_info)
+ int fde_type_addrmask_p = (SFRAME_V2_FUNC_FDE_TYPE (func_info)
== SFRAME_FDE_TYPE_PCMASK);
const char *fde_type_marker
= (fde_type_addrmask_p ? "[m]" : " ");
func_size);
if (is_sframe_abi_arch_aarch64 (sfd_ctx)
- && (SFRAME_V1_FUNC_PAUTH_KEY (func_info) == SFRAME_AARCH64_PAUTH_KEY_B))
+ && (SFRAME_V2_FUNC_PAUTH_KEY (func_info) == SFRAME_AARCH64_PAUTH_KEY_B))
printf (", pauth = B key");
char temp[100];
{
uint32_t fre_type = 0;
if (fdep)
- fre_type = SFRAME_V1_FUNC_FRE_TYPE (fdep->func_info);
+ fre_type = SFRAME_V2_FUNC_FRE_TYPE (fdep->func_info);
return fre_type;
}
{
uint32_t fde_type = 0;
if (fdep)
- fde_type = SFRAME_V1_FUNC_FDE_TYPE (fdep->func_info);
+ fde_type = SFRAME_V2_FUNC_FDE_TYPE (fdep->func_info);
return fde_type;
}
|| fre_type == SFRAME_FRE_TYPE_ADDR4);
sframe_assert (fde_type == SFRAME_FDE_TYPE_PCINC
|| fde_type == SFRAME_FDE_TYPE_PCMASK);
- func_info = SFRAME_V1_FUNC_INFO (fde_type, fre_type);
+ func_info = SFRAME_V2_FUNC_INFO (fde_type, fre_type);
return func_info;
}