[lld] r267371 - Add a note to the test explaining why it doesn't match gold's behaviour.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 17:19:49 PDT 2016


Author: pcc
Date: Sun Apr 24 19:19:47 2016
New Revision: 267371

URL: http://llvm.org/viewvc/llvm-project?rev=267371&view=rev
Log:
Add a note to the test explaining why it doesn't match gold's behaviour.

Modified:
    lld/trunk/test/ELF/undef-version-script.s

Modified: lld/trunk/test/ELF/undef-version-script.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/undef-version-script.s?rev=267371&r1=267370&r2=267371&view=diff
==============================================================================
--- lld/trunk/test/ELF/undef-version-script.s (original)
+++ lld/trunk/test/ELF/undef-version-script.s Sun Apr 24 19:19:47 2016
@@ -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)




More information about the llvm-commits mailing list