From: Mathieu Desnoyers Date: Sun, 25 Sep 2011 03:39:26 +0000 (-0400) Subject: Only select efficient unaligned accesses for x86 and powerpc X-Git-Tag: v1.9.1~186 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9937f480245ef53f3e6000c09bbbf4fa0fce9404;p=lttng-ust.git Only select efficient unaligned accesses for x86 and powerpc This is why the Linux kernel does at this point. Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 90021593..908b7de6 100644 --- a/configure.ac +++ b/configure.ac @@ -101,11 +101,11 @@ changequote([,])dnl x86_64) LIBFORMAT="elf64-x86-64" ;; powerpc) LIBFORMAT="elf32-powerpc" ;; ppc64) LIBFORMAT="elf64-powerpc" ;; - s390) LIBFORMAT="elf32-s390" ;; - s390x) LIBFORMAT="elf64-s390" ;; + s390) LIBFORMAT="elf32-s390"; NO_UNALIGNED_ACCESS=1 ;; + s390x) LIBFORMAT="elf64-s390"; NO_UNALIGNED_ACCESS=1 ;; armv5) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;; - arm) LIBFORMAT="elf32-littlearm" ;; - mips*) LIBFORMAT="" ;; + arm) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;; + mips*) LIBFORMAT=""; NO_UNALIGNED_ACCESS=1;; *) AC_MSG_ERROR([unable to detect library format (unsupported architecture ($host_cpu)?)]) ;; esac AC_SUBST(LIBFORMAT)