home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / oxcc1433.zip / DOC / OBJ4LB.TXT < prev    next >
Text File  |  1995-10-17  |  1KB  |  29 lines

  1. OBJ4LB.TXT
  2.  
  3.     obj4lb' is used to modify the symbols in a relocatable
  4.       object file, it can handle a.out and coff formats.
  5.                                                  -- e.g. myfile.o
  6.      The modifications are listed in a .4lb (export) file.
  7.                                                  -- e.g. myfile.4lb
  8.      Output is placed in a .olb file which is in the same format
  9.         as the input file.                       -- e.g. myfile.olb
  10.  
  11.  
  12.      The .4lb file has 2 types of entry:
  13.         rename:    _oldsym _newsym
  14.         export: _symbol
  15.      Any line not starting with `rename:' or `export:' is ignored.
  16.  
  17.     All renames are completed before exports are processed.
  18.     Symbols which are exported are given global characteristics,
  19.     all other symbols are given local characteristics, comdefs
  20.     are moved to bss.
  21.  
  22.     If a library entry is composed of multiple source files, then
  23.     the globals which link the source files may be spurious when
  24.     the combined files are stored as a library or archive entry. Use 
  25.     `aout4lb' to clean up the result. In a dynamic linking environment,
  26.     global symbol clashes must be avoided. After `aout4lb' has set up
  27.     the desired globals, `strip' may be run to eliminate the local
  28.     symbols and thus make the library entry smaller.
  29.