This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
pe targets
- To: binutils at sourceware dot cygnus dot com
- Subject: pe targets
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Thu, 27 Apr 2000 00:13:18 +1000 (EST)
Recently, I compiled for --target=i586-pe to check the changes I made to
ld/emultempl/pe.em, and found that "make check" failed on the binutils
simple objcopy and size tests. At the time I didn't bother checking why
the failure happened, and instead just compiled for i586-cygwin, which
worked a lot better. The difference here is that i586-cygwin uses bfd in
the assembler, while i586-pe does not.
It turns out that the non-bfd assmebler fails to set file and section
attributes properly for pe, which cause the failures. The assembler
also sets the object timestamp, which is another reason the simple objcopy
test fails. Rather than someone wasting time fixing these problems, is
there any good reason to continue using the non-bfd assembler for pe?
--
Linuxcare. Support for the Revolution.