bootstrappable: Work around Nyacc-0.80.40 bug.

This commit is contained in:
Jan Nieuwenhuizen 2018-06-18 21:20:24 +02:00
parent 9bcd7c0c30
commit 30b55248fc
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}