aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorDaniel Glöckner <daniel-gl@gmx.net>2010-05-14 13:07:59 +0200
committerDaniel Glöckner <daniel-gl@gmx.net>2010-05-14 13:07:59 +0200
commit741841d863be133d4fba91933fdd83dec7a83112 (patch)
treeebb74b11be7a4ff68f87e3d73f646522815add02 /tcc.h
parenta64727ba7d75e68d4eda5187a1e0fa02c005d70e (diff)
downloadtinycc-741841d863be133d4fba91933fdd83dec7a83112.tar.gz
tinycc-741841d863be133d4fba91933fdd83dec7a83112.tar.bz2
ARM: allow jumps > 32MB on -run
This is needed to reach tinycc's PLT from the compiled program.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc.h b/tcc.h
index 313214c..29953a6 100644
--- a/tcc.h
+++ b/tcc.h
@@ -547,7 +547,7 @@ struct TCCState {
#endif
#ifndef TCC_TARGET_PE
-#ifdef TCC_TARGET_X86_64
+#if defined TCC_TARGET_X86_64 || defined TCC_TARGET_ARM
/* write PLT and GOT here */
char *runtime_plt_and_got;
unsigned int runtime_plt_and_got_offset;