; =================================================================== ; This is the "PE Linker" sample definition file. ; (C) 16-Jul-1997y by Hard Wisdom ; =================================================================== ; Some general thing: strings parameters will be upcased and ; string comparison is a case unsensitive! ; ; ------------------------------------------------------------------- Stub = Dumbo.Exe ; This is the DrozFile for linking Body = Monster.Exe ; This is file that defines ; the base code for linking MapFile = Monster.Map ; Map file from linker for ; support linking process Produce = Target.Exe ; Ok, this is the target file ; ------------------------------------------------------------------- CodeName = PELinker ; Name for new code section CodeFlags = E0000040h ; Flags for new code section ; You can use the following formats ; 1234, 0x1234, 1234h, &H1234, ; &D1234, &O1234, &B1010 PhysAlways = 1 ; Non-zero value causes a Physical ; size of section more important ; than virtual size of same section ; if the Virtual size is greater than ; the Physical size StubEntry = StubEntryLabel ; Place in file for stub entry RVA ; ------------------------------------------------------------------- StubImport = StubImportPlace ; Place in section for stub import ofs ; (used only for looking on services) ProgramBase = ImagePlace ; Place in section for current ; image base ofs (for fixing import) SectionBase = CurrentPlace ; Place in section for current ; position variable (for fixing import) FixUpOfs = FixUpsPlace ; Place in section for fixup's ofs FixUpCount = FixUpsCounter ; Place in section for fixup's counter ImportOfs = ImportPlace ; Place in section for self import ofs ImportLen = ImportLength ; Place in section for self import size BufferStart = BufferPlace ; Place in section for buffer ofs ; (difficult to usage, right after ; the stub import data) BufferSize = 1000h ; Size of allocated buffer ; =================================================================== ; End of definitions. ; ===================================================================