summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-x86-64/hidden1.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-x86-64/hidden1.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-x86-64/hidden1.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-x86-64/hidden1.d b/binutils-2.21/ld/testsuite/ld-x86-64/hidden1.d
new file mode 100644
index 0000000..c4c843b
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-x86-64/hidden1.d
@@ -0,0 +1,3 @@
+#as: --64
+#ld: -shared -melf_x86_64
+#error: .*relocation R_X86_64_PC32 against undefined hidden symbol `foo' can not be used when making a shared object