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
41 lines
950 B
ArmAsm
41 lines
950 B
ArmAsm
# REQUIRES: loongarch
|
|
|
|
# RUN: llvm-mc --filetype=obj --triple=loongarch64-unknown-elf %s -o %t.la64.o
|
|
|
|
# RUN: ld.lld --section-start=.text=0x1234567890 --section-start=.rodata=0x9876543210 %t.la64.o -o %t.la64
|
|
# RUN: llvm-readelf -x .rodata %t.la64 | FileCheck --check-prefix=CHECK %s
|
|
# CHECK: section '.rodata':
|
|
# CHECK-NEXT: 0x9876543210 10325476 98badcfe 804602be 79ffffff
|
|
# CHECK-NEXT: 0x9876543220 804602be 80468097
|
|
|
|
.text
|
|
.global _start
|
|
_start:
|
|
1:
|
|
break 0
|
|
|
|
.rodata
|
|
2:
|
|
.dword 0xfedcba9876543210
|
|
|
|
foo:
|
|
.dword 0
|
|
.reloc foo, R_LARCH_ADD64, 1b
|
|
.reloc foo, R_LARCH_SUB64, 2b
|
|
bar:
|
|
.word 0
|
|
.reloc bar, R_LARCH_ADD32, 1b
|
|
.reloc bar, R_LARCH_SUB32, 2b
|
|
baz:
|
|
.short 0
|
|
.reloc baz, R_LARCH_ADD16, 1b
|
|
.reloc baz, R_LARCH_SUB16, 2b
|
|
quux:
|
|
.byte 0
|
|
.reloc quux, R_LARCH_ADD8, 1b
|
|
.reloc quux, R_LARCH_SUB8, 2b
|
|
qux:
|
|
.byte 0b10000000
|
|
.reloc qux, R_LARCH_ADD6, qux
|
|
.reloc qux, R_LARCH_SUB6, 2b
|