svn commit: r276373 - head/contrib/elftoolchain/readelf

Ed Maste emaste at FreeBSD.org
Mon Dec 29 19:38:13 UTC 2014


Author: emaste
Date: Mon Dec 29 19:38:12 2014
New Revision: 276373
URL: https://svnweb.freebsd.org/changeset/base/276373

Log:
  Rename DT_FEATURE_1 to DT_FEATURE
  
  Track r270303:
  
    This provides a minor cleanup in elfdump; there are otherwise no
    consumers in the tree.  Old SUN documentation can be found for either
    variant, but GNU binutils switched to DT_FEATURE around 2000.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/contrib/elftoolchain/readelf/readelf.c

Modified: head/contrib/elftoolchain/readelf/readelf.c
==============================================================================
--- head/contrib/elftoolchain/readelf/readelf.c	Mon Dec 29 19:27:10 2014	(r276372)
+++ head/contrib/elftoolchain/readelf/readelf.c	Mon Dec 29 19:38:12 2014	(r276373)
@@ -903,7 +903,7 @@ dt_type(unsigned int mach, unsigned int 
 	case DT_PLTPADSZ: return "PLTPADSZ";
 	case DT_MOVEENT: return "MOVEENT";
 	case DT_MOVESZ: return "MOVESZ";
-	case DT_FEATURE_1: return "FEATURE_1";
+	case DT_FEATURE: return "FEATURE";
 	case DT_POSFLAG_1: return "POSFLAG_1";
 	case DT_SYMINSZ: return "SYMINSZ";
 	case DT_SYMINENT: return "SYMINENT";


More information about the svn-src-head mailing list