This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
updated ld [Re: binutils snapshot -- problems?]
- To: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Subject: updated ld [Re: binutils snapshot -- problems?]
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Sun, 9 Jan 2000 23:51:06 -0600 (CST)
- cc: cygwin-developers at sourceware dot cygnus dot com, Corinna Vinschen <corinna at vinschen dot de>
- Reply-To: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
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 <donn@interix.com>
* 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