OLD | NEW |
1 // Copyright 2016 The Native Client Authors. All rights reserved. | 1 // Copyright 2016 The Native Client 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 NATIVE_CLIENT_SRC_UNTRUSTED_PLL_LOADER_PLL_ROOT_H_ | 5 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_PLL_LOADER_PLL_ROOT_H_ |
6 #define NATIVE_CLIENT_SRC_UNTRUSTED_PLL_LOADER_PLL_ROOT_H_ 1 | 6 #define NATIVE_CLIENT_SRC_UNTRUSTED_PLL_LOADER_PLL_ROOT_H_ 1 |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 struct PLLTLSBlockGetter { | 10 struct PLLTLSBlockGetter { |
(...skipping 29 matching lines...) Expand all Loading... |
40 // The number of right shifts to generate the second hash from the first. | 40 // The number of right shifts to generate the second hash from the first. |
41 size_t bloom_filter_shift2; | 41 size_t bloom_filter_shift2; |
42 const uint32_t *bloom_filter_data; | 42 const uint32_t *bloom_filter_data; |
43 | 43 |
44 // Thread-local variables (TLS). | 44 // Thread-local variables (TLS). |
45 void *tls_template; | 45 void *tls_template; |
46 size_t tls_template_data_size; // Size of initialized data. | 46 size_t tls_template_data_size; // Size of initialized data. |
47 size_t tls_template_total_size; // Size of initialized data + BSS. | 47 size_t tls_template_total_size; // Size of initialized data + BSS. |
48 size_t tls_template_alignment; | 48 size_t tls_template_alignment; |
49 PLLTLSBlockGetter *tls_block_getter; | 49 PLLTLSBlockGetter *tls_block_getter; |
| 50 |
| 51 // Dependencies list (akin to DT_NEEDED in ELF). |
| 52 size_t dependencies_count; |
| 53 // Null-separated list of library sonames. |
| 54 // For example, "libfoo.so\0libbar.so\0" would have dependencies_count = 2. |
| 55 const char *dependencies_list; |
50 }; | 56 }; |
51 | 57 |
52 #endif | 58 #endif |
OLD | NEW |