aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr17935-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr17935-1.d')
-rw-r--r--ld/testsuite/ld-i386/pr17935-1.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr17935-1.d b/ld/testsuite/ld-i386/pr17935-1.d
new file mode 100644
index 0000000..5303ea2
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr17935-1.d
@@ -0,0 +1,3 @@
+# as: --32
+# ld: -m elf_i386 -shared -z text
+# error: warning: relocation against `foo' in readonly section `.text'