From owner-svn-src-projects@freebsd.org Thu Sep 5 18:47:59 2019 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81E2CD0495 for ; Thu, 5 Sep 2019 18:47:59 +0000 (UTC) (envelope-from dim@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46PV7M2l0lz4DtV; Thu, 5 Sep 2019 18:47:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4146B889C; Thu, 5 Sep 2019 18:47:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x85IlxTX070936; Thu, 5 Sep 2019 18:47:59 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x85IlwjV070935; Thu, 5 Sep 2019 18:47:58 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201909051847.x85IlwjV070935@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 5 Sep 2019 18:47:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r351883 - projects/clang900-import/contrib/libunwind/src X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: projects/clang900-import/contrib/libunwind/src X-SVN-Commit-Revision: 351883 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2019 18:47:59 -0000 Author: dim Date: Thu Sep 5 18:47:58 2019 New Revision: 351883 URL: https://svnweb.freebsd.org/changeset/base/351883 Log: Catch up our non-upstreamed riscv parts in libunwind: * DEFINE_LIBUNWIND_PRIVATE_FUNCTION changed into DEFINE_LIBUNWIND_FUNCTION * unw_getcontext changed into __unw_getcontext Modified: projects/clang900-import/contrib/libunwind/src/UnwindRegistersRestore.S projects/clang900-import/contrib/libunwind/src/UnwindRegistersSave.S Modified: projects/clang900-import/contrib/libunwind/src/UnwindRegistersRestore.S ============================================================================== --- projects/clang900-import/contrib/libunwind/src/UnwindRegistersRestore.S Thu Sep 5 18:19:51 2019 (r351882) +++ projects/clang900-import/contrib/libunwind/src/UnwindRegistersRestore.S Thu Sep 5 18:47:58 2019 (r351883) @@ -817,7 +817,7 @@ DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind14Registers_or1 // thread_state pointer is in a0 // .p2align 2 -DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9libunwind15Registers_riscv6jumptoEv) +DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind15Registers_riscv6jumptoEv) #ifdef __riscv_float_abi_double fld f0, (8 * 32 + 8 * 0)(a0) fld f1, (8 * 32 + 8 * 1)(a0) Modified: projects/clang900-import/contrib/libunwind/src/UnwindRegistersSave.S ============================================================================== --- projects/clang900-import/contrib/libunwind/src/UnwindRegistersSave.S Thu Sep 5 18:19:51 2019 (r351882) +++ projects/clang900-import/contrib/libunwind/src/UnwindRegistersSave.S Thu Sep 5 18:47:58 2019 (r351883) @@ -557,7 +557,7 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext) #elif defined(__ppc__) // -// extern int unw_getcontext(unw_context_t* thread_state) +// extern int __unw_getcontext(unw_context_t* thread_state) // // On entry: // thread_state pointer is in r3 @@ -948,12 +948,12 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext) #elif defined(__riscv) # -# extern int unw_getcontext(unw_context_t* thread_state) +# extern int __unw_getcontext(unw_context_t* thread_state) # # On entry: # thread_state pointer is in a0 # -DEFINE_LIBUNWIND_FUNCTION(unw_getcontext) +DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext) // x0 is zero sd x1, (8 * 1)(a0) sd x2, (8 * 2)(a0)