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: Updating binutils for new MSP430 chips


Hi Peter,

As it stands, I plan to keep EM_MSP430 at its current value, reduce
the number of subarchitectures to two (16-bit address vs 20-bit
address, using new integral values), have one emulation that will
require the MEMORY block to be provided in separate chip-specific
linker scripts, and distribute those linker scripts outside of
binutils (paired with the chip-specific include files that define the
peripherals).

I'm still going to have to encode tables of chip names in some
binutils source files, but they'll be used only to set default values
for chip properties and to control the application of errata
workarounds.

This sounds like a good plan.


I currently intend to continue to use elf output and the bfd linker;
if I should be considering gold instead, please let me know.

I would recommend going with LD rather than GOLD at the moment, but only because GOLD does not currently support the INCLUDE directive inside MEMORY blocks. (It is something I plan to implement in the future, or you could have a go at implementing it yourself).


Cheers
  Nick


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