This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binutils/gas/ld port for RISC-V


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]