From 8b1ad4545ad9e8d9e6b1587cd1e2cc9309406255 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 17 Jun 2006 16:05:41 +0000 Subject: [PATCH] (enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF targeted ARM ports can build. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 44b5f6e214..1c0a5620fd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-06-17 Nick Clifton + + * config/tc-arm.c (enum parse_operand_result): Move outside of + #ifdef OBJ_ELF so that non-ELF targeted ARM ports can build. + 2006-06-16 H.J. Lu * config/tc-i386.h (processor_type): New. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 538b57e3ba..e4de83f791 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -79,6 +79,13 @@ static struct unsigned sp_restored:1; } unwind; +/* Bit N indicates that an R_ARM_NONE relocation has been output for + __aeabi_unwind_cpp_prN already if set. This enables dependencies to be + emitted only once per section, to save unnecessary bloat. */ +static unsigned int marked_pr_dependency = 0; + +#endif /* OBJ_ELF */ + /* Results from operand parsing worker functions. */ typedef enum @@ -88,13 +95,6 @@ typedef enum PARSE_OPERAND_FAIL_NO_BACKTRACK } parse_operand_result; -/* Bit N indicates that an R_ARM_NONE relocation has been output for - __aeabi_unwind_cpp_prN already if set. This enables dependencies to be - emitted only once per section, to save unnecessary bloat. */ -static unsigned int marked_pr_dependency = 0; - -#endif /* OBJ_ELF */ - enum arm_float_abi { ARM_FLOAT_ABI_HARD,