Received: by mail.netbsd.org (Postfix, from userid 605) id E4D5884D42; Sat, 13 Apr 2019 15:53:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6405384D26 for ; Sat, 13 Apr 2019 15:53:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id pWP6Q79iIxyP for ; Sat, 13 Apr 2019 15:53:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id F264F84CD0 for ; Sat, 13 Apr 2019 15:53:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EC97CFB16; Sat, 13 Apr 2019 15:53:32 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 13 Apr 2019 15:53:32 +0000 From: "Maya Rashish" Subject: CVS commit: src/external/gpl3/gcc/dist/gcc/config/riscv To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190413155332.EC97CFB16@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Maya Rashish" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: maya Date: Sat Apr 13 15:53:32 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config/riscv: netbsd.h Log Message: use NETBSD_LINK_SPEC_ELF rather than netbsd_link_spec. My current guess as to why it makes a difference is that riscv, unlike other targets, doesn't use the macro SUBTARGET_EXTRA_SPECS for anything meaningful Fixes linking libgcc_s.so, which is now emitted as a dynamic library, not a static object (which fails, as it has undefined references) XXX there might be a better way of doing this To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.