GNU Info

Info Node: (nasm.info)Section 7.5.2

(nasm.info)Section 7.5.2


Next: Section 7.5.3 Prev: Section 7.5.1 Up: Section 7.5
Enter node , (file) or (file)node

7.5.2. Borland Pascal Segment Name Restrictions
-----------------------------------------------

   Since Borland Pascal's internal unit file format is completely
different from `OBJ', it only makes a very sketchy job of actually
reading and understanding the various information contained in a real
`OBJ' file when it links that in. Therefore an object file intended to
be linked to a Pascal program must obey a number of restrictions:

   * Procedures and functions must be in a segment whose name is either
     `CODE', `CSEG', or something ending in `_TEXT'.

   * Initialised data must be in a segment whose name is either `CONST'
     or something ending in `_DATA'.

   * Uninitialised data must be in a segment whose name is either
     `DATA', `DSEG', or something ending in `_BSS'.

   * Any other segments in the object file are completely ignored.
     `GROUP' directives and segment attributes are also ignored.


automatically generated by info2www version 1.2.2.9