bootstrappable: Work around Nyacc-0.80.40 bug.
This commit is contained in:
parent
09604d2dfa
commit
9bcd7c0c30
2
tccelf.c
2
tccelf.c
|
@ -157,6 +157,7 @@ ST_FUNC void tccelf_begin_file(TCCState *s1)
|
|||
with previously existing symbols */
|
||||
ST_FUNC void tccelf_end_file(TCCState *s1)
|
||||
{
|
||||
#if 0 //!__MESC__ // Nyacc 0.80.40 cpp-bug
|
||||
Section *s = s1->symtab;
|
||||
int first_sym, nb_syms, *tr, i;
|
||||
|
||||
|
@ -189,6 +190,7 @@ ST_FUNC void tccelf_end_file(TCCState *s1)
|
|||
}
|
||||
}
|
||||
tcc_free(tr);
|
||||
#endif
|
||||
}
|
||||
|
||||
ST_FUNC Section *new_section(TCCState *s1, const char *name, int sh_type, int sh_flags)
|
||||
|
|
Loading…
Reference in New Issue