summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/protected1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/protected1.d')
-rw-r--r--ld/testsuite/ld-i386/protected1.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/protected1.d b/ld/testsuite/ld-i386/protected1.d
index a3cb5cef14..531645b8fe 100644
--- a/ld/testsuite/ld-i386/protected1.d
+++ b/ld/testsuite/ld-i386/protected1.d
@@ -1,3 +1,5 @@
#as: --32
#ld: -shared -melf_i386
-#error: .*relocation R_386_GOTOFF against protected function `foo' can not be used when making a shared object
+#readelf: -rW
+#...
+There are no relocations in this file.