brintos

brintos / llvm-project-archived public Read only

0
0
Text · 468 B · 41cdb89 Raw
17 lines · plain
1# REQUIRES: mips2# Check reading/writing implicit addend for R_MIPS_26 relocation.3 4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o5# RUN: ld.lld %t.o -o %t.exe6# RUN: llvm-objdump -d --no-show-raw-insn --print-imm-hex %t.exe | FileCheck %s7 8# CHECK:      Disassembly of section .text:9# CHECK-EMPTY:10# CHECK:      <__start>:11# CHECK-NEXT:   [[ADDR:[0-9a-f]+]]:       jal     0x80[[ADDR]]12 13  .text14  .global __start15__start:16  jal __start+0x800000017