Bug in big-endian ARM gas configurations

Daniel Jacobowitz drow@mvista.com
Thu Oct 24 13:03:00 GMT 2002


I was going to just commit this, but I noticed another oddity, so I'd like a
second opinion.  We've got this:

       armeb)           cpu_type=arm endian=big ;;
       arm*)            cpu_type=arm endian=little ;;
       armb*)           cpu_type=arm endian=little ;;
       armv*l)          cpu_type=arm endian=little ;;
       armv*b)          cpu_type=arm endian=big ;;
       xscale*)         cpu_type=arm endian=little ;;

The first problem: arm* before armv*b.  So my armv5teb toolchain was
defaulting to little endian.  Oops!

Before I fix that, though, what's armb*?  And should it really be _little_
endian?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list