summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr20244-2d.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr20244-2d.d')
-rw-r--r--ld/testsuite/ld-i386/pr20244-2d.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr20244-2d.d b/ld/testsuite/ld-i386/pr20244-2d.d
new file mode 100644
index 00000000000..c423bf787ed
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr20244-2d.d
@@ -0,0 +1,4 @@
+#source: pr20244-2.s
+#as: --32
+#ld: -pie -m elf_i386
+#error: direct GOT relocation R_386_GOT32X against `foo' without base register can not be used when making a shared object