aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_eh
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-10-06 04:19:49 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-10-06 04:19:49 +0000
commit036d2e814bf0f5d88ffb4b24c159320894541757 (patch)
tree1107835ecd57dbc4bc6a9b2bcefd87bc8a583d40 /lib/libgcc_eh
parent29a5f63951c05accdd0a2bd54dc7351f04a74492 (diff)
downloadsrc-036d2e814bf0f5d88ffb4b24c159320894541757.tar.gz
src-036d2e814bf0f5d88ffb4b24c159320894541757.zip
Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around
Diff partially stolen from CheriBSD; these bits need -Wl,-z,notext in order to build in an LLVM world. They are needed for all flavors/sizes of MIPS. This will eventually get fixed in LLVM, but it's unclear when. Reported by: arichardson, emaste Differential Revision: https://reviews.freebsd.org/D21696
Notes
Notes: svn path=/head/; revision=353140
Diffstat (limited to 'lib/libgcc_eh')
-rw-r--r--lib/libgcc_eh/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libgcc_eh/Makefile.inc b/lib/libgcc_eh/Makefile.inc
index 232f5d8d46fa..a556ff20d882 100644
--- a/lib/libgcc_eh/Makefile.inc
+++ b/lib/libgcc_eh/Makefile.inc
@@ -6,6 +6,8 @@ UNWINDSRCDIR= ${SRCTOP}/contrib/libunwind/src
STATIC_CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
+ALLOW_MIPS_SHARED_TEXTREL=
+
.PATH: ${COMPILERRTDIR}/lib/builtins
.PATH: ${UNWINDSRCDIR}
SRCS_EXC+= gcc_personality_v0.c