fix its own making bug. Improved init_putz (). Modify the tests / Makefile to make the test more secure

This commit is contained in:
jiang
2014-05-01 15:15:01 +08:00
parent 9e3713facd
commit 87a850f553
4 changed files with 68 additions and 52 deletions

2
tcc.h
View File

@ -1338,6 +1338,8 @@ ST_FUNC void gen_le16(int c);
ST_FUNC void gen_le32(int c);
ST_FUNC void gen_addr32(int r, Sym *sym, int c);
ST_FUNC void gen_addrpc32(int r, Sym *sym, int c);
ST_FUNC void struct_copy(SValue *d, SValue *s, SValue *c);
ST_FUNC void gen_putz(SValue *d, int size);
#endif
#ifdef CONFIG_TCC_BCHECK