Patchwork split mips/gnu-user.h from mips/linux.h

login
register
mail settings
Submitter Richard Sandiford
Date July 20, 2011, 9:04 p.m.
Message ID <874o2gpsu6.fsf@firetop.home>
Download mbox | patch
Permalink /patch/105836/
State New
Headers show

Comments

Richard Sandiford - July 20, 2011, 9:04 p.m.
Robert Millan <rmh@debian.org> writes:
> 2011/7/19 Richard Sandiford <rdsandiford@googlemail.com>:
>> 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  <rmh@gnu.org>

	* config.gcc (mips*-*-linux*): Remove redundant tm_file entry.

Patch

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