HomeFreeBSD

loader: Don't reserve space for symbols twice.

Description

loader: Don't reserve space for symbols twice.

The current code bumps lastaddr twice for the symbol table
location. However, the first bump is bogus and results in wasted
space. Remove it.

PR: 110995
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D31017

(cherry picked from commit 297e9f364b5aa243572ee52b1faef9b3542c1c9e)

Details

Provenance
impAuthored on Jul 12 2021, 9:17 PM
Differential Revision
D31017: loader: Don't reserve space for symbols twice.
Parents
R10:f32c4c3b00c4: loader: update autoboot description and move to loader.conf.5
Branches
Unknown
Tags
Unknown