This is the mail archive of the binutils@sourceware.org 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]

[ARM] fix non-eabi builds


I've committed this patch to fix a build failure for non-eabi targets. Tested on arm-wince.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery

2009-10-07  Nathan Sidwell  <nathan@codesourcery.com>

	* config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
	versions slightly more than nothing.

Index: config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.405
diff -c -3 -p -r1.405 tc-arm.c
*** config/tc-arm.c	25 Sep 2009 19:13:26 -0000	1.405
--- config/tc-arm.c	7 Oct 2009 13:49:59 -0000
*************** mapping_state_2 (enum mstate state, int 
*** 2577,2584 ****
    make_mapping_symbol (state, (valueT) frag_now_fix () - max_chars, frag_now);
  }
  #else
! #define mapping_state(x) /* nothing */
! #define mapping_state_2(x, y) /* nothing */
  #endif
  
  /* Find the real, Thumb encoded start of a Thumb function.  */
--- 2577,2584 ----
    make_mapping_symbol (state, (valueT) frag_now_fix () - max_chars, frag_now);
  }
  #else
! #define mapping_state(x) ((void)0)
! #define mapping_state_2(x, y) ((void)0)
  #endif
  
  /* Find the real, Thumb encoded start of a Thumb function.  */

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