From 1c97d17b13f404b13c14bc5bc3f38853458317ef Mon Sep 17 00:00:00 2001 From: Jason Eckhardt Date: Fri, 20 Apr 2001 23:38:37 +0000 Subject: [PATCH] 2000-04-20 Jason Eckhardt * config/tc-d10v.h (tc_frob_label): Update the symbol's frag since frag_now can change after d10v_cleanup is called. --- gas/ChangeLog | 5 +++++ gas/config/tc-d10v.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 528df310d06..279c8d1dd5b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-04-20 Jason Eckhardt + + * 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 * configure.in: Add the em type for FreeBSD targets. diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h index d8eadf38a63..4ab54602bad 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) -- 2.30.2