flat assembler
Message board for the users of flat assembler.

Index > Windows > '.reloc' section...

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1623
Location: Toronto, Canada
AsmGuru62 05 Jan 2007, 08:52
I have a few questions about the '.reloc' section:

1. Does this section appear only for DLLs or it is needed for PE files too?

2. What is 'fixups'? Is it a FASM keyword? I need to know all keywords for syntax highlighting.
Post 05 Jan 2007, 08:52
View user's profile Send private message Send e-mail Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 05 Jan 2007, 09:31
1. not needed in PE. All PEs are located at 400000h.
2. a, yes
b, download dos distribution of FASM and parse all words in quotes ("") from documentation. Or take them from FASM sources.
Post 05 Jan 2007, 09:31
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 05 Jan 2007, 09:42
1. In modern versions of Window it is needed for DLLs and drivers only, however Win32s required it for all executables (that's why PEDEMO includes '.reloc' section, as it was an example made to work also in Win32s - same with console version of fasm).

2. Yes, it's a keyword, see section 2.4.2 of the manual.
And if you need to get a list of all fasm's keywords, see file SOURCE/TABLES.INC in any fasm's distribution (there are only two other keywords, that are not listed there - these are EQU and FIX).
Post 05 Jan 2007, 09:42
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.