From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id C9148AC0FF0 for ; Tue, 19 Sep 2023 08:17:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=lpEOaCW3fUmJsUFVjagr//Myu/01gS3Alj1G+/4DGk4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1695111445; v=1; b=uYgeZqaJxV9STL5EC27/m1guUTdKOINAFKJqM5BM+Z4nS05TioVsd9jvHDkTNVkwis9cQ0Dy gkHJksZR/elqMI+Now7b8PwL/pbRzWuRj0BaxZLGZns1xuRZStzwaro3fcnglV04zyLqjhbIbFW uDtVsEMteuOf1+JdhycdsCoA= X-Received: by 127.0.0.2 with SMTP id 80e6YY7687511xM27jZZfdwD; Tue, 19 Sep 2023 01:17:25 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.3199.1695111444809770719 for ; Tue, 19 Sep 2023 01:17:25 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="377193314" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="377193314" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 01:17:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="919774155" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="919774155" X-Received: from awarkent-desk.amr.corp.intel.com ([10.212.118.183]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 01:17:06 -0700 From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: Andrei Warkentin Subject: [edk2-devel] [PATCH v2 0/1] RISCV: Fix InternalLongJump Date: Tue, 19 Sep 2023 03:16:58 -0500 Message-Id: <20230919081659.27086-1-andrei.warkentin@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,andrei.warkentin@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: WF7hDf0obVuV9PRsjp8R2Oo9x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=uYgeZqaJ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io I was playing around with building code with -Os and ran into weird crashes, that I ended up chasing down to an obviously incorrect InternalLongJump implementation, which has never been correctly passing its 2nd parameter down as the return value of SetJump. You can find the pull at https://github.com/tianocore/edk2/pull/4836 V2: get rid of openssl-related change due to dirty build tree. Andrei Warkentin (1): RISCV: Fix InternalLongJump to return correct value MdePkg/Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108820): https://edk2.groups.io/g/devel/message/108820 Mute This Topic: https://groups.io/mt/101452204/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-