[PATCH] D33252: [ELF] Adds non-MIPS specific name for DT_MIPS_RLD_MAP

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 12:21:57 PDT 2017


jakehehrlich created this revision.
Herald added a subscriber: arichardson.

https://reviews.llvm.org/D33251 adds support for DT_MIPS_RLD_MAP on non-MIPS platforms. So a non-MIPS specific .dynamic entry name would be nice. This change simply makes DT_DEBUG_INDIRECT an alias for DT_MIPS_RLD_MAP.


Repository:
  rL LLVM

https://reviews.llvm.org/D33252

Files:
  include/llvm/Support/ELF.h


Index: include/llvm/Support/ELF.h
===================================================================
--- include/llvm/Support/ELF.h
+++ include/llvm/Support/ELF.h
@@ -1227,6 +1227,8 @@
   DT_MIPS_RLD_MAP_REL = 0x70000035,  // Relative offset of run time loader
                                      // map, used for debugging.
 
+  DT_DEBUG_INDIRECT = DT_MIPS_RLD_MAP, // Has the same value as DT_MIPS_RLD_MAP
+
   // Sun machine-independent extensions.
   DT_AUXILIARY = 0x7FFFFFFD, // Shared object to load before self
   DT_FILTER = 0x7FFFFFFF     // Shared object to get values from


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33252.99178.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170516/3bffe7bf/attachment.bin>


More information about the llvm-commits mailing list