Index: target-ppc/translate.c =================================================================== RCS file: /cvsroot/qemu/qemu/target-ppc/translate.c,v retrieving revision 1.20 diff -u -r1.20 translate.c --- target-ppc/translate.c 10 Jul 2004 15:33:29 -0000 1.20 +++ target-ppc/translate.c 12 Jul 2004 12:16:52 -0000 @@ -279,6 +279,9 @@ #if defined(__linux__) #define OPCODES_SECTION \ __attribute__ ((section(".opcodes"), unused, aligned (8) )) +#elif defined(__APPLE__) +#define OPCODES_SECTION \ + __attribute__ ((section("__TEXT,__opcodes"), unused, aligned (8) )) #else #define OPCODES_SECTION #endif