16 lines · plain
1// RUN: not llvm-mc -triple=i686-apple-darwin -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR2 .space 0x10000003 mov %eax, thing-thing24 mov %eax, defined-thing25 mov %eax, later-defined6 7 .section __DATA,__tim8defined:9 10 .section __DATA,__tim211later:12 13// CHECK-ERROR: 3:24: error: symbol 'thing' can not be undefined in a subtraction expression14// CHECK-ERROR: 4:26: error: symbol 'thing2' can not be undefined in a subtraction expression15// CHECK-ERROR: 5:24: error: Section too large, can't encode r_address (0x100000b) into 24 bits of scattered relocation entry.16