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: [PATCH] Don't sign extend the addend for R_MIPS_PC16 and R_MIPS_GNU_REL16_S2 if relocations are RELA


On Sun, 21 Sep 2014, Richard Sandiford wrote:

> Andrew Bennett <Andrew.Bennett@imgtec.com> writes:
> > bfd/
> > 	* elfxx-mips.c (mips_elf_calculate_relocation): Don't sign extend
> > 	the addend if relocations are RELA.
> 
> OK, thanks, and sorry for the slow review.

 Any chance for test cases to cover the bug?  From the nature of the 
problem it looks to me they should be straightforward to make.

  Maciej


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