figuring relocations
This commit is contained in:
@@ -8,7 +8,6 @@ module Asm
|
||||
def initialize
|
||||
@objects = []
|
||||
@label_objects = []
|
||||
@label_callbacks = []
|
||||
@relocations = []
|
||||
end
|
||||
attr_reader :relocations, :objects
|
||||
@@ -21,10 +20,6 @@ module Asm
|
||||
@relocations << Asm::Relocation.new(*args)
|
||||
end
|
||||
|
||||
def register_label_callback(label, io_pos, &block)
|
||||
@label_callbacks << [label, io_pos, block]
|
||||
end
|
||||
|
||||
def assemble(io)
|
||||
@objects.each do |obj|
|
||||
obj.assemble io, self
|
||||
|
Reference in New Issue
Block a user