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

            Bug ID: 41371
           Summary: llvm-objcopy does not check dynamic relocation
                    sections for broken references
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected],
                    [email protected],
                    [email protected], [email protected]

If you strip a section that is referred to by a dynamic relocation section
(e.g. the .dynsym), llvm-objcopy lets it happen assuming that there are no
other references. This means that the Link and/or Info field is broken, as
potentially are the relocations themselves. The problem is that the
removeSectionReferences method is not defined for DynamicRelocationSection.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to