Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2014 14:57:04 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270930 - head/sys/arm/include
Message-ID:  <201409011457.s81Ev483075486@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409011457.s81Ev483075486>