Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 #ifndef LINUX_KALLSYMS_INTERNAL_H_
0003 #define LINUX_KALLSYMS_INTERNAL_H_
0004 
0005 #include <linux/types.h>
0006 
0007 /*
0008  * These will be re-linked against their real values
0009  * during the second link stage.
0010  */
0011 extern const unsigned long kallsyms_addresses[] __weak;
0012 extern const int kallsyms_offsets[] __weak;
0013 extern const u8 kallsyms_names[] __weak;
0014 
0015 /*
0016  * Tell the compiler that the count isn't in the small data section if the arch
0017  * has one (eg: FRV).
0018  */
0019 extern const unsigned int kallsyms_num_syms
0020 __section(".rodata") __attribute__((weak));
0021 
0022 extern const unsigned long kallsyms_relative_base
0023 __section(".rodata") __attribute__((weak));
0024 
0025 extern const char kallsyms_token_table[] __weak;
0026 extern const u16 kallsyms_token_index[] __weak;
0027 
0028 extern const unsigned int kallsyms_markers[] __weak;
0029 
0030 #endif // LINUX_KALLSYMS_INTERNAL_H_