Hello,

I'm no stranger to writing assembly in Go (that is, the Plan9 assembly). I 
know how to make them work, for the most part. My questions are these:


   1. Assuming I have a program written entirely in Go. I use go tool 
   compile -S to output the assembly. It's then manually cleaned up (taking 
   care not to mess up the data tables and sections). Now it's a valid .s 
   file. How do I then assemble and subsequently link them into a binary? 
   2. Assuming I am crazy enough to write an entire program in assembly, 
   including the rodata sections, how do I assemble and link?

This question is mainly for academic interest. Any pointers would be nice - 
even if it's to internal functions that aren't exposed as part of the 
toolchain.

thanks in advance

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to