aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorbellard <bellard>2002-11-23 18:15:17 +0000
committerbellard <bellard>2002-11-23 18:15:17 +0000
commit8901fbeef15205d9dda3950c9eb8115ec677893d (patch)
treee413bd0f3bfed0c25843379a5114aa751a618fc3 /tccelf.c
parentb81d4ba6b36bc20209e6d4a078a4eb26cfcc661b (diff)
downloadtinycc-8901fbeef15205d9dda3950c9eb8115ec677893d.tar.gz
tinycc-8901fbeef15205d9dda3950c9eb8115ec677893d.tar.bz2
parsing optimizations
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccelf.c b/tccelf.c
index 430c396..33aeac1 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1891,7 +1891,7 @@ static int tcc_load_ldscript(TCCState *s1)
int t;
ch = file->buf_ptr[0];
- handle_eob();
+ ch = handle_eob();
for(;;) {
t = ld_next(s1, cmd, sizeof(cmd));
if (t == LD_TOK_EOF)