fix: wrong size of tcc resource file
This commit is contained in:
parent
f40b82faba
commit
dce15d8047
2 changed files with 3 additions and 20 deletions
|
@ -2,9 +2,9 @@
|
||||||
#include <fs.h>
|
#include <fs.h>
|
||||||
|
|
||||||
Finfo file_table[] = {
|
Finfo file_table[] = {
|
||||||
{"/share/test.c", 336, 0, NULL, NULL},
|
{"/share/test.c", 355, 0, NULL, NULL},
|
||||||
{"/share/test", 752, 336, NULL, NULL},
|
{"/share/test", 752, 355, NULL, NULL},
|
||||||
{"/share/trm.c", 273, 1088, NULL, NULL},
|
{"/share/trm.c", 269, 1107, NULL, NULL},
|
||||||
};
|
};
|
||||||
int tcc_argc1 = 10;
|
int tcc_argc1 = 10;
|
||||||
char *tcc_argv1[] = {
|
char *tcc_argv1[] = {
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
.section .data
|
|
||||||
.global ramdisk_start, ramdisk_end
|
|
||||||
ramdisk_start:
|
|
||||||
#if defined (__BENCH_TEST__)
|
|
||||||
.incbin "input/test.c"
|
|
||||||
.incbin "input/test"
|
|
||||||
.incbin "input/trm.c"
|
|
||||||
#elif defined (__BENCH_TRAIN__)
|
|
||||||
.incbin "input/trm.c"
|
|
||||||
.incbin "input/trap.h"
|
|
||||||
.incbin "input/train.c"
|
|
||||||
.incbin "input/train"
|
|
||||||
#else //default to ref
|
|
||||||
#endif
|
|
||||||
ramdisk_end:
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue