tokenrove / st-linker

A very simple linker to use with m68k-assembler. Outputs Atari ST PRG files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An eventual goal for this linker once it reaches beyond simple Atari
ST output, is to use a much more general object and link script
format, to provide broad platform support.  I'm imagining a small
sexp-based DSL for describing the encodings of relocations and
whatnot, that would be present in the object file.  The real test
would be seeing how it supported modern RISC architecture instruction
encoding.

Issues:
- - test for bad relocations (I saw a local TEXT->TEXT once)
- - watch for unaligned output, warn.


Things to add in the linker:

Atari ST bootfloppy target?
  Maybe just some kind of special relocation output for a little
  loader we'd stick at the beginning of the image.
linker scripts!
Optimizing linker ideas (see Levine's Linkers and Loaders).

About

A very simple linker to use with m68k-assembler. Outputs Atari ST PRG files.


Languages

Language:Common Lisp 100.0%