Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/elfFile.cpp @ 14684:e5e8aa897002
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 | abec000618bf |
children | 92aa6797d639 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
14682:84eafecdb9a9 | 14684:e5e8aa897002 |
---|---|
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. |