diff --git a/erlang/apps/as/src/output.erl b/erlang/apps/as/src/output.erl index 505d4e5..1cf1001 100644 --- a/erlang/apps/as/src/output.erl +++ b/erlang/apps/as/src/output.erl @@ -266,7 +266,7 @@ symbol_image(Symbol) -> } = Symbol, ElfSym = #elf36_Sym{ st_name = StName - , st_value = StValue + , st_value = if StValue =:= false -> 0; true -> StValue end , st_size = if StSize =:= false -> 0; true -> StSize end , st_info = StInfo , st_other = ?STV_DEFAULT % FIXME: should be set earlier