diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-03-30 09:45:31 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2010-04-15 19:30:00 +0200 |
| commit | 47abdbd3d52a0bf92e907c3e059b5136c140fec2 (patch) | |
| tree | 5de1473730460b2165455752ddeeadf1432247f0 /tcc.h | |
| parent | 6d4166df61adf7513593d91bed12b7a9823d104d (diff) | |
| download | tinycc-47abdbd3d52a0bf92e907c3e059b5136c140fec2.tar.gz tinycc-47abdbd3d52a0bf92e907c3e059b5136c140fec2.tar.bz2 | |
Better handle ld scripts
* search file from INPUT and GROUP commands in the library path in
addition to the current directory
* handle libraries specified by -lfoo options
* Search lib in GROUP command repeatedly
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -225,6 +225,8 @@ 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 |
