Mail Archives: cygwin/2001/12/18/16:14:44
--- Julian Hall <jules AT acris DOT co DOT uk> wrote: >
> 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.
>
This appears to be fixed in CVS binutils:
objdump -V
GNU objdump 2.11.92 20011216
objdump -x testing.obj
===snip===
Sections:
Idx Name Size VMA LMA File off Algn
0 .drectve 00000027 00000000 00000000 000000dc 2**0
CONTENTS, READONLY, DEBUGGING, EXCLUDE
1 .debug$S 00000113 00000000 00000000 00000103 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA, DEBUGGING
2 .bss 00000004 00000000 00000000 00000000 2**2
ALLOC
3 .text 00000005 00000000 00000000 0000023e 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 .debug$T 00000030 00000000 00000000 0000024f 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA, DEBUGGING
http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your festive greetings online!
--
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/
- Raw text -