Module: ELFTools::Constants::STT

Included in:
ELFTools::Constants
Defined in:
lib/elftools/constants.rb

Overview

Symbol types from Sym st_info field.

Constant Summary collapse

STT_NOTYPE =

Symbol type is unspecified

0
STT_OBJECT =

Symbol is a data object

1
STT_FUNC =

Symbol is a code object

2
STT_SECTION =

Symbol associated with a section

3
STT_FILE =

Symbol’s name is file name

4
STT_COMMON =

Symbol is a common data object

5
STT_TLS =

Symbol is thread-local data object

6
STT_NUM =

Deprecated.

7
STT_RELC =

Complex relocation expression

8
STT_SRELC =

Signed Complex relocation expression

9
STT_GNU_IFUNC =

GNU extension: symbol value points to a function which is called at runtime to determine the final value of the symbol.

10
STT_LOOS =

Start of OS-specific

10
STT_HIOS =

End of OS-specific

12
STT_LOPROC =

Start of processor-specific

13
STT_HIPROC =

End of processor-specific

15
STT_SPARC_REGISTER =

The section type that must be used for register symbols on Sparc. These symbols initialize a global register.

13
STT_ARM_TFUNC =

ARM: a THUMB function. This is not defined in ARM ELF Specification but used by the GNU tool-chain.

13
STT_ARM_16BIT =

ARM: a THUMB label.

15