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
On Thursday, June 26, 2003, at 11:41 AM, Marcus Meissner wrote:
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).
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 ")"
Thanks (and sorry :( ) I am going to fix this, and resend it.
Cheers,
Pierre