summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorAntonin ENFRUN <antonin.e@me.com>2014-05-11 21:28:26 +0200
committerAntonin ENFRUN <antonin.e@me.com>2014-05-12 00:13:10 +0200
commit6caae0bcb183fabd2bcf65c2ae2346b4e2d5cbe7 (patch)
tree03308bc86f381203cbed3e0611e801bd10250bcc /py
parent147c80bf7cad0f8e02f3b7ccf8ec14e65092e52b (diff)
downloadmicropython-6caae0bcb183fabd2bcf65c2ae2346b4e2d5cbe7.tar.gz
micropython-6caae0bcb183fabd2bcf65c2ae2346b4e2d5cbe7.zip
unix: Create __bss_start and _end symbols for Mach-O targets.
It's a hack, but can't find a cleaner way to do it.
Diffstat (limited to 'py')
-rw-r--r--py/nlrx64.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/nlrx64.S b/py/nlrx64.S
index 55cb4d7960..baed6cabd6 100644
--- a/py/nlrx64.S
+++ b/py/nlrx64.S
@@ -32,6 +32,10 @@
#if !defined(__CYGWIN__)
+#if (defined(__APPLE__) && defined(__MACH__))
+#define nlr_jump_fail _nlr_jump_fail
+#endif // (defined(__APPLE__) && defined(__MACH__))
+
/* uint nlr_push(rdi=nlr_buf_t *nlr) */
#if !(defined(__APPLE__) && defined(__MACH__))
.globl nlr_push