This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[arm] cleanup a couple of things
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 30 Oct 2009 14:57:16 +0000
- Subject: [arm] cleanup a couple of things
I've committed this patch to cleanup a couple of errors I noticed.
1) Typo in name of define used in #ifndef
2) Unused label in unwinder routine.
built with arm-none-eabi
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2009-10-30 Nathan Sidwell <nathan@codesourcery.com>
* target-def.h (TARGET_ASM_TTYPE): Correct typo of TARGET_ARM_TTYPE.
* config/arm/unwind-arm.c (__gnu_Unwind_Backtrace): Remove unused
label.
Index: target-def.h
===================================================================
--- target-def.h (revision 153749)
+++ target-def.h (working copy)
@@ -84,7 +84,7 @@
#define TARGET_ASM_INTERNAL_LABEL default_internal_label
#endif
-#ifndef TARGET_ARM_TTYPE
+#ifndef TARGET_ASM_TTYPE
#define TARGET_ASM_TTYPE hook_bool_rtx_false
#endif
Index: config/arm/unwind-arm.c
===================================================================
--- config/arm/unwind-arm.c (revision 153749)
+++ config/arm/unwind-arm.c (working copy)
@@ -1000,7 +1000,6 @@ __gnu_Unwind_Backtrace(_Unwind_Trace_Fn
while (code != _URC_END_OF_STACK
&& code != _URC_FAILURE);
- finish:
restore_non_core_regs (&saved_vrs);
return code;
}