comparison 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
comparison
equal deleted inserted replaced
17802:7c462558a08a 17803:31e80afe3fed
138 } 138 }
139 add_symbol_table(table); 139 add_symbol_table(table);
140 } 140 }
141 } 141 }
142 142
143 #if defined(PPC64) 143 #if defined(PPC64) && !defined(ABI_ELFv2)
144 // Now read the .opd section wich contains the PPC64 function descriptor table. 144 // Now read the .opd section wich contains the PPC64 function descriptor table.
145 // The .opd section is only available on PPC64 (see for example: 145 // The .opd section is only available on PPC64 (see for example:
146 // http://refspecs.linuxfoundation.org/LSB_3.1.1/LSB-Core-PPC64/LSB-Core-PPC64/specialsections.html) 146 // http://refspecs.linuxfoundation.org/LSB_3.1.1/LSB-Core-PPC64/LSB-Core-PPC64/specialsections.html)
147 // so this code should do no harm on other platforms but because of performance reasons we only 147 // so this code should do no harm on other platforms but because of performance reasons we only
148 // execute it on PPC64 platforms. 148 // execute it on PPC64 platforms.