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 */ 11extern const unsigned long kallsyms_addresses[] __weak; 12extern const int kallsyms_offsets[] __weak; 13extern 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 */ 19extern const unsigned int kallsyms_num_syms 20__section(".rodata") __attribute__((weak)); 21 22extern const unsigned long kallsyms_relative_base 23__section(".rodata") __attribute__((weak)); 24 25extern const char kallsyms_token_table[] __weak; 26extern const u16 kallsyms_token_index[] __weak; 27 28extern const unsigned int kallsyms_markers[] __weak; 29extern const u8 kallsyms_seqs_of_names[] __weak; 30 31#endif // LINUX_KALLSYMS_INTERNAL_H_ 32