Re: [go-nuts] go tool link custom sections in executable

2021-10-01 Thread Ian Lance Taylor
On Fri, Oct 1, 2021 at 3:54 AM T Odin wrote: > > I'm trying to run an executable built from Go source on a target environment > based out of Linux. > Loader on the target machine is customized and expects the elf sections to be > in a different order. > > I checked the Go source' link option in

[go-nuts] go tool link custom sections in executable

2021-10-01 Thread T Odin
Hi, I'm trying to run an executable built from Go source on a target environment based out of Linux. Loader on the target machine is customized and expects the elf sections to be in a different order. I checked the Go source' link option in asm.go where it formats the elf header. https://gith