aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2018-10-31 15:58:47 +0000
committerTom Stellard <tstellar@redhat.com>2018-10-31 15:58:47 +0000
commit22d86791526b83733a51b107c70e68a54fbd3370 (patch)
treefa8613ef997e8b2a9ccdc1874d57eb7b0e09be66
parentf2c406db8c6c57be980292fc6d08541568c81f12 (diff)
Merging r343669:
------------------------------------------------------------------------ r343669 | grimar | 2018-10-03 02:59:08 -0700 (Wed, 03 Oct 2018) | 6 lines [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. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/lld/branches/release_70@345732 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/ELF/local-ver-preemptible.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ELF/local-ver-preemptible.s b/test/ELF/local-ver-preemptible.s
index bfba4e95c..b99f700fb 100644
--- a/test/ELF/local-ver-preemptible.s
+++ b/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 0x290 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