summaryrefslogtreecommitdiffstats
path: root/runtime/arch/mips
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-11 11:30:20 -0700
committerIan Rogers <irogers@google.com>2014-03-11 11:35:45 -0700
commitee043fc5b2459d221ff020e2b096e2d492311d11 (patch)
tree3c89051e9584a77536f3914f94cc02cd8304e240 /runtime/arch/mips
parente6d7a6192d505b0ecaa5495ce208fb68cc2e3639 (diff)
downloadart-ee043fc5b2459d221ff020e2b096e2d492311d11.zip
art-ee043fc5b2459d221ff020e2b096e2d492311d11.tar.gz
art-ee043fc5b2459d221ff020e2b096e2d492311d11.tar.bz2
Ensure functions start with clean CFA state.
.cfi_startproc doesn't reset CFA state and so delivering exceptions and the like can leave the CFA with an incorrect offset. Reset the state in the DEFINE_FUNCTION macro. Also fix using test/run-test with --gdb for the target. Change-Id: I4c03768e118ef1e06d34fedce856919e6ecba0c4
Diffstat (limited to 'runtime/arch/mips')
-rw-r--r--runtime/arch/mips/asm_support_mips.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/mips/asm_support_mips.S b/runtime/arch/mips/asm_support_mips.S
index fe932d2..a14593b 100644
--- a/runtime/arch/mips/asm_support_mips.S
+++ b/runtime/arch/mips/asm_support_mips.S
@@ -25,7 +25,7 @@
.global \name
.balign 16
\name:
- .cfi_startproc
+ .cfi_startproc simple
.endm
.macro END name