PRB: /PACKCODE Incompatible with IOPL Segments w/ LINK 5.01.21

Last reviewed: July 17, 1997
Article ID: Q50702
5.01.21 OS/2 kbtool kberrmgs kbprb

The information in this article applies to:

  • Microsoft LINK for OS/2, version 5.01.21

SYMPTOMS

LINK Version 5.01.21 does not support the combination of using the /PACKCODE switch and having code segments declared as IOPL (i.e., as having I/O privilege).

When combining segments as directed by the /PACKCODE option, LINK 5.01.21 will combine the IOPL segment(s) with other segments that do not have I/O privilege. The result is an invalid executable that returns the system error SYS1059 when it is invoked.

STATUS

The lack of ability to combine these options is a limitation of this particular linker version. LINK Version 5.03 allows the combination of /PACKCODE and IOPL segments without a problem.


Additional reference words:
KBCategory: kbtool kberrmsg kbprb
KBSubcategory: LinkIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.