Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

75 lines
2.5 KiB
ArmAsm

# REQUIRES: riscv
# RUN: llvm-mc -filetype=obj -triple=riscv32 %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-readobj --file-headers %t | FileCheck --check-prefix=RV32 %s
# RUN: ld.lld -m elf32lriscv %t.o -o %t
# RUN: llvm-readobj --file-headers %t | FileCheck --check-prefix=RV32 %s
# RUN: echo 'OUTPUT_FORMAT(elf32-littleriscv)' > %t.script
# RUN: ld.lld %t.script %t.o -o %t
# RUN: llvm-readobj --file-headers %t | FileCheck --check-prefix=RV32 %s
# RV32: ElfHeader {
# RV32-NEXT: Ident {
# RV32-NEXT: Magic: (7F 45 4C 46)
# RV32-NEXT: Class: 32-bit (0x1)
# RV32-NEXT: DataEncoding: LittleEndian (0x1)
# RV32-NEXT: FileVersion: 1
# RV32-NEXT: OS/ABI: SystemV (0x0)
# RV32-NEXT: ABIVersion: 0
# RV32-NEXT: Unused: (00 00 00 00 00 00 00)
# RV32-NEXT: }
# RV32-NEXT: Type: Executable (0x2)
# RV32-NEXT: Machine: EM_RISCV (0xF3)
# RV32-NEXT: Version: 1
# RV32-NEXT: Entry:
# RV32-NEXT: ProgramHeaderOffset: 0x34
# RV32-NEXT: SectionHeaderOffset:
# RV32-NEXT: Flags [ (0x0)
# RV32-NEXT: ]
# RV32-NEXT: HeaderSize: 52
# RV32-NEXT: ProgramHeaderEntrySize: 32
# RV32-NEXT: ProgramHeaderCount:
# RV32-NEXT: SectionHeaderEntrySize: 40
# RV32-NEXT: SectionHeaderCount:
# RV32-NEXT: StringTableSectionIndex:
# RV32-NEXT: }
# RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-readobj --file-headers %t | FileCheck --check-prefix=RV64 %s
# RUN: ld.lld -m elf64lriscv %t.o -o %t
# RUN: llvm-readobj --file-headers %t | FileCheck --check-prefix=RV64 %s
# RUN: echo 'OUTPUT_FORMAT(elf64-littleriscv)' > %t.script
# RUN: ld.lld %t.script %t.o -o %t
# RUN: llvm-readobj --file-headers %t | FileCheck --check-prefix=RV64 %s
# RV64: ElfHeader {
# RV64-NEXT: Ident {
# RV64-NEXT: Magic: (7F 45 4C 46)
# RV64-NEXT: Class: 64-bit (0x2)
# RV64-NEXT: DataEncoding: LittleEndian (0x1)
# RV64-NEXT: FileVersion: 1
# RV64-NEXT: OS/ABI: SystemV (0x0)
# RV64-NEXT: ABIVersion: 0
# RV64-NEXT: Unused: (00 00 00 00 00 00 00)
# RV64-NEXT: }
# RV64-NEXT: Type: Executable (0x2)
# RV64-NEXT: Machine: EM_RISCV (0xF3)
# RV64-NEXT: Version: 1
# RV64-NEXT: Entry:
# RV64-NEXT: ProgramHeaderOffset: 0x40
# RV64-NEXT: SectionHeaderOffset:
# RV64-NEXT: Flags [ (0x0)
# RV64-NEXT: ]
# RV64-NEXT: HeaderSize: 64
# RV64-NEXT: ProgramHeaderEntrySize: 56
# RV64-NEXT: ProgramHeaderCount:
# RV64-NEXT: SectionHeaderEntrySize: 64
# RV64-NEXT: SectionHeaderCount:
# RV64-NEXT: StringTableSectionIndex:
# RV64-NEXT: }
.globl _start
_start: