A new target for binutils ? MCS-51
Subrat Kr. Panda
Tue Aug 20 06:31:00 GMT 2002
Our team have just finished retargetting gcc, binutils for a risc
processor. well the order we chose was not very specific. But better if
you start with opcode, bfd, ld, gas. Well it all depends on you how you
want your things to work. Gas and ld both are dependent on bfd hence you
need to get bfd done first.
Regarding format we did it for COFF..using the MANY_SEGMENTS macro we
did not use the BFD_ASSEMBLER because COFF was not well tested with
BFD_ASSEMBLER defined. You could rather go for ELF. The version if
binutils package retargetted was binutils-2.12.
Thanks and regards,
On Tue, 20 Aug 2002, Stephane Brunet wrote:
> I am presently planning to port binutils (an then GCC) to the MCS-51
> target since many (old and recent) microcontrollers are using it.
> I have found old messages describing how to port binutils but I want to
> be sure that the information is up to date. Should I follow this order :
> BFD -> opcode -> gas -> ld ?
> Which object format should I choose ? COFF or ELF ? I tend to use ELF
> because the AVR port use it, but I have no other good reasons...
> StÃ©phane Brunet
> P.S. : I was very surprised when I first read the source code : this is
> the first time that I see a complete K&R-written C project! Perhaps am I
> too young!
Try your best and leave the rest.
Subrat Kumar Panda
Dept. of CSE, IIT Kharagpur
More information about the Binutils