diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-20 15:49:34 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-20 16:02:42 +0200 |
| commit | 3ad3168125ecb1910e6e241dc9056bccb57e9d0a (patch) | |
| tree | 6f14b562c3afdca305ed034cbffa35c50585191f /tcc.h | |
| parent | 809f48966258376b41a9ed642bcf0806739aa1f2 (diff) | |
| download | tinycc-3ad3168125ecb1910e6e241dc9056bccb57e9d0a.tar.gz tinycc-3ad3168125ecb1910e6e241dc9056bccb57e9d0a.tar.bz2 | |
Clean changes introduced by 47abdbd
* Replace the save/load_buffer_state by a dynarray approach:
- Filename and libname are added to a dynarray when first encountered
- Load repeatedly the files in the dynarray until no new undefined
symbol are encountered
* Replace snprintf by sprintf in libname_to_filename
* Use tcc_fileextension in filename_to_libname
* Introduce a tcc_strcpy_part fonction to copy only a subset of a
string
* Move new_undef_syms declaration from tcc.h to tccelf.c
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -225,8 +225,6 @@ typedef struct Sym { struct Sym *prev_tok; /* previous symbol for this token */ } Sym; -static int new_undef_sym = 0; /* Is there a new undefined sym since last new_undef_sym() */ - /* section definition */ /* XXX: use directly ELF structure for parameters ? */ /* special flag to indicate that the section should not be linked to |
