mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-21 18:16:23 +00:00
as: output:symbol_image/1: handle symbols without values
This commit is contained in:
parent
ec21b92348
commit
e082530780
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user