1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef LINUX_KALLSYMS_INTERNAL_H_
3 #define LINUX_KALLSYMS_INTERNAL_H_
5 #include <linux/types.h>
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.
12 extern const unsigned long kallsyms_addresses[];
13 extern const int kallsyms_offsets[];
14 extern const u8 kallsyms_names[];
16 extern const unsigned int kallsyms_num_syms;
17 extern const unsigned long kallsyms_relative_base;
19 extern const char kallsyms_token_table[];
20 extern const u16 kallsyms_token_index[];
22 extern const unsigned int kallsyms_markers[];
23 extern const u8 kallsyms_seqs_of_names[];
25 #endif // LINUX_KALLSYMS_INTERNAL_H_