More BFD_ASSEMBLER bugs in symbols.c
H.J. Lu
hjl@lucon.org
Thu Jul 1 00:00:00 GMT 1999
>
> Date: Sat, 5 Jun 1999 02:55:15 -0700 (PDT)
> From: hjl@varesearch.com (H.J. Lu)
>
> Also, the DWARF stuff in gas uses bfd_vma. But
> it won't work if BFD_ASSEMBLER is not defined.
>
There are many more BFD_ASSEMBLER bugs in symbols.c.
#define LOCAL_SYMBOL_CHECK(s) 0
#define local_symbol_convert(s) ((symbolS *) s)
is not enough if BFD_ASSEMBLER is not defined since
if (LOCAL_SYMBOL_CHECK(s))
{
Many BFD_ASSEMBLER specific stuffs are used here.
}
I had to put
#ifded BFD_ASSEMBLER
#endif
around many
if (LOCAL_SYMBOL_CHECK(s))
Just cross-compile it for an a.out system. I used
i386linux.
--
H.J. Lu (hjl@gnu.org)
More information about the Binutils
mailing list