Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 00:39:04 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r307833 - stable/11/usr.bin/elfdump
Message-ID:  <201610240039.u9O0d48k043215@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Oct 24 00:39:04 2016
New Revision: 307833
URL: https://svnweb.freebsd.org/changeset/base/307833

Log:
  MFC r307520: elfdump: correct DT_AUXILIARY / DT_USED / DT_FILTER definitions
  
  r109332 introduced these three as DT_SUNW_*. Update to the correct
  names already used elsewhere in FreeBSD and the Sun "Linker and
  Libraries Guide"

Modified:
  stable/11/usr.bin/elfdump/elfdump.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/elfdump/elfdump.c
==============================================================================
--- stable/11/usr.bin/elfdump/elfdump.c	Sun Oct 23 20:42:32 2016	(r307832)
+++ stable/11/usr.bin/elfdump/elfdump.c	Mon Oct 24 00:39:04 2016	(r307833)
@@ -240,9 +240,9 @@ d_tags(u_int64_t tag)
 	case 0x6ffffff0:	return "DT_GNU_VERSYM";
 	/* 0x70000000 - 0x7fffffff processor-specific semantics */
 	case 0x70000000:	return "DT_IA_64_PLT_RESERVE";
-	case 0x7ffffffd:	return "DT_SUNW_AUXILIARY";
-	case 0x7ffffffe:	return "DT_SUNW_USED";
-	case 0x7fffffff:	return "DT_SUNW_FILTER";
+	case DT_AUXILIARY:	return "DT_AUXILIARY";
+	case DT_USED:		return "DT_USED";
+	case DT_FILTER:		return "DT_FILTER";
 	}
 	snprintf(unknown_tag, sizeof(unknown_tag),
 		"ERROR: TAG NOT DEFINED -- tag 0x%jx", (uintmax_t)tag);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610240039.u9O0d48k043215>