diff options
| author | bellard <bellard> | 2003-04-28 22:06:38 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2003-04-28 22:06:38 +0000 |
| commit | c4e6b2e9be2f96baee00b388265cd07e33fc48dc (patch) | |
| tree | 2d50cb50e7f74ff4074ad091758586beffa54b5e /tcc.c | |
| parent | 71f119fe258876e3d3dee8c4b5d4619758dc14a9 (diff) | |
| download | tinycc-c4e6b2e9be2f96baee00b388265cd07e33fc48dc.tar.gz tinycc-c4e6b2e9be2f96baee00b388265cd07e33fc48dc.tar.bz2 | |
alacarte linking (Dave Long)
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -398,6 +398,9 @@ struct TCCState { /* if true, static linking is performed */ int static_link; + /* if true, only link in referenced objects from archive */ + int alacarte_link; + /* warning switches */ int warn_write_strings; int warn_unsupported; @@ -9207,6 +9210,7 @@ TCCState *tcc_new(void) s->dynsymtab_section = new_symtab(s, ".dynsymtab", SHT_SYMTAB, SHF_PRIVATE, ".dynstrtab", ".dynhashtab", SHF_PRIVATE); + s->alacarte_link = 1; return s; } |
