If you are executing a dynamically linked program, calls from the executable into a shared library are made using the
Procedure Linkage Table (PLT). Each function in the dynamic library that is called by the main program has an entry in this table. Normally, the dynamic linker fills the PLT entries with code that calls the dynamic linker. This means that the first time that your code calls a function in a dynamic library, the runtime environment calls the dynamic linker. The linker will then modify the entry so that next time this function is called, it will not be involved.
HP-UX does not have this (or an equivalent) variable. On HP systems, you can avoid this problem by using the
–B immediate option the executable being debugged, or by invoking
chatr with the
–B immediate option. (See the
chatr documentation for complete information on how to use this command.)