summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-22 01:14:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-22 01:40:45 +0300
commita96cc824bdacb34ced0edef523181c215fba313b (patch)
tree8fc6088d486ce71fae5f9bd1bb05af77d5558edd /unix
parent59c675a64c1d9757d50ad4627da67a6f996a99fb (diff)
downloadmicropython-a96cc824bdacb34ced0edef523181c215fba313b.tar.gz
micropython-a96cc824bdacb34ced0edef523181c215fba313b.zip
py: Support arm and thumb ARM ISAs, in addition to thumb2.
These changes were tested with QEMU, and by few people of real hardware.
Diffstat (limited to 'unix')
-rw-r--r--unix/gccollect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/gccollect.c b/unix/gccollect.c
index 4f3b786e72..1014a2629b 100644
--- a/unix/gccollect.c
+++ b/unix/gccollect.c
@@ -97,7 +97,7 @@ void gc_helper_get_regs(regs_t arr) {
}
#endif
-#ifdef __thumb2__
+#if defined(__thumb2__) || defined(__thumb__) || defined(__arm__)
typedef machine_uint_t regs_t[10];
void gc_helper_get_regs(regs_t arr) {