svn commit: r268994 - head/contrib/gcc/config/arm

Ian Lepore ian at FreeBSD.org
Tue Jul 22 20:49:59 UTC 2014


Author: ian
Date: Tue Jul 22 20:49:58 2014
New Revision: 268994
URL: http://svnweb.freebsd.org/changeset/base/268994

Log:
  Add FreeBSD to the list of environments that needs to handle R_ARM_TARGET2
  relocations in unwind data as pc-relative indirect references.
  
  MFC after:	1 week

Modified:
  head/contrib/gcc/config/arm/unwind-arm.h

Modified: head/contrib/gcc/config/arm/unwind-arm.h
==============================================================================
--- head/contrib/gcc/config/arm/unwind-arm.h	Tue Jul 22 20:32:24 2014	(r268993)
+++ head/contrib/gcc/config/arm/unwind-arm.h	Tue Jul 22 20:49:58 2014	(r268994)
@@ -232,7 +232,7 @@ extern "C" {
       if (!tmp)
 	return 0;
 
-#if defined(linux) || defined(__NetBSD__)
+#if defined(linux) || defined(__NetBSD__) || defined(__FreeBSD__)
       /* Pc-relative indirect.  */
       tmp += ptr;
       tmp = *(_Unwind_Word *) tmp;


More information about the svn-src-head mailing list