adds first version of the expanded as assembler from mikko
This commit is contained in:
18
lib/elf/null_section.rb
Normal file
18
lib/elf/null_section.rb
Normal file
@ -0,0 +1,18 @@
|
||||
module Elf
|
||||
class NullSection < Section
|
||||
def initialize
|
||||
super('')
|
||||
end
|
||||
|
||||
def write(io)
|
||||
end
|
||||
|
||||
def type
|
||||
Elf::Constants::SHT_NULL
|
||||
end
|
||||
|
||||
def alignment
|
||||
0
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user