--- zzzz-none-000/linux-4.9.218/arch/mips/kernel/vmlinux.lds.S 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/arch/mips/kernel/vmlinux.lds.S 2022-11-30 09:46:19.000000000 +0000 @@ -71,22 +71,31 @@ /* 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 */ #define NOTES_HEADER :note #endif /* CONFIG_CAVIUM_OCTEON_SOC */ NOTES :text NOTES_HEADER + .dummy : { *(.dummy) } :text _sdata = .; /* Start of data section */ RODATA /* writeable */ + __data_start = .; .data : { /* Data */ . = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */ @@ -96,6 +105,12 @@ READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT) DATA_DATA CONSTRUCTORS +#ifdef CONFIG_AVM_FW_INFO_EMBED + . = ALIGN(4 * 1024); + __avm_kernel_config_start = .; + . += 256 * 1024; + __avm_kernel_config_end = .; +#endif } _gp = . + 0x8000; .lit8 : { @@ -121,7 +136,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 = .; }