Added optional section headers
This commit is contained in:
parent
0bf299d007
commit
919d94e0f4
6 changed files with 63 additions and 14 deletions
|
@ -7,6 +7,7 @@ var (
|
|||
Dry bool // Skips writing the executable to disk.
|
||||
ShowAssembly bool // Shows assembly instructions at the end.
|
||||
ShowStatistics bool // Shows statistics at the end.
|
||||
Sections bool // Adds section headers to the executable.
|
||||
TargetArch Arch // Target architecture.
|
||||
TargetOS OS // Target platform.
|
||||
)
|
||||
|
@ -15,6 +16,7 @@ var (
|
|||
func Reset() {
|
||||
ShowAssembly = false
|
||||
ShowStatistics = false
|
||||
Sections = false
|
||||
Dry = false
|
||||
|
||||
switch runtime.GOARCH {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue