Class: Rubycc::ObjFile::RelocatableWriter::Relocation
- Inherits:
-
Struct
- Object
- Struct
- Rubycc::ObjFile::RelocatableWriter::Relocation
- Defined in:
- lib/rubycc/objfile/relocatable_writer.rb
Overview
A relocation to emit into the .rela table of target. symbol is a
Symbol handle; type is the numeric x86_64 relocation type.
Instance Attribute Summary collapse
-
#addend ⇒ Object
Returns the value of attribute addend.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
-
#target ⇒ Object
Returns the value of attribute target.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#addend ⇒ Object
Returns the value of attribute addend
81 82 83 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81 def addend @addend end |
#offset ⇒ Object
Returns the value of attribute offset
81 82 83 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81 def offset @offset end |
#symbol ⇒ Object
Returns the value of attribute symbol
81 82 83 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81 def symbol @symbol end |
#target ⇒ Object
Returns the value of attribute target
81 82 83 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81 def target @target end |
#type ⇒ Object
Returns the value of attribute type
81 82 83 |
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81 def type @type end |