This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch: fix misplaced #endif in tc-arm.c



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]