Binutils/gas/ld port for RISC-V

Nick Clifton nickc@redhat.com
Fri Oct 14 14:50:00 GMT 2016


Hi Andrew,

> We'd like to submit for inclusion in Binutils a port for the RISC-V
> architecture. 

One other thing that I forgot to mention.  It would be helpful if you 
could add a patch to binutils/readelf.c to add code for this target.
Specifically I am thinking of updates to these functions:

  guess_is_rela
  get_machine_name
  is_32bit_abs_reloc
  is_32bit_pcrel_reloc
  is_none_reloc

Hmm, also I see that you are using an EM_RISCV ELF machine number, but
there does not appear to be a patch to include/elf/common.h to add this 
value.  Did I miss something ?

Cheers
  Nick



More information about the Binutils mailing list