From: Nick Clifton Date: Sat, 17 Jun 2006 16:05:41 +0000 (+0000) Subject: (enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF X-Git-Tag: newlib-csl-sourcerygxx-3_4_4-25~273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b1ad4545ad9e8d9e6b1587cd1e2cc9309406255;p=thirdparty%2Fbinutils-gdb.git (enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF targeted ARM ports can build. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 44b5f6e2141..1c0a5620fd9 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 538b57e3bae..e4de83f7914 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,