[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / MC / VE / data-reloc.s
blobe64a4364ee77a8e8219313d9b990a5b8be63b130
1 # RUN: llvm-mc -triple=ve -filetype=obj %s -o - | \
2 # RUN: llvm-objdump -r - | FileCheck %s
3 # RUN: llvm-mc -triple=ve -filetype=obj -position-independent %s -o - | \
4 # RUN: llvm-objdump -r - | FileCheck %s
6 .data
7 a:
8 ## An undefined reference of _GLOBAL_OFFSET_TABLE_ causes .got[0] to be
9 ## allocated to store _DYNAMIC.
10 .4byte _GLOBAL_OFFSET_TABLE_ - 8
11 .4byte _GLOBAL_OFFSET_TABLE_ - . - 8
12 .8byte _GLOBAL_OFFSET_TABLE_ - 8
14 # CHECK: 0000000000000000 R_VE_REFLONG _GLOBAL_OFFSET_TABLE_-0x8
15 # CHECK: 0000000000000004 R_VE_SREL32 _GLOBAL_OFFSET_TABLE_-0x8
16 # CHECK: 0000000000000008 R_VE_REFQUAD _GLOBAL_OFFSET_TABLE_-0x8