Class: Rubycc::ObjFile::RelocatableWriter::Relocation

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#addendObject

Returns the value of attribute addend

Returns:

  • (Object)

    the current value of addend



81
82
83
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81

def addend
  @addend
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



81
82
83
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81

def offset
  @offset
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



81
82
83
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81

def symbol
  @symbol
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



81
82
83
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81

def target
  @target
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



81
82
83
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 81

def type
  @type
end