mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
c7112b7126
This is https://bugs.llvm.org/show_bug.cgi?id=44257. In LLVM style we always print `0` as addend when dumping SHT_REL relocations. It is confusing, this patch stops printing it as the first comment on the bug page suggests. Differential revision: https://reviews.llvm.org/D93033
19 lines
577 B
ArmAsm
19 lines
577 B
ArmAsm
// RUN: llvm-mc -triple=armv7-linux-gnueabi -filetype=obj %s -o - | \
|
|
// RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ %s
|
|
|
|
bleq some_label
|
|
bl some_label
|
|
blx some_label
|
|
beq some_label
|
|
b some_label
|
|
|
|
// OBJ: Relocations [
|
|
// OBJ-NEXT: Section {{.*}} .rel.text {
|
|
// OBJ-NEXT: 0x0 R_ARM_JUMP24 some_label
|
|
// OBJ-NEXT: 0x4 R_ARM_CALL some_label
|
|
// OBJ-NEXT: 0x8 R_ARM_CALL some_label
|
|
// OBJ-NEXT: 0xC R_ARM_JUMP24 some_label
|
|
// OBJ-NEXT: 0x10 R_ARM_JUMP24 some_label
|
|
// OBJ-NEXT: }
|
|
// OBJ-NEXT: ]
|