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 | /* | |
8 | * These will be re-linked against their real values | |
9 | * during the second link stage. | |
10 | */ | |
11 | extern const unsigned long kallsyms_addresses[] __weak; | |
12 | extern const int kallsyms_offsets[] __weak; | |
13 | extern const u8 kallsyms_names[] __weak; | |
14 | ||
15 | /* | |
16 | * Tell the compiler that the count isn't in the small data section if the arch | |
17 | * has one (eg: FRV). | |
18 | */ | |
19 | extern const unsigned int kallsyms_num_syms | |
20 | __section(".rodata") __attribute__((weak)); | |
21 | ||
22 | extern const unsigned long kallsyms_relative_base | |
23 | __section(".rodata") __attribute__((weak)); | |
24 | ||
25 | extern const char kallsyms_token_table[] __weak; | |
26 | extern const u16 kallsyms_token_index[] __weak; | |
27 | ||
28 | extern const unsigned int kallsyms_markers[] __weak; | |
19bd8981 | 29 | extern const u8 kallsyms_seqs_of_names[] __weak; |
71f8c155 SB |
30 | |
31 | #endif // LINUX_KALLSYMS_INTERNAL_H_ |