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)
Tue, Nov 12, 6:54 AM
Unknown Object (File)
Tue, Nov 12, 4:07 AM
Unknown Object (File)
Tue, Nov 12, 2:40 AM
Unknown Object (File)
Tue, Nov 12, 1:34 AM
Unknown Object (File)
Oct 5 2024, 9:33 PM
Unknown Object (File)
Oct 3 2024, 2:17 PM
Unknown Object (File)
Oct 1 2024, 9:46 PM
Unknown Object (File)
Sep 30 2024, 10:53 AM
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.