[ELF2] Expand test comment a little bit, use reloc name as section name.

llvm-svn: 248930
This commit is contained in:
Davide Italiano 2015-09-30 19:44:30 +00:00
parent 0a63c6bffe
commit c02fcafef6
1 changed files with 6 additions and 2 deletions

View File

@ -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.