bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19119] Gold accepts bogus target emulation


From: hjl.tools at gmail dot com
Subject: [Bug gold/19119] Gold accepts bogus target emulation
Date: Wed, 14 Oct 2015 14:39:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19119

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
address@hidden pr19119]$ cat x.s
        .text
        .type _start,"function"
        .global _start
_start:
        ret
address@hidden pr19119]$ make
./as --32 -o x.o x.s
./ld -m elf_iamcu -o x x.o
address@hidden pr19119]$ file x
x: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked,
not stripped
address@hidden pr19119]$ ld -m elf_iamcu -o x x.o  
ld: i386 architecture of input file `x.o' is incompatible with iamcu output
address@hidden pr19119]$ 

Gold simply ignores -m elf_iamcu.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]