mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
73a8f9248f
Replace - error: No relocation available to represent this relative expression with + error: symbol 'undef' can not be undefined in a subtraction expression or + error: Cannot represent a difference across sections Keep !IsPcRel as an assertion after the two diagnostic checks are done. llvm-svn: 369239
12 lines
304 B
ArmAsm
12 lines
304 B
ArmAsm
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
|
|
// RUN: 2>&1 | FileCheck %s
|
|
|
|
// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: Cannot represent a difference across sections
|
|
// CHECK-NEXT: call foo - bar
|
|
call foo - bar
|
|
|
|
.section .foo
|
|
foo:
|
|
.section .bar
|
|
bar:
|