https://sourceware.org/bugzilla/show_bug.cgi?id=27753

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jan Beulich from comment #2)
> (In reply to H.J. Lu from comment #1)
> > It sounds like .note.gnu.property section is unused.  Please pass
> > -R .note.gnu.property to objcopy to remove it.
> 
> That's what I'm meaning to do as a workaround, but as per
> 
> https://lists.xen.org/archives/html/xen-devel/2021-04/msg01002.html
> 
> there are reservations against this approach. No workaround should have been
> necessary here in the first place.
> 
> Perhaps the issue wouldn't have occurred if the section hadn't SHF_ALLOC
> set. Is there a specific reason for this? The gABI looks to mandate the flag
> to be clear for SHT_NOTE type sections.

All note sections in Linux binary have SHF_ALLOC:

  [ 2] .note.gnu.build-id NOTE            004001d0 0001d0 000024 00   A  0   0 
4
  [ 3] .note.gnu.property NOTE            004001f4 0001f4 000034 00   A  0   0 
4
  [ 4] .note.ABI-tag     NOTE            00400228 000228 000020 00   A  0   0 
4

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to