home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / hunknames.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  3.7 KB  |  108 lines

  1. [LANGUAGE english; PARENT index; PAGE 10]
  2. [C;6;B]        The special hunk names
  3. [J;1;N]
  4.   To enable lk to link properly any kind of program, \
  5. special hunk names may be used. You have to be careful \
  6. when you use those name, while they are specific to lk.
  7. [INDENT 2]
  8.   BSS
  9.  
  10.     This is the default name for a hunk of type BSS. \
  11. You should use this name, except if you want specific \
  12. hunks of BSS (Hunks to be loaded in CHIP memory for \
  13. instance.)
  14.  
  15.   COVER or _COVER or __COVER
  16.  
  17.     By default, lk does not support this special hunk. \
  18. You must use the BOUNDS instruction in order \
  19. to generate the startup pointer and the size. Please \
  20. refer to this instruction for more informations:
  21. [C;3][LINK bounds]    BOUNDS
  22. [J;1]
  23.   DATA
  24.  
  25.     This is the default name for a hunk of type DATA. \
  26. You should use this name, except if you want specific \
  27. hunks of data (Hunks to be loaded in CHIP memory for \
  28. instance.)
  29.     BSS hunks should not be called DATA, while they \
  30. can not be linked with DATA hunks.
  31.  
  32.   ENTRYHUNK or NTRYHUNK or _ENTRYHUNK
  33.  
  34.     This name is useful to define the very first hunk \
  35. of a program (The second name is implemented to accept \
  36. Blink/Slink special hunk.) This hunk must be of type \
  37. code and have to be a valid startup.
  38.     With this hunk, you should not use the instruction \
  39. STARTUP. Anyway the STARTUP label override this hunk.
  40.  
  41.   MERGE or MERGED
  42.   _MERGE or _MERGED
  43.   __MERGE or __MERGED
  44.  
  45.     Only DATA and BSS hunks can receive that name and \
  46. all of them will automatically be linked together, even \
  47. ONEDATA is unused. Note that the option XDATA is still \
  48. needed and recommended. Hunks of DATA or BSS with one of \
  49. those names which are present into an overlay hunk will \
  50. automatically be extracted from the overlay hunk. Do not \
  51. forget that when a FRAG??? instruction has been used, no \
  52. merge is effective for the specified types.
  53.     This name is used by Blink and Slink to force relative \
  54. hunks to be linked together. lk does not need that extra \
  55. information and is intelligent enough to know when that \
  56. kind of hunks have to be linked together.
  57.     The number of underscore defines a new set of merged \
  58. block.
  59.     Note: A hunk of code with that name will generate \
  60. a warning, and will not be linked with data hunks by any \
  61. means.
  62.  
  63.   NOMERGE or NOMERGED or _NOMERGE or _NOMERGED
  64.  
  65.     Any hunk may have this name. This way it can not \
  66. be merged with another hunk. This is useful to create \
  67. a hunk that has to be freed or when a linked list is \
  68. necessary. This is used for the background task \
  69. startup code.
  70.  
  71.   OVERLAYENTRY
  72.  
  73.     This defines the overlay handler. This hunk must \
  74. be of type code and be a valid overlay startup, thus \
  75. have the overlay magic long word $0000ABCD and the \
  76. following null pointers (4) for the overlay table, \
  77. file stream and more.
  78.     This hunk will call one of the following function. \
  79. The order is important is that it's check into that \
  80. given order:
  81.       1. '_ovl_root' (May not exist)
  82.       2. function defined with STARTUP instruction
  83.       3. first function of ENTRYHUNK hunk
  84.       4. the first hunk of CODE
  85.  
  86.   RDATA
  87.  
  88.     This is the default name for a hunk of type DATA \
  89. used with read only operation. This might be used to \
  90. automatically protect the program when loaded with the \
  91. special MMU loader of lk.
  92.     Note: this loader is not actually available.
  93.  
  94.   TEXT
  95.  
  96.     This is the default name for a hunk of type CODE. \
  97. When the first given hunk is not of type CODE, lk will \
  98. search the first hunk named TEXT and moved it at start.
  99. [INDENT]
  100.   See also:
  101. [L;3][LINK frag]            FRAGBSS
  102. [LINK frag]                FRAGCODE
  103. [LINK frag]                FRAGDATA
  104. [LINK onedata]                ONEDATA
  105. [LINK overlay]                OVERLAY
  106. [LINK startup]                STARTUP
  107. [5; LINK about; GOTO address]        Become Registred
  108.