/kernel/branches/Kolibri-F/libc/bin.x |
---|
0,0 → 1,19 |
OUTPUT_FORMAT(binary) |
LIBC_BASE = 0x800145ef; |
SECTIONS |
{ |
. = LIBC_BASE; |
.text : |
{ |
*(.text); |
} |
.data : |
{ |
*(.data); |
*(.bss); |
*(.rodata); |
} |
_heap = ALIGN(4); |
} |
/kernel/branches/Kolibri-F/libc/libc.c |
---|
0,0 → 1,8 |
#include "libtcc/libtcc1.c" |
#include "stdio/format_print.c" |
#include "stdio/sprintf.c" |
#include "stdlib/___chkstk_ms.c" |
__asm__( |
".include \"math/pow10.s\"\n\t" |
); |
/kernel/branches/Kolibri-F/libc/libc.inc |
---|
0,0 → 1,6 |
LIBC_BASE = 0x800145ef |
LIBC_SPRINTF = LIBC_BASE+0x1568 |
assert libc_ptr = LIBC_BASE |
libc_ptr: file 'libc.bin' |