summaryrefslogtreecommitdiff
path: root/src/mips
diff options
context:
space:
mode:
authorZhang Fuxin <zhangfx@lemote.com>2015-08-11 12:47:36 +0800
committerZhang Fuxin <zhangfx@lemote.com>2015-08-11 12:47:36 +0800
commitf0ecd5d40397d4616ba0bf3e2521da2663b5bd97 (patch)
treef5ee2a35cf799a8eea708f962b23de21779e2fa6 /src/mips
parent6f0201c803a9a1f0f9b6fd226a42fb8daa223928 (diff)
downloadlibffi-f0ecd5d40397d4616ba0bf3e2521da2663b5bd97.tar.gz
fix O32 stack unwind code
add missing 1: label
Diffstat (limited to 'src/mips')
-rw-r--r--src/mips/o32.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mips/o32.S b/src/mips/o32.S
index be2381f..8ec6649 100644
--- a/src/mips/o32.S
+++ b/src/mips/o32.S
@@ -268,7 +268,7 @@ ffi_go_closure_O32:
# Store all possible float/double registers.
s.d $f12, FA_0_0_OFF2($fp)
s.d $f14, FA_1_0_OFF2($fp)
-
+1:
# prepare arguments for ffi_closure_mips_inner_O32
REG_L a0, 4($15) # cif
REG_L a1, 8($15) # fun
@@ -425,7 +425,7 @@ $LASFDE1:
.byte 0x4 # DW_CFA_advance_loc4
.4byte $LCFI4-$LFB1
.byte 0xe # DW_CFA_def_cfa_offset
- .uleb128 0x38
+ .uleb128 SIZEOF_FRAME2
.byte 0x4 # DW_CFA_advance_loc4
.4byte $LCFI6-$LCFI4
.byte 0x11 # DW_CFA_offset_extended_sf
@@ -441,7 +441,7 @@ $LASFDE1:
.4byte $LCFI7-$LCFI6
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x1e
- .uleb128 0x38
+ .uleb128 SIZEOF_FRAME2
.align 2
$LEFDE1: