[Ltrace-devel] [PATCH] Fix SIGSEGV on MIPS big endian
Andreas Schwab
schwab at linux-m68k.org
Mon Jan 28 20:42:13 UTC 2013
Oliver Spornitz <ospornit at rz-online.de> writes:
> diff --git a/configure.ac b/configure.ac
> index 47bd87e..7aeac31 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -41,8 +41,12 @@ AC_SUBST(HOST_OS)
> case "${host_cpu}" in
> arm*|sa110) HOST_CPU="arm" ;;
> cris*) HOST_CPU="cris" ;;
> - mips*el) HOST_CPU="mipsel" ;;
> - mips*) HOST_CPU="mips" ;;
> + mips*el) HOST_CPU="mipsel"
> + AC_DEFINE([HAVE_ENDIAN_LITTLE], [1], [we have a little endian machine])
Can't you use AC_C_BIGENDIAN?
Andreas.
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Ltrace-devel
mailing list