Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C1F40A4.9683582D@acris.co.uk> Date: Tue, 18 Dec 2001 13:12:04 +0000 From: Julian Hall X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Possible bug in handling of BSS sections? Content-Type: multipart/mixed; boundary="------------0B26CC8564E2EA36067053C2" --------------0B26CC8564E2EA36067053C2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi; I don't know whether this has been mentioned before, but I just had a bug report for NASM, which I am one of the maintainers of, relating to linking code assembled by NASM with the cygwin or mingw linkers. I've done a little investigation, and have managed to rule out NASM as the source of the problem; I attach a .OBJ file which was created by MS Visual Studio. When examined with the tools supplied with Visual Studio, this object file contains a .BSS section of size 4; however, when viewed with 'objdump' under cygwin (GNU objdump 2.11.90), the BSS section has 0 size. Beyond these symptoms, I really cannot hazard a guess as to the cause - my knowledge of the BFD library on which I understand the cygwin tools depend is minimal to say the least. Hope this can be resolved easily though! Jules --------------0B26CC8564E2EA36067053C2 Content-Type: application/x-unknown-content-type-mdpxfile; name="testing.obj" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="testing.obj" TAEFAIM8Hzx/AgAAFQAAAAAAAAAuZHJlY3R2ZQAAAAAAAAAAJwAAANwAAAAAAAAAAAAAAAAA AAAAChAALmRlYnVnJFMAAAAAAAAAABMBAAADAQAAFgIAAAAAAAAEAAAASAAQQi5ic3MAAAAA AAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAIAAMMAudGV4dAAAAAAAAAAAAAAABQAAAD4C AAAAAAAAQwIAAAAAAgAgAFBgLmRlYnVnJFQAAAAAAAAAADAAAABPAgAAAAAAAAAAAAAAAAAA SAAQQi1kZWZhdWx0bGliOkxJQkNEIC1k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X3ZhcmlhYmxlQEAzSEEA --------------0B26CC8564E2EA36067053C2 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------0B26CC8564E2EA36067053C2--