Why does gas have both S_IS_EXTERNAL and S_IS_EXTERN?

Ian Lance Taylor ian@airs.com
Wed Apr 20 03:07:00 GMT 2005


"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



More information about the Binutils mailing list