blob: 74e5dae5264f6b443f05b8d094d879fc42929c38 [file] [log] [blame]
# RUN: not llvm-mc -triple mips-unknown-linux %s \
# RUN: -target-abi=o32 -filetype=obj -o /dev/null 2>&1 | FileCheck %s
.text
nop
.reloc foo, R_MIPS_32, .text # CHECK: :[[@LINE]]:8: error: .reloc offset is not relative to a section
nop
nop
.reloc bar, R_MIPS_32, .text # CHECK: :[[@LINE]]:8: error: .reloc offset is not relative to a section
nop