[PATCH 0/2] AArch64 DT_RELR support

Szabolcs Nagy szabolcs.nagy@arm.com
Wed May 29 15:07:19 GMT 2024


The 05/29/2024 12:55, Nick Clifton wrote:
> Hi Szabolcs,
> 
> >   ld/testsuite/ld-aarch64/relr-got-pie.d     |  15 +
> 
> My testing has shown one new linker testsuite failure, for one,
> unusual, aarch64 configuration:
> 
>   FAIL: ld-aarch64/relr-got-pie
> 
> The failure is just because of some unexpected offsets:
> 
>   regexp_diff match failure
>   regexp "^Relocation section '\.rela\.dyn' at offset 0x100e8 contains 2 entries:$"
>   line    "Relocation section '.rela.dyn' at offset 0x100f0 contains 2 entries:"
> 
>   regexp_diff match failure
>   regexp "^Relocation section '\.relr\.dyn' at offset 0x10118 contains 2 entries which relocate 4 locations:$"
>   line    "Relocation section '.relr.dyn' at offset 0x10120 contains 2 entries which relocate 4 locations:"
> 
> And the target is:
> 
>   aarch64_be-linux-gnu_ilp32
> 
> Given that this particular target already has lots of other unexpected
> failures in the linker testsuite, I am not sure if you will want to
> create a patch revision just to address this particular issue.

the test is forced to use lp64 abi and uses a linker script
to make sure the layout is fixed.. but i think the layout
changes slightly because of the longer interpreter name on
aarch64_be.

i will see if i can change the linker script so the addresses
are the same on _be.


More information about the Binutils mailing list