]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: Don't reserve space for symbols twice.
authorWarner Losh <imp@FreeBSD.org>
Mon, 12 Jul 2021 21:17:05 +0000 (15:17 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 01:16:00 +0000 (20:16 -0500)
commit0ad2e9eac9c318d9e2422750646d668a0b8fef07
treef4a7d2a20f279f500aeecb55ac0b896cac9eb619
parent1748f0c6e1902a45f4148a2b2157a1f4dbdc7748
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

(cherry picked from commit 297e9f364b5aa243572ee52b1faef9b3542c1c9e)
stand/common/load_elf_obj.c