bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: segfault here (bfd), segfault there, segfault segfault segfault


From: Alan Modra
Subject: Re: segfault here (bfd), segfault there, segfault segfault segfault
Date: Wed, 9 Apr 2003 14:44:37 +0930
User-agent: Mutt/1.4i

On Tue, Apr 08, 2003 at 06:56:47PM +0200, Bernd Jendrissek wrote:
>    The resulting assembler outputs a.out: file(1) reports
>    "Linux/i386 impure executable (OMAGIC)" on the output.
> 
>    I thought i386-pc-pe would have caused the output to be coff of some
>    sort?

This is what I see for --target=i686-pe, which ought to be the same
as your i386-pc-pe target.  Perhaps some basic tool, sed for example,
is broken on your system?

$ file def.o
def.o: 80386 COFF executable not stripped - version 30821
$ file def
def: MS Windows PE Intel 80386 console executable not relocatable


> 2. binutils/configure --target=i386-winnt *does* generate coff output.
>    Strange.  I don't see *any* ix86-specific mention of winnt anywhere in
>    gas.  Anyone care to explain?  How does *this* as know to output coff?

gas/configure.in
      i386-*-*nt*)                      fmt=coff em=pe ;;

> Patchlet: recognise i[3-6]86-pc-pe* to which i[3-6]86-pe is canonicalized.

Applied.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

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