This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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: PATCH : H8300 Simulator File I/O Implementation


Hi All,

Based on my earlier mail:

http://sources.redhat.com/ml/gdb-patches/2002-12/msg00760.html

and subsequent ideas and suggestions from Kazu Hirata, I am 
submitting the modified patches.

Changes:
1) Comments included in each .S file.
2) An include directive which had unintentionally crept in last 
time has been removed.
3) A commented C statement in my earlier patch removed in 
simulator patch.

Regards,

Venky


2003-01-03  D.Venkatasubramanian <dvenkat@noida.hcltech.com>

	* compile.c (decode): Added code for some more magic traps.
	* compile.c (sim_resume): Added support for File I/O system
	calls through callback to host_system.
	System calls provided support for :
	open, read, write, lseek, close, stat, fstat
	Only basic support for stat and fstat.


2003-01-03   D.Venkatasubramanian <dvenkat@noida.hcltech.com>

	* /libc/sys/h8300hms/syscalls.c: Removed functions _open, 
	_lseek, _close, _stat, _fstat.
	* /libc/sys/h8300hms/read.c: Removed.
	* /libc/sys/h8300hms/write.c: Removed.
	* /libc/sys/h8300hms/open.S: Hand coded assembly for 
	implementing _open removed from syscalls.c.
	* /libc/sys/h8300hms/read.S: Hand coded assembly for 
	implementing _open removed from read.c.
	* /libc/sys/h8300hms/write.S: Hand coded assembly for 
	implementing _open removed from write.c.
	* /libc/sys/h8300hms/lseek.S: Hand coded assembly for 
	implementing _open removed from syscalls.c.
	* /libc/sys/h8300hms/close.S: Hand coded assembly for 
	implementing _open removed from syscalls.c.
	* /libc/sys/h8300hms/fstat.S: Hand coded assembly for 
	implementing _open removed from syscalls.c.
	* /libc/sys/h8300hms/stat.S: Hand coded assembly for 
	implementing _open removed from syscalls.c.

Attachment: ChangeLog.txt
Description: Text document

Attachment: close.S
Description: Binary data

Attachment: fstat.S
Description: Binary data

Attachment: lseek.S
Description: Binary data

Attachment: newlib_patch.txt
Description: Text document

Attachment: open.S
Description: Binary data

Attachment: read.S
Description: Binary data

Attachment: simulator_patch.txt
Description: Text document

Attachment: stat.S
Description: Binary data

Attachment: write.S
Description: Binary data


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