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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 size_t init_array_count_; | 184 size_t init_array_count_; |
185 linker_function_t* fini_array_; | 185 linker_function_t* fini_array_; |
186 size_t fini_array_count_; | 186 size_t fini_array_count_; |
187 linker_function_t init_func_; | 187 linker_function_t init_func_; |
188 linker_function_t fini_func_; | 188 linker_function_t fini_func_; |
189 | 189 |
190 #ifdef __arm__ | 190 #ifdef __arm__ |
191 // ARM EABI section used for stack unwinding. | 191 // ARM EABI section used for stack unwinding. |
192 unsigned* arm_exidx_; | 192 unsigned* arm_exidx_; |
193 size_t arm_exidx_count_; | 193 size_t arm_exidx_count_; |
| 194 |
| 195 // ARM packed relocations data, NULL if absent. |
| 196 uint8_t* arm_packed_relocs_; |
194 #endif | 197 #endif |
195 | 198 |
196 link_map_t link_map_; | 199 link_map_t link_map_; |
197 | 200 |
198 bool has_DT_SYMBOLIC_; | 201 bool has_DT_SYMBOLIC_; |
199 | 202 |
200 void* java_vm_; | 203 void* java_vm_; |
201 | 204 |
202 const char* base_name_; | 205 const char* base_name_; |
203 char full_path_[512]; | 206 char full_path_[512]; |
204 }; | 207 }; |
205 | 208 |
206 } // namespace crazy | 209 } // namespace crazy |
207 | 210 |
208 #endif // CRAZY_LINKER_SHARED_LIBRARY_H | 211 #endif // CRAZY_LINKER_SHARED_LIBRARY_H |
OLD | NEW |