<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=REL_%28File_Format%29</id>
	<title>REL (File Format) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=REL_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=REL_(File_Format)&amp;action=history"/>
	<updated>2026-04-07T18:45:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=REL_(File_Format)&amp;diff=619&amp;oldid=prev</id>
		<title>Wexos at 16:29, 15 July 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=REL_(File_Format)&amp;diff=619&amp;oldid=prev"/>
		<updated>2025-07-15T16:29:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:29, 15 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x0C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Number of sections&amp;#039;&amp;#039;&amp;#039; stored in the file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x0C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Number of sections&amp;#039;&amp;#039;&amp;#039; stored in the file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x10 || UInt32 || &#039;&#039;&#039;[[#Section Info Table|Section info table]] offset&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x10 || UInt32 || &#039;&#039;&#039;[[#Section Info Table|Section info table]] offset&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/ins&gt;&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x14 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Name offset&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x14 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Name offset&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot;&gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;! Offset !! Type !! Description&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;! Offset !! Type !! Description&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x00 || UInt32 || &#039;&#039;&#039;Module &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;number&lt;/del&gt;&#039;&#039;&#039; which the relocation refers to. 0 means the relocations are for [[DOL|main.dol]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x00 || UInt32 || &#039;&#039;&#039;Module &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ID&lt;/ins&gt;&#039;&#039;&#039; which the relocation refers to. 0 means the relocations are for [[DOL|main.dol]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Relocation Table|Relocation table]] offset&amp;#039;&amp;#039;&amp;#039;, relative to the start of the file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Relocation Table|Relocation table]] offset&amp;#039;&amp;#039;&amp;#039;, relative to the start of the file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=REL_(File_Format)&amp;diff=617&amp;oldid=prev</id>
		<title>Wexos: Created page with &quot;&#039;&#039;&#039;REL&#039;&#039;&#039; is a executable file format containing relocatable objects. It is similar to RSO, however, RSO files are relocated using symbol names while REL files are relocated using static memory addresses.  = File Format =  == Header == The file starts with the following structure:  {| class=&quot;wikitable&quot; ! Offset !! Type !! Description |- | 0x00 || UInt32 || &#039;&#039;&#039;Module ID&#039;&#039;&#039;. Must be a unique non-zero integer amongst all loaded REL files. |- | 0x04 || UInt32 || &#039;&#039;&#039;Next...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=REL_(File_Format)&amp;diff=617&amp;oldid=prev"/>
		<updated>2025-07-15T16:28:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;REL&amp;#039;&amp;#039;&amp;#039; is a executable file format containing relocatable objects. It is similar to &lt;a href=&quot;/index.php/RSO&quot; class=&quot;mw-redirect&quot; title=&quot;RSO&quot;&gt;RSO&lt;/a&gt;, however, RSO files are relocated using symbol names while REL files are relocated using static memory addresses.  = File Format =  == Header == The file starts with the following structure:  {| class=&amp;quot;wikitable&amp;quot; ! Offset !! Type !! Description |- | 0x00 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Module ID&amp;#039;&amp;#039;&amp;#039;. Must be a unique non-zero integer amongst all loaded REL files. |- | 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Next...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;REL&amp;#039;&amp;#039;&amp;#039; is a executable file format containing relocatable objects. It is similar to [[RSO]], however, RSO files are relocated using symbol names while REL files are relocated using static memory addresses.&lt;br /&gt;
&lt;br /&gt;
= File Format =&lt;br /&gt;
&lt;br /&gt;
== Header ==&lt;br /&gt;
The file starts with the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Module ID&amp;#039;&amp;#039;&amp;#039;. Must be a unique non-zero integer amongst all loaded REL files.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Next module pointer&amp;#039;&amp;#039;&amp;#039;. Always 0, filled at runtime.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Previous module pointer&amp;#039;&amp;#039;&amp;#039;. Always 0, filled at runtime.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Number of sections&amp;#039;&amp;#039;&amp;#039; stored in the file.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Section Info Table|Section info table]] offset&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Name offset&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Name size&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Version number&amp;#039;&amp;#039;&amp;#039; of the REL format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x20 || UInt32 || &amp;#039;&amp;#039;&amp;#039;.bss size&amp;#039;&amp;#039;&amp;#039; in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Relocation Table|Relocation table]] offset&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x28 || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Import Table|Import table]] offset&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Import Table|Import table]] size&amp;#039;&amp;#039;&amp;#039; in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Byte || &amp;#039;&amp;#039;&amp;#039;Prolog section index&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x31 || Byte || &amp;#039;&amp;#039;&amp;#039;Epilog section index&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x32 || Byte || &amp;#039;&amp;#039;&amp;#039;Unresolved section index&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x33 || Byte || &amp;#039;&amp;#039;&amp;#039;.bss section index&amp;#039;&amp;#039;&amp;#039;. Always 0, filled at runtime.&lt;br /&gt;
|-&lt;br /&gt;
| 0x34 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Prolog offset&amp;#039;&amp;#039;&amp;#039; into the section specified above.&lt;br /&gt;
|-&lt;br /&gt;
| 0x38 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Epilog offset&amp;#039;&amp;#039;&amp;#039; into the section specified above.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Unresolved offset&amp;#039;&amp;#039;&amp;#039; into the section specified above.&lt;br /&gt;
|- bgcolor=&amp;quot;#AAFFAA&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; align=&amp;quot;center&amp;quot; | &amp;#039;&amp;#039;&amp;#039;If version &amp;amp;ge; 2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- bgcolor=&amp;quot;#DDFFDD&amp;quot;&lt;br /&gt;
| 0x40 || UInt32 || &amp;#039;&amp;#039;&amp;#039;REL load alignment constraint&amp;#039;&amp;#039;&amp;#039;, as a power of 2.&lt;br /&gt;
|- bgcolor=&amp;quot;#DDFFDD&amp;quot;&lt;br /&gt;
| 0x44 || UInt32 || &amp;#039;&amp;#039;&amp;#039;.bss section alignment constraint&amp;#039;&amp;#039;&amp;#039;, as a power of 2.&lt;br /&gt;
|- bgcolor=&amp;quot;#FFAAAA&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; align=&amp;quot;center&amp;quot; | &amp;#039;&amp;#039;&amp;#039;If version &amp;amp;ge; 3&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|- bgcolor=&amp;quot;#FFDDDD&amp;quot;&lt;br /&gt;
| 0x48 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Fix size&amp;#039;&amp;#039;&amp;#039;. If a REL is linked with &amp;#039;&amp;#039;OSLinkFixed&amp;#039;&amp;#039;, the space after this address can be used for other purposes such as .bss.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Section Info Table ==&lt;br /&gt;
The section info table points to the data for each section. The [[#Header|header]] specifies the number of sections. Each section has the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Section data offset&amp;#039;&amp;#039;&amp;#039;, relative to the start of the file. If the offset is zero, the section is allocated and initialized at runtime (like .bss). The least significant bit specifies whether the section is executable (1) or just data (0).&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Section data size&amp;#039;&amp;#039;&amp;#039; in bytes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Relocation Table ==&lt;br /&gt;
The relocation table is used to relocate section data to a different memory address. Each relocation entry has the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Data offset&amp;#039;&amp;#039;&amp;#039;, relative to the previous relocation table entry. For the first relocation entry this is relative to the section start.&lt;br /&gt;
|-&lt;br /&gt;
| 0x02 || Byte || &amp;#039;&amp;#039;&amp;#039;Relocation type&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x03 || Byte || &amp;#039;&amp;#039;&amp;#039;Section index&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || Byte || &amp;#039;&amp;#039;&amp;#039;Add end&amp;#039;&amp;#039;&amp;#039;. Offset in bytes of the symbol to relocate against, relative to the start of its section. For relocations against [[DOL|main.dol]], this is instead a virtual memory address.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Import Table ==&lt;br /&gt;
The import table specify information used for relocation. It specifies relocation data for each module. Each entry has the following structure:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Module number&amp;#039;&amp;#039;&amp;#039; which the relocation refers to. 0 means the relocations are for [[DOL|main.dol]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;[[#Relocation Table|Relocation table]] offset&amp;#039;&amp;#039;&amp;#039;, relative to the start of the file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle REL files:&lt;br /&gt;
* [[BrawlBox]], by Kryal and BlackJax96&lt;br /&gt;
&lt;br /&gt;
[[Category:Wii File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>