mguyott@eriador.prime.com (03/02/91)
Has anyone been able to successfully use the "minalloc" feature for the
SEGMENTS section in a windows .def file? On page 10-8 of the SDK ref. vol.
2 it defines the syntax for the SEGMENTS section as follows:
SEGMENTS segmentname [CLASS 'class-name'] [minalloc]\
[FIXED|MOVEABLE]
[DISCARDABLE][SHARED|NONSHARED][PRELOAD|LOADONCALL]
minalloc is defined as an optional integer value that specifies the
minimum allocation size for the segment.
The following works for me:
SEGMENTS
_TEXT CLASS 'CODE' PRELOAD MOVEABLE DISCARDABLE
NEW_TEXT CLASS 'CODE' PRELOAD MOVEABLE
But the following generates a linker error:
SEGMENTS
_TEXT CLASS 'CODE' PRELOAD MOVEABLE DISCARDABLE
NEW_TEXT CLASS 'CODE' 4096 PRELOAD MOVEABLE
Has anyone been able to get the "minalloc" feature to work? Marc
----
Two of the worst things we teach our children are that a knowledge of science
is nice but not necessary, and a knowledge of sex is necessary but not nice.
Marc Guyott Constellation Software, Inc. (508) 620-2800
Framingham, Mass. 01701 USA Ext. 3135
mguyott@primerd.prime.com ...!{uunet, decwrl}!primerd.prime.com!mguyott