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]

[PATCH] D10V - incorrect label address




2000-04-19  Jason Eckhardt  <jle@redhat.com>

	* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
	since frag_now can change after d10v_cleanup is called.

Index: tc-d10v.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gas/config/tc-d10v.h,v
retrieving revision 1.13.100.1
diff -c -3 -p -r1.13.100.1 tc-d10v.h
*** tc-d10v.h	2000/03/31 16:18:32	1.13.100.1
--- tc-d10v.h	2001/04/12 22:44:48
*************** int d10v_cleanup PARAMS ((void));
*** 53,59 ****
  #define md_do_align(a,b,c,d,e)	     d10v_cleanup()
  #define tc_frob_label(sym) do {\
    d10v_cleanup(); \
!   S_SET_VALUE (sym, (valueT) frag_now_fix ()); \
  } while (0)
  
  #define obj_fix_adjustable(fixP) d10v_fix_adjustable(fixP)
--- 53,60 ----
  #define md_do_align(a,b,c,d,e)	     d10v_cleanup()
  #define tc_frob_label(sym) do {\
    d10v_cleanup(); \
!   symbol_set_frag (sym, frag_now);					\
!   S_SET_VALUE (sym, (valueT) frag_now_fix ());				\
  } while (0)
  
  #define obj_fix_adjustable(fixP) d10v_fix_adjustable(fixP)



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