tcctest: add back testXb (self compile with -b)
- Thanks to Kirill "tcc -b itself" should work now (was removed ind5f4df09ff) Also: - tests/Makefile: - fix spurious --I from767410b875- lookup boundtest.c via VPATH (for out-of-tree build) - test[123]b?: fail on diff error - Windows: test3 now works (frome31579b076) - abitest: a libtcc.a made by gcc is not usable for tcc on WIndows - using source instead (libtcc.c) - tccpe: - avoid gcc warning (x86_64)
This commit is contained in:
2
tccpe.c
2
tccpe.c
@ -1803,7 +1803,7 @@ static void pe_add_runtime(TCCState *s1, struct pe_info *pe)
|
||||
s1->runtime_main = start_symbol;
|
||||
#endif
|
||||
} else {
|
||||
pe->start_addr = (DWORD)tcc_get_symbol_err(s1, start_symbol);
|
||||
pe->start_addr = (DWORD)(uintptr_t)tcc_get_symbol_err(s1, start_symbol);
|
||||
}
|
||||
|
||||
pe->type = pe_type;
|
||||
|
||||
Reference in New Issue
Block a user