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.
This commit is contained in:
Antonin ENFRUN
2014-05-11 21:28:26 +02:00
parent 147c80bf7c
commit 6caae0bcb1
4 changed files with 50 additions and 2 deletions

View File

@@ -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