aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/lea2a.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/lea2a.d')
-rw-r--r--ld/testsuite/ld-i386/lea2a.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/lea2a.d b/ld/testsuite/ld-i386/lea2a.d
new file mode 100644
index 0000000..b00853b
--- /dev/null
+++ b/ld/testsuite/ld-i386/lea2a.d
@@ -0,0 +1,4 @@
+#source: lea2.s
+#as: --32
+#ld: -Bsymbolic -shared -melf_i386
+#error: direct GOT relocation R_386_LOAD_GOT32 against `foo' without base register can not be used when making a shared object