mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 15:26:07 +00:00
dadfb33120
We previously stopped producing Thumb2 relaxations when they weren't supported, but only diagnosed the case where an actual relocation was produced. We should also tell people if local symbols aren't going to work rather than silently overflowing. llvm-svn: 249164
10 lines
257 B
ArmAsm
10 lines
257 B
ArmAsm
@ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
|
|
|
|
.global func1
|
|
adr r0, Lmisaligned
|
|
Lmisaligned:
|
|
.word 42
|
|
|
|
@ CHECK-ERROR: misaligned pc-relative fixup value
|
|
|