diff options
| -rw-r--r-- | libtcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -434,6 +434,7 @@ ST_FUNC void put_extern_sym2(Sym *sym, Section *section, ElfW(Sym) *esym; const char *name; char buf1[256]; + char buf[32]; if (section == NULL) sh_num = SHN_UNDEF; @@ -463,7 +464,6 @@ ST_FUNC void put_extern_sym2(Sym *sym, Section *section, name = get_tok_str(sym->v, NULL); #ifdef CONFIG_TCC_BCHECK if (tcc_state->do_bounds_check) { - char buf[32]; /* XXX: avoid doing that for statics ? */ /* if bound checking is activated, we change some function names by adding the "__bound" prefix */ |
