trouble with dmd + obj2asm under linux

Weed resume755 at mail.ru
Sun Dec 28 09:04:45 PST 2008


I wrote and compile program:

$ dmd demo.d

And I need disassembly it:

$ obj2asm ./demo ./demo.d -cdemo.cod

And I see asm file "demo.cod" without names of functions:

==================
.init   segment
        assume  CS:.init
                push    EBP
                mov     EBP,ESP
                push    EBX
                sub     ESP,4
                call    near ptr LC
LC:             pop     EBX
                add     EBX,01056Ch
                mov     EDX,-8[EBX]
                test    EDX,EDX
                je      L22
                call    near ptr LC0
L22:            call    near ptr L3F8
                call    near ptr LD338
                pop     EAX
                pop     EBX
                leave
                ret
.init   ends
.plt    segment
        assume  CS:.plt
L0:             push    dword ptr [080591A4h]
                jmp     dword ptr [080591A8h]
==================




More information about the Digitalmars-d-learn mailing list