diff options
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-aarch64/aarch64-elf.exp | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/implicit_got_section_1.d | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/implicit_got_section_1.s | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp index 37ce48c..b9c4133 100644 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp @@ -229,6 +229,7 @@ run_dump_test "gc-tls-relocs" run_dump_test "gc-plt-relocs" run_dump_test "gc-relocs-257-dyn" run_dump_test "gc-relocs-257" +run_dump_test "implicit_got_section_1" run_dump_test "pr17415" run_dump_test "tprel_g2_overflow" run_dump_test "tprel_add_lo12_overflow" diff --git a/ld/testsuite/ld-aarch64/implicit_got_section_1.d b/ld/testsuite/ld-aarch64/implicit_got_section_1.d new file mode 100644 index 0000000..1ad24fe --- /dev/null +++ b/ld/testsuite/ld-aarch64/implicit_got_section_1.d @@ -0,0 +1,5 @@ +#source: implicit_got_section_1.s +#ld: -e0 +#readelf: -r + +There are no relocations in this file. diff --git a/ld/testsuite/ld-aarch64/implicit_got_section_1.s b/ld/testsuite/ld-aarch64/implicit_got_section_1.s new file mode 100644 index 0000000..8d80748 --- /dev/null +++ b/ld/testsuite/ld-aarch64/implicit_got_section_1.s @@ -0,0 +1,3 @@ + .text +test: + .word _GLOBAL_OFFSET_TABLE_ - . |