This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Building gcc for uclinux (arm)


>/tmp/ccfNEk6M.s: Assembler messages:
>/tmp/ccfNEk6M.s:122: Error: Invalid swi expression
>/tmp/ccfNEk6M.s:122: Error: Value of 10420226 too large for field of 2
>bytes at 2
>
>where 10420226 is the software interrupt the clear_cache (or similar)
>syscall uses. It seems there'll have to be an ifdef __THUMBEL__, causing
>it to use the other syscall number (which I, of course, do not know
>right now...)

I'm not sure that syscalls in Thumb code are even supported at all, actually.
Your best bet for now is probably to build only the ARM version of libgcc.

Might be worth asking the experts on linux-arm-kernel@lists.arm.linux.org.uk 
what the current thinking is on a Thumb system call ABI.  If one does exist, 
we should fix GCC to use it in this case.

p.


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