Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2018 11:46:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228290] [patch] elfdump -n does not recognise notes sections
Message-ID:  <bug-228290-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228290

            Bug ID: 228290
           Summary: [patch] elfdump -n does not recognise notes sections
           Product: Base System
           Version: 10.4-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: martin@lispworks.com

Created attachment 193451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193451&action=edit
Patch to elfdump to recognise .note.tag sections.

This command prints nothing even though /bin/sh has a note section:

/usr/bin/elfdump -n /bin/sh

The problem is that
https://svnweb.freebsd.org/base/head/usr.bin/elfdump/elfdump.c?view=markup#l662
is looking for a note section named .note.ABI-tag but the name has been
.note.tag since r232832.

Fixed by the attached patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

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