HomeFreeBSD

MFC r310702: btxldr: process all PT_LOAD segments, not just the first two

Description

MFC r310702: btxldr: process all PT_LOAD segments, not just the first two

With default settings GNU ld generates two PT_LOADs for loader.sym while
LLD generates three, because it creates a rodata segment. Previously
btxldr terminated phdr processing after two PT_LOADs. Remove the early
termination to process all PT_LOADs.

Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS311907: Follow r311103: add "pool" to the keywords that rc.d/ntpdate examines to
Branches
Unknown
Tags
Unknown