formats.hss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. [Main]
  2. Title=TIGCC Linker File Formats
  3. [Top]
  4. The TIGCC linker recognizes several file formats. Currently, it can import
  5. COFF and AmigaOS files and export TIOS ASM files, Nostub DLL files (which are
  6. TIOS custom files with a special format), and Fargo II files (which are TIOS
  7. PRGM files with special hidden data). A small overview of the capabilities of
  8. each format is described in the following table:
  9. <BR><BR>
  10. <TABLE BORDER CELLPADDING="3">
  11. <TR>
  12. <TD><B>Format</B></TD>
  13. <TD><B>Sections</B></TD>
  14. <TD><B>Relocations</B></TD>
  15. <TD><B>Unresolved Relocations</B></TD>
  16. <TD><B>Symbols</B></TD>
  17. <TD><B>ROM Calls</B></TD>
  18. <TD><B>RAM Calls</B></TD>
  19. <TD><B>Library Calls</B></TD>
  20. <TD><B>Library Exports</B></TD>
  21. <TD><B>Debug Information</B></TD>
  22. <TD><B>Version Number</B></TD>
  23. <TD><B>Additional Information</B></TD>
  24. </TR>
  25. <TR>
  26. <TD VALIGN="TOP"><B>COFF</B></TD>
  27. <TD VALIGN="TOP">Yes</TD>
  28. <TD VALIGN="TOP">Yes</TD>
  29. <TD VALIGN="TOP">Yes</TD>
  30. <TD VALIGN="TOP">Yes</TD>
  31. <TD VALIGN="TOP">Yes (through unresolved relocations)</TD>
  32. <TD VALIGN="TOP">Yes (through unresolved relocations)</TD>
  33. <TD VALIGN="TOP">Yes (through unresolved relocations)</TD>
  34. <TD VALIGN="TOP">Yes (through symbols)</TD>
  35. <TD VALIGN="TOP">Yes</TD>
  36. <TD VALIGN="TOP">Yes (through symbols)</TD>
  37. <TD VALIGN="TOP">Yes (through symbols)</TD>
  38. </TR>
  39. <TR>
  40. <TD VALIGN="TOP"><B>AmigaOS</B></TD>
  41. <TD VALIGN="TOP">Yes</TD>
  42. <TD VALIGN="TOP">Yes (except 1-byte absolute)</TD>
  43. <TD VALIGN="TOP">Yes</TD>
  44. <TD VALIGN="TOP">Yes</TD>
  45. <TD VALIGN="TOP">Yes (through unresolved relocations)</TD>
  46. <TD VALIGN="TOP">Yes (through unresolved relocations)</TD>
  47. <TD VALIGN="TOP">Yes (through unresolved relocations)</TD>
  48. <TD VALIGN="TOP">Yes (through symbols)</TD>
  49. <TD VALIGN="TOP">Yes</TD>
  50. <TD VALIGN="TOP">Yes (through symbols)</TD>
  51. <TD VALIGN="TOP">Yes (through symbols)</TD>
  52. </TR>
  53. <TR>
  54. <TD VALIGN="TOP"><B>TIOS ASM</B></TD>
  55. <TD VALIGN="TOP">No</TD>
  56. <TD VALIGN="TOP">4-byte absolute only</TD>
  57. <TD VALIGN="TOP">No</TD>
  58. <TD VALIGN="TOP">No</TD>
  59. <TD VALIGN="TOP">No (but kernels exist that interpret a special header format)</TD>
  60. <TD VALIGN="TOP">No (but kernels exist that interpret a special header format)</TD>
  61. <TD VALIGN="TOP">No (but kernels exist that interpret a special header format)</TD>
  62. <TD VALIGN="TOP">No (but kernels exist that interpret a special header format)</TD>
  63. <TD VALIGN="TOP">No</TD>
  64. <TD VALIGN="TOP">No (but kernels exist that interpret a special header format)</TD>
  65. <TD VALIGN="TOP">No (but kernels exist that interpret a special header format with a comment, and a header for additional information may be inserted manually)</TD>
  66. </TR>
  67. <TR>
  68. <TD VALIGN="TOP"><B>Nostub DLL</B></TD>
  69. <TD VALIGN="TOP">No</TD>
  70. <TD VALIGN="TOP">4-byte absolute only</TD>
  71. <TD VALIGN="TOP">No</TD>
  72. <TD VALIGN="TOP">No</TD>
  73. <TD VALIGN="TOP">No</TD>
  74. <TD VALIGN="TOP">No</TD>
  75. <TD VALIGN="TOP">No</TD>
  76. <TD VALIGN="TOP">Yes (but required header is not inserted directly by the linker)</TD>
  77. <TD VALIGN="TOP">No</TD>
  78. <TD VALIGN="TOP">Yes (but required header is not inserted directly by the linker)</TD>
  79. <TD VALIGN="TOP">No</TD>
  80. </TR>
  81. <TR>
  82. <TD VALIGN="TOP"><B>Fargo II</B></TD>
  83. <TD VALIGN="TOP">No</TD>
  84. <TD VALIGN="TOP">4-byte absolute only (but required header is not inserted directly by the linker)</TD>
  85. <TD VALIGN="TOP">No</TD>
  86. <TD VALIGN="TOP">No</TD>
  87. <TD VALIGN="TOP">Yes (through library calls, but required header is not inserted directly by the linker)</TD>
  88. <TD VALIGN="TOP">Yes (through library calls, but required header is not inserted directly by the linker)</TD>
  89. <TD VALIGN="TOP">Yes (but required header is not inserted directly by the linker)</TD>
  90. <TD VALIGN="TOP">Yes (but required header is not inserted directly by the linker)</TD>
  91. <TD VALIGN="TOP">No</TD>
  92. <TD VALIGN="TOP">No</TD>
  93. <TD VALIGN="TOP">Single comment only (but required header is not inserted directly by the linker)</TD>
  94. </TR>
  95. <TR>
  96. <TD VALIGN="TOP"><B>TI Flash OS (TIB, 89u/9xu/v2u)</B></TD>
  97. <TD VALIGN="TOP">2 fixed sections (24 KB startup, 1944/3992 KB main)</TD>
  98. <TD VALIGN="TOP">No, runs from fixed address</TD>
  99. <TD VALIGN="TOP">No</TD>
  100. <TD VALIGN="TOP">No</TD>
  101. <TD VALIGN="TOP">No</TD>
  102. <TD VALIGN="TOP">No</TD>
  103. <TD VALIGN="TOP">No</TD>
  104. <TD VALIGN="TOP">No</TD>
  105. <TD VALIGN="TOP">No</TD>
  106. <TD VALIGN="TOP">Yes (but not yet supported by the linker)</TD>
  107. <TD VALIGN="TOP">Product name and date stamp only (but not yet supported by the linker)</TD>
  108. </TR>
  109. </TABLE>