diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-06-07 00:06:41 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-06-07 00:06:41 +0000 |
commit | ac0f5cf74b4d4e7b4e6ee4b23948db52a37028f7 (patch) | |
tree | 90576379e1a5a062123ced9ff109a52ac04d0f8f | |
parent | 09bdd222ef645b6e4e4cc68c0bd6e138096bb793 (diff) | |
download | bcm5719-llvm-ac0f5cf74b4d4e7b4e6ee4b23948db52a37028f7.tar.gz bcm5719-llvm-ac0f5cf74b4d4e7b4e6ee4b23948db52a37028f7.zip |
Add definition for ELF dynamic tag DT_SYMTAB_SHNDX.
DT_SYMTAB_SHNDX is defined in generic-abi:
http://www.sco.com/developers/gabi/latest/ch5.dynamic.html
Patch by Rahul Chaudhry!
Differential Revision: https://reviews.llvm.org/D47803
llvm-svn: 334149
-rw-r--r-- | llvm/include/llvm/BinaryFormat/DynamicTags.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/DynamicTags.def b/llvm/include/llvm/BinaryFormat/DynamicTags.def index 34c888d2759..40b2b2ac46d 100644 --- a/llvm/include/llvm/BinaryFormat/DynamicTags.def +++ b/llvm/include/llvm/BinaryFormat/DynamicTags.def @@ -63,6 +63,8 @@ DYNAMIC_TAG_MARKER(ENCODING, 32) // Values from here to DT_LOOS follow the rules DYNAMIC_TAG(PREINIT_ARRAY, 32) // Pointer to array of preinit functions. DYNAMIC_TAG(PREINIT_ARRAYSZ, 33) // Size of the DT_PREINIT_ARRAY array. +DYNAMIC_TAG(SYMTAB_SHNDX, 34) // Address of the SHT_SYMTAB_SHNDX section. + DYNAMIC_TAG_MARKER(LOOS, 0x60000000) // Start of environment specific tags. DYNAMIC_TAG_MARKER(HIOS, 0x6FFFFFFF) // End of environment specific tags. DYNAMIC_TAG_MARKER(LOPROC, 0x70000000) // Start of processor specific tags. |