Files
clang-p2996/lld/test/elf/Mips/mips32.test
2014-03-09 13:19:54 +00:00

22 lines
436 B
Plaintext

# Check handling R_MIPS_32 relocation.
#
# RUN: llvm-mc -triple=mipsel -filetype=obj -o=%t-obj %s
# RUN: lld -flavor gnu -target mipsel -o %t-exe %t-obj
# RUN: llvm-objdump -s %t-exe | FileCheck %s
# CHECK: Contents of section .data:
# CHECK-NEXT: 422000 28014000 2c014200 (.@.,.B.
.global __start
.ent __start
__start:
nop
.space 0x20000
la:
nop
.end __start
.data
.4byte __start
.4byte la