riscv-non-isa/riscv-elf-psabi-doc

A RISC-V ELF psABI Document

852

stars

622

commits

Python

primary language

Aug 13, 2026

updated

riscv.atlassian.net/browse/RVG-4Browse cluster: Scala-based Hardware Description and RISC-V Design

README

RISC-V ELF psABI Document

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

Contributors

(top 30 of 56)

kito-cheng

283 commits

jrtc27

65 commits

aswaterman

47 commits

larkmjc

39 commits

riscv-non-isa/riscv-elf-psabi-doc

A RISC-V ELF psABI Document

852

stars

622

commits

Python

primary language

Aug 13, 2026

updated

riscv.atlassian.net/browse/RVG-4Browse cluster: Scala-based Hardware Description and RISC-V Design

README

RISC-V ELF psABI Document

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

Contributors

(top 30 of 56)

kito-cheng

283 commits

jrtc27

65 commits

aswaterman

47 commits

larkmjc

39 commits

Languages

Python

81.2%

Makefile

18.8%