User Tools

Site Tools


software:amigalibrarybase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
software:amigalibrarybase [2020/10/14 09:44]
solar
software:amigalibrarybase [2020/10/14 09:44] (current)
solar
Line 7: Line 7:
 ===== Hunk Format ===== ===== Hunk Format =====
  
-AmigaOS binaries came in a special (non-ELF, non-PE) format that made it possible to split each binary into multiple "​hunks"​. (Think of each translation unit as a "​hunk"​.) Code was always PIC (position-independent code), something that was easily done given the address modes of the 680x0 CPU that Amigas were based on. Addressing inside a hunk was IP-relative (IP: Instruction Pointer), addressing across hunks used a relocation table set up by the scatterloader.+AmigaOS binaries came in a special (non-ELF, non-PE) format that made it possible to split each binary into multiple "​hunks"​. (Think of each translation unit / source file as a "​hunk"​.) Code was always PIC (position-independent code), something that was easily done given the address modes of the 680x0 CPU that Amigas were based on. Addressing inside a hunk was IP-relative (IP: Instruction Pointer), addressing across hunks used a relocation table set up by the scatterloader.
  
 ===== Scatterloader ===== ===== Scatterloader =====
software/amigalibrarybase.txt ยท Last modified: 2020/10/14 09:44 by solar