nostdlib under libc_raw=1 option.

This commit is contained in:
Ruben Ayrapetyan
2014-08-01 15:49:27 +04:00
parent f4a4c91a98
commit 61dd7a5dd9
6 changed files with 405 additions and 12 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifdef __TARGET_HOST_x64
# include "asm_x64.h"
#elif defined(__TARGET_HOST_x86)
# include "asm_x86.h"
#else /* !__HOST && !__TARGET_HOST_x86 */
# error "!__HOST && !__TARGET_HOST_x86"
#endif /* !__HOST && !__TARGET_HOST_x86 */
#ifdef LIBC_RAW
.global _start
_start:
_START
1:
jmp 1b
.end _start
#endif /* LIBC_RAW */