4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
727 bytes
|
Line | |
---|
1 | /* |
---|
2 | * System call support for simulator in gdb. |
---|
3 | * Copied from newlib 1.16.0. |
---|
4 | */ |
---|
5 | |
---|
6 | ;;;; libc/machine/h8300/setarch.h |
---|
7 | #ifdef __H8300H__ |
---|
8 | #ifdef __NORMAL_MODE__ |
---|
9 | .h8300hn |
---|
10 | #else |
---|
11 | .h8300h |
---|
12 | #endif |
---|
13 | #endif |
---|
14 | #ifdef __H8300S__ |
---|
15 | #ifdef __NORMAL_MODE__ |
---|
16 | .h8300sn |
---|
17 | #else |
---|
18 | .h8300s |
---|
19 | #endif |
---|
20 | #endif |
---|
21 | #ifdef __H8300SX__ |
---|
22 | #ifdef __NORMAL_MODE__ |
---|
23 | .h8300sxn |
---|
24 | #else |
---|
25 | .h8300sx |
---|
26 | #endif |
---|
27 | #endif |
---|
28 | |
---|
29 | ;;;; libc/sys/h8300/write.S |
---|
30 | ;ssize_t _sys_write(int fd, const void *buf, size_t count); |
---|
31 | ;Integer arguments have to be zero extended. |
---|
32 | |
---|
33 | ; #include "setarch.h" |
---|
34 | |
---|
35 | .section .text |
---|
36 | .align 2 |
---|
37 | .global __sys_write |
---|
38 | __sys_write: |
---|
39 | #if defined(__H8300H__) || defined(__H8300S__) || defined (__H8300SX__) |
---|
40 | #if __INT_MAX__ == 32767 |
---|
41 | extu.l er0 |
---|
42 | #endif |
---|
43 | #endif |
---|
44 | jsr @@0xc7 |
---|
45 | rts |
---|
46 | .end |
---|
Note: See
TracBrowser
for help on using the repository browser.