macho and underscores on global function names

Peter Johnson peter at tortall.net
Fri Mar 16 12:29:59 PDT 2007


On Fri, 16 Mar 2007, Mark Charney wrote:
> Is this something yasm can handle -- possibly with an option? -- to allow
> more portable assembly langauge?
> That is, add the underscore prefix global symbols for macho output format
> files?

You're not the first person to request this, and in fact the original 
macho code had some #ifdef'ed support for this.  I'll look into adding 
support via a command-line option.  Would you really want *just* the 
global/extern symbols prefixed or would all symbols be preferred?  (I 
suppose I could have an option for either).

Peter


More information about the yasm-devel mailing list