[PATCH, ARM] Don't pass incorrect pointer in arm_build_one_stub

Daniel Jacobowitz drow@false.org
Fri Jul 10 14:07:00 GMT 2009


On Fri, Jul 10, 2009 at 02:15:35PM +0100, Julian Brown wrote:
> Hi,
> 
> This patch passes the hash for a symbol from which a stub entry was
> derived, not the hash for the stub entry itself, to
> elf32_arm_final_link_relocate. This fixes a potential incorrect code
> generation issue (not seen on mainline so far, AFAIK). In practice,
> there will be no symbols for the stubs in question, so the value passed
> should always be NULL (though a non-NULL value would be passed prior to
> this patch, which could cause elf32_arm_final_link_relocate to get
> confused).
> 
> (Thanks to Doug for noticing this on mainline.)
> 
> OK to apply?

OK.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list