This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC and PATCH - Defining variables in the linker script without defining them as symbols on the file
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