1234567891011121314151617181920212223242526 |
- [Main]
- Title=__ld_insert_fargo_exports
- See Also=insert_kernel_exports: __ld_insert_kernel_exports
- [Top]
- __ld_insert_fargo_exports can be used to export symbols from a library. It
- treats all symbols that are declared external and look like
- "<I>libname</I>@<I>index</I>" or
- "<I>libname</I>__<I>index</I>" as exported entries. <I>index</I> is
- a hexadecimal number which must have exactly 4 digits.
- <BR><BR>
- __ld_insert_fargo_exports inserts library exports in the format used by the
- Fargo II kernel:
- <UL>
- <LI>For each exported item...
- <UL>
- <LI><B>2 bytes:</B> <I>location</I> (offset from the beginning of the
- library; may be 0 if nothing was specified)</LI>
- </UL></LI>
- </UL>
- <B>Note:</B> Since exported entries are stored one after another, skipped
- entries will take up additional space in the export table. For example, if
- you only define one symbol called "<I>libname</I>@0010", then there
- will be 16*2=32 bytes of zeroes in the export table.
- <BR><BR>
- This insertion is available only if Fargo support is compiled in.
|