Commit bb326a37493de7c88dbdcb139676957bab691f25
1 parent
27725c1d
fix _start routine name
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@113 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
tests/hello.c
| @@ -19,7 +19,7 @@ extern inline int write(int fd, const char * buf, int len) | @@ -19,7 +19,7 @@ extern inline int write(int fd, const char * buf, int len) | ||
| 19 | : "0" (__NR_write),"S" ((long)(fd)),"c" ((long)(buf)),"d" ((long)(len))); | 19 | : "0" (__NR_write),"S" ((long)(fd)),"c" ((long)(buf)),"d" ((long)(len))); |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | -void _startup(void) | 22 | +void _start(void) |
| 23 | { | 23 | { |
| 24 | write(1, "Hello World\n", 12); | 24 | write(1, "Hello World\n", 12); |
| 25 | exit(0); | 25 | exit(0); |