RFC and PATCH - Defining variables in the linker script without defining them as symbols on the file

Ian Lance Taylor ian@wasabisystems.com
Wed Jul 21 15:53:00 GMT 2004


Nick Clifton <nickc@redhat.com> writes:

> Which is presumably why the undefined symbol is created in the first
> place.  Hmm, I guess that we have to live with this behaviour, so the
> right thing to do would be to document it, yes ?

Arguably I suppose we could record such symbols as we create them, and
then walk the list at the end of the link and warn if the symbol was
never defined.

If anybody wants to bother.

Ian



More information about the Binutils mailing list