HomeFreeBSD

Convert all panics from the link_elf_obj kernel linker for object

Description

Convert all panics from the link_elf_obj kernel linker for object
files format into printfs and errors to caller. Some leaks of
resources are there, but the same leaks are present in other error
pathes. With the change, the kernel at least boots even when module
with unexpected or corrupted ELF structure is preloaded.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks

Details

Provenance
kibAuthored on
Parents
rS296466: Don't install debug symbols onto embedded images...
Branches
Unknown
Tags
Unknown