From 47abdbd3d52a0bf92e907c3e059b5136c140fec2 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 30 Mar 2010 09:45:31 +0200 Subject: Better handle ld scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- tcc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index a7b6aa6..b59f61a 100644 --- a/tcc.h +++ b/tcc.h @@ -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 -- cgit v1.3.1