From: Steve Chamberlain Date: Tue, 13 Sep 1994 23:53:52 +0000 (+0000) Subject: * config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSET X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6613462ec32fd5adb279409336745e289a70c8d0;p=binutils-gdb.git * 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. --- diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 960dcfd500b..af236984e60 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;