[PATCH] Symbols with GOT relocatios do not fix adjustbale

Nick Clifton nickc@redhat.com
Tue Apr 18 10:51:07 GMT 2023


Hi mengqinggang,

> If a local symbol loaded by GOT, do not fix adjustbale to avoid GOT
> relocations' addend not equal to zero.
> 
> gas/ChangeLog:
> 
> 	* config/tc-loongarch.c (loongarch_fix_adjustable): Symbols with
> 	GOT relocatios do not fix adjustbale.
> 	* testsuite/gas/loongarch/macro_op_large_abs.d: Regenerated.
> 	* testsuite/gas/loongarch/macro_op_large_pc.d: Regenerated.
> 
> ld/ChangeLog:
> 
> 	* testsuite/ld-loongarch-elf/macro_op.d: Regenerated.
  Patch approved and applied.

Thanks very much for contributing to the binutils.

Cheers
   Nick



More information about the Binutils mailing list