* mklibgcc.in: Use $tmpmapfile, not tmp-$@.

From-SVN: r51918
This commit is contained in:
Jakub Jelinek 2002-04-05 13:43:40 +02:00 committed by Jakub Jelinek
parent 974a31010f
commit 49f37a0d72
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-04-05 Jakub Jeilnek <jakub@redhat.com>
* mklibgcc.in: Use $tmpmapfile, not tmp-$@.
2002-04-05 Alexandre Oliva <aoliva@redhat.com>
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,

View File

@ -259,10 +259,11 @@ for ml in $MULTILIBS; do
if [ "$SHLIB_LINK" -a "$SHLIB_MKMAP" ]; then
mapfile="libgcc/${dir}/libgcc.map"
tmpmapfile="libgcc/${dir}/tmp-libgcc.map"
echo ""
echo "${mapfile}: $SHLIB_MKMAP $SHLIB_MAPFILES $libgcc_sh_objs"
echo ' { $(NM_FOR_TARGET)'" $SHLIB_NM_FLAGS $libgcc_sh_objs; echo %%; cat $SHLIB_MAPFILES; } | "'$(AWK)'" -f $SHLIB_MKMAP $SHLIB_MKMAP_OPTS > "'tmp-$@'
echo ' mv tmp-$@ $@'
echo ' { $(NM_FOR_TARGET)'" $SHLIB_NM_FLAGS $libgcc_sh_objs; echo %%; cat $SHLIB_MAPFILES; } | "'$(AWK)'" -f $SHLIB_MKMAP $SHLIB_MKMAP_OPTS > ${tmpmapfile}"
echo ' mv '"$tmpmapfile"' $@'
fi
shlib_deps="$shlib_deps $mapfile"