aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-06-17 16:05:41 +0000
committerNick Clifton <nickc@redhat.com>2006-06-17 16:05:41 +0000
commit8b1ad4545ad9e8d9e6b1587cd1e2cc9309406255 (patch)
treee8b878a3226fda5f009b9b13409b4c3ea5f72063 /gas
parentb284a6567e77e6dc4fe5d38d89cdf5d5d12d65ea (diff)
downloadgdb-8b1ad4545ad9e8d9e6b1587cd1e2cc9309406255.zip
gdb-8b1ad4545ad9e8d9e6b1587cd1e2cc9309406255.tar.gz
gdb-8b1ad4545ad9e8d9e6b1587cd1e2cc9309406255.tar.bz2
(enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF
targeted ARM ports can build.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c14
2 files changed, 12 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 44b5f6e..1c0a562 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-17 Nick Clifton <nickc@redhat.com>
+
+ * 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 <hongjiu.lu@intel.com>
* config/tc-i386.h (processor_type): New.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 538b57e..e4de83f 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,