This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libitm/52482] libitm INVALID MNEMONIC in .S (powerpc asm)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52482

--- Comment #1 from David Fang <fang at csl dot cornell.edu> 2012-03-04 18:45:58 UTC ---
powerpc/sjlj.S contains:

#include "asmcfi.h"

#if defined(__powerpc64__) && defined(__ELF__)
...
#elif defined(__ELF__)
...
#elif defined(_CALL_DARWIN)
.macro FUNC name
        .globl  _$0
_$0:
.endmacro
.macro END name
.endmacro
.macro HIDDEN name
        .private_extern _$0
.endmacro
.macro CALL name
        bl      _$0
.endmacro
# ifdef __ppc64__
        .machine ppc64
# else
        .machine ppc7400
# endif
#else
#error "unsupported system"
#endif

And I didn't see the "unsupported system" message, so maybe something's funky
with the asm macro definitions under _CALL_DARWIN?  Is there a particular
assembler or assembly-style that's assumed?

I have for /usr/bin/as:
Apple Computer, Inc. version cctools-622.9~2, GNU assembler version 1.38


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]