diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-06 14:41:52 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-06 14:41:52 +0000 |
commit | 82601a8e4273a3f342177842c21bcb01f18853b6 (patch) | |
tree | ad2d8c29e00daec14cb3667b83cfe60a103c4ad3 /gcc/mklibgcc.in | |
parent | 0b32eea5b267f95f142a93b2b824fd650b944fd9 (diff) | |
download | gcc-82601a8e4273a3f342177842c21bcb01f18853b6.tar.gz |
2001-07-05 Andrew Haley <aph@redhat.com>
* Makefile.in (LIB2_DIVMOD_FUNCS): New.
(LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
* mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43809 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r-- | gcc/mklibgcc.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index 512529d9e9c..151dd497753 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -17,6 +17,7 @@ # LIB2ADDEHDEP # FPBIT # FPBIT_FUNCS +# LIB2_DIVMOD_FUNCS # DPBIT # DPBIT_FUNCS # LIBGCC @@ -120,6 +121,19 @@ for name in $LIB2FUNCS_ST; do libgcc2_st_objs="$libgcc2_st_objs ${name}${objext}" done +for name in $LIB2_DIVMOD_FUNCS; do + for ml in $MULTILIBS; do + dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'` + flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; + out="libgcc/${dir}/${name}${objext}" + + echo $out: $libgcc2_c_dep + echo " $gcc_compile" '$(MAYBE_USE_COLLECT2)' $flags -DL$name \ + -c '$(srcdir)/libgcc2.c' -fexceptions -fnon-call-exceptions -o $out + done + libgcc2_objs="$libgcc2_objs ${name}${objext}" +done + if [ "$FPBIT" ]; then for name in $FPBIT_FUNCS; do for ml in $MULTILIBS; do |