summaryrefslogtreecommitdiff
path: root/doc/nasmdoc.src
diff options
context:
space:
mode:
authorroot <root@thor.crayne.org>2007-11-13 19:52:54 -0800
committerroot <root@thor.crayne.org>2007-11-13 19:52:54 -0800
commitdbb1828ad5ad29f742ab545bba20924f25a7c928 (patch)
treec9c9dc98b38097ce4152b41c249405b835c629d2 /doc/nasmdoc.src
parentc68ec0127747c54aac7ea8b83acb03f8674bdf86 (diff)
downloadnasm-dbb1828ad5ad29f742ab545bba20924f25a7c928.tar.gz
nasm-dbb1828ad5ad29f742ab545bba20924f25a7c928.tar.bz2
nasm-dbb1828ad5ad29f742ab545bba20924f25a7c928.zip
Support setting OSABI value in ELF header.
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r--doc/nasmdoc.src9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 5800661..b78eab3 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -4392,8 +4392,15 @@ Format} Object Files
The \c{elf32} and \c{elf64} output formats generate \c{ELF32 and ELF64} (Executable and Linkable Format) object files, as used by Linux as well as \i{Unix System V},
including \i{Solaris x86}, \i{UnixWare} and \i{SCO Unix}. \c{elf}
-provides a default output file-name extension of \c{.o}. \c{elf} is a synonym for \c{elf32}.
+provides a default output file-name extension of \c{.o}.
+\c{elf} is a synonym for \c{elf32}.
+\S{abisect} ELF specific directive \i\c{osabi}
+
+The ELF header specifies the application binary interface for the target operating system (OSABI).
+This field can be set by using the \c{osabi} directive with the numeric value (0-255) of the target
+ system. If this directive is not used, the default value will be "UNIX System V ABI" (0) which will work on
+ most systems which support ELF.
\S{elfsect} \c{elf} Extensions to the \c{SECTION}
Directive\I{SECTION, elf extensions to}