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
9 * during the second link stage.
11 extern const unsigned long kallsyms_addresses
[] __weak
;
12 extern const int kallsyms_offsets
[] __weak
;
13 extern const u8 kallsyms_names
[] __weak
;
16 * Tell the compiler that the count isn't in the small data section if the arch
19 extern const unsigned int kallsyms_num_syms
20 __section(".rodata") __attribute__((weak
));
22 extern const unsigned long kallsyms_relative_base
23 __section(".rodata") __attribute__((weak
));
25 extern const char kallsyms_token_table
[] __weak
;
26 extern const u16 kallsyms_token_index
[] __weak
;
28 extern const unsigned int kallsyms_markers
[] __weak
;
29 extern const u8 kallsyms_seqs_of_names
[] __weak
;
31 #endif // LINUX_KALLSYMS_INTERNAL_H_