aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorgrischka <grischka>2009-07-18 22:07:25 +0200
committergrischka <grischka>2009-07-18 22:07:25 +0200
commit1df662c1b094d250db0501cf31db83dc5f9060e4 (patch)
tree61de457b79e72b5ef5eb5f0b918935e572f49dbc /tccelf.c
parent9fda4f4248f24ee3e9feb9204bd1ef035c4859da (diff)
downloadtinycc-1df662c1b094d250db0501cf31db83dc5f9060e4.tar.gz
tinycc-1df662c1b094d250db0501cf31db83dc5f9060e4.tar.bz2
tccpe: load dll on the fly
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tccelf.c b/tccelf.c
index 69f94c4..826e8e0 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -2424,6 +2424,7 @@ static int tcc_load_archive(TCCState *s1, int fd)
return 0;
}
+#ifndef TCC_TARGET_PE
/* load a DLL and all referenced DLLs. 'level = 0' means that the DLL
is referenced by the user (so it should be added as DT_NEEDED in
the generated ELF file) */
@@ -2740,3 +2741,4 @@ static int tcc_load_ldscript(TCCState *s1)
}
return 0;
}
+#endif