Class: Rubycc::ObjFile::ELFReader::RelocationSection
- Inherits:
-
Struct
- Object
- Struct
- Rubycc::ObjFile::ELFReader::RelocationSection
- Defined in:
- lib/rubycc/objfile/elf_reader.rb
Overview
One SHT_RELA table: the relocations it holds and the Section they patch (its sh_info target, e.g. .text for .rela.text). Grouping by target is what the linker walks when applying fixups section by section.
Instance Attribute Summary collapse
-
#relocations ⇒ Object
Returns the value of attribute relocations.
-
#section ⇒ Object
Returns the value of attribute section.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Attribute Details
#relocations ⇒ Object
Returns the value of attribute relocations
216 217 218 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 216 def relocations @relocations end |
#section ⇒ Object
Returns the value of attribute section
216 217 218 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 216 def section @section end |
#target ⇒ Object
Returns the value of attribute target
216 217 218 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 216 def target @target end |