home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
oxcc1433.zip
/
DOC
/
OBJ4LB.TXT
< prev
next >
Wrap
Text File
|
1995-10-17
|
1KB
|
29 lines
OBJ4LB.TXT
obj4lb' is used to modify the symbols in a relocatable
object file, it can handle a.out and coff formats.
-- e.g. myfile.o
The modifications are listed in a .4lb (export) file.
-- e.g. myfile.4lb
Output is placed in a .olb file which is in the same format
as the input file. -- e.g. myfile.olb
The .4lb file has 2 types of entry:
rename: _oldsym _newsym
export: _symbol
Any line not starting with `rename:' or `export:' is ignored.
All renames are completed before exports are processed.
Symbols which are exported are given global characteristics,
all other symbols are given local characteristics, comdefs
are moved to bss.
If a library entry is composed of multiple source files, then
the globals which link the source files may be spurious when
the combined files are stored as a library or archive entry. Use
`aout4lb' to clean up the result. In a dynamic linking environment,
global symbol clashes must be avoided. After `aout4lb' has set up
the desired globals, `strip' may be run to eliminate the local
symbols and thus make the library entry smaller.