Merge tag 'mips-fixes_6.14_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux

Pull MIPS fix from Thomas Bogendoerfer:
"Fix fallout of /scripts/sorttable cleanup"

* tag 'mips-fixes_6.14_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
MIPS: Ignore relocs against __ex_table for relocatable kernel

+5
+5
arch/mips/boot/tools/relocs.c
··· 468 468 Elf_Sym *sym, const char *symname)) 469 469 { 470 470 int i; 471 + struct section *extab_sec = sec_lookup("__ex_table"); 472 + int extab_index = extab_sec ? extab_sec - secs : -1; 471 473 472 474 /* Walk through the relocations */ 473 475 for (i = 0; i < ehdr.e_shnum; i++) { ··· 480 478 struct section *sec = &secs[i]; 481 479 482 480 if (sec->shdr.sh_type != SHT_REL_TYPE) 481 + continue; 482 + 483 + if (sec->shdr.sh_info == extab_index) 483 484 continue; 484 485 485 486 sec_symtab = sec->link;