a simple question about link
nick clifton
nickc@redhat.com
Thu Jan 10 10:17:00 GMT 2013
Hi horseriver,
> if gcc do not specify a ld-script file for ld , which ld-script ld will use ?
The one that is built into the linker. You can see this script by
running the linker directly with the --verbose command line option
specified. Note - slightly different variations of this default linker
script are used when other command line options are also passed to the
linker, eg -N and -r. See the source file ld/genscripts.sh for more
details on this.
Cheers
Nick
More information about the Binutils
mailing list