From 7b27fbcbee7d71d04e0d3729e231738e2e11b4e9 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Wed, 10 Aug 2022 17:01:29 +0545 Subject: [PATCH] Fix errors in make_ppc32_sysv_macho_gas.S --- make_ppc32_sysv_macho_gas.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make_ppc32_sysv_macho_gas.S b/make_ppc32_sysv_macho_gas.S index 0fefdbb..a17b593 100644 --- a/make_ppc32_sysv_macho_gas.S +++ b/make_ppc32_sysv_macho_gas.S @@ -82,7 +82,7 @@ _make_fcontext: subi r3, r3, 304 ; third arg of make_fcontext() == address of context-function - stw r5, 236(%r3) + stw r5, 236(r3) ; load LR mflr r0 @@ -93,7 +93,7 @@ l1: mflr r4 ; compute abs address of label finish addi r4, r4, lo16((finish - .)+4) - # restore LR + ; restore LR mtlr r0 ; save address of finish as return-address for context-function ; will be entered after context-function returns