aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2016-11-12 23:16:06 +0800
committerThomas Preud'homme <robotux@celest.fr>2016-12-03 17:26:51 +0000
commitcb273fdad891d312c15110cd4eab95f5db39dcb2 (patch)
treeb5cfe985f0ba556bca2e1e6e278db51972c7b862 /libtcc.c
parent60374d01ae56e59308d1b5441bc1986295507ec6 (diff)
downloadtinycc-cb273fdad891d312c15110cd4eab95f5db39dcb2.tar.gz
tinycc-cb273fdad891d312c15110cd4eab95f5db39dcb2.tar.bz2
Do section relocation in architecture backend
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index 2f9c731..aff7dcc 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -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"