On Linux/x86-64, I got

[...@gnu-6 binutils]$ objcopy -O elf64-l1om /bin/ls ls      
objcopy: Warning: Output file cannot represent architecture `i386:x86-64'
[...@gnu-6 binutils]$ echo $?
1
[...@gnu-6 binutils]$ 

It is an error, not a warning.

-- 
           Summary: Bad objopy error message
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11130

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to