[PATCH] Gold: Added R_ARM_GOT_PREL relocation and unit tests
Ian Lance Taylor
iant@google.com
Wed Oct 7 15:31:00 GMT 2009
Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:
> Please find attached the patch for R_ARM_GOT_PREL relocation along with the unit tests.
>
> Best regards,
> Viktor
>
> * gold/arm.cc: Added R_ARM_GOT_PREL relocation, added missing R_ARM_ABS8 in to the list of implemented relocations
> * gold/testsuite/arm/Makefile.am: Added unit tests to make
> * gold/testsuite/arm/reloc_got_test.sh: Script to test platform-dependent R_ARM_GOT_PREL relocation
> * gold/testsuite/arm/arm_r_got_prel.s: Asm for the R_ARM_GOT_PREL relocation unit tests
I approved and committed your patch to arm.cc with the following
ChangeLog entry. I did not commit the patch to the testsuite, pending
further work on the testsuite.
Thanks, and sorry for the long delay.
Ian
2009-10-07 Viktor Kutuzov <vkutuzov@accesssoftek.com>
* arm.cc (Arm_relocate_functions::got_prel) New function.
(Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
More information about the Binutils
mailing list