[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20968] New: ld ignores -b binary
From: |
adam at os dot inf.tu-dresden.de |
Subject: |
[Bug ld/20968] New: ld ignores -b binary |
Date: |
Thu, 15 Dec 2016 08:12:09 +0000 |
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 ld/20968] New: ld ignores -b binary,
adam at os dot inf.tu-dresden.de <=