From: Kazu Hirata <kazu@cs.umass.edu>
To: dvenkat@noida.hcltech.com
Cc: gdb-patches@sources.redhat.com, newlib@sources.redhat.com
Subject: Re: PATCH : H8300 Simulator File I/O Implementation
Date: Tue, 31 Dec 2002 04:42:00 -0000 [thread overview]
Message-ID: <20021231.055606.107920012.kazu@cs.umass.edu> (raw)
In-Reply-To: <E04CF3F88ACBD5119EFE00508BBB212106B4EF59@exch-01.noida.hcltech.com>
Hi Venky,
> Based on some suggestions from Kazu Hirata, I have made some
> changes. The patch to binutils has already been applied so I am
> not attaching the same. The file newlib_patch.txt contains the
> changes required in newlib/libc/sys/h8300hms/syscalls.c and
> newlib/libc/sys/h8300hms/Makefile.in. the file
> simulator_patch.txt contains the changes required in
> sim/h8300/compile.c.
Thank you for the updates. It would be nice if you could include a
one-line comment describing a prototype in each .S file like
; int _close (int file);
For one thing, doing so is sort of a convention for assembly functions
to be called by C. Another reason is that H8 port uses registers for
argument passing, making it difficult to see exactly how many
arguments are being passed. This may be good for you, too, as _lseek
requires two zero extensions, and you might want to remind yourself
which arguments are of int.
One nit picking: Do you still need the following in syscalls.c?
+ #include "sys/syscall.h"
Meanwhile, I'll try your patches.
Kazu Hirata
next prev parent reply other threads:[~2002-12-31 10:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-31 2:00 D.Venkatasubramanian, Noida
2002-12-31 4:42 ` Kazu Hirata [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-14 4:56 D.Venkatasubramanian, Noida
2003-01-08 5:08 D.Venkatasubramanian, Noida
2003-01-03 8:30 D.Venkatasubramanian, Noida
2003-01-07 22:00 ` Kazu Hirata
2003-01-07 23:08 ` Andrew Cagney
2002-12-26 10:12 D.Venkatasubramanian, Noida
2002-12-26 4:38 D.Venkatasubramanian, Noida
2002-12-23 22:59 D.Venkatasubramanian, Noida
2002-12-24 6:51 ` Kazu Hirata
2002-12-02 3:45 D.Venkatasubramanian, Noida
2002-11-29 21:31 D.Venkatasubramanian, Noida
2002-11-30 10:01 ` Kazu Hirata
2003-03-04 16:08 ` Andrew Cagney
2003-03-04 16:33 ` Kazu Hirata
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021231.055606.107920012.kazu@cs.umass.edu \
--to=kazu@cs.umass.edu \
--cc=dvenkat@noida.hcltech.com \
--cc=gdb-patches@sources.redhat.com \
--cc=newlib@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox