I'm trying to use extldflags with golang:
-ldflags '-extld gcc -extldflags="-headerpad 0x500" -w -s'But go link does not recognize it, it prints the help dialog
# command-line-arguments
usage: link [options] main.o
-B note
add an ELF NT_GNU_BUILD_ID note when using ELF
...
-extld linker
use linker when linking in external mode
-extldflags flags
pass flags to external linkerAny ideas?