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 26, 6:52 PM
Unknown Object (File)
Nov 25 2024, 4:31 AM
Unknown Object (File)
Nov 22 2024, 11:27 PM
Unknown Object (File)
Nov 12 2024, 6:54 AM
Unknown Object (File)
Nov 12 2024, 4:07 AM
Unknown Object (File)
Nov 12 2024, 2:40 AM
Unknown Object (File)
Nov 12 2024, 1:34 AM
Unknown Object (File)
Oct 5 2024, 9:33 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.