Yunqiang Su <wzss...@gmail.com> 于2020年7月13日周一 下午12:43写道:
>
> On Fri, 28 Feb 2020 17:56:24 +0800 YunQiang Su <wzss...@gmail.com> wrote:
> > On Fri, 28 Feb 2020 17:51:14 +0800 YunQiang Su <s...@debian.org> wrote:
> > > Package: src:binutils
> > > Version: 2.34-3
> > >
> > >
> > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dec7b24be89fe0496f9442232bcbfcb16e030742
> > > https://sourceware.org/bugzilla/show_bug.cgi?id=25539
> > >
> > >     MIPS/fix_loongson3_llsc: fix when target has multi labels
> > >
> > >     When there is multi-labels on the same insn, the current code
> > >     will take care about the last one. it may cause that no sync
> > >     is added at the target.
> > >
> > >     Here we scan all labels with same value of
> > >        S_GET_VALUE(label_list->label)
> > >     by label_list->next.
> > >
> >
> > and we alos need to re-enable "--enable-fix-loongson-llsc" option
> > for mipsel/mipsn32el/mips64el
>
> Since now we have 2.35~ in unstable, we can just enable this option.
> I test it and try to build gcc-10, it works now.
>
> >
> > >

diff --git a/debian/rules b/debian/rules
index 4802043..db7199c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -512,15 +512,15 @@ CONFARGS_TARGET_kfreebsd-i386     =
--enable-targets=x86_64-kfreebsd-gnu

 CONFARGS_TARGET_mips           =
--enable-targets=mips64-linux-gnuabi64,mips64-linux-gnuabin32

-CONFARGS_TARGET_mipsel         =
--enable-targets=mips64el-linux-gnuabi64,mips64el-linux-gnuabin32 #
--enable-mips-fix-loongson3-llsc=yes
+CONFARGS_TARGET_mipsel         =
--enable-targets=mips64el-linux-gnuabi64,mips64el-linux-gnuabin32
--enable-mips-fix-loongson3-llsc=yes

 CONFARGS_TARGET_mipsn32                =
--enable-targets=mips64-linux-gnuabi64,mips-linux-gnu

-CONFARGS_TARGET_mipsn32el      =
--enable-targets=mips64el-linux-gnuabi64,mipsel-linux-gnu #
--enable-mips-fix-loongson3-llsc=yes
+CONFARGS_TARGET_mipsn32el      =
--enable-targets=mips64el-linux-gnuabi64,mipsel-linux-gnu
--enable-mips-fix-loongson3-llsc=yes

 CONFARGS_TARGET_mips64         =
--enable-targets=mips64-linux-gnuabin32,mips-linux-gnu

-CONFARGS_TARGET_mips64el       =
--enable-targets=mips64el-linux-gnuabin32,mipsel-linux-gnu #
--enable-mips-fix-loongson3-llsc=yes
+CONFARGS_TARGET_mips64el       =
--enable-targets=mips64el-linux-gnuabin32,mipsel-linux-gnu
--enable-mips-fix-loongson3-llsc=yes

 CONFARGS_TARGET_mipsr6 =
--enable-targets=mipsisa64r6-linux-gnuabi64,mipsisa64r6-linux-gnuabin32




-- 
YunQiang Su

Reply via email to