Use PLT relocations in test.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 13 Mar 2018 01:41:49 +0000 (01:41 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 13 Mar 2018 01:41:49 +0000 (01:41 +0000)
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.

llvm-svn: 327357

lld/test/ELF/gnu-ifunc-plt-i386.s

index 243eff6..d0d21e7 100644 (file)
@@ -70,7 +70,7 @@ bar:
 
 .globl _start
 _start:
- call foo
- call bar
- call bar2
- call zed2
+ call foo@plt
+ call bar@plt
+ call bar2@plt
+ call zed2@plt