Added exe package to manage sections
This commit is contained in:
parent
919d94e0f4
commit
b67f3b0977
16 changed files with 207 additions and 134 deletions
|
@ -7,6 +7,9 @@ const (
|
|||
// The base address is the virtual address for our ELF file.
|
||||
BaseAddress = 0x40 * MinAddress
|
||||
|
||||
// Align is the alignment of the sections and it must be a multiple of the page size.
|
||||
Align = 0x1000
|
||||
// FileAlign is the alignment of the sections in the file.
|
||||
FileAlign = 0x4000
|
||||
|
||||
// MemoryAlign is the alignment of the sections in memory and it must be a multiple of the page size.
|
||||
MemoryAlign = 0x4000
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue