diff options
author | Ian Lepore <ian@FreeBSD.org> | 2014-07-22 20:49:58 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2014-07-22 20:49:58 +0000 |
commit | fc6840cc0280caddc6e5fe8136404d128c248645 (patch) | |
tree | a7461782f49da59b4a0345b8f121025b7c0b984a | |
parent | 1f6f6cd7e283719ad375a3234504d517b55a278e (diff) | |
download | src-fc6840cc0280caddc6e5fe8136404d128c248645.tar.gz src-fc6840cc0280caddc6e5fe8136404d128c248645.zip |
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
Notes
Notes:
svn path=/head/; revision=268994
-rw-r--r-- | contrib/gcc/config/arm/unwind-arm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/arm/unwind-arm.h b/contrib/gcc/config/arm/unwind-arm.h index 8a5c5ce35d25..ab8531d14fe7 100644 --- a/contrib/gcc/config/arm/unwind-arm.h +++ b/contrib/gcc/config/arm/unwind-arm.h @@ -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; |