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

Re: Endianness query



>Nope.  This requires all sorts of messiness (what's the endianness of
>interrupt handlers? Etc.).
[...]

Well, the PowerPC allows you to specify (the LE bit in the MSR controls the endianness of the running code, and the ILE bit controls the endianness if an exception handler is called).

I didn't really expect Linux to support this, but it would have been a really nice feature. Obviously the rumours were wrong...

-- 
+- David Given ---------------McQ-+ 
|  Work: dg@tao-group.com         | "Premature optimisation is the root of all
|  Play: dgiven@iname.com         | evil." --- Don Knuth, quoting Tony Hoare   
+- http://wired.st-and.ac.uk/~dg -+ 



Reply to: