Skip to content

Commit b8ec322

Browse files
committed
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86 setup: correct segfault in generation of 32-bit reloc kernel
2 parents 2165f63 + cc65f1e commit b8ec322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/boot/compressed/relocs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ static void walk_relocs(void (*visit)(Elf32_Rel *rel, Elf32_Sym *sym))
492492
continue;
493493
}
494494
sh_symtab = sec_symtab->symtab;
495-
sym_strtab = sec->link->strtab;
495+
sym_strtab = sec_symtab->link->strtab;
496496
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf32_Rel); j++) {
497497
Elf32_Rel *rel;
498498
Elf32_Sym *sym;

0 commit comments

Comments
 (0)