public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* patch: fix misplaced #endif in tc-arm.c
@ 2002-01-14  8:17 Richard Earnshaw
  0 siblings, 0 replies; only message in thread
From: Richard Earnshaw @ 2002-01-14  8:17 UTC (permalink / raw)
  To: binutils; +Cc: Richard.Earnshaw

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]


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.

[-- Attachment #2: gas-mdlongopt.patch --]
[-- Type: text/x-patch , Size: 1406 bytes --]

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}
  };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-14 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-14  8:17 patch: fix misplaced #endif in tc-arm.c Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).