CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
46 lines
1.3 KiB
ArmAsm
46 lines
1.3 KiB
ArmAsm
# REQUIRES: aarch64
|
|
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
|
|
# RUN: ld.lld -shared %t.o -o %t.so
|
|
# RUN: llvm-readobj -d -r %t.so | FileCheck %s --check-prefix=IE-REL
|
|
# RUN: llvm-objdump -d --no-show-raw-insn --print-imm-hex %t.so | FileCheck %s --check-prefix=IE
|
|
|
|
# RUN: ld.lld %t.o -o %t
|
|
# RUN: llvm-readobj -d -r %t | FileCheck %s --check-prefix=LE-REL
|
|
# RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t | FileCheck %s --check-prefix=LE
|
|
|
|
# IE-REL: FLAGS STATIC_TLS
|
|
# IE-REL: .rela.dyn {
|
|
# IE-REL-NEXT: 0x20390 R_AARCH64_TLS_TPREL64 - 0xC
|
|
# IE-REL-NEXT: 0x20388 R_AARCH64_TLS_TPREL64 a 0x0
|
|
# IE-REL-NEXT: }
|
|
|
|
# IE: adrp x0, 0x20000
|
|
# IE-NEXT: ldr x0, [x0, #0x388]
|
|
# IE-NEXT: adrp x1, 0x20000
|
|
# IE-NEXT: ldr x1, [x1, #0x390]
|
|
|
|
# LE-REL-NOT: FLAGS
|
|
# LE-REL: Relocations [
|
|
# LE-REL-NEXT: ]
|
|
|
|
## TP is followed by a gap of 2 words, followed by alignment padding (empty in this case), then the static TLS blocks.
|
|
## a's offset is 16+8=24.
|
|
# LE: movz x0, #0, lsl #16
|
|
# LE-NEXT: movk x0, #24
|
|
# LE-NEXT: movz x1, #0, lsl #16
|
|
# LE-NEXT: movk x1, #28
|
|
|
|
.globl _start
|
|
_start:
|
|
adrp x0, :gottprel:a
|
|
ldr x0, [x0, #:gottprel_lo12:a]
|
|
adrp x1, :gottprel:b
|
|
ldr x1, [x1, #:gottprel_lo12:b]
|
|
|
|
.section .tbss,"awT",%nobits
|
|
.globl a
|
|
.zero 8
|
|
a:
|
|
.zero 4
|
|
b:
|