"Pierre d'Herbemont" stegefin@free.fr writes:
I'll look deeper before my next try. I'll also try to see if there is a way to implement such a function directly in the darwin's code too.
I'd suggest using a bss symbol instead, the value should be close enough for what we need and it avoids the whole dyld mess. Replacing 'extern char _end[]' by 'static char _end[1]' should do the trick.