This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Xtensa] do not emit obsolete .frame directive


The Xtensa ".frame" assembly directive is obsolete and has been ignored by the assembler for a while. This patch changes GCC to stop emitting it. Committed on the mainline.

2006-11-17 Bob Wilson <bob.wilson@acm.org>

* config/xtensa/xtensa.md (entry): Do not emit .frame directive.

Index: config/xtensa/xtensa.md
===================================================================
--- config/xtensa/xtensa.md	(revision 118947)
+++ config/xtensa/xtensa.md	(working copy)
@@ -2101,13 +2101,7 @@
 			     (match_operand:SI 1 "const_int_operand" "i")]
 			    UNSPECV_ENTRY))]
   ""
-{
-  if (frame_pointer_needed)
-    output_asm_insn (".frame\ta7, %0", operands);
-  else
-    output_asm_insn (".frame\tsp, %0", operands);
-  return "entry\tsp, %1";
-}
+  "entry\tsp, %1"
   [(set_attr "type"	"move")
    (set_attr "mode"	"SI")
    (set_attr "length"	"3")])

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]