You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HunkRelocate class is used to relocate a LoadSeg() binary into memory. In a binary only 32 bit relocations are used (and supported by the Dos LoadSegment()). Supported are both 32 bit relocs stored in 32 bit and 16 bit words.
Your example is an object file. This needs to be treated by a linker first to resolve shorter relocations when placing the object into final segments. Linker support is currently not available in amitools.
amitools/amitools/binfmt/hunk/HunkRelocate.py
Lines 66 to 67 in 21d2e19
My question is why are you patching only 32-bit relocs here? And what to do with 16 and 8 bit relocs?
The text was updated successfully, but these errors were encountered: