Author: ian
Date: Mon Sep  1 14:57:04 2014
New Revision: 270930
URL: http://svnweb.freebsd.org/changeset/base/270930

Log:
  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.

Modified:
  head/sys/arm/include/asm.h

Modified: head/sys/arm/include/asm.h
==============================================================================
--- head/sys/arm/include/asm.h  Mon Sep  1 14:04:51 2014        (r270929)
+++ head/sys/arm/include/asm.h  Mon Sep  1 14:57:04 2014        (r270930)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to