News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

POLINK and merging sections

Started by slovach, March 22, 2008, 02:09:29 AM

Previous topic - Next topic

slovach

When I try to link like... POLINK.EXE /SUBSYSTEM:WINDOWS /ALIGN:512 /MERGE:.data=.text /MERGE:.rdata=.text /SECTION:.text, ERW /LIBPATH:"$L" /OUT:"$5",3

I get: POLINK: fatal error: Invalid /SECTION arguments; use name and E,R,W,S,D,K and/or P.

... but that looks pretty right to me.

or if I just link without that part, I end up with: POLINK: warning: Multiple '.text' sections found with different flags (0xe0000020 and 0xc0000080).

Shouldn't I be getting a nice message about how it merged the sections? Am I really somehow ending up with a bunch of .text's? I'm assuming /LIBPATH and /OUT ended up being filled out like that for me by RADASM.