This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why does gas have both S_IS_EXTERNAL and S_IS_EXTERN?
- From: Ian Lance Taylor <ian at airs dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: 19 Apr 2005 23:07:04 -0400
- Subject: Re: Why does gas have both S_IS_EXTERNAL and S_IS_EXTERN?
- References: <20050419191948.GB19412@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> S_IS_EXTERN just calls S_IS_EXTERNAL. Why does gas need it?
It doesn't.
In the non BFD_ASSEMBLER case, in obj-coff.h, S_IS_EXTERN and
S_IS_EXTERNAL are not identical. Specifically, S_IS_EXTERNAL will
return true for a common symbol, and S_IS_EXTERN will not. This is
almost certainly a bug.
Ian