ld problem

amodra@one.net.au amodra@one.net.au
Sun Apr 29 18:33:00 GMT 2001


On Sun, Apr 29, 2001 at 08:24:11PM -0400, Robert Schweikert wrote:
> 
> The EXTERN statements are all I have in the linker script, is this
> insufficient?

Hmm, I've never tried such a cut-down linker script.  I suspect that
omitting a SECTIONS command won't work very well.  I suggest you copy
the appropriate system link script (from $prefix/$target/lib/ldscripts
where $prefix and $target are the values you gave when configuring
binutils), and modify it.  See the comment around line 75 of
ld/genscripts.sh if you don't know which script to choose.

Alan



More information about the Binutils mailing list