]>
Commit | Line | Data |
---|---|---|
71f8c155 SB |
1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | #ifndef LINUX_KALLSYMS_INTERNAL_H_ | |
3 | #define LINUX_KALLSYMS_INTERNAL_H_ | |
4 | ||
5 | #include <linux/types.h> | |
6 | ||
7 | /* | |
951bcae6 AB |
8 | * These will be re-linked against their real values during the second link |
9 | * stage. Preliminary values must be provided in the linker script using the | |
10 | * PROVIDE() directive so that the first link stage can complete successfully. | |
71f8c155 | 11 | */ |
951bcae6 AB |
12 | extern const unsigned long kallsyms_addresses[]; |
13 | extern const int kallsyms_offsets[]; | |
14 | extern const u8 kallsyms_names[]; | |
71f8c155 | 15 | |
951bcae6 AB |
16 | extern const unsigned int kallsyms_num_syms; |
17 | extern const unsigned long kallsyms_relative_base; | |
71f8c155 | 18 | |
951bcae6 AB |
19 | extern const char kallsyms_token_table[]; |
20 | extern const u16 kallsyms_token_index[]; | |
71f8c155 | 21 | |
951bcae6 AB |
22 | extern const unsigned int kallsyms_markers[]; |
23 | extern const u8 kallsyms_seqs_of_names[]; | |
71f8c155 SB |
24 | |
25 | #endif // LINUX_KALLSYMS_INTERNAL_H_ |