Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2021 01:55:14 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b23c24558b6a - stable/13 - linker_debug_symbol_values(): use proper linker interface to get debug values
Message-ID:  <202112150155.1BF1tEbe031703@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=b23c24558b6a089abb97e2eb027741362882b197

commit b23c24558b6a089abb97e2eb027741362882b197
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-16 17:57:32 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-15 01:41:29 +0000

    linker_debug_symbol_values(): use proper linker interface to get debug values
    
    (cherry picked from commit 72f6662662de61ba9a221a3dd59adea115ad4646)
---
 sys/kern/kern_linker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index a10c9a0cea7e..82fced1fb4ab 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -956,7 +956,7 @@ linker_debug_symbol_values(c_linker_sym_t sym, linker_symval_t *symval)
 	linker_file_t lf;
 
 	TAILQ_FOREACH(lf, &linker_files, link) {
-		if (LINKER_SYMBOL_VALUES(lf, sym, symval) == 0)
+		if (LINKER_DEBUG_SYMBOL_VALUES(lf, sym, symval) == 0)
 			return (0);
 	}
 	return (ENOENT);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112150155.1BF1tEbe031703>