mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tests/tcg/mips: fix hello-mips compilation
The compilation flags for proper building are in the source tree. We also fix exit to 0 so the result is counted as a success. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
d0ce6257c6
commit
b4f396151b
2 changed files with 5 additions and 8 deletions
|
@ -60,5 +60,5 @@ static inline int write(int fd, const char *buf, int len)
|
|||
void __start(void)
|
||||
{
|
||||
write (1, "Hello, World!\n", 14);
|
||||
exit1 (42);
|
||||
exit1(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue