This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Questions about a new port
- From: reinhard dot jessich at telering dot at
- To: binutils at sourceware dot cygnus dot com
- Date: Tue, 11 Dec 2001 20:27:45 +0100
- Subject: Questions about a new port
- Reply-to: reinhard dot jessich at telering dot at
Hello everybody!
I am new to this list and I want to ask some questions about a new port.
I would like to port bfd/gas/binutils for the Microtec PICs.
This are 8 bit processors. I have searched on the net and in the binutils
archives. I have also read the bfd documentation, but I couldn't find
something like an HOWTO port binutils to a new target.
There are some hints to use an existing port and to modify it. That's normal
practice in SW development. But which is the best port to start?
I looked to the m68hc11 port, because it is an 8 bit processor. This port uses
the elf format.
I thought to use the coff format and I found a hint to look to the coff-we32k
port. I know this is a 32 bit port, but it can be used as a pattern for a coff
port.
I plan to port bfd then gas and then ld followed by binutils.
Is this the right order?
Now before I start to do it wrong. What shall I use elf or coff?
Which port is really a good starting point for me?
What are this relocations? I think this is used by the linker to link the
object files and resolve the externals. Is this right?
Thank you for your help,
Reinhard
--
Ing. Reinhard Jessich mailto: reinhard.jessich@telering.at
A-1190 Vienna, Goergengasse 2/2/1 phone: +43/1/3692600
http://members.telering.at/jessich mobile: +43/664/1735439