summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2014-01-18 14:22:56 +0000
committered <ed@FreeBSD.org>2014-01-18 14:22:56 +0000
commitaee72141a17bd3872e4b2807a31e25eae544ad63 (patch)
tree42ab1661a03450232c605a62365cfbd9b65d7893 /libexec
parent31dc7c36cae7dd93f0281619b42e939b55396360 (diff)
downloadFreeBSD-src-aee72141a17bd3872e4b2807a31e25eae544ad63.zip
FreeBSD-src-aee72141a17bd3872e4b2807a31e25eae544ad63.tar.gz
Replace LIBGCC by LIBCOMPILER_RT.
We now use libcompiler_rt on all platforms now. Instead of referring directly to -lgcc and LIBGCC, use -lcompiler_rt and LIBCOMPILER_RT.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index 31cbfdd..2a0953c 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -43,11 +43,12 @@ DPADD= ${LIBC_PIC}
LDADD= -lc_pic
.if ${MACHINE_CPUARCH} == "arm" && ${MK_ARM_EABI} != "no"
-# Some of the required math functions (div & mod) are implemented in libgcc
-# on ARM. The library also needs to be placed first to be correctly linked.
-# As some of the functions are used before we have shared libraries.
-DPADD+= ${LIBGCC}
-LDADD+= -lgcc
+# Some of the required math functions (div & mod) are implemented in
+# libcompiler_rt on ARM. The library also needs to be placed first to be
+# correctly linked. As some of the functions are used before we have
+# shared libraries.
+DPADD+= ${LIBCOMPILER_RT}
+LDADD+= -lcompiler_rt
.endif
OpenPOWER on IntegriCloud