summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/ELF/undef-version-script.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/ELF/undef-version-script.s b/lld/test/ELF/undef-version-script.s
index a942d19b2e8..9f0a5a49e72 100644
--- a/lld/test/ELF/undef-version-script.s
+++ b/lld/test/ELF/undef-version-script.s
@@ -3,6 +3,9 @@
# RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so
# RUN: llvm-readobj -dyn-symbols %t.so | FileCheck %s
+# This does not match gold's behavior because gold does not create undefined
+# symbols in dynsym without an appropriate (e.g. PLT) relocation in the input.
+
# CHECK: DynamicSymbols [
# CHECK-NEXT: Symbol {
# CHECK-NEXT: Name: @ (0)
OpenPOWER on IntegriCloud