[PATCH] readelf: Handle more RISC-V relocations

Jim Wilson jimw@sifive.com
Mon Jun 18 21:54:00 GMT 2018


On 06/18/2018 02:26 AM, Andreas Schwab wrote:
> 	* readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
> 	(is_8bit_abs_reloc): New function.
> 	(is_6bit_abs_reloc): New function.
> 	(is_6bit_inplace_sub_reloc): New function.
> 	(apply_relocations): Use them.  Handle 6-bit relocations.

This looks OK to me.

Jim



More information about the Binutils mailing list