bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22451] New: strip no longer works on older object files


From: hjl.tools at gmail dot com
Subject: [Bug binutils/22451] New: strip no longer works on older object files
Date: Fri, 17 Nov 2017 13:04:09 +0000

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

            Bug ID: 22451
           Summary: strip no longer works on older object files
           Product: binutils
           Version: 2.30 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: amodra at gmail dot com
  Target Milestone: ---

Created attachment 10610
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10610&action=edit
A testcase

Since:

commit db4677b8bd90b49f826807352c6c3c7eb0d57814
Author: Alan Modra <address@hidden>
Date:   Wed Oct 4 09:53:53 2017 +1030

    PR21167, relocation sections not included in groups

    This fixes a wart I've known about for years, but haven't done
    anything about because BFD treats relocation sections as an adjunct to
    the section they relocate.  SHF_GROUP on the section thus implicitly
    applies to its relocation section(s), but it is an error that the
    reloc sections aren't part of the group.

on older object files, we get

address@hidden tmp]$
/export/build/gnu/binutils/build-x86_64-linux/binutils/strip-new -g
vterminate.o 
/export/build/gnu/binutils/build-x86_64-linux/binutils/strip-new: vterminate.o:
no group info for section '.data.DW.ref._ZTISt9exception'
/export/build/gnu/binutils/build-x86_64-linux/binutils/strip-new: vterminate.o:
no group info for section '.data.DW.ref._ZTISt9exception'
/export/build/gnu/binutils/build-x86_64-linux/binutils/strip-new:vterminate.o:
Bad value
address@hidden tmp]$

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]