aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/gc-relocs-312.s
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-03 14:21:18 +0000
committerNick Clifton <nickc@redhat.com>2013-04-03 14:21:18 +0000
commitcb8af559c12b9a85acb429fed4d59e858574a43c (patch)
treea16f6f77f0ca2c24cb5dbed5492bc9d1be678f3b /ld/testsuite/ld-aarch64/gc-relocs-312.s
parent203f0950a35c87f17016045f1cd5a0460b445532 (diff)
downloadgdb-cb8af559c12b9a85acb429fed4d59e858574a43c.zip
gdb-cb8af559c12b9a85acb429fed4d59e858574a43c.tar.gz
gdb-cb8af559c12b9a85acb429fed4d59e858574a43c.tar.bz2
* elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use
elf64_aarch64_locals to get local GOT reference counts. * ld-aarch64/gc-relocs-tlsle.s: New gc section test. * ld-aarch64/gc-relocs-tlsle.s: Likewise * ld-aarch64/gc-relocs-tlsgd.s: Likewise * ld-aarch64/gc-relocs-tlsdesc.s: Likewise * ld-aarch64/gc-relocs-312.s: Likewise * ld-aarch64/gc-relocs-311.s: Likewise * ld-aarch64/gc-relocs-309.s: Likewise * ld-aarch64/gc-start.s: Likewise * ld-aarch64/gc-got-relocs.d: Update expected objdump * ld-aarch64/gc-tls-relocs.d: Likewise * ld-aarch64/aarch64-elf.exp: add test
Diffstat (limited to 'ld/testsuite/ld-aarch64/gc-relocs-312.s')
-rw-r--r--ld/testsuite/ld-aarch64/gc-relocs-312.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/gc-relocs-312.s b/ld/testsuite/ld-aarch64/gc-relocs-312.s
new file mode 100644
index 0000000..7a2f370
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/gc-relocs-312.s
@@ -0,0 +1,7 @@
+#R_AARCH64_GOT_LD_PREL19
+ .comm sym312_notused,4
+.text
+_test_gc_rel312:
+ nop
+ ldr x3, [x2, #:got_lo12:sym312_notused]
+