bootstrappable: Work around Nyacc-0.80.40 bug.
This commit is contained in:
parent
9bcd7c0c30
commit
30b55248fc
4
tccgen.c
4
tccgen.c
|
@ -300,7 +300,7 @@ ST_FUNC void update_storage(Sym *sym)
|
|||
if (!esym)
|
||||
return;
|
||||
|
||||
#if !__MESC__ // Nyacc 0.80.40 cpp-bug
|
||||
#if 0 //!__MESC__ // Nyacc 0.80.40 cpp-bug
|
||||
if (sym->a.visibility)
|
||||
esym->st_other = (esym->st_other & ~ELFW(ST_VISIBILITY)(-1))
|
||||
| sym->a.visibility;
|
||||
|
@ -313,7 +313,7 @@ ST_FUNC void update_storage(Sym *sym)
|
|||
else
|
||||
sym_bind = STB_GLOBAL;
|
||||
old_sym_bind = ELFW(ST_BIND)(esym->st_info);
|
||||
#if !__MESC__ // Nyacc 0.80.40 cpp-bug
|
||||
#if 0 //!__MESC__ // Nyacc 0.80.40 cpp-bug
|
||||
if (sym_bind != old_sym_bind) {
|
||||
esym->st_info = ELFW(ST_INFO)(sym_bind, ELFW(ST_TYPE)(esym->st_info));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue