From patchwork Wed Jul 20 21:04:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: split mips/gnu-user.h from mips/linux.h From: Richard Sandiford X-Patchwork-Id: 105836 Message-Id: <874o2gpsu6.fsf@firetop.home> To: Robert Millan Cc: gcc-patches@gcc.gnu.org Date: Wed, 20 Jul 2011 22:04:01 +0100 Robert Millan writes: > 2011/7/19 Richard Sandiford : >> needs to deal with linux64.h as well.  I also kept the copyright notice >> the same on linux.h (even though it's only a one-liner now). >> >> Applied with those changes, thanks. > > It's probably harmless, but with this change if --enable-targets=all > is used, then mips/gnu-user.h is included twice. The second one can > be removed. Oops, yes indeed. Applied as follows. Thanks, Richard 2011-07-20 Robert Millan * config.gcc (mips*-*-linux*): Remove redundant tm_file entry. Index: gcc/config.gcc =================================================================== --- gcc/config.gcc 2011-07-20 21:59:49.000000000 +0100 +++ gcc/config.gcc 2011-07-20 21:59:52.000000000 +0100 @@ -1845,7 +1845,7 @@ mips*-*-linux*) # Linux MIPS, either tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h" tmake_file="${tmake_file} mips/t-libgcc-mips16" if test x$enable_targets = xall; then - tm_file="${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h" + tm_file="${tm_file} mips/gnu-user64.h mips/linux64.h" tmake_file="${tmake_file} mips/t-linux64" tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_32" fi