Mercurial > hg > truffle
diff src/cpu/ppc/vm/assembler_ppc.inline.hpp @ 17803:31e80afe3fed
8035647: PPC64: Support for elf v2 abi.
Summary: ELFv2 ABI used by the little endian PowerPC64 on Linux.
Reviewed-by: kvn
Contributed-by: asmundak@google.com
author | goetz |
---|---|
date | Thu, 06 Mar 2014 10:55:28 -0800 |
parents | 67fa91961822 |
children | 92aa6797d639 71a71b0bc844 |
line wrap: on
line diff
--- a/src/cpu/ppc/vm/assembler_ppc.inline.hpp Thu Feb 20 11:05:12 2014 +0100 +++ b/src/cpu/ppc/vm/assembler_ppc.inline.hpp Thu Mar 06 10:55:28 2014 -0800 @@ -55,6 +55,7 @@ return start; } +#if !defined(ABI_ELFv2) // Emit a function descriptor with the specified entry point, TOC, and // ENV. If the entry point is NULL, the descriptor will point just // past the descriptor. @@ -73,6 +74,7 @@ return (address)fd; } +#endif // Issue an illegal instruction. 0 is guaranteed to be an illegal instruction. inline void Assembler::illtrap() { Assembler::emit_int32(0); }