summaryrefslogtreecommitdiffstats
path: root/gcc/mklibgcc.in
diff options
context:
space:
mode:
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-24 23:34:25 +0000
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-24 23:34:25 +0000
commit6a60f1c604478ff01339300e37fcde1acbc24a24 (patch)
tree2920271fbf06b7cfd5ce81890b8848428dd637a0 /gcc/mklibgcc.in
parent8b8f1182b8d79ad6ed84edc868d08623e538db6f (diff)
downloadppe42-gcc-6a60f1c604478ff01339300e37fcde1acbc24a24.tar.gz
ppe42-gcc-6a60f1c604478ff01339300e37fcde1acbc24a24.zip
* mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
libgcc.a. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34690 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r--gcc/mklibgcc.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index c46c6387582..761464f778f 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -97,6 +97,12 @@ case X"$LIBGCC1" in
echo ${out}: stmp-dirs '$(srcdir)/config/$(LIB1ASMSRC)'
echo " $gcc_compile" $flags -DL$name -xassembler-with-cpp \
-c '$(srcdir)/config/$(LIB1ASMSRC)' -o $out
+
+ # Remove any objects from LIB2FUNCS that are defined as optimized
+ # assembly code in LIB1ASMFUNCS.
+ LIB2FUNCS=`echo $LIB2FUNCS | sed -e 's/^'$name' //' \
+ -e 's/ '$name' //' \
+ -e 's/ '$name'$//'`
done
libgcc1_objs="$libgcc1_objs ${name}${objext}"
done
OpenPOWER on IntegriCloud