mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-24 16:24:18 +00:00
Remove duplicated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -59,79 +59,6 @@ public:
|
||||
/// header index.
|
||||
bool HasCommonSymbols() const;
|
||||
|
||||
/// These are the section type and flags fields. An ELF section can have
|
||||
/// only one Type, but can have more than one of the flags specified.
|
||||
///
|
||||
/// Valid section types.
|
||||
enum {
|
||||
// This value marks the section header as inactive.
|
||||
SHT_NULL = 0x00U,
|
||||
|
||||
// Holds information defined by the program, with custom format and meaning.
|
||||
SHT_PROGBITS = 0x01U,
|
||||
|
||||
// This section holds a symbol table.
|
||||
SHT_SYMTAB = 0x02U,
|
||||
|
||||
// The section holds a string table.
|
||||
SHT_STRTAB = 0x03U,
|
||||
|
||||
// The section holds relocation entries with explicit addends.
|
||||
SHT_RELA = 0x04U,
|
||||
|
||||
// The section holds a symbol hash table.
|
||||
SHT_HASH = 0x05U,
|
||||
|
||||
// Information for dynamic linking.
|
||||
SHT_DYNAMIC = 0x06U,
|
||||
|
||||
// The section holds information that marks the file in some way.
|
||||
SHT_NOTE = 0x07U,
|
||||
|
||||
// A section of this type occupies no space in the file.
|
||||
SHT_NOBITS = 0x08U,
|
||||
|
||||
// The section holds relocation entries without explicit addends.
|
||||
SHT_REL = 0x09U,
|
||||
|
||||
// This section type is reserved but has unspecified semantics.
|
||||
SHT_SHLIB = 0x0AU,
|
||||
|
||||
// This section holds a symbol table.
|
||||
SHT_DYNSYM = 0x0BU,
|
||||
|
||||
// This section contains an array of pointers to initialization functions.
|
||||
SHT_INIT_ARRAY = 0x0EU,
|
||||
|
||||
// This section contains an array of pointers to termination functions.
|
||||
SHT_FINI_ARRAY = 0x0FU,
|
||||
|
||||
// This section contains an array of pointers to functions that are invoked
|
||||
// before all other initialization functions.
|
||||
SHT_PREINIT_ARRAY = 0x10U,
|
||||
|
||||
// A section group is a set of sections that are related and that must be
|
||||
// treated specially by the linker.
|
||||
SHT_GROUP = 0x11U,
|
||||
|
||||
// This section is associated with a section of type SHT_SYMTAB, when the
|
||||
// referenced symbol table contain the escape value SHN_XINDEX
|
||||
SHT_SYMTAB_SHNDX = 0x12U,
|
||||
|
||||
// Start of target-specific flags.
|
||||
|
||||
// Exception Index table
|
||||
SHT_ARM_EXIDX = 0x70000001U,
|
||||
// BPABI DLL dynamic linking pre-emption map
|
||||
SHT_ARM_PREEMPTMAP = 0x70000002U,
|
||||
// Object file compatibility attributes
|
||||
SHT_ARM_ATTRIBUTES = 0x70000003U,
|
||||
SHT_ARM_DEBUGOVERLAY = 0x70000004U,
|
||||
SHT_ARM_OVERLAYSECTION = 0x70000005U,
|
||||
|
||||
LAST_KNOWN_SECTION_TYPE = SHT_ARM_OVERLAYSECTION
|
||||
};
|
||||
|
||||
/// Valid section flags.
|
||||
enum {
|
||||
// The section contains data that should be writable.
|
||||
|
||||
Reference in New Issue
Block a user