aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorPhilipp Rudo <[email protected]>2019-04-01 12:48:43 +0200
committerMartin Schwidefsky <[email protected]>2019-04-29 10:43:46 +0200
commit729829d775c9a5217abc784b2f16087d79c4eec8 (patch)
tree8ac8b1f0692d1e9d155e379f1d0d33ed0fe8240b /scripts/gdb/linux/lists.py
parent6339a3889ad4d0dd930ed7a1e873fb81d3e690f7 (diff)
s390/kexec_file: Fix detection of text segment in ELF loader
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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions