You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
356 B
15 lines
356 B
# RUN: not llvm-mc -triple thumbv7-windows -incremental-linker-compatible -filetype obj -o /dev/null 2>&1 %s \
|
|
# RUN: | FileCheck %s
|
|
|
|
.def invalid_relocation
|
|
.type 32
|
|
.scl 2
|
|
.endef
|
|
.global invalid_relocation
|
|
.thumb_func
|
|
invalid_relocation:
|
|
adr r0, invalid_relocation+1
|
|
|
|
# CHECK: LLVM ERROR: unsupported relocation type: fixup_t2_adr_pcrel_12
|
|
|