More ARM binutils fuckage
Martin Guy
martinwguy@yahoo.it
Sat Dec 23 14:17:00 GMT 2006
2006/12/6, Lennert Buytenhek <buytenh@wantstofly.org>:
> I use a bog-standard gcc 4.1.0 to cross-compile all my ARM kernels
> with, which allows me to build both old-ABI and EABI kernels. (These
> days I build all kernels in EABI mode with old-ABI compat.)
There is a speed penalty to keeping old-ABI compat on.
With old-ABI compat enabled, you lose the speed advantage that the
system call change was designed to achieve: it still has to inspect
the instruction stream to see whether each system call is a new-ABI
(SWI 0, syscall number in r7) or old-abi (SWI 0x900000+n) one, and
peeking the SWI instruction to figure out which convention was used
accesses the code segment thorough the data cache, causing a cache
flush.
So if you *can* turn old-ABI compat off, it is well to do so
M
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list