aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2014-01-18 14:22:56 +0000
committerEd Schouten <ed@FreeBSD.org>2014-01-18 14:22:56 +0000
commit37656b872bec3bc994622c5a5d0432a6152feee0 (patch)
tree42ab1661a03450232c605a62365cfbd9b65d7893 /libexec/rtld-elf
parent10c401805724439cf6002a20b5da029c62fa90bb (diff)
downloadsrc-37656b872bec3bc994622c5a5d0432a6152feee0.tar.gz
src-37656b872bec3bc994622c5a5d0432a6152feee0.zip
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.
Notes
Notes: svn path=/head/; revision=260849
Diffstat (limited to 'libexec/rtld-elf')
-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 31cbfdd449d7..2a0953c96dfa 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