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
59 lines
1.7 KiB
ArmAsm
59 lines
1.7 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
|
|
# RUN: echo "PHDRS {all PT_LOAD FILEHDR PHDRS FLAGS (1 | 1 + 0x1);} \
|
|
# RUN: SECTIONS { \
|
|
# RUN: . = 0x10000200; \
|
|
# RUN: .text : {*(.text*)} :all \
|
|
# RUN: .foo : {*(.foo.*)} :all \
|
|
# RUN: .data : {*(.data.*)} :all}" > %t.script
|
|
# RUN: ld.lld -o %t1 --script %t.script %t
|
|
# RUN: llvm-readobj -l %t1 | FileCheck %s
|
|
|
|
# RUN: echo "PHDRS {all PT_LOAD FILEHDR PHDRS FLAGS (0x1);} \
|
|
# RUN: SECTIONS { \
|
|
# RUN: . = 0x10000200; \
|
|
# RUN: .text : {*(.text*)} :all \
|
|
# RUN: .foo : {*(.foo.*)} \
|
|
# RUN: .data : {*(.data.*)} }" > %t.script
|
|
# RUN: ld.lld -o %t1 --script %t.script %t
|
|
# RUN: llvm-readobj -l %t1 | FileCheck --check-prefix=DEFHDR %s
|
|
|
|
# CHECK: ProgramHeaders [
|
|
# CHECK-NEXT: ProgramHeader {
|
|
# CHECK-NEXT: Type: PT_LOAD (0x1)
|
|
# CHECK-NEXT: Offset: 0x0
|
|
# CHECK-NEXT: VirtualAddress: 0x10000000
|
|
# CHECK-NEXT: PhysicalAddress: 0x10000000
|
|
# CHECK-NEXT: FileSize: 521
|
|
# CHECK-NEXT: MemSize: 521
|
|
# CHECK-NEXT: Flags [
|
|
# CHECK-NEXT: PF_W (0x2)
|
|
# CHECK-NEXT: PF_X (0x1)
|
|
# CHECK-NEXT: ]
|
|
|
|
# DEFHDR: ProgramHeaders [
|
|
# DEFHDR-NEXT: ProgramHeader {
|
|
# DEFHDR-NEXT: Type: PT_LOAD (0x1)
|
|
# DEFHDR-NEXT: Offset: 0x0
|
|
# DEFHDR-NEXT: VirtualAddress: 0x10000000
|
|
# DEFHDR-NEXT: PhysicalAddress: 0x10000000
|
|
# DEFHDR-NEXT: FileSize: 521
|
|
# DEFHDR-NEXT: MemSize: 521
|
|
# DEFHDR-NEXT: Flags [ (0x1)
|
|
# DEFHDR-NEXT: PF_X (0x1)
|
|
# DEFHDR-NEXT: ]
|
|
# DEFHDR-NEXT: Alignment: 4096
|
|
# DEFHDR-NEXT: }
|
|
|
|
.global _start
|
|
_start:
|
|
nop
|
|
|
|
.section .foo.1,"a"
|
|
foo1:
|
|
.long 0
|
|
|
|
.section .foo.2,"aw"
|
|
foo2:
|
|
.long 0
|