This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] split mips/gnu-user.h from mips/linux.h


Robert Millan <rmh@debian.org> writes:
> This patch splits those bits from:
>
> config/mips/linux.h
> config/mips/linux64.h
>
> which are applicable to GNU userland, into:
>
> config/mips/gnu-user.h
> config/mips/gnu-user64
>
> respectively.  It is analogous to the split that was performed for
> config/i386/* by Joseph Myers in r172271.
>
> I've verified that my patch doesn't cause any regression (resulting
> gcc/xgcc is identical both for mips-*-linux and mips64*-linux).

Support for mips-linux-gnu --enable-targets=all was recently added,
so the last line of this hunk:

@@ -1842,7 +1842,7 @@
 	test x$with_llsc != x || with_llsc=yes
 	;;
 mips*-*-linux*)				# Linux MIPS, either endian.
-        tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/linux.h"
+        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/linux64.h"

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.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]