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

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

Gold simply ignores -m elf_iamcu.

-- 
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

Reply via email to