[llvm-bugs] [Bug 41669] New: In some cases llvm-objcopy should allow stripping symbol tables used by a relocation section without --allow-broken-link

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 30 04:11:26 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41669

            Bug ID: 41669
           Summary: In some cases llvm-objcopy should allow stripping
                    symbol tables used by a relocation section without
                    --allow-broken-link
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: unassignedbugs at nondot.org
          Reporter: grimar at accesssoftek.com
                CC: alexander.v.shaposhnikov at gmail.com,
                    jake.h.ehrlich at gmail.com,
                    jh7370.2008 at my.bristol.ac.uk,
                    llvm-bugs at lists.llvm.org, rupprecht at google.com

This was discussed here:
https://reviews.llvm.org/D60825#1479435

Currently when --allow-broken-links is not given we always report a error when
removing a symbol table used by a dynamic relocation section.
Though it should be possible to do that only in a case when we know that using
symbols from dynamic symbol table.

Technically it also applies to regular relocations, not just dynamic ones.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190430/3d8568ea/attachment.html>


More information about the llvm-bugs mailing list