https://sourceware.org/bugzilla/show_bug.cgi?id=19119
Bug ID: 19119
Summary: Gold accepts bogus target emulation
Product: binutils
Version: 2.26 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: hjl.tools at gmail dot com
CC: ian at airs dot com
Target Milestone: ---
[hjl@gnu-6 pr19118]$ make clean
rm -f *.o *.so *.a
[hjl@gnu-6 pr19118]$ cat x.s
.text
.type _start,"function"
.global _start
_start:
.byte 0
[hjl@gnu-6 pr19118]$ make
./as --32 -o x.o x.s
./ld -m elf_foobar -o x x.o
[hjl@gnu-6 pr19118]$ ld -m elf_foobar -o x x.o
ld: unrecognised emulation mode: elf_foobar
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux
elf_l1om elf_k1om
[hjl@gnu-6 pr19118]$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils