Why does gas have both S_IS_EXTERNAL and S_IS_EXTERN?

H. J. Lu hjl@lucon.org
Wed Apr 20 04:27:00 GMT 2005


On Tue, Apr 19, 2005 at 11:07:04PM -0400, Ian Lance Taylor wrote:
> "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.
> 

Should I submit a patch to remove S_IS_EXTERN?


H.J.



More information about the Binutils mailing list