[PATCH] Don't sign extend the addend for R_MIPS_PC16 and R_MIPS_GNU_REL16_S2 if relocations are RELA

Richard Sandiford rdsandiford@googlemail.com
Sat Sep 13 08:49:00 GMT 2014


Andrew Bennett <Andrew.Bennett@imgtec.com> writes:
> bfd/
> 	* elfxx-mips.c (mips_elf_calculate_relocation): Add RELA support to 
> 	R_MIPS_PC16 and R_MIPS_GNU_REL16_S2, and check the offset is 4 byte 
> 	aligned.

OK, thanks.

Richard



More information about the Binutils mailing list