Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 20:49:59 +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: r268994 - head/contrib/gcc/config/arm
Message-ID:  <201407222049.s6MKnxfl093810@svn.freebsd.org>

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



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