This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Xtensa] do not emit obsolete .frame directive
- From: Bob Wilson <bwilson at tensilica dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Nov 2006 14:56:55 -0800
- Subject: [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")])