aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-10-23 12:39:32 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2017-12-17 22:14:05 +0000
commit55e7cff44c7c322310aded74ed92c54b22ccccd4 (patch)
treeed25c04f6de4941be1f315319986dfe76382f177 /arch/arm/Makefile
parentLinux 4.15-rc1 (diff)
downloadlinux-dev-55e7cff44c7c322310aded74ed92c54b22ccccd4.tar.xz
linux-dev-55e7cff44c7c322310aded74ed92c54b22ccccd4.zip
ARM: verify size of zImage
The linker can sometimes add additional sections to the zImage ELF file which results in the zImage binary being larger than expected. This causes appended DT blobs to fail. Verify that the zImage binary is the expected size, and fail the build if this is not the case. We need to include the .data.rel.ro section in the image as the RiscPC build includes font data that contains a small amount of data in this section. Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/Makefile')
0 files changed, 0 insertions, 0 deletions