This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: Patches to ld for vxWorks 6.0 targets.


   From: Todd Whitesel <toddpw@windriver.com>
   Date: Wed, 22 Mar 2000 17:40:15 -0800 (PST)

   The following patch (and new files) adds support to ld for vxWorks 6.0
   targets. The vxw6*.sh emulations are derived from the stock ELF configs
   and use vxw6_ram.sc, for RAM-based kernels using the 6.0 memory model.
   The vxr6*.sh emulations use vxw6_rom.sc, and are for ROM-based kernels
   and bootroms; these use the AT() directive to have .data-like sections
   be loaded in ROM after _etext.

   If there is a way to accomplish this without using so many new files,
   I'd welcome suggestions on that. I don't normally work on the binutils
   stuff, but I developed the AT() directive changes on another project.
   After porting them up to 6.0, I was told to submit it all, since it's
   about time we started collecting our 6.0 bits and sent them in.

It's a bad idea to make copies of ld/scripttempl/elf.sc.  elf.sc tends
to change over time, and if you have made a copy, your copy will not
get updated.

It's better to add new shell variables to elf.sc where they are
required, and define them in your emultempl files.

A minor point: don't send a patch for ChangeLog, since it certainly
won't apply.  Just send the ChangeLog entries as plain text.  Thanks.

Ian

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