mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linker_debug_symbol_values(): use proper linker interface to get debug values
Reported by: markj Reviewed by: emaste, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
This commit is contained in:
parent
c37c6f994f
commit
72f6662662
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue