This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
patch: fix misplaced #endif in tc-arm.c
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: binutils at sources dot redhat dot com
- Cc: Richard dot Earnshaw at arm dot com
- Date: Mon, 14 Jan 2002 15:35:54 +0000
- Subject: patch: fix misplaced #endif in tc-arm.c
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
I've applied the following as obvious. The #endif is on the wrong line:
the -oabi option isn't part of the bi-endian support!
* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
is not dependent on ARM_BI_ENDIAN.
R.
Index: config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.108
diff -p -r1.108 tc-arm.c
*** tc-arm.c 2002/01/14 15:01:03 1.108
--- tc-arm.c 2002/01/14 15:32:48
*************** my_get_expression (ep, str)
*** 4243,4249 ****
/* We handle all bad expressions here, so that we can report the faulty
instruction in the error message. */
void
! md_operand(expr)
expressionS *expr;
{
if (in_my_get_expression)
--- 4243,4249 ----
/* We handle all bad expressions here, so that we can report the faulty
instruction in the error message. */
void
! md_operand (expr)
expressionS *expr;
{
if (in_my_get_expression)
*************** struct option md_longopts[] =
*** 9293,9302 ****
{"EB", no_argument, NULL, OPTION_EB},
#define OPTION_EL (OPTION_MD_BASE + 1)
{"EL", no_argument, NULL, OPTION_EL},
#ifdef OBJ_ELF
#define OPTION_OABI (OPTION_MD_BASE +2)
{"oabi", no_argument, NULL, OPTION_OABI},
- #endif
#endif
{NULL, no_argument, NULL, 0}
};
--- 9293,9302 ----
{"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
{NULL, no_argument, NULL, 0}
};