Do not generate unwind info in asm functions if _STANDALONE is defined.

The .fnend op causes the assembler to emit RELOC references to unwind
support functions that don't exist in libstand.
This commit is contained in:
ian 2014-09-01 14:57:04 +00:00
parent 2dd39cca12
commit 29964973d5

View File

@ -53,7 +53,7 @@
# define _ALIGN_TEXT .align 0
#endif
#ifdef __ARM_EABI__
#if defined(__ARM_EABI__) && !defined(_STANDALONE)
#define STOP_UNWINDING .cantunwind
#define _FNSTART .fnstart
#define _FNEND .fnend