1.1 --- a/src/cpu/ppc/vm/macroAssembler_ppc.inline.hpp Thu Feb 20 11:05:12 2014 +0100 1.2 +++ b/src/cpu/ppc/vm/macroAssembler_ppc.inline.hpp Thu Mar 06 10:55:28 2014 -0800 1.3 @@ -385,4 +385,10 @@ 1.4 twi(traptoEqual | traptoGreaterThanUnsigned, a/*reg a*/, si16); 1.5 } 1.6 1.7 +#if defined(ABI_ELFv2) 1.8 +inline address MacroAssembler::function_entry() { return pc(); } 1.9 +#else 1.10 +inline address MacroAssembler::function_entry() { return emit_fd(); } 1.11 +#endif 1.12 + 1.13 #endif // CPU_PPC_VM_MACROASSEMBLER_PPC_INLINE_HPP