diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2014-02-08 12:31:15 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-02-27 09:51:26 +0100 |
commit | 7f00eb30febf1054c74b163ced984afcdbf6e670 (patch) | |
tree | d71bbc68cc855edb7d898f42fb8542b131c6a798 /pc-bios | |
parent | 1eecf41b3e8128979dd571f63d0b4c7fedc919c2 (diff) |
s390x/ipl: Fix crash of ELF images with arbitrary entry points
When loading S390 kernels, the current code expects an ELF file with the
start address 0x10000. Other ELF files cause a segmentation fault. To avoid
these crashes, we should get the start address from the ELF file instead
of always using a hard-coded address.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions