fix assembly (at least lositions and padding)

This commit is contained in:
Torsten Ruger
2014-09-06 19:48:56 +03:00
parent 197ecd576e
commit bfa3f28e97
2 changed files with 31 additions and 32 deletions

View File

@ -31,7 +31,7 @@ module Elf
end
end
assembler.objects.values.each do |slot|
add_symbol "#{slot.object.class.name}::#{(4*slot.position).to_s(16)}" , slot.position * 4
add_symbol "#{slot.objekt.class.name}::#{(4*slot.position).to_s(16)}" , slot.position * 4
end
end
attr_reader :text