| __ld_insert_fargo020_libs

Previous | Automatically Inserted Section Contents | Next

__ld_insert_fargo020_libs can be used to handle library calls. It inserts references to libraries in the format used by Fargo v0.2.0:

- For each referenced library...
  - 2 bytes: program-relative location of the library name
  - For each imported function/variable...
    - 2 bytes: index of the function/variable plus 1
    - Relocation table for this function/variable:
      - For each reference...
        - 2 bytes: location (may not be 0)
      - 2 bytes: 0
  - 2 bytes: 0
- 2 bytes: 0

The libraries have to be processed using the method described in __ld_insert_kernel_libs, except that library versions are not implemented by this format.
Note: This insertion is available only if Fargo support is compiled in.

See also: __ld_insert_fargo021_libs, __ld_insert_kernel_libs