[PATCH] D47803: Add definition for ELF dynamic tag DT_SYMTAB_SHNDX.

Rahul Chaudhry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 5 16:42:23 PDT 2018


rahulchaudhry created this revision.
rahulchaudhry added a reviewer: pcc.
Herald added a subscriber: llvm-commits.

DT_SYMTAB_SHNDX is defined in generic-abi:

- http://www.sco.com/developers/gabi/latest/ch5.dynamic.html


Repository:
  rL LLVM

https://reviews.llvm.org/D47803

Files:
  include/llvm/BinaryFormat/DynamicTags.def


Index: include/llvm/BinaryFormat/DynamicTags.def
===================================================================
--- include/llvm/BinaryFormat/DynamicTags.def
+++ include/llvm/BinaryFormat/DynamicTags.def
@@ -63,6 +63,8 @@
 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47803.150057.patch
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180605/7d657ddc/attachment.bin>


More information about the llvm-commits mailing list