[PATCH] c6x: Fix EHTYPE relocations

Alan Modra amodra@gmail.com
Tue Apr 15 00:52:52 GMT 2025


On Mon, Apr 14, 2025 at 12:04:38PM +0200, Richard Braun wrote:
> R_C6000_EHTYPE relocations are implemented as GOT-indirect relocations,
> but, as specified by the C6000 EABI (SPRAB89A), 13.5.1 Relocation Types,
> they are a special case of SBR (static base relocation).
> 
> bfd/
> 	* elf32-tic6x.c: Handle EHTYPE relocations as SBR relocations.
> gas/
> 	* config/tc-tic6x.c (tic6x_fix_adjustable): Don't adjust EHTYPE
> 	relocations.
> 
> Signed-off-by: Richard Braun <richard.braun@sbg-systems.com>

Looks good to me.  If Joseph doesn't reply, OK to apply in a few days.

-- 
Alan Modra


More information about the Binutils mailing list