From: Jason Eckhardt Date: Fri, 20 Apr 2001 23:38:37 +0000 (+0000) Subject: 2000-04-20 Jason Eckhardt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c97d17b13f404b13c14bc5bc3f38853458317ef;p=binutils-gdb.git 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. --- 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)