From nobody Wed Dec 15 01:55:14 2021 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 86A6B18E5276; Wed, 15 Dec 2021 01:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JDJGq0KwYz4Rxv; Wed, 15 Dec 2021 01:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE2A613BC7; Wed, 15 Dec 2021 01:55:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BF1tEYA031704; Wed, 15 Dec 2021 01:55:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BF1tEbe031703; Wed, 15 Dec 2021 01:55:14 GMT (envelope-from git) Date: Wed, 15 Dec 2021 01:55:14 GMT Message-Id: <202112150155.1BF1tEbe031703@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: b23c24558b6a - stable/13 - linker_debug_symbol_values(): use proper linker interface to get debug values List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b23c24558b6a089abb97e2eb027741362882b197 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639533315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9o/nnexRD4J1m9cyorF2PQCspLcyzPOgwhVtYlIRU9U=; b=MmlYmN425NLNiYzDntCTgTWW+Jtk38yVZH97ZU2bxZA229uOWtp3fCGWzKFldzVfUa38pi /bZuW+3vIP4+dw+dhqpUUstk2BMHulFyBut4yFziJItRR8IkjPmT8viW7IkGrYIhGSzSJ2 qJ7JW1Yt8QL2yK2lW7XI7PaV7nfeLG3478V55DW5go5aUHktSC/nUro2wd/+iaWnUqh95/ Lb+/j0Q2aEAoxeJaBPK4UHOc8LnabUhhnYg9VziW9td9xacu65TUnykg6QuMs173IaatM8 deUGJ74AAs2AvazcGzUMDH7VjkwW5jmZ+kdeWbWToyQvCj3OqctmmXytwru51w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639533315; a=rsa-sha256; cv=none; b=U9BRyvGOyQQ23eAnV+Dv5dzxsbuMosuEr/HQc9PdrnbnTI+5g/YyE2dq1h1EO8NkhbjdRx 01CB5OAr4VsX8URAW6bUL7Vc/kaOjZi5l83hYBo1DadXR/saRoo4S3HPink+1qqUd1g/uk VPZ6MjBn7IyDpck3Q+SsFyyD/3LqZI2A2ZLpa6wrktZD8/A0jsZsYgsuU/0eDH9wgRyS59 qT5O9mKNw3oP9GTvbjU/RKQcrilMuRqRVmgU7gK8XEUEyZ3l+jS3EmpyDG4shTq1A+FXYb OWAn7eYXu5LEJ14fBudJdKLi0wijTRDvEGNXBXYClUw+wghFCwpCQGz2eAZGTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b23c24558b6a089abb97e2eb027741362882b197 commit b23c24558b6a089abb97e2eb027741362882b197 Author: Konstantin Belousov AuthorDate: 2021-11-16 17:57:32 +0000 Commit: Konstantin Belousov 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);