diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-05 08:23:36 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-05 08:23:36 +0000 |
commit | 48b377904b38a5ebfdfbb235a595f474055a82b6 (patch) | |
tree | 7a8a1802495f4ec8a4b38c345489de89afead813 /gcc/mklibgcc.in | |
parent | 7a94134d780633840cd281fa055adb947a3ce165 (diff) | |
download | gcc-48b377904b38a5ebfdfbb235a595f474055a82b6.tar.gz |
* mklibgcc.in: Use separate libgcc.map for each multilib.
* Makefile.in (distclean): Don't remove libgcc.map here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51914 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r-- | gcc/mklibgcc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index a69f3489a70..546ee3e05fe 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -257,8 +257,8 @@ for ml in $MULTILIBS; do libgcc_st_objs="$libgcc_st_objs libgcc/${dir}/$o" done - if [ "$SHLIB_LINK" -a "$SHLIB_MKMAP" -a -z "$mapfile" ]; then - mapfile="libgcc.map" + if [ "$SHLIB_LINK" -a "$SHLIB_MKMAP" ]; then + mapfile="libgcc/${dir}/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-$@' |