diff src/share/vm/utilities/elfFile.cpp @ 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 a9becfeecd1b
children 92aa6797d639 52b4284cb496
line wrap: on
line diff
--- a/src/share/vm/utilities/elfFile.cpp	Thu Feb 20 11:05:12 2014 +0100
+++ b/src/share/vm/utilities/elfFile.cpp	Thu Mar 06 10:55:28 2014 -0800
@@ -140,7 +140,7 @@
       }
     }
 
-#if defined(PPC64)
+#if defined(PPC64) && !defined(ABI_ELFv2)
     // Now read the .opd section wich contains the PPC64 function descriptor table.
     // The .opd section is only available on PPC64 (see for example:
     // http://refspecs.linuxfoundation.org/LSB_3.1.1/LSB-Core-PPC64/LSB-Core-PPC64/specialsections.html)