summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorPhilipp Rudo2019-04-01 12:48:43 +0200
committerGreg Kroah-Hartman2019-05-31 06:44:57 -0700
commitff4e79bbe519f5152200188b664f02ae7b040927 (patch)
tree6ed292aaa1ce0508b7db6bbf3738be1416a910b5 /scripts/objdiff
parented3fe9a34ff3e8d65f963f2da9380c3b154babf2 (diff)
s390/kexec_file: Fix detection of text segment in ELF loader
[ Upstream commit 729829d775c9a5217abc784b2f16087d79c4eec8 ] To register data for the next kernel (command line, oldmem_base, etc.) the current kernel needs to find the ELF segment that contains head.S. This is currently done by checking ifor 'phdr->p_paddr == 0'. This works fine for the current kernel build but in theory the first few pages could be skipped. Make the detection more robust by checking if the entry point lies within the segment. Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions