26 Jun
2003
26 Jun
'03
9:41 a.m.
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