diff options
author | ed <ed@FreeBSD.org> | 2014-01-18 14:22:56 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2014-01-18 14:22:56 +0000 |
commit | aee72141a17bd3872e4b2807a31e25eae544ad63 (patch) | |
tree | 42ab1661a03450232c605a62365cfbd9b65d7893 /libexec | |
parent | 31dc7c36cae7dd93f0281619b42e939b55396360 (diff) | |
download | FreeBSD-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/Makefile | 11 |
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 |