[llvm] r334149 - Add definition for ELF dynamic tag DT_SYMTAB_SHNDX.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 6 17:06:41 PDT 2018
Author: pcc
Date: Wed Jun 6 17:06:41 2018
New Revision: 334149
URL: http://llvm.org/viewvc/llvm-project?rev=334149&view=rev
Log:
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
Modified:
llvm/trunk/include/llvm/BinaryFormat/DynamicTags.def
Modified: llvm/trunk/include/llvm/BinaryFormat/DynamicTags.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BinaryFormat/DynamicTags.def?rev=334149&r1=334148&r2=334149&view=diff
==============================================================================
--- llvm/trunk/include/llvm/BinaryFormat/DynamicTags.def (original)
+++ llvm/trunk/include/llvm/BinaryFormat/DynamicTags.def Wed Jun 6 17:06:41 2018
@@ -63,6 +63,8 @@ DYNAMIC_TAG_MARKER(ENCODING, 32) // Valu
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.
More information about the llvm-commits
mailing list