STUB_OBJECT Directive
The STUB_OBJECT directive informs the link-editor that the
object described by the mapfile can be built as a stub
object.
STUB_OBJECT;
A stub shared object is built entirely from the information in the
mapfiles supplied on the command line. When the
-z stub option is specified to build a stub object, the
presence of the STUB_OBJECT directive in a
mapfile is required, and the link-editor uses the
information in symbol ASSERT attributes to create global symbols
that match those of the real object.