[Top][All Lists]

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

[Libunwind-devel] [RFC PATCH 1/2] aarch64: introduce build support for a

From: Victor Kamensky
Subject: [Libunwind-devel] [RFC PATCH 1/2] aarch64: introduce build support for aarch64_be target
Date: Thu, 27 Nov 2014 12:37:01 -0800

Introduce support for aarch64_be, aarch64 big endian, target.
We would like to reuse all code that was done for aarch64
(little endian) target. So we reset libunwind arch from
aarch64_be to aarch64 in case of target_arch=aarch64_be.

Signed-off-by: Victor Kamensky <address@hidden>
--- | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ b/
index 582e71f..b855426 100644
--- a/
+++ b/
@@ -140,7 +140,7 @@ AM_CONDITIONAL(BUILD_COREDUMP, test x$enable_coredump = 
 AM_CONDITIONAL(BUILD_PTRACE, test x$enable_ptrace = xyes)
 AM_CONDITIONAL(BUILD_SETJMP, test x$enable_setjmp = xyes)
 AM_CONDITIONAL(REMOTE_ONLY, test x$target_arch != x$host_arch)
-AM_CONDITIONAL(ARCH_AARCH64, test x$target_arch = xaarch64)
+AM_CONDITIONAL(ARCH_AARCH64, test x$target_arch = xaarch64 -o x$target_arch = 
 AM_CONDITIONAL(ARCH_ARM, test x$target_arch = xarm)
 AM_CONDITIONAL(ARCH_IA64, test x$target_arch = xia64)
 AM_CONDITIONAL(ARCH_HPPA, test x$target_arch = xhppa)
@@ -159,7 +159,7 @@ AM_CONDITIONAL(OS_QNX, expr x$target_os : xnto-qnx 
 AC_MSG_CHECKING([for ELF helper width])
 case "${target_arch}" in
 (arm|hppa|ppc32|x86|sh) use_elf32=yes; AC_MSG_RESULT([32]);;
-(aarch64|ia64|ppc64|x86_64|tilegx)  use_elf64=yes; AC_MSG_RESULT([64]);;
+(aarch64|aarch64_be|ia64|ppc64|x86_64|tilegx)  use_elf64=yes; 
 (mips)                 use_elfxx=yes; AC_MSG_RESULT([xx]);;
 *)                     AC_MSG_ERROR([Unknown ELF target: ${target_arch}])
@@ -352,6 +352,10 @@ AC_MSG_RESULT([$have_sync_atomics])
+case $arch in
+       aarch64_be):
+               arch=aarch64 ;;
 ARCH=`echo $target_arch | tr [a-z] [A-Z]`
 dnl create shell variables from the M4 macros:

reply via email to

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