Improved build performance

This commit is contained in:
Eduard Urbach 2023-10-29 16:16:36 +01:00
parent 23e8b67e88
commit fc2600c796
Signed by: eduard
GPG key ID: 49226B848C78F6C8
18 changed files with 122 additions and 120 deletions

9
src/asm/Pointer.go Normal file
View file

@ -0,0 +1,9 @@
package asm
// Pointer stores a relative memory address that we can later turn into an absolute one.
// Position: The machine code offset where the address was inserted.
// Address: The offset inside the section.
type Pointer struct {
Position uint32
Address uint32
}