From nobody Tue Jan 25 01:40:11 2022 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 BB1021972F55; Tue, 25 Jan 2022 01:40: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 4JjV0Z35R0z4Zw9; Tue, 25 Jan 2022 01:40:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074814; 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=xI8zJHMK5f9qdmDNGV9IzRKW/2Qqs/Rg5EB2thifbY4=; b=fd9H5qlUOqErC51MZ6bEU48iJ4tfT6ew+dxweRXaDgkqTzO5iuJxjCbpaawwDBY1v0L19i 83/Rs70PoG/CHt/p6JAhjq7VTda98/R+76rCs12dwtcmTB4YA4koxLNE+lzREWY67kfIRP 6osKUIg6qNQIwh3UR1Iznp6i4RcFd3Z4F381ldj7yb7HJb2cBNEIqo1aEOnvnKK9e1EBsb yHE8DuUz83SfmvVsoZx9FmNeohqQmEpkuU+cres7E1TzWTXK1oF+FQdlCzRnhcPcA+nXHo Orah6jjwXj9flb+GadJrf0vAaouc0KhmOlBqrQpLoMBVaJdzgdXGfKQdhM2ooQ== 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 B061920C78; Tue, 25 Jan 2022 01:40:11 +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 20P1eBes046746; Tue, 25 Jan 2022 01:40:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20P1eB7o046741; Tue, 25 Jan 2022 01:40:11 GMT (envelope-from git) Date: Tue, 25 Jan 2022 01:40:11 GMT Message-Id: <202201250140.20P1eB7o046741@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jessica Clarke Subject: git: b65517ccd760 - stable/13 - cross-build: Add __weak_symbol definition for libdwarf bootstrap 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: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b65517ccd760e1fc2a2899aebf598282228e6299 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074814; 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=xI8zJHMK5f9qdmDNGV9IzRKW/2Qqs/Rg5EB2thifbY4=; b=t4rsm4G/3h/+fvx2HLuVC+FM78shF/0RzQKGgQuzhBl+f0iQipX2VR+tyRmveRS5gpYcNS mfcqJ/6eHmqTZ2yLVY/AttUMODE+T123lXarjQxSntriCUb01wmZ7UkfXEXrFsvkTgd68D JXtFFhiHqI1z+4VOGttahf+5jfDiuKywABrR0umFqqbF//YqHP69Q1FOfi8i0I819qXJ7+ mfsgjqN0+NXgqgFvzSEiW1ZwMSPzn75bzYnH9Xm2ozPXuCD8LIQM9oWRD2iPZoWtqM2dnY 3iDyy24VWz7mdKNSCmvDOT++35uHLaZFKgaEVch1bUu52+tfw4nhIURc/Yq1ew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643074814; a=rsa-sha256; cv=none; b=fMDZKX2I9sPpBzbYOsPdAOXtF1x4t1DAitD2ym2Qksw3E+roDzRQQt8N37PbN12Hn1LSCA T4J30FPwj0WAH35EYHAtd2JnEJfChnN4LQq9PbzqHuYimwK2k+nWIC2ipDVBi9SoEOws0F Auv9UPCxIFhG2NeuifNVDfdzLUJ10x9IjX1OAeaxvhg+RrRpvNj+/09eUy1xd3TZPvBDqZ DU1/khd6HO/sxI9CRBjoLgvLTfjnoQ4iRGiqIdEFaPP2k61MwO0GkWhlm14swxe8BGVafA uxIP2ezEVg/RjtauGHdOIsOhzJpwoxWt1p5GdUP111I0mfSpRbWHFaXVsWqqjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=b65517ccd760e1fc2a2899aebf598282228e6299 commit b65517ccd760e1fc2a2899aebf598282228e6299 Author: Jessica Clarke AuthorDate: 2021-12-15 04:36:11 +0000 Commit: Jessica Clarke CommitDate: 2022-01-24 23:59:40 +0000 cross-build: Add __weak_symbol definition for libdwarf bootstrap Fixes: 3aa0bc89c6a1 ("libdwarf: Add a weak uncompress() symbol") MFC after: 1 week (cherry picked from commit d752d10e53839ad0654c9c564c6ef6c6e462c96d) --- tools/build/cross-build/include/common/sys/cdefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/build/cross-build/include/common/sys/cdefs.h b/tools/build/cross-build/include/common/sys/cdefs.h index 6d62333bcffe..d69e4369e01e 100644 --- a/tools/build/cross-build/include/common/sys/cdefs.h +++ b/tools/build/cross-build/include/common/sys/cdefs.h @@ -109,6 +109,9 @@ #define __predict_false(exp) __builtin_expect((exp), 0) #endif +#ifndef __weak_symbol +#define __weak_symbol __attribute__((__weak__)) +#endif #ifndef __weak_reference #ifdef __ELF__ #define __weak_reference(sym, alias) \