RISC-V ELF psABI Document

June 2, 2025 ยท View on GitHub

Processor-specific application binary interface document for RISC-V.

This document includes the following items:

  • Procedure Calling Convention
  • ELF Object Files Format
  • DWARF Debug Information Format
  • Code Model
  • Relocation
  • Relaxation

The AsciiDoc sources can be rendered by GitHub, and pre-built PDFs can be downloaded from the repository's releases.

The latest snapshot can be viewed on GitHub Pages at https://riscv-non-isa.github.io/riscv-elf-psabi-doc/.

Navigation


NameURLDescription
RISC-V ELF psABIhttps://github.com/riscv-non-isa/riscv-elf-psabi-docProcessor-specific application binary interface document.
RISC-V Embedded ABI (Draft)https://github.com/riscv-non-isa/riscv-eabi-specProposal for new Embedded ABI (EABI) for use in embedded RISC-V systems.
RISC-V C APIhttps://github.com/riscv-non-isa/riscv-c-api-docRISC-V-specific predefined macros, function attributes and language extensions.
RISC-V Assembly Programmer's Manualhttps://github.com/riscv-non-isa/riscv-asm-manualDocument for pseudoinstructions and assembly directives.
RISC-V Toolchain Conventionshttps://github.com/riscv-non-isa/riscv-toolchain-conventionsRISC-V-specific toolchain behavior and command line option.
RISC-V Semihosting Spechttps://github.com/riscv/riscv-semihosting-specSpec for semihosting.
RISC-V Supervisor Binary Interfacehttps://github.com/riscv-non-isa/riscv-sbi-docSpec for SBI.

Links

Policy for Merging Pull Requests