flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > [BUG] MS COFF, public directive

Author
Thread Post new topic Reply to topic
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend 16 Aug 2005, 23:42
This produces an unhandled exception:
Code:
bbb:
        label   _bbb@4 at bbb
        public  _bbb@4
    


The error is in 2353 line of formats.inc:
Code:
      enumerate_public:
        mov     edx,eax
        shl     edx,8
        mov     dl,80h
        mov     [esi],edx
        mov     edx,[esi+8]
        add     esi,10h
        inc     eax
        cmp     byte [edx+11],2
        jne     enumerate_symbols
        mov     edx,[edx+20]
        cmp     byte [edx],81h ; <<<<< EDX here equals 0
        jne     enumerate_symbols
        inc     eax
        jmp     enumerate_symbols
    
Post 16 Aug 2005, 23:42
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 17 Aug 2005, 09:25
"label at" was wrongly setting up the relocatable base, made it somewhere during the x86-64 devlopment.
Fixed now.
Post 17 Aug 2005, 09:25
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.