summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-10-03 09:59:08 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-10-03 09:59:08 +0000
commitdb2e641fd76799b5877c614c3db165a92e7e5dfb (patch)
tree0a67be350aabcc650686521b2a2d3a2e5e63a70f
parentf79a8ef2aec6a94e105bc25fd21a8d187fa59643 (diff)
downloadbcm5719-llvm-db2e641fd76799b5877c614c3db165a92e7e5dfb.tar.gz
bcm5719-llvm-db2e641fd76799b5877c614c3db165a92e7e5dfb.zip
[ELF] - Fix BB after r343668
This stops testing the value of .rela.plt section offset. Also makes _start global to eliminate 'cannot find entry symbol _start' warning. llvm-svn: 343669
-rw-r--r--lld/test/ELF/local-ver-preemptible.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/test/ELF/local-ver-preemptible.s b/lld/test/ELF/local-ver-preemptible.s
index 8cbf8f0614e..b99f700fb2c 100644
--- a/lld/test/ELF/local-ver-preemptible.s
+++ b/lld/test/ELF/local-ver-preemptible.s
@@ -9,7 +9,7 @@
# RUN: ld.lld %t.o %t.so -o %t -version-script %t.script
# RUN: llvm-readelf -r --symbols %t | FileCheck %s
-# CHECK: Relocation section '.rela.plt' at offset 0x288 contains 1 entries:
+# CHECK: Relocation section '.rela.plt' at offset {{.*}} contains 1 entries:
# CHECK: R_X86_64_JUMP_SLOT 0000000000201020 foo + 0
# CHECK: Symbol table '.dynsym' contains 2 entries:
@@ -17,5 +17,6 @@
# CHECK-NEXT: 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND @
# CHECK-NEXT: 1: 0000000000201020 0 FUNC GLOBAL DEFAULT UND foo@
+.globl _start
_start:
movl $foo - ., %eax
OpenPOWER on IntegriCloud