Class: Rubycc::ObjFile::RelocatableWriter::Section

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

Instance Attribute Details

#addralignObject

Returns the value of attribute addralign

Returns:

  • (Object)

    the current value of addralign



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def addralign
  @addralign
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def data
  @data
end

#entsizeObject

Returns the value of attribute entsize

Returns:

  • (Object)

    the current value of entsize



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def entsize
  @entsize
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def flags
  @flags
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def index
  @index
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def name
  @name
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



65
66
67
# File 'lib/rubycc/objfile/relocatable_writer.rb', line 65

def type
  @type
end