aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-11-11 15:48:27 +0000
committerEd Schouten <ed@FreeBSD.org>2010-11-11 15:48:27 +0000
commit39cd938c394c55db5d89cfe82da53ceef7b367ef (patch)
tree96d46b232fdca922dcceae80b2a66aed7fc5813f /Makefile.inc1
parentb70519663c39c075cb24c475c34378d79979334d (diff)
downloadsrc-39cd938c394c55db5d89cfe82da53ceef7b367ef.tar.gz
src-39cd938c394c55db5d89cfe82da53ceef7b367ef.zip
Replace libgcc.a by libcompiler_rt.a.
libcompiler_rt.a is a BSD licensed C language runtime, which implements many routines which are linked into binaries on architectures where certain functionality is missing (e.g. 64 bits mul/div on i386). Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain features, such as an unwinder for exception handling, are missing. That's why only libgcc.a is replaced for now, because this one does seem to be complete. Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun) and many others. Thanks! Obtained from: user/ed/compiler-rt
Notes
Notes: svn path=/head/; revision=215127
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d8bbd44de917..cd2920437693 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1123,7 +1123,7 @@ libraries:
#
# static libgcc.a prerequisite for shared libc
#
-_prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc
+_prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc lib/libcompiler_rt
# These dependencies are not automatically generated:
#
@@ -1139,6 +1139,7 @@ _startup_libs+= lib/csu/${MACHINE_ARCH}
_startup_libs+= lib/csu/${MACHINE_CPUARCH}
.endif
_startup_libs+= gnu/lib/libgcc
+_startup_libs+= lib/libcompiler_rt
_startup_libs+= lib/libc
gnu/lib/libgcc__L: lib/libc__L