aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2014-04-06 01:02:42 +0200
committerMichael Matz <matz@suse.de>2014-04-06 01:50:35 +0200
commit01c041923474750a236da02561f0f8835445848b (patch)
tree057c697fce7a5015a9cc127fa74c765302be39e7 /tcc.h
parent9750d0b725d65296364c08451a985c717bf1890d (diff)
downloadtinycc-01c041923474750a236da02561f0f8835445848b.tar.gz
tinycc-01c041923474750a236da02561f0f8835445848b.tar.bz2
arm: Use proper PLT/GOT for -run.
Same as with x86_64, disable the runtime_plt_and_got hack for -run on arm as well. For that we need to handle several relocations as (potentially) generating PLT slots as well. Tested with mpfr-3.1.2 and gawk (both using --disable-shared), there are two resp. five pre-existing problems, so no regressions. This also works toward enabling real shared libs for arm, but it's not there yet.
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 76f25bd..5033b19 100644
--- a/tcc.h
+++ b/tcc.h
@@ -712,7 +712,7 @@ struct TCCState {
void *write_mem;
unsigned long mem_size;
# endif
-# if !defined TCC_TARGET_PE && (defined TCC_TARGET_ARM)
+# if !defined TCC_TARGET_PE && (0)
/* write PLT and GOT here */
char *runtime_plt_and_got;
unsigned runtime_plt_and_got_offset;