Mac OS X Support : Asm syntax support

Marcus Meissner meissner at suse.de
Thu Jun 26 04:41:01 CDT 2003


On Wed, Jun 25, 2003 at 02:32:29PM +0200, Pierre d'Herbemont wrote:
> Hi,
> 
> Here is a patch which should add support for Mac OS X ppc asm syntax, 
> and some Mach-O quirk (like text section).
> I hope it will be ok. It mainly relay on Macro which are stored in 
> build.h (any better place?).
> 
> Cheers,
> 
> Pierre
> 
> ChangeLog:
> - Add support for Mac OS X assembler syntax


This needs 2 places fixed:

> +# define LD_SECTION_TEXT  ".section \".text\""

Should be 

	# define LD_SECTION_TEXT  ".section \\\".text\\\""

and:

> +# define PPC_LOW(mem,index)   "(" mem ")@l(##index)"

should be:
	# define PPC_LOW(mem,index)   "(" mem ")@l(" #index ")"

Ciao, Marcus



More information about the wine-devel mailing list