Clean changes introduced by 47abdbd
commit3ad3168125ecb1910e6e241dc9056bccb57e9d0a
authorThomas Preud'homme <thomas.preudhomme@celest.fr>
Tue, 20 Apr 2010 13:49:34 +0000 (20 15:49 +0200)
committerThomas Preud'homme <thomas.preudhomme@celest.fr>
Tue, 20 Apr 2010 14:02:42 +0000 (20 16:02 +0200)
tree6f14b562c3afdca305ed034cbffa35c50585191f
parent809f48966258376b41a9ed642bcf0806739aa1f2
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
tcc.h
tccelf.c
tccpp.c