OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CRAZY_LINKER_SHARED_LIBRARY_H | 5 #ifndef CRAZY_LINKER_SHARED_LIBRARY_H |
6 #define CRAZY_LINKER_SHARED_LIBRARY_H | 6 #define CRAZY_LINKER_SHARED_LIBRARY_H |
7 | 7 |
8 #include <link.h> | 8 #include <link.h> |
9 | 9 |
10 #include "crazy_linker_elf_relro.h" | 10 #include "crazy_linker_elf_relro.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 size_t fini_array_count_; | 187 size_t fini_array_count_; |
188 linker_function_t init_func_; | 188 linker_function_t init_func_; |
189 linker_function_t fini_func_; | 189 linker_function_t fini_func_; |
190 | 190 |
191 #ifdef __arm__ | 191 #ifdef __arm__ |
192 // ARM EABI section used for stack unwinding. | 192 // ARM EABI section used for stack unwinding. |
193 unsigned* arm_exidx_; | 193 unsigned* arm_exidx_; |
194 size_t arm_exidx_count_; | 194 size_t arm_exidx_count_; |
195 #endif | 195 #endif |
196 | 196 |
197 #if defined(__arm__) || defined(__aarch64__) | |
198 // Packed relocations data, NULL if absent. | |
199 uint8_t* packed_relocations_; | |
200 #endif | |
201 | |
202 link_map_t link_map_; | 197 link_map_t link_map_; |
203 | 198 |
204 bool has_DT_SYMBOLIC_; | 199 bool has_DT_SYMBOLIC_; |
205 | 200 |
206 void* java_vm_; | 201 void* java_vm_; |
207 | 202 |
208 const char* base_name_; | 203 const char* base_name_; |
209 char full_path_[512]; | 204 char full_path_[512]; |
210 }; | 205 }; |
211 | 206 |
212 } // namespace crazy | 207 } // namespace crazy |
213 | 208 |
214 #endif // CRAZY_LINKER_SHARED_LIBRARY_H | 209 #endif // CRAZY_LINKER_SHARED_LIBRARY_H |
OLD | NEW |