This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug in big-endian ARM gas configurations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]