30 Jun
2003
30 Jun
'03
1:50 p.m.
"Pierre d'Herbemont" <stegefin(a)free.fr> writes:
Hum... If my memory is well I do use PPC_SYM in order to convert delay_imports to _delay_imports on darwin target. the assembler syntax requires it.
Yes, that's exactly what __ASM_NAME is supposed to do.
If you want, but for me it seems that it is clearer this way. because you endup with things like: fprintf((output," \"li " PPC_REG(1) ", 0\\n\"\n"); fprintf(outfile, "\t\"\\tlis " PC_REG(9) PPC_LOW(delay_imports+%d,9)\\n\"\n", pos); But in fact it is also readable. If you prefer this way I'll do what you like ;)
IMO it would be more readable with a separate function, and then something like: fprintf( output, "li %s,0", ppc_reg(1) ); -- Alexandre Julliard julliard(a)winehq.com