]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: aarch64: Add some DT_RELR ld tests
authorAlan Modra <amodra@gmail.com>
Mon, 3 Jun 2024 23:30:57 +0000 (09:00 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 6 Jun 2024 01:07:02 +0000 (10:37 +0930)
commit42878336131e1b90623c5e2d7d011acc9b35c950
treed69778347672d70ec71d8a583c8c60d3641e033b
parent761ed077099d51c92b69d8aaca5908d26da48fb4
Re: aarch64: Add some DT_RELR ld tests

aarch64-elf fails these tests due to .rela.dyn being at a different
address to that expected, and due to the symbol table being different.
Unexpected symbol numbering results in a mismatch of reloc r_info
field, but these are shown decoded so the raw field doesn't really add
anything to the test.

* testsuite/ld-aarch64/relr-align.d: Accept any address for
.relr.dyn section.  Don't match raw r_info field.
* testsuite/ld-aarch64/relr-data-shared.d: Likewise.
* testsuite/ld-aarch64/relr-got-shared.d: Likewise.
* testsuite/ld-aarch64/relr-text-shared.d: Likewise.
ld/testsuite/ld-aarch64/relr-align.d
ld/testsuite/ld-aarch64/relr-data-shared.d
ld/testsuite/ld-aarch64/relr-got-shared.d
ld/testsuite/ld-aarch64/relr-text-shared.d