Skip to content

Commit 4fd48ac

Browse files
[test] Fix dissassemble-entry-point.s for #140187 (#140978)
similar to #140570 getting this error: exit status 1 ld.lld: error: section '.text' address (0x8074) is smaller than image base (0x10000); specify --image-base
1 parent f0ddadf commit 4fd48ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# REQUIRES: lld, arm
22

33
# RUN: llvm-mc -triple=thumbv7-eabi %s -filetype=obj -o %t.o
4-
# RUN: ld.lld %t.o -o %t --section-start=.text=0x8074 -e 0x8075 -s
4+
# RUN: ld.lld %t.o -o %t --image-base=0x8000 --section-start=.text=0x8074 -e 0x8075 -s
55
# RUN: %lldb -x -b -o 'dis -s 0x8074 -e 0x8080' -- %t | FileCheck %s
66
# CHECK: {{.*}}[0x8074] <+0>: movs r0, #0x2a
77
# CHECK-NEXT: {{.*}}[0x8076] <+2>: movs r7, #0x1
@@ -10,4 +10,4 @@
1010
_start:
1111
movs r0, #0x2a
1212
movs r7, #0x1
13-
svc #0x0
13+
svc #0x0

0 commit comments

Comments
 (0)