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:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 11:44:30 +0400
committerRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 11:44:30 +0400
commitd9e4104b31a8f906e6a3d9708e4ffb3371822d98 (patch)
tree3112dbd02e9c75e3c063912719f331121a294f04 /newlib/libc/sys/h8300hms/close.S
parent68afda5334ded5da04c757c3e75c00a61d9e4011 (diff)
* libc/sys/h8300hms/setarch.h: New file.
* libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S, libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S, libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S, libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
Diffstat (limited to 'newlib/libc/sys/h8300hms/close.S')
-rw-r--r--newlib/libc/sys/h8300hms/close.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/newlib/libc/sys/h8300hms/close.S b/newlib/libc/sys/h8300hms/close.S
index 54a1214d7..4df86cb55 100644
--- a/newlib/libc/sys/h8300hms/close.S
+++ b/newlib/libc/sys/h8300hms/close.S
@@ -1,12 +1,7 @@
;int close(int fd);
;Integer arguments have to be zero extended.
-#if defined(__H8300H__)
- .h8300h
-#endif
-#if defined(__H8300S__)
- .h8300s
-#endif
+#include "setarch.h"
.section .text
.align 2