This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a simple question about link


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]