Skip to content

Conversation

@katsyoshi
Copy link
Owner

@katsyoshi katsyoshi commented Dec 23, 2025

Linker Checklist

  • Read ELF header and section headers
  • Load .text, .symtab, .strtab, .shstrtab, .rel.text
  • Build symbol table and resolve local symbols (single file)
  • Decide output layout (place .text at fixed vaddr, compute offsets)
  • Apply R_X86_64_PC32 relocations to .text
  • Emit output ELF headers and sections
  • Set e_entry to main

@katsyoshi katsyoshi changed the title exclude ai agent docs implement linker Dec 23, 2025
@katsyoshi katsyoshi changed the title implement linker implement a linker Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants