From eb4d823184d3d3c7d588f03fbb72d13f026b6113 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 25 Apr 2016 00:19:47 +0000 Subject: [PATCH] Add a note to the test explaining why it doesn't match gold's behaviour. llvm-svn: 267371 --- lld/test/ELF/undef-version-script.s | 3 +++ 1 file changed, 3 insertions(+) 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)