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
44 lines
1.3 KiB
ArmAsm
44 lines
1.3 KiB
ArmAsm
# REQUIRES: aarch64
|
|
|
|
# RUN: rm -rf %t && split-file %s %t && cd %t
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=aarch64 %p/Inputs/shared.s -o lib.o
|
|
# RUN: ld.lld -shared lib.o -soname lib.so -o lib.so
|
|
|
|
## Checks if got access to dynamic objects is done through a got relative
|
|
## dynamic relocation and not using plt relative (R_AARCH64_JUMP_SLOT).
|
|
# RELOC: .rela.dyn {
|
|
# RELOC-NEXT: 0x220318 R_AARCH64_GLOB_DAT bar 0x0
|
|
# RELOC-NEXT: }
|
|
|
|
#--- small.s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=aarch64 small.s -o small.o
|
|
# RUN: ld.lld lib.so small.o -o small
|
|
# RUN: llvm-readobj -r small | FileCheck --check-prefix=RELOC %s
|
|
# RUN: llvm-objdump -d --no-show-raw-insn small | FileCheck --check-prefix=DIS-SMALL %s
|
|
|
|
## page(0x220318) & 0xff8 = 0x318
|
|
# DIS-SMALL: <_start>:
|
|
# DIS-SMALL-NEXT: adrp x0, 0x220000
|
|
# DIS-SMALL-NEXT: ldr x0, [x0, #0x318]
|
|
|
|
.globl _start
|
|
_start:
|
|
adrp x0, :got:bar
|
|
ldr x0, [x0, :got_lo12:bar]
|
|
|
|
#--- tiny.s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=aarch64 tiny.s -o tiny.o
|
|
# RUN: ld.lld lib.so tiny.o -o tiny
|
|
# RUN: llvm-readobj -r tiny | FileCheck --check-prefix=RELOC %s
|
|
# RUN: llvm-objdump -d --no-show-raw-insn tiny | FileCheck --check-prefix=DIS-TINY %s
|
|
|
|
# DIS-TINY: <_start>:
|
|
# DIS-TINY-NEXT: ldr x0, 0x220318
|
|
|
|
.globl _start
|
|
_start:
|
|
ldr x0, :got:bar
|