Porting gas with cgen

Ben Elliston bje@redhat.com
Mon Sep 9 06:17:00 GMT 2002


>>>>> "JCastillo" == JCastillo  <javier_castillo_villar@yahoo.es> writes:

  JCastillo> I want to add DSP instructions to the openrisc cgen model. After add then to
  JCastillo> the .cpu model I generate the eigth opcodes files. What  I have have to do
  JCastillo> next? I think I should copy then to the /opcodes directory of the binutils
  JCastillo> and then compile the binutils for the architecture I modified.My question is
  JCastillo> if this is correct and if I have to modify the tc-arch.[ch] files of the
  JCastillo> architecture

If you use the opcodes/Makefile.am glue that is in place, CGEN can be
run from the opcodes build directory and install the generated files
in the opcodes source directory.  Then, yes, you need to build
opcodes, binutils, gas, etc. for openrisc-elf.

Ben



More information about the Cgen mailing list