This chapter describes the ELF output module which can be selected with
the ‘-Felf’ option.

1 Legal
=======

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

2 Additional options for this version
=====================================

‘-keepempty’
     Do not delete empty sections without any symbol definition.

3 General
=========

This output module outputs the ‘ELF’ (Executable and Linkable Format)
format, which is a portable object file format which works for a variety
of 32- and 64-bit operating systems.

4 Restrictions
==============

The ‘ELF’ output format, as implemented in vasm, currently supports the
following architectures:

   − PowerPC
   − M68k
   − ARM
   − i386
   − x86_64
   − Jaguar RISC

   The supported relocation types depend on the selected architecture.

5 Known Problems
================

Some known problems of this module at the moment:

   − None.

6 Error Messages
================

This module has the following error messages:

   − 3002: output module doesn't support cpu <name>
   − 3003: write error
   − 3005: reloc type <m>, size <n>, mask <mask> (symbol <sym> +
     <offset>) not supported
   − 3006: reloc type <n> not supported
   − 3010: section <%s>: alignment padding (%lu) not a multiple of %lu
     at 0x%llx
