From 78f1c10e0f10770880d50d917910adfdedd646a2 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 3 Oct 2016 12:29:38 +0200 Subject: configure: fix tcc_lddir, cpu ... and other minor cosmetic fixes --- tccpe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tccpe.c') diff --git a/tccpe.c b/tccpe.c index 0e88fa9..04a63ea 100644 --- a/tccpe.c +++ b/tccpe.c @@ -1447,6 +1447,7 @@ static void pe_print_sections(TCCState *s1, const char *fname) /* ------------------------------------------------------------- */ /* helper function for load/store to insert one more indirection */ +#ifndef TCC_TARGET_ARM ST_FUNC SValue *pe_getimport(SValue *sv, SValue *v2) { Sym *sym; @@ -1486,6 +1487,7 @@ ST_FUNC SValue *pe_getimport(SValue *sv, SValue *v2) v2->r |= sv->r & VT_LVAL; return v2; } +#endif ST_FUNC int pe_putimport(TCCState *s1, int dllindex, const char *name, addr_t value) { -- cgit v1.3.1