Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-02-25 23:36:29 +0300
committerJeff Johnston <jjohnstn@redhat.com>2003-02-25 23:36:29 +0300
commit41a639dea811272c66ed71eb9ca6c233050f57b3 (patch)
treeeadb76e7fe1e3fe6baed9ff78d86ee83eae163f2 /newlib/libc/sys/h8300hms/stat.S
parent5ffa5aaa5c9f7151ffd0fc4d6eae6f48cab29427 (diff)
2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* libc/sys/h8300hms/Makefile.am: Add support for new files. * libc/sys/h8300hms/Makefile.in: Regenerated. * libc/sys/h8300hms/close.S: New file. * libc/sys/h8300hms/fstat.S: Ditto. * libc/sys/h8300hms/lseek.S: Ditto. * libc/sys/h8300hms/open.S: Ditto. * libc/sys/h8300hms/stat.S: Ditto. * libc/sys/h8300hms/read.S: New file to replace read.c. * libc/sys/h8300hms/read.c: Removed. * libc/sys/h8300hms/syscalls.c: Removed functions _open, _lseek, _close, _stat, _fstat. * libc/sys/h8300hms/write.S: New file to replace write.c. * libc/sys/h8300hms/write.c: Removed.
Diffstat (limited to 'newlib/libc/sys/h8300hms/stat.S')
-rw-r--r--newlib/libc/sys/h8300hms/stat.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/newlib/libc/sys/h8300hms/stat.S b/newlib/libc/sys/h8300hms/stat.S
new file mode 100644
index 000000000..d4ce3ff37
--- /dev/null
+++ b/newlib/libc/sys/h8300hms/stat.S
@@ -0,0 +1,17 @@
+;int stat(const char *file_name, struct stat *buf);
+
+#if defined(__H8300H__)
+ .h8300h
+#endif
+#if defined(__H8300S__)
+ .h8300s
+#endif
+
+ .section .text
+ .align 2
+ .global __stat
+__stat:
+ jsr @@0xca
+ rts
+ .end
+