https://github.com/tokenrove/st-linker
A very simple linker to use with m68k-assembler. Outputs Atari ST PRG files.
https://github.com/tokenrove/st-linker
Last synced: 5 months ago
JSON representation
A very simple linker to use with m68k-assembler. Outputs Atari ST PRG files.
- Host: GitHub
- URL: https://github.com/tokenrove/st-linker
- Owner: tokenrove
- Created: 2013-11-02T16:25:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-02T16:26:11.000Z (over 12 years ago)
- Last Synced: 2025-10-07T23:36:48.833Z (9 months ago)
- Language: Common Lisp
- Size: 109 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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).