[Patch Xtensa] Fix R_XTENSA_NONE relocation offsets

Sterling Augustine sterling@tensilica.com
Wed Apr 1 21:26:00 GMT 2009


When the Xtensa version of gas removes a literal, it set the relocation 
type to R_XTENSA_NONE and modified the offset in a way that can leave 
the relocation offset out of range. This wouldn't matter, and is 
invisible everywhere but relocatable links, but is still incorrect.

Sterling

2009-04-01  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

	* elf32-xtensa.c (relax_property_section): Always set r_offset
	to zero.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: removed_lits.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090401/cd88393a/attachment.ksh>


More information about the Binutils mailing list