13 X68k output module
This chapter describes the Xfile output module which can be
selected with the ‘-Fxfile’ option.
13.1 Legal
This module is written in 2018,2020,2021 by Frank Wille and
is covered by the vasm copyright without modifications.
13.2 Additional options for this module
None.
13.3 General
This module outputs the Xfile executable file format, which is used
on Sharp X68000 16/32-bit computer with 68000 up to 68040 CPU.
13.4 Restrictions
- - The source must not define more than one code, data and bss section
each. More complex sources with
.rdata
or .stack
sections
require a linker.
- - All symbols must be defined, otherwise the generation of the executable
fails. Unknown symbols are listed by vasm.
- - The only relocations allowed in this format are 32-bit absolute.
13.5 Known Problems
Some known problems of this module at the moment:
13.6 Error Messages
This module has the following error messages:
- - 3004: section attributes <attr> not supported
- - 3005: reloc type %d, size %d, mask 0x%lx (symbol %s + 0x%lx) not supported
- - 3006: reloc type %d not supported
- - 3007: undefined symbol <%s>
- - 3008: output module doesn’t allow multiple sections of the same type
- - 3011: weak symbol <%s> not supported by output format, treating as global
- - 3013: reloc type %d, mask 0x%lx to symbol %s + 0x%lx does not fit into %u bits