qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/3] configure: Add new target ppc64el-linux-use


From: Tom Musta
Subject: Re: [Qemu-devel] [PATCH 3/3] configure: Add new target ppc64el-linux-user
Date: Thu, 08 May 2014 09:41:16 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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 <address@hidden>
> ---
>  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).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]