File: gas-sframe-warn.diff

package info (click to toggle)
binutils 2.45-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 408,960 kB
  • sloc: ansic: 1,465,081; asm: 816,463; cpp: 87,135; exp: 79,234; makefile: 67,947; sh: 20,839; yacc: 14,149; lisp: 13,640; perl: 13,404; lex: 1,714; ada: 1,681; pascal: 1,446; cs: 879; python: 630; java: 478; sed: 191; xml: 95; awk: 25
file content (25 lines) | stat: -rw-r--r-- 1,027 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- 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;
     }