-B note
Add an ELF_NT_GNU_BUILD_ID note when using ELF.
The value should start with 0x and be an even number of hex digits.
- -D address
- Set data segment address.
-E entry
Set entry symbol name.
-H type
-R quantum
Set address rounding quantum.
-T address
- Set text segment address.
+ Set the start address of text symbols.
-V
Print linker version and exit.
-X importpath.name=value
flagDebugNosplit = flag.Bool("debugnosplit", false, "dump nosplit call graph")
FlagStrictDups = flag.Int("strictdups", 0, "sanity check duplicate symbol contents during object file reading (1=warn 2=err).")
FlagRound = flag.Int("R", -1, "set address rounding `quantum`")
- FlagTextAddr = flag.Int64("T", -1, "set text segment `address`")
+ FlagTextAddr = flag.Int64("T", -1, "set the start address of text symbols")
flagEntrySymbol = flag.String("E", "", "set `entry` symbol name")
flagPruneWeakMap = flag.Bool("pruneweakmap", true, "prune weak mapinit refs")
cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`")