diff options
author | Frank Kotler <fbkotler@users.sourceforge.net> | 2003-12-12 06:18:07 +0000 |
---|---|---|
committer | Frank Kotler <fbkotler@users.sourceforge.net> | 2003-12-12 06:18:07 +0000 |
commit | b4a1735c47570183b9ba6746a1e0b11a0e29513f (patch) | |
tree | 655fcc59f7c1c88a8127f1c80702c8a9b2368e50 /doc/nasmdoc.src | |
parent | f7956c4072428edd2cace7dadd0f5bb8826a0e8b (diff) | |
download | nasm-b4a1735c47570183b9ba6746a1e0b11a0e29513f.tar.gz nasm-b4a1735c47570183b9ba6746a1e0b11a0e29513f.tar.bz2 nasm-b4a1735c47570183b9ba6746a1e0b11a0e29513f.zip |
Update rdoff
Diffstat (limited to 'doc/nasmdoc.src')
-rw-r--r-- | doc/nasmdoc.src | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index a1253bf..0c61fc1 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -119,6 +119,7 @@ in \c{elf} \IR{elf shared libraries} ELF, shared libraries \IR{executable and linkable format} Executable and Linkable Format \IR{extern, obj extensions to} \c{EXTERN}, \c{obj} extensions to +\IR{extern, rdf extensions to} \c{EXTERN}, \c{rdf} extensions to \IR{freebsd} FreeBSD \IR{freelink} FreeLink \IR{functions, c calling convention} functions, C calling convention @@ -4543,6 +4544,25 @@ or \i\c{object} to the directive: \c global kernel_ticks:export data +\S{rdfimpt} \c{rdf} Extensions to the \c{EXTERN} directive\I{EXTERN, +rdf extensions to} + +By default the \c{EXTERN} directive in \c{RDOFF} declares a "pure external" +symbol (i.e. the static linker will complain if such a symbol is not resolved). +To declare an "imported" symbol, which must be resolved later during a dynamic +linking phase, \c{RDOFF} offers an additional \c{import} modifier. As in +\c{GLOBAL}, you can also specify whether an imported symbol is a procedure +(function) or data object. For example: + +\c library $libc +\c extern _open:import +\c extern _printf:import proc +\c extern _errno:import data + +Here the directive \c{LIBRARY} is also included, which gives the dynamic linker +a hint as to where to find requested symbols. + + \H{dbgfmt} \i\c{dbg}: Debugging Format The \c{dbg} output format is not built into NASM in the default |