This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why does gas have both S_IS_EXTERNAL and S_IS_EXTERN?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]