at least it assembles again
This commit is contained in:
parent
e4474e7e2c
commit
95c7e44342
@ -31,7 +31,7 @@ module Elf
|
||||
end
|
||||
end
|
||||
assembler.objects.values.each do |slot|
|
||||
add_symbol "#{slot.objekt.class.name}::#{slot.position.to_s(16)}" , slot.position
|
||||
add_symbol "#{slot.class.name}::#{slot.position.to_s(16)}" , slot.position
|
||||
end
|
||||
end
|
||||
attr_reader :text
|
||||
|
@ -81,6 +81,7 @@ module Register
|
||||
@stream.write_uint32( type )
|
||||
write_ref_for(object.layout[:names] )
|
||||
variables.each do |var|
|
||||
raise object.class.name unless var
|
||||
write_ref_for(var)
|
||||
end
|
||||
pad_after( variables.length * 4 )
|
||||
@ -100,7 +101,7 @@ module Register
|
||||
|
||||
def assemble_Hash hash
|
||||
# so here we can be sure to have _identical_ keys/values arrays
|
||||
assemble_self( hash , [ hash.layout[:keys] , hash.layout[:values] ] )
|
||||
assemble_self( hash , [ hash.keys , hash.values ] )
|
||||
end
|
||||
|
||||
def assemble_BootSpace(space)
|
||||
|
Loading…
Reference in New Issue
Block a user