diff options
author | Douglas B Rupp <rupp@gnat.com> | 2002-01-13 07:28:40 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2002-01-13 07:28:40 -0500 |
commit | f0df8029725de327adb209d5f9cc4948f5456ab1 (patch) | |
tree | f9f69de7c96a547e34bb9afbbd14ed10d3c0ad79 /gcc/mklibgcc.in | |
parent | a9e8a5eede7232680aa5ce0afb776347df2aee53 (diff) | |
download | gcc-f0df8029725de327adb209d5f9cc4948f5456ab1.tar.gz |
Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
* Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
* mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
From-SVN: r48816
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r-- | gcc/mklibgcc.in | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index 8f9174a0f5d..bcc03e26c3b 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -1,6 +1,6 @@ #!/bin/sh # Construct makefile for libgcc. -# Copyright (C) 2000 Free Software Foundation, Inc. +# Copyright (C) 2000, 2002 Free Software Foundation, Inc. # # This file is part of GCC. @@ -9,7 +9,8 @@ # # objext # LIB1ASMFUNCS -# LIB2FUNCS +# LIB2FUNCS_1 +# LIB2FUNCS_2 # LIB2FUNCS_ST # LIB2ADD # LIB2ADD_ST @@ -81,9 +82,12 @@ for name in $LIB1ASMFUNCS; do # Remove any objects from LIB2FUNCS and LIB2_DIVMOD_FUNCS that are # defined as optimized assembly code in LIB1ASMFUNCS. - LIB2FUNCS=`echo $LIB2FUNCS | sed -e 's/^'$name' //' \ - -e 's/ '$name' / /' \ - -e 's/ '$name'$//'` + LIB2FUNCS_1=`echo $LIB2FUNCS_1 | sed -e 's/^'$name' //' \ + -e 's/ '$name' / /' \ + -e 's/ '$name'$//'` + LIB2FUNCS_2=`echo $LIB2FUNCS_2 | sed -e 's/^'$name' //' \ + -e 's/ '$name' / /' \ + -e 's/ '$name'$//'` LIB2_DIVMOD_FUNCS=`echo $LIB2_DIVMOD_FUNCS | sed -e 's/^'$name' //' \ -e 's/ '$name' / /' \ -e 's/ '$name'$//'` @@ -99,7 +103,7 @@ libgcc2_objs="" libgcc2_st_objs="" libgcc2_eh_objs="" -for name in $LIB2FUNCS; do +for name in $LIB2FUNCS_1 $LIB2FUNCS_2; 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'`; |