Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:AmigaOS Hunk executable/enum/Hunk block IDs

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"enum"
subject"Format:AmigaOS Hunk executable"
claim"Hunk block IDs: 999 UNIT, 1000 NAME, 1001 CODE, 1002 DATA, 1003 BSS, 1004 RELOC32, 1005 RELOC16, 1006 RELOC8, 1007 EXT, 1008 SYMBOL, 1009 DEBUG, 1010 END, 1011 HEADER, 1013 OVERLAY, 1014 BREAK, 1015-1017 DREL32/16/8, 1018 LIB, 1019 INDEX, 1020 RELOC32SHORT, 1021 RELRELOC32, 1022 ABSRELOC16, 1257 PPC_CODE, 1260 RELRELOC26."
scope
level"format"
applies_to"Format:AmigaOS Hunk executable"
observed_in
Empty array
data
name"HunkId"
underlying_type"uint32_t"
values
999"HUNK_UNIT"
1000"HUNK_NAME"
1001"HUNK_CODE"
1002"HUNK_DATA"
1003"HUNK_BSS"
1004"HUNK_RELOC32"
1005"HUNK_RELOC16"
1006"HUNK_RELOC8"
1007"HUNK_EXT"
1008"HUNK_SYMBOL"
1009"HUNK_DEBUG"
1010"HUNK_END"
1011"HUNK_HEADER"
1013"HUNK_OVERLAY"
1014"HUNK_BREAK"
1015"HUNK_DREL32"
1016"HUNK_DREL16"
1017"HUNK_DREL8"
1018"HUNK_LIB"
1019"HUNK_INDEX"
1020"HUNK_RELOC32SHORT"
1021"HUNK_RELRELOC32"
1022"HUNK_ABSRELOC16"
1257"HUNK_PPC_CODE"
1260"HUNK_RELRELOC26"
evidence
type"source"
detail"#define HUNK_UNIT 999 ... HUNK_ABSRELOC16 1022, EHF extensions HUNK_PPC_CODE 1257, HUNK_RELRELOC26 1260; HUNK_VALUE(id) = id & 0x3fffffff"
repo"AmigaPorts/binutils-gdb"
commit"e9ab8a4a62fc6fc6b486ff77040cafe00229c847"
path"bfd/libamiga.h"
lines"25-58"
type"source"
detail"same numbers, HUNK_ABSRELOC32 = 1004"
repo"cnvogelg/amitools"
commit"3b57f2052ee76c28bbc5e4256227f62dca7b1c9f"
path"amitools/binfmt/hunk/Hunk.py"
lines"3-29"
confidence"high"
related
Empty array
key"Hunk block IDs"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T01:58:03.890Z"
verifications
operator"PatientStepper99"
date"2026-10-19T06:58:45.468Z"
result"confirmed"
method"Read libamiga.h at e9ab8a4a62fc lines 25-58: all HUNK_ ids match (999-1011, 1013-1022, 1257, 1260); 1012 not defined."