Relocation table in AmigaOS hunks
See original GitHub issueI’m implementing Amiga Executable Hunks loader, and this binary format has relocation tables, like in PE/NE files. There is getRelocationTable()
method in Program
object, which returns RelocationTable
object. This table has public Relocation add(Address addr, int type, long[] values, byte[] bytes, String symbolName);
method, but I don’t understand what I must pass as type
, values
, and ‘bytes’ values.
Type
is int
, and values, that are used in other loaders, are for PE and ELF formats only.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
VASM/VLINK relocation issues - English Amiga Board
Amiga-Hunk executables only support 32-bit absolute relocations, not 16-bit. ... a relocation table and an external reference table, like the AmigaDOS hunk ......
Read more >amiga.txt
The Amiga OS takes care of all of this `relocation' by structuring executable files. Amiga programs are split into various segments, known as...
Read more >How can executables work when being thrown ... - Amiga.org
The Amiga Hunk format uses a relocatable loader. ... Decoding ELF binaries with relocation table and making use of it seems however way...
Read more >Kestrel - GitHub Pages
So, why not just relocate any linked executable at that point before ... of AmigaOS support ELF, originally, they simply adopted the Hunk...
Read more >dev/moni/HunkFunc.lha - Aminet
HUNK_RELOC32 (and other types) hold relocation information. - HUNK_END ends an hunk entry. - In HUNK_CODE, HUNK_DATA and HUNK_BSS the memory flags may...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Issue: https://github.com/NationalSecurityAgency/ghidra/issues/329
Thank you:)