[lld] r327357 - Use PLT relocations in test.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 18:41:49 PDT 2018


Author: rafael
Date: Mon Mar 12 18:41:49 2018
New Revision: 327357

URL: http://llvm.org/viewvc/llvm-project?rev=327357&view=rev
Log:
Use PLT relocations in test.

Currently lld creates plain plt entries when a R_386_PC32 resolves to
a symbol in a shared library. That is a bug (PR36678). Don't depend on
that behavior on this test.

Modified:
    lld/trunk/test/ELF/gnu-ifunc-plt-i386.s

Modified: lld/trunk/test/ELF/gnu-ifunc-plt-i386.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-plt-i386.s?rev=327357&r1=327356&r2=327357&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-plt-i386.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-plt-i386.s Mon Mar 12 18:41:49 2018
@@ -70,7 +70,7 @@ bar:
 
 .globl _start
 _start:
- call foo
- call bar
- call bar2
- call zed2
+ call foo at plt
+ call bar at plt
+ call bar2 at plt
+ call zed2 at plt




More information about the llvm-commits mailing list