Bug#741543: When build for mips64el, the default target is mipsn32el
Yunqiang Su <wzssyqa@gmail.com> writes:
> --- gcc-4.9-4.9-20140322-new.orig/src/gcc/config.gcc 2014-03-25
> 13:03:45.948992657 +0000
> +++ gcc-4.9-4.9-20140322-new/src/gcc/config.gcc 2014-03-25
> 13:06:12.314278663 +0000
> @@ -1963,6 +1963,11 @@
> tmake_file="${tmake_file} mips/t-linux64"
> tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
> case ${target} in
> + *gnuabi64*)
> + tm_defines=$(echo ${tm_defines}| sed
> 's/MIPS_ABI_DEFAULT=ABI_N32/MIPS_ABI_DEFAULT=ABI_64/g')
> + ;;
> + esac
> + case ${target} in
> mips64el-st-linux-gnu)
> tm_file="${tm_file} mips/st.h"
> tmake_file="${tmake_file} mips/t-st"
Sorry, should have noticed this last time, but for compatibility reasons
we need to use `...` rather than $(...). No need to repost the patch with
that change -- I'll just make it locally before committing -- but please
give an idea how it's been tested.
Thanks,
Richard
Reply to: