On Fri, Apr 9, 2021 at 6:00 AM JX Zhang <
f011...@gmail.com> wrote:
>
> Asm in go is in style of plan9. Now I need to compile the asm files into a .o file which is an ELF object
> In original go tool chains, go use go/pkg/tool/linux_amd64/asm to compile asm to a `go object` file instead of ELF object
I don't think there is any simple way to do that.
Note that even if there were a way to do that, the calling convention
is different, so you could not call the resulting ELF code in the
usual way.
Ian