flat assembler
Message board for the users of flat assembler.

Index > Windows > dll in fasm (bug?!)

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Aster!x



Joined: 16 Jul 2004
Posts: 26
Aster!x 22 Dec 2005, 09:36
for example usual masm warning:

LINK : warning LNK4096: /BASE value '0x100000' is invalid for Windows 95 and
Windows 98; image may not run
Post 22 Dec 2005, 09:36
View user's profile Send private message Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend 22 Dec 2005, 20:34
Aster!x: It's not masm message but LINK's one. And LINK belongs to microsoft and was just included with masm (but not only with it). It is also just a linker. So you can assemble your projects ot MS COFF and link with it to have such warnings.
Post 22 Dec 2005, 20:34
View user's profile Send private message Visit poster's website Reply with quote
leo



Joined: 16 Dec 2005
Posts: 2
Location: Russia
leo 23 Dec 2005, 18:32
Tomasz Grysztar
Quote:
But this is not an error, since this doesn't violate the PE specification

Unfortunataly the MS PE Specification isn't so detailed as wanted
But if you reread the specification (Feb 1999) you'll see the following description of IMAGE_FILE_RELOCS_STRIPPED flag: "Image only, Windows CE, Windows NT and above". So this flag isn't supported by Win 9x and we cannot interpret it as a bug
In contrast, the specification allows to use empty data sections: "However, for sections containing all zeros, the section data need not be included". So XP violates the PE specification if it dissalows empty sections Crying or Very sad
Post 23 Dec 2005, 18:32
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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.