aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-09-13 23:53:52 +0000
committerSteve Chamberlain <sac@cygnus>1994-09-13 23:53:52 +0000
commit6613462ec32fd5adb279409336745e289a70c8d0 (patch)
tree25209def51a9baa39886e3b839b9742682688f97 /gas
parent460531dad97cd6bd25c62087dd111d1dfe4d20b9 (diff)
downloadgdb-6613462ec32fd5adb279409336745e289a70c8d0.zip
gdb-6613462ec32fd5adb279409336745e289a70c8d0.tar.gz
gdb-6613462ec32fd5adb279409336745e289a70c8d0.tar.bz2
* config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSET
is defined, put the tx_offset into the r_offset. * config/tc-sh.c (line_comment_chars): Add # (tc_reloc_mangle): Deleted. * config/tc-sh.h (TC_KEEP_FX_OFFSET): Define. (TC_RELOC_MANGLE): Delete.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/obj-coff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 960dcfd..af23698 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -1522,7 +1522,7 @@ do_relocs_for (abfd, h, file_cursor)
intr.r_vaddr =
base + fix_ptr->fx_frag->fr_address + fix_ptr->fx_where;
-#ifdef TC_M88K
+#if defined(TC_M88K) || TC_KEEP_FX_OFFSET
intr.r_offset = fix_ptr->fx_offset;
#else
intr.r_offset = 0;