From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiPVr-0007I3-Iu for qemu-devel@nongnu.org; Thu, 08 May 2014 10:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiPVi-0005V7-3N for qemu-devel@nongnu.org; Thu, 08 May 2014 10:41:31 -0400 Message-ID: <536B978C.80107@gmail.com> Date: Thu, 08 May 2014 09:41:16 -0500 From: Tom Musta MIME-Version: 1.0 References: <1399537603-6905-1-git-send-email-dougkwan@google.com> <1399537603-6905-4-git-send-email-dougkwan@google.com> In-Reply-To: <1399537603-6905-4-git-send-email-dougkwan@google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] configure: Add new target ppc64el-linux-user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Doug Kwan , qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: riku.voipio@iki.fi, agraf@suse.de On 5/8/2014 3:26 AM, Doug Kwan wrote: > Add a new user mode target for little-endian PPC64. > > Signed-off-by: Doug Kwan > --- > configure | 6 ++++++ > default-configs/ppc64el-linux-user.mak | 1 + > 2 files changed, 7 insertions(+) > create mode 100644 default-configs/ppc64el-linux-user.mak > > diff --git a/configure b/configure > index ac2fa15..ce44044 100755 > --- a/configure > +++ b/configure > @@ -4917,6 +4917,12 @@ case "$target_name" in > echo "TARGET_ABI32=y" >> $config_target_mak > gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml" > ;; > + ppc64el) > + TARGET_ARCH=ppc64 > + TARGET_BASE_ARCH=ppc > + TARGET_ABI_DIR=ppc > + gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml" > + ;; > sh4|sh4eb) > TARGET_ARCH=sh4 > bflt="yes" > diff --git a/default-configs/ppc64el-linux-user.mak b/default-configs/ppc64el-linux-user.mak > new file mode 100644 > index 0000000..6948225 > --- /dev/null > +++ b/default-configs/ppc64el-linux-user.mak > @@ -0,0 +1 @@ > +# Default configuration for ppc64el-linux-user > We have TCG targets for PowerPC that are bi-endian. It would be much nicer to have to split user mode by endianness. If the user loads a BE ELF, then run in BE mode .... a LE ELF, then run in LE mode. I know there is much hand waving in that statement ... but maybe we can do better? ("we" includes "me" in that statement ... since I offered to Doug to help out with this).