This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] split mips/gnu-user.h from mips/linux.h
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Robert Millan <rmh at debian dot org>
- Cc: gcc-patches at gcc dot gnu dot org, "Joseph S. Myers" <joseph at codesourcery dot com>, Eric Christopher <echristo at apple dot com>
- Date: Tue, 19 Jul 2011 19:03:02 +0100
- Subject: Re: [PATCH] split mips/gnu-user.h from mips/linux.h
- References: <CAOfDtXNa7=z813uEVgWWw9sZgyqye82rXjJz=13VfhvCwoWx7Q@mail.gmail.com>
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