diff --git a/lld/test/ELF/undef-version-script.s b/lld/test/ELF/undef-version-script.s index a942d19b2e8f..9f0a5a49e72e 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)