Skip to content

Separate per-architecture object and relocation translation in asmobj #361

Closed

Description

@LunaStev

Purpose

Keep native format writing in object and place ISA-specific assembly relocation translation in clear architecture modules selected by explicit asmobj dispatch. Keep existing object/read/link libraries behind their ordinary internal interfaces.

Completion criteria

  • Preserve ELF/COFF/Mach-O relocation namespaces, addends, symbols, sparse BSS and output limits.
  • Document the small source and dispatch edits needed to add an architecture or object format; reject mismatched targets and unsupported translations.
  • Linker support remains explicit: unsupported execution linking or relocations fail before patching and preserve prior input/output.

Delivery

Batch 6/8 — Wave AArch64, RV64I, LoongArch64 and object bridge in #335. Complete preceding batches first. Exactly one DCO commit per batch and one PR for all eight batches.

Scope correction from the maintainer: targets are source contributions like kernel architectures/drivers. Adding a target may update explicit core definitions, dispatch and Meson lists. Do not introduce an SDK, generic plugin system, automatic module registration or an out-of-tree no-core-change guarantee.

Wave-owned algorithms must execute in Wave; Rust may retain file/OS/CLI/object/link bridges and explicit test/reference implementations. Do not modify the separately owned Wave checkout or take over #100. Preserve existing supported behavior and limits.

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added
    enhancement
    assembler
    linker
    object
    on Oct 22, 2026
  3. changed the title [-]Route asmobj native formats and relocation translation through registered providers[/-] [+]Separate per-architecture object and relocation translation in asmobj[/+] on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

assemblerenhancementlinkerobject

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions