diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-04-25 00:19:47 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-04-25 00:19:47 +0000 |
commit | eb4d823184d3d3c7d588f03fbb72d13f026b6113 (patch) | |
tree | 853e0e616b6c64663323674b44ab9fa8326863f7 | |
parent | 93035c8f47589590b65041603524f48a7c007e1f (diff) | |
download | bcm5719-llvm-eb4d823184d3d3c7d588f03fbb72d13f026b6113.tar.gz bcm5719-llvm-eb4d823184d3d3c7d588f03fbb72d13f026b6113.zip |
Add a note to the test explaining why it doesn't match gold's behaviour.
llvm-svn: 267371
-rw-r--r-- | lld/test/ELF/undef-version-script.s | 3 |
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) |