https://bugs.llvm.org/show_bug.cgi?id=39135
Bug ID: 39135
Summary: llvm-objcopy ignores -O (--output-target)
Product: tools
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-objcopy
Assignee: unassignedb...@nondot.org
Reporter: saih...@outlook.com
CC: llvm-bugs@lists.llvm.org
Test case:
echo '1: .quad 1b' | clang -x assembler -c - -o test.o
llvm-objcopy -O elf32-x86-64 test.o test.O && file test.O
Expected result:
test.O: ELF 32-bit LSB relocatable, x86_64, version 1 (SYSV), not striped
Actual result:
test.O: ELF 64-bit LSB relocatable, x86_64, version 1 (SYSV), not striped
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs