HomeFreeBSD

sys: use globals for the ELF kernel and module type strings

Description

sys: use globals for the ELF kernel and module type strings

Initialize the globals with macros so we can use the same values in the
loader.

Also remove unnecessary "elfN module" checks.

Reviewed by: imp, kib
Pull Request: https://github.com/freebsd/freebsd-src/pull/1394

Details

Provenance
ahmadkhalifa570_gmail.comAuthored on Aug 24 2024, 3:12 PM
impCommitted on Jan 24 2025, 9:29 PM
Parents
rG707136024fcc: stand: remove unnecessary checks for "elfN kernel"
Branches
Unknown
Tags
Unknown