This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pe targets


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]