--- zzzz-none-000/linux-4.4.271/arch/mips/kernel/vmlinux.lds.S 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/arch/mips/kernel/vmlinux.lds.S 2023-01-11 09:25:41.000000000 +0000 @@ -69,10 +69,17 @@ /* Exception table for data bus errors */ __dbe_table : { __start___dbe_table = .; - *(__dbe_table) + KEEP(*(__dbe_table)) __stop___dbe_table = .; } + /* Bug table for data bus errors */ + __bug_debug_table : { + __start___bug_debug_table = .; + *(__bug_debug_table ) + __stop___bug_debug_table = .; + } + #ifdef CONFIG_CAVIUM_OCTEON_SOC #define NOTES_HEADER #else /* CONFIG_CAVIUM_OCTEON_SOC */ @@ -95,6 +102,12 @@ READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT) DATA_DATA CONSTRUCTORS +#ifdef CONFIG_AVM_KERNEL + . = ALIGN(4 * 1024); + __avm_kernel_config_start = .; + . += 96 * 1024; + __avm_kernel_config_end = .; +#endif } _gp = . + 0x8000; .lit8 : { @@ -120,7 +133,7 @@ . = ALIGN(4); .mips.machines.init : AT(ADDR(.mips.machines.init) - LOAD_OFFSET) { __mips_machines_start = .; - *(.mips.machines.init) + KEEP(*(.mips.machines.init)) __mips_machines_end = .; }