Do section relocation in architecture backend

This commit is contained in:
Thomas Preud'homme
2016-11-12 23:16:06 +08:00
parent 60374d01ae
commit cb273fdad8
9 changed files with 552 additions and 490 deletions

View File

@ -41,18 +41,23 @@ ST_DATA struct TCCState *tcc_state;
#include "tccrun.c"
#ifdef TCC_TARGET_I386
#include "i386-gen.c"
#include "i386-link.c"
#endif
#ifdef TCC_TARGET_ARM
#include "arm-gen.c"
#include "arm-link.c"
#endif
#ifdef TCC_TARGET_ARM64
#include "arm64-gen.c"
#include "arm64-link.c"
#endif
#ifdef TCC_TARGET_C67
#include "c67-gen.c"
#include "c67-link.c"
#endif
#ifdef TCC_TARGET_X86_64
#include "x86_64-gen.c"
#include "x86_64-link.c"
#endif
#ifdef CONFIG_TCC_ASM
#include "tccasm.c"