should 'ld -u sym' cause an error if sym not present?

cgd@broadcom.com cgd@broadcom.com
Wed May 26 17:46:00 GMT 2004
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



More information about the Binutils mailing list