diff options
| author | grischka <grischka> | 2009-12-20 20:33:41 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2009-12-20 20:33:41 +0100 |
| commit | 0de95730ad2991479f44ea4afe83e8861c9c3ca0 (patch) | |
| tree | 4341faa8c797475938d8356981a913b37e3ef9bd /tccelf.c | |
| parent | b54862406e186386f08b4d95fd3fc7686ef51463 (diff) | |
| download | tinycc-0de95730ad2991479f44ea4afe83e8861c9c3ca0.tar.gz tinycc-0de95730ad2991479f44ea4afe83e8861c9c3ca0.tar.bz2 | |
build from multiple objects: fix other targets
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -442,7 +442,7 @@ ST_FUNC void relocate_syms(TCCState *s1, int do_resolve) if (sh_num == SHN_UNDEF) { name = strtab_section->data + sym->st_name; if (do_resolve) { -#ifndef _WIN32 +#if !defined TCC_TARGET_PE || !defined _WIN32 void *addr; name = symtab_section->link->data + sym->st_name; addr = resolve_sym(s1, name); |
