Draft approach towards resolving https://github.com/micropython/micropython/issues/560#issuecomment-42213955
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.
tests: create result file for test/basics/memoryerror.py .

On Mac OS "python3 test/basics/memoryerror.py" never runs out of memory, the process is frozen by the os before.
unix: Add asm statements needed to read registers with clang. Code generated by gcc 4.9.0 is unchanged (same statements, different order).

Both are inefficient, saving unmodified registers on the stack.
Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h
windows: Fix compilation with mingw-w64 so it uses correct printf implementations

Without this flag, mingw-w64 uses the MS implementations of snpintf and the likes.
This is not really a problem since they work with the the fixes provided for msvc,
but due to the way mingw-w64's stdio.h is structured we cannot get it to use the fixes.
modstruct: struct_calcsize: Fix case of uninitialized var.
Merge pull request #621 from stinos/migw-w64-fix

windows: Fix compilation with mingw-w64 so it uses correct printf implem...
stmhal: Stop USB before entering DFU by software.
py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.

See issue #608 for justification.
Merge pull request #607 from Anton-2/osx-clang

Allow compilation of unix port under clang on OS X
unix, Mac support: Generate order.def via Makefile.
stm: Remove long-obsolete stm/ port.
objtype: super: Add stop condition for looking up in base types.
objtype: super: Fall back to "object" lookup as last resort.

Also, define object.__init__() (semantically empty, purely CPython compat
measure). Addresses #520.
Tidy up some configuration options.

MP_ALLOC_* -> MICROPY_ALLOC_*
MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
MICROPY_EXTRA_* -> MICROPY_PORT_*

See issue #35.
Merge branch 'master' of github.com:micropython/micropython
unix: Fix casting issue, int to small int object.
objobject: Fix arguments to __init__().
py: Initial attempts to actually allow implementing __new__ in Python.

Caveat is that __new__ should recurse to base class __new__, and ultimately,
object.__new__ is what handles instance allocation.