--- zzzz-none-000/linux-4.4.271/arch/mips/include/asm/module.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/arch/mips/include/asm/module.h 2023-04-19 10:22:28.000000000 +0000 @@ -11,6 +11,11 @@ const struct exception_table_entry *dbe_start; const struct exception_table_entry *dbe_end; struct mips_hi16 *r_mips_hi16_list; + + void *phys_plt_tbl; + void *virt_plt_tbl; + unsigned int phys_plt_offset; + unsigned int virt_plt_offset; }; typedef uint8_t Elf64_Byte; /* Type for a 8-bit quantity. */ @@ -94,6 +99,12 @@ #define MODULE_PROC_FAMILY "MIPS64_R1 " #elif defined CONFIG_CPU_MIPS64_R2 #define MODULE_PROC_FAMILY "MIPS64_R2 " +#elif defined CONFIG_CPU_MIPS_24K +#define MODULE_PROC_FAMILY "MIPS_24K " +#elif defined CONFIG_CPU_MIPS_34K +#define MODULE_PROC_FAMILY "MIPS_34K " +#elif defined CONFIG_CPU_MIPS_74K +#define MODULE_PROC_FAMILY "MIPS_74K " #elif defined CONFIG_CPU_MIPS64_R6 #define MODULE_PROC_FAMILY "MIPS64_R6 " #elif defined CONFIG_CPU_R3000