summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-269-bad.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/emit-relocs-269-bad.d')
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-269-bad.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-269-bad.d b/ld/testsuite/ld-aarch64/emit-relocs-269-bad.d
new file mode 100644
index 0000000..9292855
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/emit-relocs-269-bad.d
@@ -0,0 +1,3 @@
+#source: emit-relocs-269.s
+#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 -shared
+#error: .*relocation R_AARCH64_MOVW_UABS_G3.*can not.*shared object.*fPIC