svn commit: r335375 - stable/11/usr.bin/elfdump
Ed Maste
emaste at FreeBSD.org
Tue Jun 19 17:11:55 UTC 2018
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:
More information about the svn-src-stable-11
mailing list