1# REQUIRES: mips 2# Check reading/writing implicit addend for R_MIPS_26 relocation. 3 4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o 5# RUN: ld.lld %t.o -o %t.exe 6# RUN: llvm-objdump -d --no-show-raw-insn --print-imm-hex %t.exe | FileCheck %s 7 8# CHECK: Disassembly of section .text: 9# CHECK-EMPTY: 10# CHECK: <__start>: 11# CHECK-NEXT: [[ADDR:[0-9a-f]+]]: jal 0x80[[ADDR]] 12 13 .text 14 .global __start 15__start: 16 jal __start+0x8000000 17