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 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. 11 */ 12 extern const unsigned long kallsyms_addresses[]; 13 extern const int kallsyms_offsets[]; 14 extern const u8 kallsyms_names[]; 15 16 extern const unsigned int kallsyms_num_syms; 17 extern const unsigned long kallsyms_relative_base; 18 19 extern const char kallsyms_token_table[]; 20 extern const u16 kallsyms_token_index[]; 21 22 extern const unsigned int kallsyms_markers[]; 23 extern const u8 kallsyms_seqs_of_names[]; 24 25 #endif // LINUX_KALLSYMS_INTERNAL_H_ 26