mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +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
17 lines
311 B
ArmAsm
17 lines
311 B
ArmAsm
# RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \
|
|
# RUN: -mattr=micromips | llvm-readobj -r - \
|
|
# RUN: | FileCheck %s
|
|
# CHECK: Relocations [
|
|
# CHECK: 0x0 R_MIPS_32 bar
|
|
# CHECK: 0x4 R_MIPS_32 L1
|
|
|
|
.set micromips
|
|
.type bar,@function
|
|
bar:
|
|
L1:
|
|
nop
|
|
.data
|
|
.4byte bar
|
|
.4byte L1
|
|
|