https://bugs.llvm.org/show_bug.cgi?id=41045
Bug ID: 41045
Summary: ELF incorrect size following --strip-sections
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: llvm-objcopy
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: alexander.v.shaposhni...@gmail.com,
jake.h.ehrl...@gmail.com,
jh7370.2...@my.bristol.ac.uk,
llvm-bugs@lists.llvm.org, ruppre...@google.com
--strip-sections should leave an ELF with only its ELF header and program
header contents. The ELFWriter<ELFT>::totalSize() function incorrectly
calculates the size of the ELF however in this case: if WriteSectionHeaders is
false, it includes enough space to write the section headers (but not the null
section header for some reason...!)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs