Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Sun, 9 Jan 2000 23:51:06 -0600 (CST) From: Mumit Khan Reply-To: Mumit Khan To: Kazuhiro Fujieda cc: cygwin-developers AT sourceware DOT cygnus DOT com, Corinna Vinschen Subject: updated ld [Re: binutils snapshot -- problems?] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Ok folks, I finally reproduced the problem, but for some reason I had to build on a native machine. I can't for the life of me figure out why I can't reproduce the problem using a cross-compiler! Please try out the updated linker at: ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/snapshots/binutils-19990911/ld.exe.gz Please delete new-cygwin1.dll, remake, strip and use. Let me know asap so I can decide on what to do. FYI, I ended up reverting the following change: 1999-09-06 Donn Terry * coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE version. Move COFF_WITH_PE specific code to new version. (stype_to_sec_flags): Likewise. Add section parameter. * coffgen.c (make_a_section_from_file): Set target_index before calling styp_to_sec_flags. Pass section to styp_to_sec_flags. * libcoff.h: Rebuild. I still have to figure out why this changes fixes the problem with section headers (.data section is getting CODE in addition to the correct ones) when building a DLL. Until then, it stays reverted. Regards, Mumit