mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
d4daf1762d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207111 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
456 B
ArmAsm
11 lines
456 B
ArmAsm
// RUN: llvm-mc -triple=aarch64-linux-gnu -filetype=obj -o - %s | llvm-objdump -triple=aarch64-linux-gnu -r - | FileCheck %s
|
|
|
|
// RUN: llvm-mc -triple=arm64-linux-gnu -filetype=obj -o - %s | llvm-objdump -triple=aarch64-linux-gnu -r - | FileCheck %s
|
|
|
|
add x0, x4, #:lo12:sym
|
|
// CHECK: 0 R_AARCH64_ADD_ABS_LO12_NC sym
|
|
add x3, x5, #:lo12:sym+1
|
|
// CHECK: 4 R_AARCH64_ADD_ABS_LO12_NC sym+1
|
|
add x3, x5, #:lo12:sym-1
|
|
// CHECK: 8 R_AARCH64_ADD_ABS_LO12_NC sym-1
|