On Fri, Apr 9, 2021 at 6:00 AM JX Zhang <f0110v...@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

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXWKUaJ0-48LL0EueDmkQgE1jxaCPxq%3DHoMTvZCwgKE_g%40mail.gmail.com.

Reply via email to