https://sourceware.org/bugzilla/show_bug.cgi?id=20968
Bug ID: 20968 Summary: ld ignores -b binary Product: binutils Version: 2.28 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: adam at os dot inf.tu-dresden.de Target Milestone: --- Hi, HEAD of ld/binutils ignores -b binary: $ ld -m elf_x86_64 -r --oformat elf64-x86-64 -o foo.o -b binary foo.txt ld: foo.txt: not in ELF format $ ld --version GNU ld (GNU Binutils) 2.27.51.20161215 Instead, in previous versions it works: $ ld -m elf_x86_64 -r --oformat elf64-x86-64 -o foo.o -b binary foo.txt $ file foo.o foo.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils