aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
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)