Changeset 367bae8 in rtems-tools


Ignore:
Timestamp:
Aug 5, 2018, 11:19:18 PM (15 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
d3318eb
Parents:
058a3a0
git-author:
Chris Johns <chrisj@…> (08/05/18 23:19:18)
git-committer:
Chris Johns <chrisj@…> (08/06/18 23:11:29)
Message:

rtemstoolkit/elf-symbols: Add the symbol types as an enum.

This can be used by applications to filter the symbols by type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/rld-symbols.h

    r058a3a0 r367bae8  
    6363    public:
    6464      /**
     65       * Types of symbols.
     66       */
     67      enum type {
     68        st_notype = STT_NOTYPE,            /* unspecified type */
     69        st_object = STT_OBJECT,            /* data object */
     70        st_func = STT_FUNC,                /* executable code */
     71        st_section = STT_SECTION,          /* section */
     72        st_file = STT_FILE,                /* source file */
     73        st_common = STT_COMMON,            /* uninitialized common block */
     74        st_tls = STT_TLS,                  /* thread local storage */
     75        st_loos = STT_LOOS,                /* start of OS-specific types */
     76        st_gnu_ifunc = STT_GNU_IFUNC,      /* indirect function */
     77        st_hios = STT_HIOS,                /* end of OS-specific types */
     78        st_loproc = STT_LOPROC,            /* start of processor-specific types */
     79        st_arm_tfunc = STT_ARM_TFUNC,      /* Thumb function (GNU) */
     80        st_arm_16bit = STT_ARM_16BIT,      /* Thumb label (GNU) */
     81        st_sparc_reg = STT_SPARC_REGISTER, /* SPARC register information */
     82        st_hiproc = STT_HIPROC,            /* end of processor-specific types */
     83      };
     84
     85      /**
    6586       * Default constructor. No symbol has been defined.
    6687       */
Note: See TracChangeset for help on using the changeset viewer.