aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-d10v.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 528df31..279c8d1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h
index d8eadf3..4ab5460 100644
--- a/gas/config/tc-d10v.h
+++ b/gas/config/tc-d10v.h
@@ -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)