diff options
author | Renlin Li <renlin.li@arm.com> | 2016-02-18 16:50:50 +0000 |
---|---|---|
committer | Renlin Li <renlin.li@arm.com> | 2016-02-24 14:01:48 +0000 |
commit | 30bdf5c82e5734ac9f0b18eb7af631806d419270 (patch) | |
tree | 3d53997776b78a16a231ccdef228d32c09e9e134 /ld/testsuite | |
parent | 13f422778ff5307dad1f66d25a1d211bb8f76a8b (diff) | |
download | gdb-30bdf5c82e5734ac9f0b18eb7af631806d419270.zip gdb-30bdf5c82e5734ac9f0b18eb7af631806d419270.tar.gz gdb-30bdf5c82e5734ac9f0b18eb7af631806d419270.tar.bz2 |
ABS32
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-aarch64/aarch64-elf.exp | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/relocs-258-dyn.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/relocs-258-dyn.s | 8 |
3 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp index d0b33cf..65a0549 100644 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp @@ -185,6 +185,7 @@ run_dump_test "farcall-bl-none-function" run_dump_test "farcall-b-section" run_dump_test "farcall-bl-section" +run_dump_test "relocs-258-dyn" run_dump_test "tls-relax-all" run_dump_test "tls-relax-gd-le" run_dump_test "tls-relax-gdesc-le" diff --git a/ld/testsuite/ld-aarch64/relocs-258-dyn.d b/ld/testsuite/ld-aarch64/relocs-258-dyn.d new file mode 100644 index 0000000..4b769b7 --- /dev/null +++ b/ld/testsuite/ld-aarch64/relocs-258-dyn.d @@ -0,0 +1,8 @@ +#source: relocs-258-dyn.s +#ld: --defsym dummy=0x45034 -T aarch64.ld -shared +#readelf: -Wr + +Relocation section '\.rela\.dyn' at offset 0x8080 contains 2 entries: + Offset Info Type Symbol's Value Symbol's Name \+ Addend +0000000000008010 0000000000000403 R_AARCH64_RELATIVE 800c +000000000000800c 0000000200000102 R_AARCH64_ABS32 0000000000045034 dummy \+ 0 diff --git a/ld/testsuite/ld-aarch64/relocs-258-dyn.s b/ld/testsuite/ld-aarch64/relocs-258-dyn.s new file mode 100644 index 0000000..91d4738 --- /dev/null +++ b/ld/testsuite/ld-aarch64/relocs-258-dyn.s @@ -0,0 +1,8 @@ +.text + ldr x0, .LC0 + ldr x0, .LC1 + ret +.LC0: + .word dummy +.LC1: + .word .LC0 |