--- zzzz-none-000/linux-4.4.60/arch/mips/kernel/vmlinux.lds.S 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/arch/mips/kernel/vmlinux.lds.S 2019-07-03 09:21:34.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 */ @@ -94,6 +101,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 : { @@ -119,7 +132,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 = .; }