OSDN Git Service

2000-04-20 Jason Eckhardt <jle@redhat.com>
authorJason Eckhardt <jle@rice.edu>
Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)
committerJason Eckhardt <jle@rice.edu>
Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)
* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
since frag_now can change after d10v_cleanup is called.

gas/ChangeLog
gas/config/tc-d10v.h

index 528df31..279c8d1 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-20  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.
+
 2001-04-16  David O'Brien  <obrien@FreeBSD.org>
 
        * configure.in: Add the em type for FreeBSD targets.
index d8eadf3..4ab5460 100644 (file)
@@ -56,7 +56,8 @@ int d10v_cleanup PARAMS ((void));
 #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 ()); \
+  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)