Message ID | 1397769874-14702-2-git-send-email-dougkwan@google.com |
---|---|
State | New |
Headers | show |
On 17 April 2014 22:24, Doug Kwan <dougkwan@google.com> wrote: > This patch adds a new target for running ppc64 little-endian binaries in > user mode. Only change to configure is included in this patch. Patch for > loading and executing LE binaries will be submitted later. Please put the configure patch as the final patch in your series for handling LE PPC binaries -- we don't want to allow users to turn on a new target until it is actually implemented. (It's also hard to tell this is the correct configure change without seeing it in the context of the necessary linux-user adjustments.) thanks -- PMM
Thanks for the suggestion. I will send out the reset and make the configure change the last one in the series. On Fri, Apr 18, 2014 at 12:44 AM, Peter Maydell <peter.maydell@linaro.org>wrote: > On 17 April 2014 22:24, Doug Kwan <dougkwan@google.com> wrote: > > This patch adds a new target for running ppc64 little-endian binaries in > > user mode. Only change to configure is included in this patch. Patch > for > > loading and executing LE binaries will be submitted later. > > Please put the configure patch as the final patch in your > series for handling LE PPC binaries -- we don't want to > allow users to turn on a new target until it is actually > implemented. (It's also hard to tell this is the correct configure > change without seeing it in the context of the necessary > linux-user adjustments.) > > thanks > -- PMM >
diff --git a/configure b/configure index 69b9f56..234e758 100755 --- a/configure +++ b/configure @@ -4900,7 +4900,8 @@ case "$target_name" in TARGET_ABI_DIR=ppc gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml" ;; - ppc64) + ppc64|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" 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
This patch adds a new target for running ppc64 little-endian binaries in user mode. Only change to configure is included in this patch. Patch for loading and executing LE binaries will be submitted later. Signed-off-by: Doug Kwan <dougkwan@google.com> --- configure | 3 ++- default-configs/ppc64el-linux-user.mak | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 default-configs/ppc64el-linux-user.mak