* write.c (fixup_segment): Handle ABS-sym in -sym case rather than
authorIan Lance Taylor <ian@airs.com>
Mon, 18 Sep 1995 21:11:34 +0000 (21:11 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 18 Sep 1995 21:11:34 +0000 (21:11 +0000)
commit3b06beb75730bf894e2a9621ab48023806b05c2e
treeaf0954a8476ace043de17eca0ee41f25d3d0e6c4
parent85f341221b37b1b472419cc79f125a3fdd7643cc
* write.c (fixup_segment): Handle ABS-sym in -sym case rather than
sym-sym case.
* config/obj-coff.c (fixup_segment): Likewise.  Permit negative
symbols if TC_M68K.
* config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return
R_RELLONG_NEG.
(tc_gen_reloc): If fx_tcbit is set, abort.
(md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy,
and set fx_tcbit.
Permits generating negative relocs for m68k COFF.
gas/ChangeLog
gas/config/tc-m68k.c