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 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: updated ld [Re: binutils snapshot -- problems?] References: Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 11 Jan 2000 10:27:04 +0900 In-Reply-To: Mumit Khan's message of Mon, 10 Jan 2000 17:55:19 -0600 (CST) Message-ID: Lines: 44 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Mon, 10 Jan 2000 17:55:19 -0600 (CST) >>> Mumit Khan said: > I've uploaded a new binutils snapshot, and this one is pretty close > what I've been using for a while locally. Please try it out and let > me. Both Cygwin B20.1 binaries and sources are there. This works fine. Here is the output of `objdump -h' for the stripped new-cygwin1.dll. The output for the unstripped one is the same. new-cygwin1.dll: file format pei-i386 Sections: Idx Name Size VMA LMA File off Algn 0 .text 00071000 61001000 61001000 00000400 2**2 CONTENTS, ALLOC, LOAD, CODE 1 .data 00007200 61072000 61072000 00071400 2**2 CONTENTS, ALLOC, LOAD, DATA 2 .bss 00005be4 6107a000 6107a000 00000000 2**2 ALLOC 3 .edata 00004e00 61080000 61080000 00078600 2**2 CONTENTS, ALLOC, LOAD, DATA 4 .idata 00001a00 61085000 61085000 0007d400 2**2 CONTENTS, ALLOC, LOAD, DATA 5 .reloc 00006000 61087000 61087000 0007ee00 2**2 CONTENTS, ALLOC, LOAD, DATA, SHARED 6 .rsrc 00000600 6108d000 6108d000 00084e00 2**2 CONTENTS, ALLOC, LOAD, DATA, SHARED The reason why the stripped binary couldn't work on NT4 Sp5 and W2K RC2 seems that `strip' over-stripped the .reloc section. John R. Hanson pointed out this to me by a private e-mail yesterday. I, however, didn't think the reason was so simple. > I just rebuilt everything from scratch, built the latest cygwin snapshot > on an NT 4.0 SP3 machine, stripped the DLL, and it still runs. And thanks > to making me skip lunch, now I'm starving and getting really cranky ;-) I'm very sorry. Thank for your effort. ____ | AIST Kazuhiro Fujieda | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology