lib/mithril/policy/default/twostate.rb in elf-mithril-0.0.4 vs lib/mithril/policy/default/twostate.rb in elf-mithril-0.0.5
- old
+ new
@@ -4,11 +4,11 @@
tag('program') do
section('.init')
section('.fini')
section('.text')
- section('.plt')
+ # section('.plt')
section('.data')
section('.bss')
section('.rodata')
section('.got')
end
@@ -49,9 +49,10 @@
to 'main' do
call file.entry.to_i
H::initializer_functions(filename).each {|initializer|
call initializer
}
+ call section_start('.init')
call '_fini'
end
end
start 'libs'
}