* config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSET
authorSteve Chamberlain <sac@cygnus>
Tue, 13 Sep 1994 23:53:52 +0000 (23:53 +0000)
committerSteve Chamberlain <sac@cygnus>
Tue, 13 Sep 1994 23:53:52 +0000 (23:53 +0000)
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.

gas/config/obj-coff.c

index 960dcfd500b487c32ce9d811692cb1097f94b79c..af236984e601cef55fdbc2372f110bf4499e058a 100644 (file)
@@ -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;