* Doing a GAS port
@ 2004-11-13 6:58 c.c.chen
0 siblings, 0 replies; only message in thread
From: c.c.chen @ 2004-11-13 6:58 UTC (permalink / raw)
To: cgen
Hi,
I wanted to port the GAS to a new target
I know that basically I will need to create this file:
--GAS target dependent
gas/config/tc-CPU.[ch]
--opcode library (CGEN done this part)
opcodes/CPU-dis.c
opcodes/FOO-opc.c
--BFD library
bfd/{elf32|coff}-CPU.c
bfd/cpu-CPU.c
...
(Replace CPU with the name of my target chip)
I want to ask a quistion?
why CGEN doesn't do this part which generate tc-CPU.[ch] files?
(because cpu description information is not enough or other reason?)
if it is worth writing a framewok to automaticly generate tc-CPU.[ch]( input
CPU.cpu file )?
(if i just want GAS produce a ELF format object file)
c.c.chen
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-13 6:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-13 6:58 Doing a GAS port c.c.chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).