summaryrefslogtreecommitdiff
path: root/arch/mips/bcm47xx
diff options
context:
space:
mode:
authorYasha Cherikovsky <yasha.che3@gmail.com>2019-03-08 15:58:51 +0300
committerPaul Burton <paul.burton@mips.com>2019-03-11 21:08:31 +0300
commit3f0a53bc6482fb09770982a8447981260ea258dc (patch)
tree63d865d946a90b858d1ba17e01fe1492534d9be6 /arch/mips/bcm47xx
parent5f5f67da9781770df0403269bc57d7aae608fecd (diff)
downloadlinux-3f0a53bc6482fb09770982a8447981260ea258dc.tar.xz
MIPS: Ensure ELF appended dtb is relocated
This fixes booting with the combination of CONFIG_RELOCATABLE=y and CONFIG_MIPS_ELF_APPENDED_DTB=y. Sections that appear after the relocation table are not relocated on system boot (except .bss, which has special handling). With CONFIG_MIPS_ELF_APPENDED_DTB, the dtb is part of the vmlinux ELF, so it must be relocated together with everything else. Fixes: 069fd766271d ("MIPS: Reserve space for relocation table") Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org # v4.7+
Diffstat (limited to 'arch/mips/bcm47xx')
0 files changed, 0 insertions, 0 deletions