Page MenuHomeFreeBSD

powerpc64: Fix kernel ldscript to only emit one PT_LOAD segment
ClosedPublic

Authored by jhibbits on Mar 13 2019, 8:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 17, 5:55 AM
Unknown Object (File)
Mon, Jun 17, 5:55 AM
Unknown Object (File)
Mon, Jun 17, 5:55 AM
Unknown Object (File)
Mon, Jun 17, 3:38 AM
Unknown Object (File)
Apr 16 2024, 9:49 PM
Unknown Object (File)
Apr 16 2024, 9:49 PM
Unknown Object (File)
Apr 16 2024, 9:49 PM
Unknown Object (File)
Apr 16 2024, 9:30 PM
Subscribers

Details

Summary

kexec-lite cannot currently handle multiple PT_LOAD segments. In some
cases the compiler generates multiple PT_LOAD segments for an unknown
reason, causing boot to fail from kexec-lite.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Patch created by Brandon Bergren, who also pointed out the problem.

This is functionally identical to what I've been running locally since last October for my ELFv2 kernel builds.

I have also tested this (with an ELFv2 kernel) on my G5. Currently building an ELFv1 kernel on the G5, will test that as well tomorrow.

ELFv1 test went fine too on the G5.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 29 2019, 3:01 AM
This revision was automatically updated to reflect the committed changes.