summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected7a.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected7a.d')
-rw-r--r--ld/testsuite/ld-x86-64/protected7a.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/protected7a.d b/ld/testsuite/ld-x86-64/protected7a.d
index 3082084a7b..3974246a2a 100644
--- a/ld/testsuite/ld-x86-64/protected7a.d
+++ b/ld/testsuite/ld-x86-64/protected7a.d
@@ -1,4 +1,6 @@
#source: protected7.s
#as: --64
#ld: -shared -melf_x86_64
-#error: .*relocation R_X86_64_GOTOFF64 against protected function `foo' can not be used when making a shared object
+#readelf: -rW
+#...
+There are no relocations in this file.