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
This commit is contained in:
Ian Lepore 2014-07-22 20:49:58 +00:00
parent 1f6f6cd7e2
commit fc6840cc02
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268994

View File

@ -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;