1.1 --- a/src/cpu/ppc/vm/interpreterRT_ppc.cpp Thu Feb 20 11:05:12 2014 +0100 1.2 +++ b/src/cpu/ppc/vm/interpreterRT_ppc.cpp Thu Mar 06 10:55:28 2014 -0800 1.3 @@ -109,8 +109,10 @@ 1.4 } 1.5 1.6 void InterpreterRuntime::SignatureHandlerGenerator::generate(uint64_t fingerprint) { 1.7 +#if !defined(ABI_ELFv2) 1.8 // Emit fd for current codebuffer. Needs patching! 1.9 __ emit_fd(); 1.10 +#endif 1.11 1.12 // Generate code to handle arguments. 1.13 iterate(fingerprint); 1.14 @@ -127,11 +129,13 @@ 1.15 // Implementation of SignatureHandlerLibrary 1.16 1.17 void SignatureHandlerLibrary::pd_set_handler(address handler) { 1.18 +#if !defined(ABI_ELFv2) 1.19 // patch fd here. 1.20 FunctionDescriptor* fd = (FunctionDescriptor*) handler; 1.21 1.22 fd->set_entry(handler + (int)sizeof(FunctionDescriptor)); 1.23 assert(fd->toc() == (address)0xcafe, "need to adjust TOC here"); 1.24 +#endif 1.25 } 1.26 1.27