This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
More BFD_ASSEMBLER bugs in symbols.c
- To: ian@zembu.com (Ian Lance Taylor)
- Subject: More BFD_ASSEMBLER bugs in symbols.c
- From: hjl@lucon.org (H.J. Lu)
- Date: Sat, 12 Jun 1999 08:52:27 -0700 (PDT)
- Cc: binutils@sourceware.cygnus.com
>
> 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)