Mercurial > hg > qcc
diff tccelf.c @ 575:6912ed120df3
Silence warning when building arm target.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 18 Mar 2008 18:58:45 -0500 |
parents | c42c2145d359 |
children | 7ddeaeed4e94 |
line wrap: on
line diff
--- a/tccelf.c Tue Mar 18 18:52:00 2008 -0500 +++ b/tccelf.c Tue Mar 18 18:58:45 2008 -0500 @@ -976,14 +976,13 @@ /* add tcc runtime libraries */ static void tcc_add_runtime(TCCState *s1) { - char buf[1024]; - #ifdef CONFIG_TCC_BCHECK if (do_bounds_check) { unsigned long *ptr; Section *init_section; unsigned char *pinit; int sym_index; + char buf[1024]; /* XXX: add an object file to do that */ ptr = section_ptr_add(bounds_section, sizeof(unsigned long));