Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 17:11:54 +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: r335375 - stable/11/usr.bin/elfdump
Message-ID:  <201806191711.w5JHBsVd002455@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Jun 19 17:11:53 2018
New Revision: 335375
URL: https://svnweb.freebsd.org/changeset/base/335375

Log:
  MFC r334363: elfdump: chase ABI tag note name change from r232832
  
  r232832 changed the ABI tag note name from .note.ABI-tag to .note.tag.
  Follow suit in elfdump.
  
  Elfdump's note parsing is very basic and should be significantly
  reworked, but for now just restore the broken functionality.
  
  PR:		228290
  Submitted by:	martin at lispworks.com

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	Tue Jun 19 16:55:39 2018	(r335374)
+++ stable/11/usr.bin/elfdump/elfdump.c	Tue Jun 19 17:11:53 2018	(r335375)
@@ -663,7 +663,7 @@ main(int ac, char **av)
 		case SHT_NOTE:
 			name = elf_get_word(e, v, SH_NAME);
 			if (flags & ED_NOTE &&
-			    strcmp(shstrtab + name, ".note.ABI-tag") == 0)
+			    strcmp(shstrtab + name, ".note.tag") == 0)
 				elf_print_note(e, v);
 			break;
 		case SHT_DYNSYM:



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