www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/01/10/00:48:10

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <khan AT NanoTech DOT Wisc DOT EDU>
Reply-To: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
cc: cygwin-developers AT sourceware DOT cygnus DOT com,
Corinna Vinschen <corinna AT vinschen DOT de>
Subject: updated ld [Re: binutils snapshot -- problems?]
In-Reply-To: <s1sn1qed6i4.fsf@jaist.ac.jp>
Message-ID: <Pine.HPP.3.96.1000109233507.17518b-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019