GNU Info

Info Node: (nasm.info)Section 6.6

(nasm.info)Section 6.6


Next: Section 6.7 Prev: Section 6.5.5 Up: Chapter 6
Enter node , (file) or (file)node

6.6. `aout': Linux `a.out' Object Files
=======================================

   The `aout' format generates `a.out' object files, in the form used
by early Linux systems (current Linux systems use ELF, see *Note
Section 6.5::.) These differ from other `a.out' object files in that
the magic number in the first four bytes of the file is different;
also, some implementations of `a.out', for example NetBSD's, support
position-independent code, which Linux's implementation does not.

   `a.out' provides a default output file-name extension of `.o'.

   `a.out' is a very simple object format. It supports no special
directives, no special symbols, no use of `SEG' or `WRT', and no
extensions to any standard directives. It supports only the three
standard section names `.text', `.data' and `.bss'.


automatically generated by info2www version 1.2.2.9