xref: /aosp_15_r20/external/llvm/test/MC/PowerPC/ppc64-localentry-error2.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker
2*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple powerpc64-unknown-unknown -filetype=obj < %s 2> %t
3*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck < %t %s
4*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple powerpc64le-unknown-unknown -filetype=obj < %s 2> %t
5*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck < %t %s
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker	.globl remote_sym
8*9880d681SAndroid Build Coastguard Workersym:
9*9880d681SAndroid Build Coastguard Worker	.localentry sym, remote_sym
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker# CHECK: LLVM ERROR: .localentry expression must be absolute.
12*9880d681SAndroid Build Coastguard Worker
13