1
0
Files
binutils/debian/patches/gas-sframe-warn.diff
Konstantin Demin 341af4b343 sync with Debian
version: 2.45-6 (released to unstable)
commit: 76549fcba94044939c778ba49cec10dbf11e5d89
2025-09-07 17:44:02 +03:00

26 lines
1.0 KiB
Diff

--- a/gas/gen-sframe.c
+++ b/gas/gen-sframe.c
@@ -1022,9 +1022,11 @@ sframe_xlate_do_def_cfa (struct sframe_x
if (cfi_insn->u.ri.reg != SFRAME_CFA_SP_REG
&& cfi_insn->u.ri.reg != SFRAME_CFA_FP_REG)
{
+ /* Disabled for Debian/Ubuntu, shows up in autopkg tests:
as_warn (_("no SFrame FDE emitted; "
"non-SP/FP register %u in .cfi_def_cfa"),
cfi_insn->u.ri.reg);
+ */
return SFRAME_XLATE_ERR_NOTREPRESENTED; /* Not represented. */
}
sframe_fre_set_cfa_base_reg (cur_fre, cfi_insn->u.ri.reg);
@@ -1586,8 +1588,10 @@ sframe_xlate_do_cfi_escape (const struct
OS-specific CFI opcodes), skip inspecting the DWARF expression.
This may impact the asynchronicity due to loss of coverage.
Continue to warn the user and bail out. */
+ /* Disabled for Debian/Ubuntu, shows up in autopkg tests:
as_warn (_("no SFrame FDE emitted; .cfi_escape with op (%#lx)"),
(unsigned long)firstop);
+ */
err = SFRAME_XLATE_ERR_NOTREPRESENTED;
}