Skip to content

Standard Loadable/Relocatable Code #16

@someone2639

Description

@someone2639

Rationale

Some code (e.g. actors, level scene code) should not be globally loaded, but no "standard" framework or tooling exists to accomplish this.

Existing work

Various statically loaded overlay formats in games like Kirby 64

libdragon's DSO format includes tooling and an API.

fado creates relocation info suitable for Ocarina of Time.

elf_reloctool aims to be simple to use, but is incomplete.

Simply use the TLB

Notably, all tools and methods listed have their own unique requirements in terms of compiler flags to build an object with (no -ffunction-sections, no gp-relative relocations, etc.). Removing these limitations (if possible) would be ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions