diff options
author | Laurent Dufour <ldufour@linux.vnet.ibm.com> | 2013-11-15 16:01:51 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-11-19 09:26:28 +0900 |
commit | 75efb890f9033302d9bf27bace6268850c8a7371 (patch) | |
tree | 947f4198ee047a19bd7088ef57c0d7112d1127f1 /config | |
parent | 818d45224ad76ee1cff296c7ba14b605b3a2fcc1 (diff) |
kexec/ppc64: bring up new ppc64le architecture
This patch provides support for the new Power PC litte endian (LE) mode. The
LE mode only differs in the way the instructions and data are stored in memory
thus there is no real need to duplicate the ppc64 code.
However some compilation's options, especially for the purgatory, differ
between little and big endian mode's support. A new "SUBARCH" build variable
is introduced which is currently only used for PPC64 to specify the
endianness.
Another set of changes in this patch is fixing minor endianess issues in the
ppc64 code and fix an alignment issue raised on Power7 little endian mode.
Among these fixes, the check on the kernel binary endianess is removed,
since we can imagine kexecing a LE kernel from a BE environment, as far as
the specified root filesystem and initrd file are containing the right
binaries.
This patch depends on the patch "kexec/ppc64: use common architecture
fs2dt.c file" I sent earlier on the kexec mailing list.
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'config')
-rwxr-xr-x | config/config.guess | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/config.guess b/config/config.guess index d622a44..c954d5e 100755 --- a/config/config.guess +++ b/config/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. -timestamp='2012-02-10' +timestamp='2013-10-21' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -972,6 +972,9 @@ EOF ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-gnu + exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; |