[lld] r248930 - [ELF2] Expand test comment a little bit, use reloc name as section name.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 12:44:30 PDT 2015
Author: davide
Date: Wed Sep 30 14:44:30 2015
New Revision: 248930
URL: http://llvm.org/viewvc/llvm-project?rev=248930&view=rev
Log:
[ELF2] Expand test comment a little bit, use reloc name as section name.
Modified:
lld/trunk/test/elf2/aarch64-relocs.s
Modified: lld/trunk/test/elf2/aarch64-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/aarch64-relocs.s?rev=248930&r1=248929&r2=248930&view=diff
==============================================================================
--- lld/trunk/test/elf2/aarch64-relocs.s (original)
+++ lld/trunk/test/elf2/aarch64-relocs.s Wed Sep 30 14:44:30 2015
@@ -3,12 +3,16 @@
# RUN: llvm-objdump -d %t2 | FileCheck %s
# REQUIRES: aarch64
+.section .R_AARCH64_ADR_PREL_LO21,"ax", at 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.
More information about the llvm-commits
mailing list