Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/elfFile.hpp @ 14441:e7cbc95179c4
8019929: PPC64 (part 107): Extend ELF-decoder to support PPC64 function descriptor tables
Summary: Extend ELF-decoder to support PPC64 function descriptor tables
Reviewed-by: kvn, zgu
author | simonis |
---|---|
date | Thu, 05 Dec 2013 19:19:09 +0100 |
parents | 9058789475af |
children | abec000618bf |
comparison
equal
deleted
inserted
replaced
14440:41b780b43b74 | 14441:e7cbc95179c4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
73 #include "utilities/decoder.hpp" | 73 #include "utilities/decoder.hpp" |
74 | 74 |
75 | 75 |
76 class ElfStringTable; | 76 class ElfStringTable; |
77 class ElfSymbolTable; | 77 class ElfSymbolTable; |
78 class ElfFuncDescTable; | |
78 | 79 |
79 | 80 |
80 // On Solaris/Linux platforms, libjvm.so does contain all private symbols. | 81 // On Solaris/Linux platforms, libjvm.so does contain all private symbols. |
81 // ElfFile is basically an elf file parser, which can lookup the symbol | 82 // ElfFile is basically an elf file parser, which can lookup the symbol |
82 // that is the nearest to the given address. | 83 // that is the nearest to the given address. |
148 ElfSymbolTable* m_symbol_tables; | 149 ElfSymbolTable* m_symbol_tables; |
149 | 150 |
150 // string tables | 151 // string tables |
151 ElfStringTable* m_string_tables; | 152 ElfStringTable* m_string_tables; |
152 | 153 |
154 // function descriptors table | |
155 ElfFuncDescTable* m_funcDesc_table; | |
156 | |
153 NullDecoder::decoder_status m_status; | 157 NullDecoder::decoder_status m_status; |
154 }; | 158 }; |
155 | 159 |
156 #endif // _WINDOWS | 160 #endif // !_WINDOWS && !__APPLE__ |
157 | 161 |
158 #endif // SHARE_VM_UTILITIES_ELF_FILE_HPP | 162 #endif // SHARE_VM_UTILITIES_ELF_FILE_HPP |