mirror of
https://github.com/golang/go
synced 2024-11-17 18:14:46 -07:00
debug/macho: add some file flags
Fixes #21414 Change-Id: Idff6e269ae32b33253067c9f32cac25256eb7f1c Reviewed-on: https://go-review.googlesource.com/55251 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
98276d6abe
commit
d03b89bd41
@ -90,6 +90,13 @@ var cmdStrings = []intName{
|
||||
func (i LoadCmd) String() string { return stringName(uint32(i), cmdStrings, false) }
|
||||
func (i LoadCmd) GoString() string { return stringName(uint32(i), cmdStrings, true) }
|
||||
|
||||
const (
|
||||
FlagNoUndefs uint32 = 0x1
|
||||
FlagDyldLink uint32 = 0x4
|
||||
FlagTwoLevel uint32 = 0x80
|
||||
FlagPIE uint32 = 0x200000
|
||||
)
|
||||
|
||||
// A Segment64 is a 64-bit Mach-O segment load command.
|
||||
type Segment64 struct {
|
||||
Cmd LoadCmd
|
||||
|
Loading…
Reference in New Issue
Block a user