[ << ] [ >> ]           [] [] [] [ ? ]

9 a.out output module

This chapter describes the a.out output module which can be selected with the ‘-Faout’ option.

9.1 Legal

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

9.2 Additional options for this version

-mid=<machine id>

Sets the MID field of the a.out header to the specified value. The MID defaults to 2 (Sun020 big-endian) for M68k and to 100 (PC386 little-endian) for x86.

9.3 General

This output module outputs the a.out (assembler output) format, which is an older 32-bit format for Unix-like operating systems, originally invented by AT&T.

9.4 Restrictions

The a.out output format, as implemented in vasm, currently supports the following architectures:

The following standard relocations are supported by default:

Standard relocations occupy 8 bytes and don’t include an addend, so they are not suitable for most RISC CPUs. The extended relocations format occupies 12 bytes and also allows more relocation types.

9.5 Known Problems

Some known problems of this module at the moment:

9.6 Error Messages

This module has the following error messages:

[ << ] [ >> ]           [] [] [] [ ? ]