[llvm-bugs] [Bug 40005] New: Don't overwrite the OS/ABI and ABIVERSION fields of the ELF header
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 13 08:00:34 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=40005
Bug ID: 40005
Summary: Don't overwrite the OS/ABI and ABIVERSION fields of
the ELF header
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: llvm-objcopy
Assignee: unassignedbugs at nondot.org
Reporter: jh7370.2008 at my.bristol.ac.uk
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
llvm-objcopy unconditionally overwrites the OS/ABI and ABI Version fields of
the ELF header even if they are non-zero. This is clearly wrong (and isn't what
GNU objcopy does either). We should copy these values from the input if
possible. I'm not sure what we should do for binary input, but setting them to
0 seems about as reasonable as anything else.
--
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/20181213/26dde80e/attachment-0001.html>
More information about the llvm-bugs
mailing list