On 10/12/2013, at 7:28 am, Steve Ellcey <sell...@mips.com> wrote: > On Mon, 2013-12-09 at 08:21 +1300, Maxim Kuvyrkov wrote: > >> I'm looking into this. >> >> Thanks, >> >> -- >> Maxim Kuvyrkov >> www.kugelworks.com > > > My mips-mti-linux-gnu build is working after I applied this patch > locally. I didn't do a test build of mips64-linux-gnu. > > Steve Ellcey > sell...@mips.com > > > diff --git a/gcc/config.gcc b/gcc/config.gcc > index 93743d8..ee17071 100644 > --- a/gcc/config.gcc > +++ b/gcc/config.gcc > @@ -1918,16 +1918,18 @@ mips*-*-netbsd*) # NetBSD/mips, > either endian. > extra_options="${extra_options} netbsd.opt netbsd-elf.opt" > ;; > mips*-mti-linux*) > - tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} > mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h > mips/mti-linux.h" > + tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h > glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h > mips/linux-common.h mips/mti-linux.h" > tmake_file="${tmake_file} mips/t-mti-linux" > tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33 MIPS_ABI_DEFAULT=ABI_32" > + extra_options="${extra_options} linux-android.opt" > gnu_ld=yes > gas=yes > ;; > mips64*-*-linux* | mipsisa64*-*-linux*) > - tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} > mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h" > + tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h > glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h > mips/linux-common.h" > tmake_file="${tmake_file} mips/t-linux64" > tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" > + extra_options="${extra_options} linux-android.opt" > case ${target} in > mips64el-st-linux-gnu) > tm_file="${tm_file} mips/st.h"
Hi Steve, I've came up with the same patch, and Richard S. already approved it. I'll check it in once s390x-linux part of that patch is approved (hopefully, later today). Thank you, -- Maxim Kuvyrkov www.kugelworks.com