Improved Windows support
This commit is contained in:
parent
3dffa69f37
commit
33da0cc315
16 changed files with 142 additions and 57 deletions
|
@ -8,12 +8,6 @@ const (
|
|||
|
||||
// The base address is the virtual address for our ELF file.
|
||||
BaseAddress = 0x40 * MinAddress
|
||||
|
||||
// The code offset is the offset of the executable machine code within the file.
|
||||
CodeOffset = 64 + 56 + 56
|
||||
|
||||
// Align decides the alignment of the sections and it must be a multiple of the page size.
|
||||
Align = 0x1000
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -45,3 +39,5 @@ func Reset() {
|
|||
TargetOS = "mac"
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue