forked from OSchip/llvm-project
[ELF2] Expand test comment a little bit, use reloc name as section name.
llvm-svn: 248930
This commit is contained in:
parent
0a63c6bffe
commit
c02fcafef6
|
@ -3,12 +3,16 @@
|
|||
# RUN: llvm-objdump -d %t2 | FileCheck %s
|
||||
# REQUIRES: aarch64
|
||||
|
||||
.section .R_AARCH64_ADR_PREL_LO21,"ax",@progbits
|
||||
.globl _start
|
||||
_start:
|
||||
adr x1,msg
|
||||
msg: .asciz "Hello, world\n"
|
||||
msgend:
|
||||
|
||||
// R_AARCH64_ADR_PREL_LO21
|
||||
# CHECK: Disassembly of section .R_AARCH64_ADR_PREL_LO21:
|
||||
# CHECK: _start:
|
||||
# CHECK: 11000: 21 00 00 10 adr x1, #4
|
||||
# CHECK: 0: 21 00 00 10 adr x1, #4
|
||||
# CHECK: msg:
|
||||
# CHECK: 4:
|
||||
# #4 is the adr immediate value.
|
||||
|
|
Loading…
Reference in New Issue