This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [again] switch() statements on ARM/Thumb


On Thu, 2002-01-10 at 16:55, Philip Blundell wrote:
> >Does linux support using swi 0 in thumb code as meaning something like
> >- SWI code is now in r0
> >- Other arguments are shuffled down one register.
> 
> Linux never looks at the SWI comment field in thumb code.  It expects the
> system call number in R7 or some similarly high register, and args in R0
> upwards as normal.
> 
> Adrian is targeting ucLinux, though, which may not be able to cope with
> syscalls in Thumb mode at all.  I dunno exactly what the current state of
> the art is there.

Current start of the art is that I'm having a private hack on our
internal uClinux kernel. I'm not aware of others doing thumb uClinux
right now.

So I propose I leave linux-gas.h alone for the time being and let
everybody use their own private patches.

greets from Zürich
-- vbi


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