1.1 --- a/src/cpu/ppc/vm/assembler_ppc.hpp Thu Feb 20 11:05:12 2014 +0100 1.2 +++ b/src/cpu/ppc/vm/assembler_ppc.hpp Thu Mar 06 10:55:28 2014 -0800 1.3 @@ -124,6 +124,7 @@ 1.4 } 1.5 }; 1.6 1.7 +#if !defined(ABI_ELFv2) 1.8 // A ppc64 function descriptor. 1.9 struct FunctionDescriptor VALUE_OBJ_CLASS_SPEC { 1.10 private: 1.11 @@ -161,6 +162,7 @@ 1.12 _env = (address) 0xbad; 1.13 } 1.14 }; 1.15 +#endif 1.16 1.17 class Assembler : public AbstractAssembler { 1.18 protected: 1.19 @@ -1067,6 +1069,7 @@ 1.20 // Emit an address. 1.21 inline address emit_addr(const address addr = NULL); 1.22 1.23 +#if !defined(ABI_ELFv2) 1.24 // Emit a function descriptor with the specified entry point, TOC, 1.25 // and ENV. If the entry point is NULL, the descriptor will point 1.26 // just past the descriptor. 1.27 @@ -1074,6 +1077,7 @@ 1.28 inline address emit_fd(address entry = NULL, 1.29 address toc = (address) FunctionDescriptor::friend_toc, 1.30 address env = (address) FunctionDescriptor::friend_env); 1.31 +#endif 1.32 1.33 ///////////////////////////////////////////////////////////////////////////////////// 1.34 // PPC instructions