* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
authorAlan Modra <amodra@gmail.com>
Sat, 10 Aug 2002 14:49:48 +0000 (14:49 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 10 Aug 2002 14:49:48 +0000 (14:49 +0000)
commit31312f958ee26b1d39e65ff18e63466bb552107e
treef09a5d2077c939dbeb8e92c16c2420a1d7f02dd9
parent2548cbcc14abe396cdb4aa2258d075d0bee86c74
* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
for ELF, and don't bother checking ELF relocs when non-ELF.
(i386_immediate): Allow absolute_section expressions for aout.
(i386_displacement): Likewise.  Also test bfd_is_com_section.
(md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
(md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
not when fx_addsy.  Remove dead code.
gas/ChangeLog
gas/config/tc-i386.c