This chapter describes the gst output module which can be selected with the -Fgst option.

Legal
=====

This module is written in 2023 by Frank Wille and is covered by the vasm copyright without modifications.

Additional options for this module
==================================

None.

General
=======

This module outputs the GST object file format by GST Software, which was used by several development tools on the Atari M68k computers. For example by the GST assembler and Devpac.

Restrictions
============

  - Although there can be multiple sections, they don't have a type.

  - Maximum length of section and symbol names is 255 characters.

  - Only absolute, pc-relative and common-symbol relocations are supported at the moment.

  - Possible relocation sizes are 8, 16 and 32 bits.

Known Problems
==============

Some known problems of this module at the moment:

  - Needs testing.

  - Missing support for base-relative relocations.

Error Messages
==============

This module has the following error messages:

  - 3002: output module doesn't support cpu %s

  - 3011: weak symbol <%s> not supported by output format, treating as global