aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ed87392..68714f0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2002-01-14 Richard Earnshaw <rearnsha@arm.com>
+ * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
+ is not dependent on ARM_BI_ENDIAN.
+
+2002-01-14 Richard Earnshaw <rearnsha@arm.com>
+
* tc-arm.c (all error messages): Normalize capitalization of messages.
* tc-arm.h (md_operand): Delete define.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index cffbdae..a865b5c 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -4243,7 +4243,7 @@ my_get_expression (ep, str)
/* We handle all bad expressions here, so that we can report the faulty
instruction in the error message. */
void
-md_operand(expr)
+md_operand (expr)
expressionS *expr;
{
if (in_my_get_expression)
@@ -9293,11 +9293,11 @@ struct option md_longopts[] =
{"EB", no_argument, NULL, OPTION_EB},
#define OPTION_EL (OPTION_MD_BASE + 1)
{"EL", no_argument, NULL, OPTION_EL},
+#endif
#ifdef OBJ_ELF
#define OPTION_OABI (OPTION_MD_BASE +2)
{"oabi", no_argument, NULL, OPTION_OABI},
#endif
-#endif
{NULL, no_argument, NULL, 0}
};