I hold the same view, but.. The most helpless thing is that my boss forced me to do something which is difficult and meaningless...
在2021年4月10日星期六 UTC+8 上午3:55:36<Ian Lance Taylor> 写道: > 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 > -- 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/3eb58850-c0c4-4630-a337-e0d0d55bcd61n%40googlegroups.com.