This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
RE: PATCH : H8300 Simulator File I/O Implementation
- From: "D.Venkatasubramanian, Noida" <dvenkat at noida dot hcltech dot com>
- To: "J. Johnston" <jjohnstn at redhat dot com>, Kazu Hirata <kazu at cs dot umass dot edu>, gdb-patches at sources dot redhat dot com, newlib at sources dot redhat dot com
- Cc: "D.Venkatasubramanian, Noida" <dvenkat at noida dot hcltech dot com>
- Date: Tue, 14 Jan 2003 10:20:33 +0530
- Subject: RE: PATCH : H8300 Simulator File I/O Implementation
Hi All,
Just as a reminder, are the changes done to the H8300
simulator OK, is there something else that needs to be
done. There hasn't been any activity after the final set
of changes.
If OK, could someone apply the patches to newlib and the
simulator.
Regards,
Venky
> -----Original Message-----
> From: D.Venkatasubramanian, Noida
> Sent: Wednesday, January 08, 2003 10:33 AM
> To: Kazu Hirata; gdb-patches@sources.redhat.com;
> newlib@sources.redhat.com
> Subject: RE: PATCH : H8300 Simulator File I/O Implementation
>
>
> Hi Kazu,
> >
> > Hi Venky,
> >
> > > ;int open(const char *pathname, int flags);
> > > ;Integer arguments have to be zero extended.
> > > ;The second argument is taken from the stack,
> > > ;hence it is not zero extended here.
> >
> > By the second argument, do you mean flags? If so, it is in
> regster r1
> > or er1 in all variants of H8, I think.
>
> I meant the flags, but as this function uses variable
> arguments, I found the
>
> flags on the starting position on the stack and R2. As the calling
> convention
> for variable arguments seems to be different, I get the
> parameter from the
> stack. If there is some improvement that can be done, I would
> be willing to
> do the same heartily. :-)
>
> >
> > Kazu Hirata
> >
>
> Thanks and Regards,
>
> Venky
>