aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/shared-nopic.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-tic6x/shared-nopic.d')
-rw-r--r--ld/testsuite/ld-tic6x/shared-nopic.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/shared-nopic.d b/ld/testsuite/ld-tic6x/shared-nopic.d
new file mode 100644
index 0000000..8748f10
--- /dev/null
+++ b/ld/testsuite/ld-tic6x/shared-nopic.d
@@ -0,0 +1,5 @@
+#name: C6X shared library without PIC code
+#as: -mlittle-endian -mdsbt -mpid=near
+#ld: -melf32_tic6x_le -Tdsbt-inrange.ld --dsbt-index 4 -shared
+#source: got-reloc-global.s
+#warning: non-PIC code