ARM: allow jumps > 32MB on -run

This is needed to reach tinycc's PLT from the compiled program.
This commit is contained in:
Daniel Glöckner
2010-05-14 13:07:59 +02:00
parent a64727ba7d
commit 741841d863
3 changed files with 19 additions and 3 deletions

2
tcc.h
View File

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