Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 01:16:50 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334363 - head/usr.bin/elfdump
Message-ID:  <201805300116.w4U1GoWj090163@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed May 30 01:16:50 2018
New Revision: 334363
URL: https://svnweb.freebsd.org/changeset/base/334363

Log:
  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
  MFC after:	1 week

Modified:
  head/usr.bin/elfdump/elfdump.c

Modified: head/usr.bin/elfdump/elfdump.c
==============================================================================
--- head/usr.bin/elfdump/elfdump.c	Wed May 30 00:36:58 2018	(r334362)
+++ head/usr.bin/elfdump/elfdump.c	Wed May 30 01:16:50 2018	(r334363)
@@ -659,7 +659,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?201805300116.w4U1GoWj090163>