Fixed incorrect section offsets on Windows
This commit is contained in:
parent
f2f0624638
commit
e962ac379c
2 changed files with 5 additions and 4 deletions
|
@ -86,10 +86,6 @@ restart:
|
|||
}
|
||||
|
||||
if config.TargetOS == config.Windows {
|
||||
if len(data) == 0 {
|
||||
data = []byte{0}
|
||||
}
|
||||
|
||||
importsStart, _ := fs.Align(dataStart+Address(len(data)), config.Align)
|
||||
|
||||
for _, pointer := range dllPointers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue