bug-binutils
[Top][All Lists]
Advanced

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

Re: BUG elf32-i386 R_386_PC32 done wrong


From: Ian Lance Taylor
Subject: Re: BUG elf32-i386 R_386_PC32 done wrong
Date: 24 Jun 2006 21:35:17 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Airr <address@hidden> writes:

> As of late yesterday evening, we've been able to get this to work by
> linking the .obj (PE/COFF) files with ld emitting a PE executable, and
> then using objcopy to convert to the final ELF executable.

Yes, that is the usual technique.  Of course it only works with a
fully statically linked program.

> So, is it safe to assume that attempting the conversion using ld alone
> will not produce a working ELF file in our case?  That instead we
> should use objcopy to produce the final file?

Yes.

Ian




reply via email to

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