[llvm] r258089 - [Support/ELF] Remove field erroneously added in r258025.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 13:20:03 PST 2016


Author: davide
Date: Mon Jan 18 15:20:02 2016
New Revision: 258089

URL: http://llvm.org/viewvc/llvm-project?rev=258089&view=rev
Log:
[Support/ELF] Remove field erroneously added in r258025.

Although glibc defines it, this is currently of no use for my primary
use-case (dumping DT_* keys correctly). Its semantic is not described
anywhere I can find, so better leave it out for now.
Thanks to Rafael for pointing out in his post-commit review!


Modified:
    llvm/trunk/include/llvm/Support/ELF.h

Modified: llvm/trunk/include/llvm/Support/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELF.h?rev=258089&r1=258088&r2=258089&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Mon Jan 18 15:20:02 2016
@@ -1205,8 +1205,7 @@ enum {
 
   // Sun machine-independent extensions.
   DT_AUXILIARY              = 0x7FFFFFFD, // Shared object to load before self
-  DT_FILTER                 = 0x7FFFFFFF, // Shared object to get values from
-  DT_EXTRANUM               = 3
+  DT_FILTER                 = 0x7FFFFFFF  // Shared object to get values from
 };
 
 // DT_FLAGS values.




More information about the llvm-commits mailing list