unscoping block names and adding labels to objects (which are off)

This commit is contained in:
Torsten Ruger
2014-08-30 20:55:22 +03:00
parent 0271045ff4
commit 5bb03f2d8b
3 changed files with 6 additions and 4 deletions

View File

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