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

            Bug ID: 51244
           Summary: [PE/COFF] --set-section-flags is ignored when used
                    jointly with --add-section, so size and VMA are not
                    set
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected],
                    [email protected],
                    [email protected], [email protected]

When running

llvm-objcopy --add-section .sect=<file> --set-section-flags .sect=data <input>
<output>

for a PE/COFF binary, the section flags are ignored, so VirtualSize and
VirtualAddress in the section header are always set to 0.

-- 
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