| www.delorie.com/archives/browse.cgi | search |
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 AT interix DOT 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |