Class: Rubycc::ObjFile::RelocatableWriter::Section
- Inherits:
-
Struct
- Object
- Struct
- Rubycc::ObjFile::RelocatableWriter::Section
- Defined in:
- lib/rubycc/objfile/relocatable_writer.rb
Overview
A section to emit. data holds the file bytes for a non-NOBITS section;
a NOBITS section (.bss) carries size instead and occupies no file
space. index is filled in during layout.
Instance Attribute Summary collapse
-
#addralign ⇒ Object
Returns the value of attribute addralign.
-
#data ⇒ Object
Returns the value of attribute data.
-
#entsize ⇒ Object
Returns the value of attribute entsize.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#index ⇒ Object
Returns the value of attribute index.
-
#name ⇒ Object
Returns the value of attribute name.
-
#size ⇒ Object
Returns the value of attribute size.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#addralign ⇒ Object
Returns the value of attribute addralign
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def addralign @addralign end |
#data ⇒ Object
Returns the value of attribute data
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def data @data end |
#entsize ⇒ Object
Returns the value of attribute entsize
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def entsize @entsize end |
#flags ⇒ Object
Returns the value of attribute flags
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def flags @flags end |
#index ⇒ Object
Returns the value of attribute index
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def index @index end |
#name ⇒ Object
Returns the value of attribute name
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def name @name end |
#size ⇒ Object
Returns the value of attribute size
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def size @size end |
#type ⇒ Object
Returns the value of attribute type
65 66 67 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65 def type @type end |