mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
81bf65619f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255036 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
635 B
ArmAsm
16 lines
635 B
ArmAsm
// RUN: not llvm-mc -triple=i686-apple-darwin -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
|
|
.space 0x1000000
|
|
mov %eax, thing-thing2
|
|
mov %eax, defined-thing2
|
|
mov %eax, later-defined
|
|
|
|
.section __DATA,__tim
|
|
defined:
|
|
|
|
.section __DATA,__tim2
|
|
later:
|
|
|
|
// CHECK-ERROR: 3:9: error: symbol 'thing' can not be undefined in a subtraction expression
|
|
// CHECK-ERROR: 4:9: error: symbol 'thing2' can not be undefined in a subtraction expression
|
|
// CHECK-ERROR: 5:9: error: Section too large, can't encode r_address (0x100000b) into 24 bits of scattered relocation entry.
|