fix: wrong size of tcc resource file

This commit is contained in:
xinyangli 2024-10-31 16:18:07 +08:00
parent f40b82faba
commit dce15d8047
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
2 changed files with 3 additions and 20 deletions

View file

@ -2,9 +2,9 @@
#include <fs.h>
Finfo file_table[] = {
{"/share/test.c", 336, 0, NULL, NULL},
{"/share/test", 752, 336, NULL, NULL},
{"/share/trm.c", 273, 1088, NULL, NULL},
{"/share/test.c", 355, 0, NULL, NULL},
{"/share/test", 752, 355, NULL, NULL},
{"/share/trm.c", 269, 1107, NULL, NULL},
};
int tcc_argc1 = 10;
char *tcc_argv1[] = {

View file

@ -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: