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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-