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
43 lines
1.3 KiB
ArmAsm
43 lines
1.3 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
|
|
# RUN: echo "SECTIONS { \
|
|
# RUN: . = 0x1000; \
|
|
# RUN: .aaa : AT(0x2000) { *(.aaa) } \
|
|
# RUN: .bbb : { *(.bbb) } \
|
|
# RUN: .ccc : AT(0x3000) { *(.ccc) } \
|
|
# RUN: .ddd : AT(0x4000) { *(.ddd) } \
|
|
# RUN: .text : { *(.text) } \
|
|
# RUN: aaa_lma = LOADADDR(.aaa); \
|
|
# RUN: bbb_lma = LOADADDR(.bbb); \
|
|
# RUN: ccc_lma = LOADADDR(.ccc); \
|
|
# RUN: ddd_lma = LOADADDR(.ddd); \
|
|
# RUN: txt_lma = LOADADDR(.text); \
|
|
# RUN: }" > %t.script
|
|
# RUN: ld.lld %t --script %t.script -o %t2
|
|
# RUN: llvm-objdump -t %t2 | FileCheck %s
|
|
# RUN: echo "SECTIONS { v = LOADADDR(.zzz); }" > %t.script
|
|
# RUN: not ld.lld %t --script %t.script -o /dev/null 2>&1 | FileCheck --check-prefix=ERROR %s
|
|
|
|
# CHECK: 0000000000002000 g *ABS* 0000000000000000 aaa_lma
|
|
# CHECK-NEXT: 0000000000002008 g *ABS* 0000000000000000 bbb_lma
|
|
# CHECK-NEXT: 0000000000003000 g *ABS* 0000000000000000 ccc_lma
|
|
# CHECK-NEXT: 0000000000004000 g *ABS* 0000000000000000 ddd_lma
|
|
# CHECK-NEXT: 0000000000004008 g *ABS* 0000000000000000 txt_lma
|
|
# ERROR: {{.*}}.script:1: undefined section .zzz
|
|
|
|
.global _start
|
|
_start:
|
|
nop
|
|
|
|
.section .aaa, "a"
|
|
.quad 0
|
|
|
|
.section .bbb, "a"
|
|
.quad 0
|
|
|
|
.section .ccc, "a"
|
|
.quad 0
|
|
|
|
.section .ddd, "a"
|
|
.quad 0
|