flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Compiler Internals > [solved] fasmg - bug in relocations

Author
Thread Post new topic Reply to topic
CandyMan



Joined: 04 Sep 2009
Posts: 232
Location: film "CandyMan" directed through Bernard Rose
[solved] fasmg - bug in relocations
fasmg - bug in relocations:

Code:

include 'format/format.inc'

PE.Settings.SectionAlignment    = 16
PE.Settings.FileAlignment       = 16

format  PE console
entry start

section '.text' code readable executable

start:
repeat 1024
        mov     edx,$
end repeat

section '.reloc' fixups data readable discardable



tdump.exe reports:

Code:

Block #1Page RVA = 31D631D1block size = 31E031DB
  PTR 1e5  PTR 1ea  PTR 1ef  PTR 1f4  PTR 1f9  PTR 1fe  PTR 203 ...


Post 08 Dec 2017, 21:13
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6673
Location: Kraków, Poland
Please try with the updated macro.
Post 08 Dec 2017, 21:34
View user's profile Send private message Visit poster's website Reply with quote
CandyMan



Joined: 04 Sep 2009
Posts: 232
Location: film "CandyMan" directed through Bernard Rose
It is now all right, thanks.
Post 09 Dec 2017, 12:52
View user's profile Send private message 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.