| TIGCC Linker File Formats

Previous | The TIGCC Linker | Next

The TIGCC linker recognizes several file formats. Currently, it can import COFF and AmigaOS files and export TIOS ASM files, Nostub DLL files (which are TIOS custom files with a special format), and Fargo II files (which are TIOS PRGM files with special hidden data). A small overview of the capabilities of each format is described in the following table:

Format | Sections | Relocations | Unresolved Relocations | Symbols | ROM Calls | RAM Calls | Library Calls | Library Exports | Debug Information | Version Number | Additional Information
COFF | Yes | Yes | Yes | Yes | Yes (through unresolved relocations) | Yes (through unresolved relocations) | Yes (through unresolved relocations) | Yes (through symbols) | Yes | Yes (through symbols) | Yes (through symbols)
AmigaOS | Yes | Yes (except 1-byte absolute) | Yes | Yes | Yes (through unresolved relocations) | Yes (through unresolved relocations) | Yes (through unresolved relocations) | Yes (through symbols) | Yes | Yes (through symbols) | Yes (through symbols)

TIOS ASM

No

4-byte absolute only

No

No

No (but kernels exist that interpret a special header format)

No (but kernels exist that interpret a special header format)

No (but kernels exist that interpret a special header format)

No (but kernels exist that interpret a special header format)

No

No (but kernels exist that interpret a special header format)

No (but kernels exist that interpret a special header format with a comment, and a header for additional information may be inserted manually)

Nostub DLL | No | 4-byte absolute only | No | No | No | No | No | Yes (but required header is not inserted directly by the linker) | No | Yes (but required header is not inserted directly by the linker) | No

Fargo II

No

4-byte absolute only (but required header is not inserted directly by the linker)

No

No

Yes (through library calls, but required header is not inserted directly by the linker)

Yes (through library calls, but required header is not inserted directly by the linker)

Yes (but required header is not inserted directly by the linker)

Yes (but required header is not inserted directly by the linker)

No

No

Single comment only (but required header is not inserted directly by the linker)

TI Flash OS (TIB, 89u/9xu/v2u) | 2 fixed sections (24 KB startup, 1944/3992 KB main) | No, runs from fixed address | No | No | No | No | No | No | No | Yes (but not yet supported by the linker) | Product name and date stamp only (but not yet supported by the linker)