This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch to libc/sys/arm/syscalls.c
- To: rearnsha at arm dot com
- Subject: Re: Patch to libc/sys/arm/syscalls.c
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 24 Mar 2000 10:21:32 -0500
- CC: binutils at sourceware dot cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <200003240953.JAA16168@cam-mail2.cambridge.arm.com>
Richard Earnshaw wrote:
>
> fnasser@cygnus.com said:
> > Nick Clifton has authorized me to check in the following patch.
> >
> > It is a small change but important to prevent a register to be
> > clobbered by a system call to the Angel monitor C library support.
>
> To be safe, you should probably add the pseudo register "cc" to the list;
> the condition codes are clobbered as well. I can't remember off-hand if
> gcc normally considers ASMs to clobber the conditions by default, but
> adding it to the list certainly won't hurt anything.
>
Thanks Richard.
I will submit a second patch adding "cc".
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com