Kenwood HP 9000 Personal Computer User Manual


 
Chapter 4 119
Linker Tools
Improving Program Start-up with fastbind(1)
The 32-bit mode fastbind command does not work with EXEC_MAGIC
executables.
fastbind effectively enforces the binding modes bind-restricted and
bind-immediate. For example, consider an executable linked
bind-deferred, which calls a function foo() defined in an implicitly
loaded library. Before the actual call is made, if it explicitly loads a
shared library (using shl_load(3X) with BIND_FIRST) having a
definition for foo() when foo() is finally called, it is resolved from the
explicitly-loaded library. But after running fastbind, the symbol foo()
is resolved from the implicitly-loaded library.
For more information about fastbind and performance, see “Improving
Shared Library Start-Up Time with fastbind” on page 293.
Example
To run fastbind on the executable file a.out:
$fastbind a.out
To later remove the fastbind information from the executable file
a.out
$fastbind -n a.out