Class: Rubycc::ObjFile::RelocatableWriter::Symbol

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubycc/objfile/relocatable_writer.rb

Overview

A symbol to emit. section (a Section handle) names the section that defines it, in which case st_shndx is that section's index; otherwise shndx carries a reserved value (SHN_UNDEF / SHN_ABS). index is filled in during layout.

Instance Attribute Summary collapse

Instance Attribute Details

#bindObject

Returns the value of attribute bind

Returns:

  • (Object)

    the current value of bind



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def bind
  @bind
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def index
  @index
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def name
  @name
end

#sectionObject

Returns the value of attribute section

Returns:

  • (Object)

    the current value of section



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def section
  @section
end

#shndxObject

Returns the value of attribute shndx

Returns:

  • (Object)

    the current value of shndx



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def shndx
  @shndx
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def value
  @value
end

#visibilityObject

Returns the value of attribute visibility

Returns:

  • (Object)

    the current value of visibility



74
75
76
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 74

def visibility
  @visibility
end