This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[csl-arm] Fix unwind hooks backport
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Jul 2004 15:14:02 +0100
- Subject: [csl-arm] Fix unwind hooks backport
- Organization: CodeSourcery
I managed to swap a couple of target hooks over when backporting my unwind
hooks patch to the csl-arm branch. Patch below fixes it.
Tested with cross-arm-none-elf, and applied to csl-arm-branch.
Paul
2004-07-19 Paul Brook <paul@codesourcery.com>
* target.h (struct gcc_target): Put unwind_emit in the right place.
Index: target.h
===================================================================
RCS file: /var/cvsroot/gcc-cvs/gcc/gcc/target.h,v
retrieving revision 1.67.2.7
diff -u -p -r1.67.2.7 target.h
--- target.h 15 Jul 2004 01:49:02 -0000 1.67.2.7
+++ target.h 19 Jul 2004 11:49:10 -0000
@@ -74,12 +74,12 @@ struct gcc_target
/* Output code that will globalize a label. */
void (* globalize_label) (FILE *, const char *);
- /* Emit any directives required to unwind this instruction. */
- void (* unwind_emit) (FILE *, rtx);
-
/* Output an internal label. */
void (* internal_label) (FILE *, const char *, unsigned long);
+ /* Emit any directives required to unwind this instruction. */
+ void (* unwind_emit) (FILE *, rtx);
+
/* Emit an assembler directive to set visibility for the symbol
associated with the tree decl. */
void (* visibility) (tree, int);