aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.h
diff options
context:
space:
mode:
authorJason Eckhardt <jle@rice.edu>2001-04-20 23:38:37 +0000
committerJason Eckhardt <jle@rice.edu>2001-04-20 23:38:37 +0000
commit1c97d17b13f404b13c14bc5bc3f38853458317ef (patch)
tree41c26f04288f14987e9bfb66c1f35f9a3585b0fa /gas/config/tc-d10v.h
parent0af5533d7582b98183977242d26eecc95cafeddd (diff)
downloadgdb-1c97d17b13f404b13c14bc5bc3f38853458317ef.zip
gdb-1c97d17b13f404b13c14bc5bc3f38853458317ef.tar.gz
gdb-1c97d17b13f404b13c14bc5bc3f38853458317ef.tar.bz2
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.
Diffstat (limited to 'gas/config/tc-d10v.h')
-rw-r--r--gas/config/tc-d10v.h3
1 files changed, 2 insertions, 1 deletions
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)