@@ -981,7 +981,8 @@ sframe_xlate_do_def_cfa (struct sframe_xlate_ctx *xlate_ctx,
981
981
if (cfi_insn -> u .ri .reg != SFRAME_CFA_SP_REG
982
982
&& cfi_insn -> u .ri .reg != SFRAME_CFA_FP_REG )
983
983
{
984
- as_warn (_ ("skipping SFrame FDE; non-SP/FP register %u in .cfi_def_cfa" ),
984
+ as_warn (_ ("no SFrame FDE emitted; "
985
+ "non-SP/FP register %u in .cfi_def_cfa" ),
985
986
cfi_insn -> u .ri .reg );
986
987
return SFRAME_XLATE_ERR_NOTREPRESENTED ; /* Not represented. */
987
988
}
@@ -1010,7 +1011,7 @@ sframe_xlate_do_def_cfa_register (struct sframe_xlate_ctx *xlate_ctx,
1010
1011
if (cfi_insn -> u .r != SFRAME_CFA_SP_REG
1011
1012
&& cfi_insn -> u .r != SFRAME_CFA_FP_REG )
1012
1013
{
1013
- as_warn (_ ("skipping SFrame FDE; "
1014
+ as_warn (_ ("no SFrame FDE emitted ; "
1014
1015
"non-SP/FP register %u in .cfi_def_cfa_register" ),
1015
1016
cfi_insn -> u .r );
1016
1017
return SFRAME_XLATE_ERR_NOTREPRESENTED ; /* Not represented. */
@@ -1050,7 +1051,7 @@ sframe_xlate_do_def_cfa_offset (struct sframe_xlate_ctx *xlate_ctx,
1050
1051
{
1051
1052
/* No CFA base register in effect. Non-SP/FP CFA base register should
1052
1053
not occur, as sframe_xlate_do_def_cfa[_register] would detect this. */
1053
- as_warn (_ ("skipping SFrame FDE; "
1054
+ as_warn (_ ("no SFrame FDE emitted ; "
1054
1055
".cfi_def_cfa_offset without CFA base register in effect" ));
1055
1056
return SFRAME_XLATE_ERR_NOTREPRESENTED ;
1056
1057
}
@@ -1111,7 +1112,7 @@ sframe_xlate_do_val_offset (const struct sframe_xlate_ctx *xlate_ctx ATTRIBUTE_U
1111
1112
/* Ignore SP reg, if offset matches assumed default rule. */
1112
1113
|| (cfi_insn -> u .ri .reg == SFRAME_CFA_SP_REG && cfi_insn -> u .ri .offset != 0 ))
1113
1114
{
1114
- as_warn (_ ("skipping SFrame FDE; %s with %s reg %u" ),
1115
+ as_warn (_ ("no SFrame FDE emitted ; %s with %s reg %u" ),
1115
1116
cfi_esc_p ? ".cfi_escape DW_CFA_val_offset" : ".cfi_val_offset" ,
1116
1117
sframe_register_name (cfi_insn -> u .ri .reg ), cfi_insn -> u .ri .reg );
1117
1118
return SFRAME_XLATE_ERR_NOTREPRESENTED ; /* Not represented. */
@@ -1137,7 +1138,7 @@ sframe_xlate_do_register (struct sframe_xlate_ctx *xlate_ctx ATTRIBUTE_UNUSED,
1137
1138
/* Ignore SP reg, as it can be recovered from the CFA tracking info. */
1138
1139
)
1139
1140
{
1140
- as_warn (_ ("skipping SFrame FDE; %s register %u in .cfi_register" ),
1141
+ as_warn (_ ("no SFrame FDE emitted ; %s register %u in .cfi_register" ),
1141
1142
sframe_register_name (cfi_insn -> u .rr .reg1 ), cfi_insn -> u .rr .reg1 );
1142
1143
return SFRAME_XLATE_ERR_NOTREPRESENTED ; /* Not represented. */
1143
1144
}
@@ -1159,7 +1160,7 @@ sframe_xlate_do_remember_state (struct sframe_xlate_ctx *xlate_ctx)
1159
1160
info for the function involved. */
1160
1161
if (!last_fre )
1161
1162
{
1162
- as_warn (_ ("skipping SFrame FDE; "
1163
+ as_warn (_ ("no SFrame FDE emitted ; "
1163
1164
".cfi_remember_state without prior SFrame FRE state" ));
1164
1165
return SFRAME_XLATE_ERR_INVAL ;
1165
1166
}
@@ -1253,7 +1254,7 @@ static int
1253
1254
sframe_xlate_do_aarch64_negate_ra_state_with_pc (struct sframe_xlate_ctx * xlate_ctx ATTRIBUTE_UNUSED ,
1254
1255
struct cfi_insn_data * cfi_insn ATTRIBUTE_UNUSED )
1255
1256
{
1256
- as_warn (_ ("skipping SFrame FDE; .cfi_negate_ra_state_with_pc" ));
1257
+ as_warn (_ ("no SFrame FDE emitted ; .cfi_negate_ra_state_with_pc" ));
1257
1258
/* The used signing method should be encoded inside the FDE in SFrame v3.
1258
1259
For now, PAuth_LR extension is not supported with SFrame. */
1259
1260
return SFRAME_XLATE_ERR_NOTREPRESENTED ; /* Not represented. */
@@ -1280,7 +1281,7 @@ sframe_xlate_do_gnu_window_save (struct sframe_xlate_ctx *xlate_ctx,
1280
1281
|| abi_arch == SFRAME_ABI_AARCH64_ENDIAN_LITTLE )
1281
1282
return sframe_xlate_do_aarch64_negate_ra_state (xlate_ctx , cfi_insn );
1282
1283
1283
- as_warn (_ ("skipping SFrame FDE; .cfi_window_save" ));
1284
+ as_warn (_ ("no SFrame FDE emitted ; .cfi_window_save" ));
1284
1285
return SFRAME_XLATE_ERR_NOTREPRESENTED ; /* Not represented. */
1285
1286
}
1286
1287
@@ -1338,7 +1339,7 @@ sframe_xlate_do_escape_expr (const struct sframe_xlate_ctx *xlate_ctx,
1338
1339
|| (sframe_ra_tracking_p () && reg == SFRAME_CFA_RA_REG )
1339
1340
|| reg == xlate_ctx -> cur_fre -> cfa_base_reg )
1340
1341
{
1341
- as_warn (_ ("skipping SFrame FDE; "
1342
+ as_warn (_ ("no SFrame FDE emitted ; "
1342
1343
".cfi_escape DW_CFA_expression with %s reg %u" ),
1343
1344
sframe_register_name (reg ), reg );
1344
1345
err = SFRAME_XLATE_ERR_NOTREPRESENTED ;
@@ -1499,7 +1500,7 @@ sframe_xlate_do_cfi_escape (const struct sframe_xlate_ctx *xlate_ctx,
1499
1500
OS-specific CFI opcodes), skip inspecting the DWARF expression.
1500
1501
This may impact the asynchronicity due to loss of coverage.
1501
1502
Continue to warn the user and bail out. */
1502
- as_warn (_ ("skipping SFrame FDE; .cfi_escape with op (%#lx)" ),
1503
+ as_warn (_ ("no SFrame FDE emitted ; .cfi_escape with op (%#lx)" ),
1503
1504
(unsigned long )firstop );
1504
1505
err = SFRAME_XLATE_ERR_NOTREPRESENTED ;
1505
1506
}
@@ -1619,7 +1620,7 @@ sframe_do_cfi_insn (struct sframe_xlate_ctx *xlate_ctx,
1619
1620
1620
1621
if (!cfi_name )
1621
1622
cfi_name = _ ("(unknown)" );
1622
- as_warn (_ ("skipping SFrame FDE; CFI insn %s (%#x)" ),
1623
+ as_warn (_ ("no SFrame FDE emitted ; CFI insn %s (%#x)" ),
1623
1624
cfi_name , op );
1624
1625
err = SFRAME_XLATE_ERR_NOTREPRESENTED ;
1625
1626
}
@@ -1643,7 +1644,7 @@ sframe_do_fde (struct sframe_xlate_ctx *xlate_ctx,
1643
1644
/* SFrame format cannot represent a non-default DWARF return column reg. */
1644
1645
if (xlate_ctx -> dw_fde -> return_column != DWARF2_DEFAULT_RETURN_COLUMN )
1645
1646
{
1646
- as_warn (_ ("skipping SFrame FDE; non-default RA register %u" ),
1647
+ as_warn (_ ("no SFrame FDE emitted ; non-default RA register %u" ),
1647
1648
xlate_ctx -> dw_fde -> return_column );
1648
1649
return SFRAME_XLATE_ERR_NOTREPRESENTED ;
1649
1650
}
@@ -1686,7 +1687,7 @@ sframe_do_fde (struct sframe_xlate_ctx *xlate_ctx,
1686
1687
if (fre -> ra_loc != SFRAME_FRE_ELEM_LOC_STACK
1687
1688
&& fre -> bp_loc == SFRAME_FRE_ELEM_LOC_STACK )
1688
1689
{
1689
- as_warn (_ ("skipping SFrame FDE; FP without RA on stack" ));
1690
+ as_warn (_ ("no SFrame FDE emitted ; FP without RA on stack" ));
1690
1691
return SFRAME_XLATE_ERR_NOTREPRESENTED ;
1691
1692
}
1692
1693
}
0 commit comments