This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: should 'ld -u sym' cause an error if sym not present?
At Wed, 26 May 2004 15:09:14 +0000 (UTC), "Nick Clifton" wrote:
> I think that it should - but I am worried that if we change this
> behaviour we will break build environments were a whole selection of
> undefined symbols are supplied to the linker when only a few of them
> are relevant to any particular link.
Are there lots of those, where it's done intentionally?
There certainly *could* be, but i've only ever done it
unintentionally. 8-) I think it's more reasonable to do that with
ldscript EXTERN directives than with command line -u's.
chris