On 05/08/2014 10:26 AM, Doug Kwan wrote:
Add a new user mode target for little-endian PPC64.

Signed-off-by: Doug Kwan <dougk...@google.com>
---
  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"

I can't see the part where this switches the ABI definition to be little endian? I'm sure that magic is hidden somewhere, mind to guide me to it?


Alex


Reply via email to