svn commit: r334363 - head/usr.bin/elfdump
Ed Maste
emaste at FreeBSD.org
Wed May 30 01:16:51 UTC 2018
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:
More information about the svn-src-all
mailing list